Ubuntu Touch on Sony Xperia X
-
@fredldotme apparently I am... whoops.
-
@ehkad You were able to install UT on F5122?
I saw a second hand Xperia X but sadly it's F5122 as well -
@kugiigi I did but unfortunately cell connection does not appear to function. Everything else seems fine but no calls or texting. (to my knowledge)
-
@ehkad Camera works as well?
-
@ehkad Maybe because of dual sim structure.
-
@makeixo the most noticeable camera problems are that video straight up does not work. Selfie camera only seems to notice very bright light (everything else is completely blacked out)and does not work properly at all. And I'm not sure if this is an ubuntu touch issue or device issue but the camera always seems to take the photo as if you are in landscape mode.
Update:rebooted and the selfie camera seems fine now... don't know what was up. But also always taken as if in landscape.
-
On XDA I found this thread: https://forum.xda-developers.com/crossdevice-dev/sony/universal-sony-dualsim-patcher-t3930983 Perhaps a solution for the dual sim issue?
-
@Nikfrager maybe I did something wrong but after flashing this I didn't get any results. It definitely seems like the kind of solution that we need though. As the first sim card says unknown. And the second one is not recognized at all as having a sim card. Thus it is just a single sim rom. Which makes sense since it is designed for the f5121 specifically. But you may be on to something I'm going to continue looking into this and see if I can tweak a thing or two and get different results. I have many phones so if this one falls through I can move to the one plus 3t and mess with that instead.
-
On https://github.com/Halium/projectmanagement/issues/98 you can find:
xsetiadi asked on 21 Aug
does this will work too for xperia x dual? F5122? @fredldotmefredldotme commented on 21 Aug
In theory yes, practically I don't have the device available. But since I modified the source in a way that's not specific to F5121 it should work just fine.
The only area I could see issues with is ofono needing an override to support the second SIM tray. -
@Nikfrager said in Ubuntu Touch on Sony Xperia X:
On a source code level the changes were the same back then, but recent changes force ofono/rild to default to one SIM slot. This plus the properties probably being different makes calling not work on F5122. If someone wants to step up and provide support for F5122, patches welcome.
-
Today I've got a F5122 and I would love to see it with UT. But I think I don't have the capability to make it happen.
-
If anybody feels up to the task feel free to message me about it.
Also, if anybody has an F5122 can you please issue the following command on the phone's terminal:cat /proc/cmdline
and send me the output privately?
Also, if people really want me to help out on F5122 support, there's a way and that's the donate button on https://fredl.me/donate, else I'm not going to be able to get the device in the first place.
-
Ok, I have the device and can try that command. I think first I have to install UT on it, right?
-
@Nikfrager yes, UT would be preferable.
-
@fredldotme maybe I'm misunderstanding something ... but if they install ut via your halium image, then the kernel commandline is simply going to be whatever is set in your halium image .. no?!
-
@doniks The bootloader sets additional cmdline arguments
-
@fredldotme I have the result of the command. I sent you an e-mail.
-
Thanks @Nikfrager, it seems possible to create a single release for both F5121 and F5122. I'll implement something next week and hope for owners of the F5122 to test it again.
-
Thank you also @fredldotme. That sounds great. I'm very eager.
-
Hello,
Thanks for the port of UBports to Xperia X. I have bought one to replace my FP2/UT, because its hardware is about to die (cannot repair the screen flickering symptom).
I am unable to install UT on Xperia X F5121. I am now back to TWRP+LineageOS (android 8.1) on the phone, because it is on the only way I found the put the phone in a « known » working state.
I tried several methods to install, both on Ubuntu 19.10 and Buster 10.2. But each time, ubports-installer hangs because I cannot reboot the device in recovery mode. To do that, I must shut down the device, wait for seconds, and replug it with volume down key to boot into recovery mode. Therefore the link with the installer gets lost. Maybe instructions on screen dialog are inaccurate.
Is there a way to fully install (from start to end) with a simple shell script, using fastboot and adb tools ? Has someone ever done it ?
Thanks !