Installing Ubuntu Touch: The Ubuntu way
The recommended installation method is from an Ubuntu Desktop via
phablet-flash tools. Please follow the instructions on the Wiki as they cover everything necessary for installation as well as reinstalling Android from factory image.
Installing from zip files via recovery
Basically copy the device specific zip file to the root of the SD card as
autodeploy.zip and reboot to recovery, repeat the step for the device independent zip file.
A installed compatible recovery system and configured ADB access to recovery are at least very helpful. See the official instructions - chapter manual installation for details.
Installing from img files via fastboot
The 3 image files you can see in the directory on the server, can be used for manually flashing with
fastboot (with the
fastboot flash command) via fastboot protocol when the device is in bootloader state. This is more like the Android (low level) developer way, where flashing via recovery is more like the OTA way.
Litte explanation on the files:
- boot - contains the kernel with initial ramdisk and should be flashed to boot partition
- recovery - contains the recovery system and should be flashed to recovery partition
- system - contains the Android system and should be flashed to system partition
As for the zip files:
- The device specific one (e.g.
saucy-preinstalled-touch-armel+manta.zip) contains boot.img and contents of the Android system partition
- The device independent one (e.g.
saucy-preinstalled-phablet-armhf.zip) contains Ubuntu Touch
When you already have installed a compatible recovery you just need to flash boot and system with
fastboot and you're done with the Android part. You have not installed Ubuntu Touch at this point.
To install Ubuntu Touch you need to flash the device independent zip file from within the recovery menu. It is almost the same as the 2nd method. This is because the zip file relies on the Android OTA update mechanisms, that in turn execute a shell script to deploy Ubuntu Touch.
Fastboot does not work
If the command or your device cannot be found from within Ubuntu you need to install the
android-tools-fastboot package (which contains a udev rule for the fastboot protocol).