Sony Xperia X Performance (dora/F8131 & F8132)
Update 25.08.2020: New channels
The installer currently offers a lot of channels to be installed
At the moment only 16.04/arm64/hybris/devel and 16.04/arm64/edge are supposed to work. The one in community is still armhf and should be removed one day. YMMV but on the last test of the installer it failed to identify the device. I manually selected dora. If you are stuck in some place there are ways to help the installer... just post here or pm...
Update 23.08.2020-25.08.2020: OTA update issue
There seems to be an issue with the OTA update since a few weeks. Symptoms: If you try to update the system it will download andreboot to recovery, within recovery nothing happens. You can only reboot. This seems to happen because there are two recovery directories in the fs, and download happens in one, while installation is meant to happen from the other.
I just verified that this is fixed with OTA-80, but to upgrade you need to adb shell into the recovery. And move the downloaded files into the other. Then run /sbin/recovery. Alternatively run the installer again
This is a port of Ubuntu Touch for the Sony Xperia X Performance (dora/F8131 & F8132).
This is the first port out of the sony tone platform series, which followed the loire platform. It is heavily based on the port for the loire platform. Hence it shares all of its features. Initial porting was done by sjlllls. (https://forum.xda-developers.com/xperia-x-performance/development/testing-ubuntu-touch-xperia-x-t3960133)
Kernel (yes we share kernel with suzu and kugo, it might also be fine for yoshino):
- Wifi hotspot
- Orientation sensor
- Video decoding
- Photo camera
- MicroSD support
- Flash light
Missing known issues:
- Video recording
- proper camera config: zoom, force flashlight
- audio playback is only crisp when screen is off
- Wifi configurations are not used for wifi device - user has to reenter the password
- Dora channel was moved and is now aarch64/arm64, if you have installed before, please switch to the new channel: system-image-cli --switch 16.04/arm64/edge -v
Make sure to upgrade your device to the latest stock Android 8.0 before continuing (search for a version like 41.3.A.
- Windows: https://developer.sony.com/develop/open-devices/get-started/flash-tool/
- Linux: http://www.flashtool.net/downloads_linux.php (run with GTK_IM_MODULE=ibus ./FlashTool) and https://xperifirm.com/tutorial/install-xperifirm-linux/
After upgrading boot android at least once so that the upgrade can complete.
OEM unlock your device: https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/
Boot your device into fastboot mode by shutting it down and keeping the Volume Up button pressed while plugging in a USB cable between your phone and PC. The LED should be on and blue.
In case of flashing issues please wipe system, data & cache partitions using TWRP
Flash the OEM binaries from: https://developer.sony.com/file/download/software-binaries-for-aosp-nougat-android-7-1-kernel-4-4-tone/ using fastboot flash oem SW_binaries_for_Xperia_AOSP_N_MR1_5.7_r1_v08_tone.img
If the above fails the baseband and bootloader upgrade did not work.
Run the upcoming UBports Installer (probably 0.4.19beta and onwards):
- Bring the device in fastboot mode as described by the installer
- It might fail to detect dora/X performance so manually select it that case
- Untick writing system partition via fastboot - this fails often - writing system partition via adb in recovery works better
- select 16.04/arm64/hybris/devel (in the future rc and stable might be populated too)
- if the installer fails after downloading the system image - retry
- if the installer fails again and does not reboot into the "recovery mode" showing the ubports robot, you can bypass the issue by manually flashing the recovery image using:
$ fastboot flash boot .cache/ubports/dora/firmware/halium-unlocked-recovery_dora.img
Awesome! I was supposed to buy an Xperia X but the pandemic happened. I think I've seen some good deals for the performance version so I might get it as it is more powerful
If you pick up a XZ and XZs I can help you complete a port. Both are tone too, and will be trivial to add.
This post is deleted!
@Andreas-Pokorny Does the installation of Ubuntu touch need modified or can it be done by with the correct software binares in order to create the port for XZs? I found instructions that include Nougat binaries for X Performance; however I am wondering if the more current kernel support for tone i.e. Q is capable of running Ubuntu touch. I would like to complete the install, please advise or if possible provide support for the port.
@Andreas-Pokorny Ahoi Andreas! Im Not asking for ETA, only if you intend to "finish" this port? If so, would it be of help if i provide feedback? Im a plain user and dont know s**t about code. But my fp2 died and I need a different UT device and dora is great and right now the only one thats waterproof.
Anyway, thanks for your effort and your contribution that youve already done.
Keneda last edited by Keneda
But my fp2 died
Can't you repair it? It's an easily repairable decive normaly.
When i was at the beach i dropped it in the atlantic ocean. It took me a couple of minutes to find it again. I exchanged parts with my wifes fp2 but no sign of life from any of the parts. Youll get a used dora for 100€ and its waterproof
Most of the things work great! I also managed to install anbox. That went well for the biggest part, however there is no network or wifi available within anbox. How can I make that work? Perhaps some kernel modules are missing?
@Andreas-Pokorny Hi Andreas, I just tried to install Ubuntu touch as you described. It worked fine until I started with the Installer. Somehow my phone goes into a loop of booting as soon as the Installer is downloading the OS and preparing the image. It then asks me to reconnect my phone and try again. Any help is appreciated
@CB1929 I remember having the same issue and I think I solved it by first putting the phone in fastboot mode, connect phone to computer, start the Ubports installer and then select by hand in the Ubports installer the Xperia X Performance phone.
I also needed to do this: Flash the OEM binaries from: https://developer.sony.com/file/download/software-binaries-for-aosp-nougat-android-7-1-kernel-4-4-tone/ using fastboot flash oem SW_binaries_for_Xperia_AOSP_N_MR1_5.7_r1_v08_tone.img , because even with the updated Android 8 it did not boot.
Hope this helps.
@herkovb I tried that too, did not work though. I managed to do it by now, it worked just fine after installing TWRP and erasing the above mentioned data
Any updates regarding this port? Andreas is the only one maintaining it?
@CB1929 Does installing TWRP delete the OEM binaries or is that another step. I'm having the exact same issue that your were having. I completed the step above to install the binaries, and then saw your comment about TWRP. Thanks!
So does it mean I can install ubuntu touch in Sony Xpedia xz1 thought installer without changing any config or any special steps?
@kophamerla I think it is just another step, at least I did not have to reinstall the binaries afterwards and it works just fine now. Good luck!
For those having an issue with the never ending reboot of their Sony Xperia X Performance when trying to install, and having issues gaining access to TWRP. Please follow these instructions, it will fix all issues.
Start your phone in fastboot
In terminal make sure your device is showing up. Type "fastboot devices" and your phone should appear in the list.
Make sure you know the path to your TWRP recovery IMG file (twrp-3.4.0-0-dora.img). I just open terminal in the folder where the TWRP IMG resides, and then enter the following command,
"fastboot flash boot twrp-3.4.0-0-dora.img"
Remove the usb when complete and reboot the phone, it should startup to TWRP.
In TWRP select, "wipe", "format data"
Don't wipe everything, just wipe "data", "system", "dalvik", and "cache."
Reboot to bootloader and use UBports-installer to flash again. The installer first flashes UBports recovery, then the phone reboots and automatically goes into UBports recovery, then the system is flashed.
Let the installer and phone do their thing, it should work.
Andreas: In the status/working area of your first post, USB/ADB is working. Does this work similar to the Nexus 5 and allow tethering?
Hope you are all safe.
I installed the Ubuntu Touch on my Sony Xperia X Performance. After that, I received almost daily updates. However from beginning of June, I have not received any update. I'm on the Development Channel. The last update I have is:
- OS build number: 2020-06-07
- NOF27B 53 test-keys
I also tried to reinstall the OS by using the UBProts installer, but it stays on through same build number as shown above.
Are other here also on the same build number and not receiving any updates?
Cheers and thanks in advance for the help and/or responses.
Will this work on SOV33? That's the one I found locally so far.