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

    xperia x sailfish to ubport

    Scheduled Pinned Locked Moved Sony Xperia X (F5121 & F5122)
    9 Posts 5 Posters 1.3k Views 3 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.
      • H Offline
        hsabun
        last edited by

        Hi

        two days back I installed sailfish to explore, and now I want to return back to ubuntu touch. But for some reason, I am failing to do so. I followed the instruction as giving and tried many times, don't know what I am missing.
        I have reverted back to sailfish.

        Can anyone help me installing ubuntu touch back on my xperia X.

        AppLeeA 1 Reply Last reply Reply Quote 0
        • AppLeeA Offline
          AppLee @hsabun
          last edited by

          Hi, @hsabun

          I don't own this device, so I can't help.
          But there are 3 variants of the XPeria X, I suppose you've got a F5121 or F5122 so I moved the topic to this category.

          You'll find a better help here.

          Just a general question/tip have you tried to flash back LineageOS first in order to reset the partitions ?
          It's a common issue.

          H 1 Reply Last reply Reply Quote 0
          • H Offline
            hsabun @AppLee
            last edited by

            @applee
            My variant of xperia is F5121
            no I didn't tried LineageOS first. What I did is I flashed the OEM binaries and then ubuntu installer. But failed.

            Mario.CHM 1 Reply Last reply Reply Quote 0
            • Mario.CHM Offline
              Mario.CH @hsabun
              last edited by

              @hsabun Hi,
              since we are all psychic, it is easy to help you, we just need a crystal ball, like this one:

              Preparatory steps
              You can install Ubuntu Touch on the versions F5121 and F5122 of the Sony Xperia X. Before, you have to take a number of preparatory steps:
              1. Ensure you have upgraded the stock firmware at least to Android 8, else you can't flash the OEM binaries for AOSP. It is best to ensure that you have all the latest firmware installed.
              2. Enable developer options for your device,
              3. In the developer options, enable ADB debugging and OEM unlocking,
              4. Install ADB on your computer
              5. BEFORE unlocking the boot loader, back up your TA partition, in case you later wish to return to factory state. You can't do this step at a later stage!
              6. Get an unlocking code from Sony,
              7. Reboot to fastboot and unlock the bootloader using the code obtained from Sony
              8. Download the OEM binaries for AOSP from sony, unpack them,
              9. Flash them in fastboot (fastboot flash oem [filename])

              so, at which step did you fail?

              Translated with www.DeepL.com/Translator (free version)

              šŸ“± Oneplus Nord N100 UT20.40 (OTA5); then Xperia X (since 2020) at last UT 20.04(OTA5), now out of service due to defective camera
              šŸŽ When you realize you are riding a dead horse, get off!
              My languages skill: šŸ‡ØšŸ‡­šŸ‡¦šŸ‡¹ šŸ‡©šŸ‡Ŗ, and only orally: šŸ‡¬šŸ‡§ šŸ‡¹šŸ‡­

              R 1 Reply Last reply Reply Quote 0
              • R Offline
                RobTheBold @Mario.CH
                last edited by

                @mario-ch Doesn't step 1 imply that one would have to re-install stock android before proceeding, rather than start with the phone running SFOS? If that's the case, there's quite a few 1a, 1b, 1c, etc. steps in there not related to UBPorts but still crucial for the uninitiated. Like getting Sony Xperifirm (or alternative) working on a computer and flashing Android on the phone. And in my limited experience, Xperifirm doesn't always play nice with a device with unlocked bootloader.

                Mario.CHM 1 Reply Last reply Reply Quote 0
                • Mario.CHM Offline
                  Mario.CH @RobTheBold
                  last edited by Mario.CH

                  @robthebold Hi,
                  It is assumed that no other OS than Android has ever been installed on the device. Accordingly, you only have to install the last possible update, which is Android 8 in the Xperia X from 2016.

                  Edited:
                  Of course, the copy/paste was meant as a thought starter/inspiration because we are trying to figure out where the problem is.

                  šŸ“± Oneplus Nord N100 UT20.40 (OTA5); then Xperia X (since 2020) at last UT 20.04(OTA5), now out of service due to defective camera
                  šŸŽ When you realize you are riding a dead horse, get off!
                  My languages skill: šŸ‡ØšŸ‡­šŸ‡¦šŸ‡¹ šŸ‡©šŸ‡Ŗ, and only orally: šŸ‡¬šŸ‡§ šŸ‡¹šŸ‡­

                  R 1 Reply Last reply Reply Quote 1
                  • Mario.CHM Offline
                    Mario.CH
                    last edited by Mario.CH

                    Found:
                    On this website https://sailfishmods.de/2017/10/howto-sony-xperia-x-teil-3-alles-auf-werkszustand-zuruecksetzen/ is a guide to revert from SAOS to Sony (Android 6.0.1) factory state.
                    I have never tried it because, for my Xperia X (F5121), I only wanted UT-OS and nothing else.😊

                    Edited:
                    Or maybe with this guide, but without <reinstalling Sailfish OS>:
                    https://jolla.zendesk.com/hc/en-us/articles/115004283713-Reverting-Xperia-device-to-Android-OS-and-reinstalling-Sailfish-OS

                    šŸ“± Oneplus Nord N100 UT20.40 (OTA5); then Xperia X (since 2020) at last UT 20.04(OTA5), now out of service due to defective camera
                    šŸŽ When you realize you are riding a dead horse, get off!
                    My languages skill: šŸ‡ØšŸ‡­šŸ‡¦šŸ‡¹ šŸ‡©šŸ‡Ŗ, and only orally: šŸ‡¬šŸ‡§ šŸ‡¹šŸ‡­

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      RobTheBold @Mario.CH
                      last edited by RobTheBold

                      @mario-ch I got myself mixed up with program names earlier: I meant to type that the official "Emma" tool is the cranky one sometimes about unlocked bootloaders and finding the right firmware. The free apps XperiFirm and newflasher are sometimes needed for reverting a Sony device successfully to stock. With an XA2 Ultra, I never got Emma to work, and had to use the combo I mentioned to do that revert step from the zendesk page.

                      1 Reply Last reply Reply Quote 0
                      • E Offline
                        elastic
                        last edited by

                        I know it's an quite old thread but just in case someone is looking for a solution ...
                        as I just moved my Xperia X from Sailfish to Ubuntu touch - you just have to:

                        1. Flash the OEM binaries from: https://developer.sony.com/file/download/software-binaries-for-aosp-nougat-android-7-1-kernel-4-4-loire/
                          unzip, go to the dir and
                          fastboot flash oem SW_binaries_for_Xperia_AOSP_N_MR1_5.7_r1_v08_loire.img

                        2. run the UBports Installer - tick wipe user data to be on the safe side

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