xperia x sailfish to ubport
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.
AppLee last edited by
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.
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.CH last edited by
since we are all psychic, it is easy to help you, we just need a crystal ball, like this one:
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)
@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.CH last edited by Mario.CH
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.
Of course, the copy/paste was meant as a thought starter/inspiration because we are trying to figure out where the problem is.
Mario.CH last edited by Mario.CH
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.
Or maybe with this guide, but without <reinstalling Sailfish OS>:
@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.
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:
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
run the UBports Installer - tick wipe user data to be on the safe side