English

State of the UBports installer, or command line

ubuntu
Tags: #<Tag:0x00007fefbdc69f30>

#41

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:


#42

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


#43

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

#44

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

https://www.dropbox.com/s/79n4zpzn95giqrp/flash_ubports_fp2_ota7_with_wipe.zip?dl=0


#45

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”
pause
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


#46

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


#47

Looks like manual installation instructions are coming …


#48

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