Hi, sooo I finally purchased a Fairphone 4 that I could afford. The phone as purchased, is a refurbished Fairphone 4 with Ubuntu Touch installed. I have been trying Ubuntu Touch, but while there are a lot of things that I like, it isn’t a perfect match for me. So, I am planning to return the Fairphone to the default OS, when it arrives.
Could someone direct me to links that I will need to consult for this process? I have flashed a couple of phones from my Fedora desktop before, so I have the android-tools package and android-udev-rules installed to my system. It is everything after that which I will be needing instructions for.
Two pitfalls the documentation does not tell you about:
Beware that android-tools might not work correctly (it does not on Arch Linux). If you encounter an error when flashing the super partition, DO NOT turn your phone off as the message suggests but rather try a different fastboot binary (e.g., included with iodéOS). This is how I bricked my FP5.
And if you want to lock the bootloader, be sure to check the output of fastboot flashing get_unlock_ability – only lock if it is 1, which is the case before first boot on Fairphone OS. Otherwise your phone might be bricked if the OS you flashed was somehow corrupted or does not match the AVB key.
Have fun!
$ adb devices
List of devices attached
b96db9a6 device
$ adb reboot bootloader
At this point, the Fairphone 4 shuts down, but doesn’t reboot. I have to ctrl c out of the last command, or it just sits there, waiting. I have also tried:
adb -d reboot bootloader
with the same result.
Note that the bootloader is already unlocked, and that I have set Ubuntu Touch in developer mode.
Well… sorry to say, but I 'm afraid not. If you cannot enter the bootloader mode, you need to flash using EDL. As Fairphone does not release any files for this, you will most likely have to send your phone in.
Sorry, I was a bit unclear. Run the command PATH=~/platform-tools:$PATH ./flash-all.sh from your extracted Fairphone OS image directory. Then it should use the fastboot binary from the directory you showed me.
Wow. Fantastic. I am now in the Fairphone OS setup. Many thanks. The phone rebooted after the script completed, and I needed to see if the flashing had actually worked. Can I wipe the Fairphone OS preferences and then try to lock the bootloader?
If you want to lock the bootloader, I would advise you to flash the OS again (technically you only need the frp partition) so that “fastboot flashing get_unlock_ability” returns 1. Then, do “fastboot flashing lock_critical”, keep Volume Down pressed while confirming to reboot into the bootloader and finally do “fastboot flashing lock”. That way, you should be safe from bricks.