State of the UBports installer, or command line

Tags: #<Tag:0x00007fefbdc69f30>


Dear Ingo and AnotherElk,
thank you so so so MUCH!

I only recently got my new Fairphone 2, my very first smartphone!

I knew I wanted Ubuntu Touch but it was quite a hassle to try with the installer.
Thanks to your instructions I was able to flash my FP2 with Ubuntu Touch.
It works like a charm. I am very happy :slight_smile:

Only made this account to be able to thank you :slight_smile:


Wow, BusyBeaver, registering just to say thanks is very nice and much appreciated :slight_smile:


Just to point out : this file has to be changed as well if we want to adapt your script to OTA-7 :slight_smile:

Here is the content of the file I found in ~/.cache/ubports/commandfile/ubuntu_commandFP25642 :

format system
load_keyring image-master.tar.xz image-master.tar.xz.asc
load_keyring image-signing.tar.xz image-signing.tar.xz.asc
mount system
update ubports-c34db5ecd943e8c6d003bb96d8825dfb06ebabe510f9d55b4467c944019afdd6.tar.xz ubports-c34db5ecd943e8c6d003bb96d8825dfb06ebabe510f9d55b4467c944019afdd6.tar.xz.asc
update device-9bd5166032690abaefde7030ec186b79a1ad9a677d38382c6346422bd8875dc7.tar.xz device-9bd5166032690abaefde7030ec186b79a1ad9a677d38382c6346422bd8875dc7.tar.xz.asc
update keyring-4c4e7ef380ebcfa2c31084efa199138e93bfed8fc58aa3eb06bdf75a78af9b57.tar.xz keyring-4c4e7ef380ebcfa2c31084efa199138e93bfed8fc58aa3eb06bdf75a78af9b57.tar.xz.asc
update version-5.tar.xz version-5.tar.xz.asc
unmount system


I created a ZIP file for OTA 7 (this one ALWAYS performs a wipe!)



Thanks to @Ingo’s ZIP (it was needed as I ran in the same “FAILED (remote: bootimage: imcomplete or not signed)” error as @AnotherElk mentioned in the first post) and @AnotherElk 's tipps for installation under windows I’ve now successfully installed Ubuntu 16.04 (OTA-7) :slight_smile:

In case someone wants the complete list of current windows commands:

fastboot flash recovery .\images\recovery-FP2.img
fastboot flash splash .\images\splash-FP2.img
echo “Please reboot to recovery now”
echo “Pushing 13 files to the phone to prepare installation”
adb push .\images\ubports-c34db5ecd943e8c6d003bb96d8825dfb06ebabe510f9d55b4467c944019afdd6.tar.xz /cache/recovery/
adb push .\images\ubports-c34db5ecd943e8c6d003bb96d8825dfb06ebabe510f9d55b4467c944019afdd6.tar.xz.asc /cache/recovery/
adb push .\images\device-9bd5166032690abaefde7030ec186b79a1ad9a677d38382c6346422bd8875dc7.tar.xz /cache/recovery/
adb push .\images\device-9bd5166032690abaefde7030ec186b79a1ad9a677d38382c6346422bd8875dc7.tar.xz.asc /cache/recovery/
adb push .\images\keyring-4c4e7ef380ebcfa2c31084efa199138e93bfed8fc58aa3eb06bdf75a78af9b57.tar.xz /cache/recovery/
adb push .\images\keyring-4c4e7ef380ebcfa2c31084efa199138e93bfed8fc58aa3eb06bdf75a78af9b57.tar.xz.asc /cache/recovery/
adb push .\images\version-5.tar.xz /cache/recovery/
adb push .\images\version-5.tar.xz.asc /cache/recovery/
adb push .\images\image-master.tar.xz /cache/recovery/
adb push .\images\image-master.tar.xz.asc /cache/recovery/
adb push .\images\image-signing.tar.xz /cache/recovery/
adb push .\images\image-signing.tar.xz.asc /cache/recovery/
adb push .\images\ubuntu_command /cache/recovery/
echo “Rebooting to recovery now to start the actual installation”
adb reboot recovery


@Ingo Thank you very much for your script. Actually this seems the only way of getting UT to the Fairphone.


Looks like manual installation instructions are coming …


They are now available on the device pages, e.g. https://devices.ubuntu-touch.io/device/FP2