PINE64
How to install Ubuntu Touch over USB? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: UBPorts on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=125)
+---- Thread: How to install Ubuntu Touch over USB? (/showthread.php?tid=9161)



How to install Ubuntu Touch over USB? - PinePhoneCoder - 02-14-2020

You can install Ubuntu Touch via a bash script from the SD card on the internal memory like this:


Code:
#!/bin/bash
wget https://ci.ubports.com/job/rootfs/job/rootfs-pinephone/lastSuccessfulBuild/artifact/ubuntu-touch-pinephone.img.gz -q -O -| gunzip | sudo dd of=/dev/mmcblk2 bs=4M
sudo parted /dev/mmcblk2p1 resizepart 1 100%
sudo resize2fs /dev/mmcblk2p1


But how do you install Ubuntu Touch via a USB cable?

From another thread (https://forum.pine64.org/showthread.php?tid=9098&pid=60260#pid60260):

(02-14-2020, 04:58 AM)dukla2000 Wrote:
(02-14-2020, 04:43 AM)PinePhoneCoder Wrote:
(02-13-2020, 02:25 PM)Goddard Wrote: Anyone played with installing over USB?

No, but do you have an idea where to start?

Unless I am very much mistaken you have to use FEL mode. And, again unless I am mistaken, the PinePhone has no magic button key sequences to boot into FEL mode (although I am curious about the reset button ...) so you either have to use the special SDcard image or ensure there is no bootable image on both the SDcard and the eMMC.