Skip to content

Instantly share code, notes, and snippets.

@da-moon
Last active April 1, 2020 15:56
Show Gist options
  • Save da-moon/03192016cf03c9ea23c5025a6d7759f9 to your computer and use it in GitHub Desktop.
Save da-moon/03192016cf03c9ea23c5025a6d7759f9 to your computer and use it in GitHub Desktop.

UB-Touch installer

1- download and extract flo-newkernel-2.zip from https://github.com/ubports/ubuntu-touch/issues/300#issuecomment-450403133 2- after extracting , run the following :

fastboot flash boot flo-boot-new.img
fastboot flash recovery flo-recovery-new.img

3- download and install ubuntu-device-flash

wget https://repo.ubports.com/pool/bionic/main/g/goget-ubuntu-touch/ubuntu-device-flash_0.35+ubports+0~20181221200828.5~1.gbpd7daaa_amd64.deb

4- run the following for stable

ubuntu-device-flash touch --server=https://system-image.ubports.com --device=flo --recovery-image=flo-recovery-new.img --bootstrap --wipe --verbose

or the following for edge

ubuntu-device-flash touch --server=https://system-image.ubports.com --device=flo --channel=ubports-touch/16.04/edge --recovery-image=flo-recovery-new.img  --bootstrap --wipe --verbose

HINT : may need to repartition following this guid

for 16GB nexus7 :

  • System repartition
mkpart primary 2415919104B 3611296256B
  • User repartition
mkpart primary 3678372353B 15020436481B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment