ubports / ubports-installer

A simple tool to install Ubuntu Touch on UBports devices
https://github.com/ubports/ubports-installer/releases
GNU General Public License v3.0
541 stars 119 forks source link

Sony Xperia X (F5121): overall works fine but fails on critical step #2145

Open ghost opened 3 years ago

ghost commented 3 years ago

UBports Installer 0.8.8-beta (snap) Environment: Ubuntu Core 20 linux 4.19.0-17-amd64 x64 NodeJS v12.18.3 Device: suzu Target OS: Ubuntu Touch Settings: undefined OPEN-CUTS run: https://ubports.open-cuts.org/run/61525be2d3b7ed000802a142 Log: N/A

Device is a Sony Xperia X (F5121), and installer fails when providing the bootloader unlocking code (the one got from Sony website based on IMEI).

The installer asks for the Sony unlocking code, but fails after inserting it with error "Incorrect format for unlock data. Should be on the form \"0x".

While reading a bit on the Internet I found that after putting the device manually on fastboot mode ("adb reboot bootloader", and then blue led is on) then I found that I needed to type "fastboot oem unlock 0x". Afterwards you can safely relaunch ubports-installer and everything goes so smooth! :)

Nice work guys!

MegaArman commented 2 years ago

Would like to add - to put this phone in fastboot, press the volume up key then plug it into your computer (the phone light turns blue).

You need fastboot installed on the computer (I think it's available in linux repos or you can go to the android site for it)

http://macintoshmen.is-great.net/2022/01/15/sony-xperia-x-f5121-f5122-ubuntu-touch-installation-guide/?i=1

Flohack74 commented 2 years ago

@fredldotme anything we could do to make the prerequisite steps more clear?