UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Ubuntu Touch on Sony Xperia X

    Scheduled Pinned Locked Moved Porting
    87 Posts 23 Posters 40.6k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • fredldotmeF Offline
        fredldotme
        last edited by

        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.

        1 Reply Last reply Reply Quote 1
        • N Offline
          Nikfrager
          last edited by

          Ok, I have the device and can try that command. I think first I have to install UT on it, right?

          fredldotmeF 1 Reply Last reply Reply Quote 0
          • fredldotmeF Offline
            fredldotme @Nikfrager
            last edited by

            @Nikfrager yes, UT would be preferable.

            D 1 Reply Last reply Reply Quote 0
            • D Offline
              doniks @fredldotme
              last edited by

              @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?!

              fredldotmeF 1 Reply Last reply Reply Quote 0
              • fredldotmeF Offline
                fredldotme @doniks
                last edited by

                @doniks The bootloader sets additional cmdline arguments

                1 Reply Last reply Reply Quote 1
                • N Offline
                  Nikfrager
                  last edited by Nikfrager

                  @fredldotme I have the result of the command. I sent you an e-mail.

                  1 Reply Last reply Reply Quote 0
                  • fredldotmeF Offline
                    fredldotme
                    last edited by

                    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.

                    1 Reply Last reply Reply Quote 0
                    • N Offline
                      Nikfrager
                      last edited by

                      Thank you also @fredldotme. That sounds great. I'm very eager.

                      1 Reply Last reply Reply Quote 0
                      • L Offline
                        livrecinq
                        last edited by

                        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 !

                        Ils ne savaient pas que c'était impossible, alors ils l'ont fait. - Mark Twain

                        E A 2 Replies Last reply Reply Quote 0
                        • E Offline
                          ehkad @livrecinq
                          last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • A Offline
                            aspergerguy @livrecinq
                            last edited by

                            @livrecinq

                            Wasted a lot of time over this issue with my F5121 which was previously running Sailfish OS using Ubuntu 18.04 LTS and Mac OSX . In my case had previously saved TAbackup prior to bootloader unlock for Sailfish, so downgraded device back to MM with Androxyde Flashtool, restored DRM (Androxyde Advanced settings), upgraded to stock Oreo, bootloader unlocked on latest firmware, turn on USB debugging, installed twrp-3.2.2-0-suzu.img, reboot into "recovery mode" TWRP wipe then advanced wipe for cache, dalvik cache, data and system, fastboot flash oem SW_binaries_for_Xperia_AOSP_N_MR1_5.7_r1_v08_loire.img and then ran UBports installer 0.14.4-Beta upon Mac OSX to install 16.04/community/fredldotme/devel and got "spinning white circle" this time. Remember to remove any microSD card for any subsequent OTA updates, now on v 10* OS build number 2020-01-01/2.

                            L marklynchM 3 Replies Last reply Reply Quote 0
                            • L Offline
                              livrecinq @aspergerguy
                              last edited by

                              @aspergerguy Thanks for your comments ! For now, the key point is to remove any SD card before any attempt to install or update.

                              Ils ne savaient pas que c'était impossible, alors ils l'ont fait. - Mark Twain

                              1 Reply Last reply Reply Quote 1
                              • marklynchM Offline
                                marklynch @aspergerguy
                                last edited by

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • marklynchM Offline
                                  marklynch @aspergerguy
                                  last edited by

                                  @aspergerguy Hi, I'm also having trouble with a device that had SFOS. Can you tell me where you downloaded the stock xperia images from? There seem to be suspicious sites around.

                                  A 1 Reply Last reply Reply Quote 0
                                  • A Offline
                                    aspergerguy @marklynch
                                    last edited by

                                    @marklynch
                                    Stock Xperia images downloaded using Xperifirm within Androxyde Flashtool. If you want to find older MM versions you have to look under "Commercial & Journalists". Another source could be:link text

                                    1 Reply Last reply Reply Quote 0
                                    • R Offline
                                      retro486
                                      last edited by

                                      Location toggle won't stay enabled; I didn't see any comments about location beyond it working in late 2018... Was there a regression? Excellent port btw!

                                      1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        Stef7773
                                        last edited by

                                        Hello. I have a problem flashing sony xperia x with ubports. I already follow all the steps. My phone is an android 8 oreo version, i unlocked to bootloader with sony flash tool. i already enable oem and usb debugging and i install the Sw binaries with fastboot. but when i start ubports, everything is working until the phone reboots to install the firmware and it boot in ubports recovery mode so is not anymore in the fastboot mode with the blue light on. And when i tried to put it back it gets disconnect. What can i do ? can i flash it from ubports recovery ?

                                        ? 1 Reply Last reply Reply Quote 0
                                        • ? Offline
                                          A Former User @Stef7773
                                          last edited by

                                          @Stef7773 Hi There. It looks like you're doing everything right from what you say. I'm going to take a guess that you have noticed that the recovery screen comes on whilst phone still plugged into pc and the ubports installer still running and have thought you need to do something? If this is indeed what's happening then you should do nothing when the recovery screen presents itself on the phone, it's part of the process; just allow it to continue to completion.

                                          PS If I don't say this someone else will 😊 : no need to post the same question in two places on the forum it doesn't make it more visible. You would be helping if you removed your other post.

                                          LakotaubpL S 2 Replies Last reply Reply Quote 1
                                          • LakotaubpL Offline
                                            Lakotaubp @Guest
                                            last edited by

                                            @ziggutas Good point on the twice thing.

                                            1 Reply Last reply Reply Quote 0
                                            • S Offline
                                              Stef7773 @Guest
                                              last edited by

                                              @ziggutas

                                              What can i do with this. help me please. Screenshot from 2020-07-04 15-28-38.png 3d199548-3c95-42c5-8f5a-6eac660051b4.jpg

                                              fredldotmeF 1 Reply Last reply Reply Quote 0
                                              • First post
                                                Last post