Install_UT_on_android4.4.2

Install Ubuntu Touch on android 4.4.2

Preparation for either of the methods below:

sudo apt-get install android-tools-fsutils android-tools-adb

From Ubuntu Touch devices

Assumptions:

  1. You have an unlocked device
  2. It is currently on Ubuntu touch

Goto https://developers.google.com/android/nexus/images grab the 4.4.2 image for your device.

Install the image by unpacking the tarball and running:

adb reboot bootloader (or powering the device on with the volume buttons pressed)
cd name/of/unzipped/folder
./flash-all.sh

Set the device up on android

Enable adb by opening settings→about device and click on the build name 7 times. Press the back button then click on developer{} Select usb debugging

Now get the three files specific to your device here:
http://people.canonical.com/~rsalveti/aosp/name_of_device/

Also get:
wget http://cdimage.ubuntu.com/ubuntu-touch/daily-preinstalled/pending/trusty-preinstalled-touch-armhf.tar.gz

Now run the following:

bzr branch  lp:project-rootstock-ng
cd project-rootstock-ng
adb reboot bootloader
fastboot flash boot boot.img
fastboot flash recovery recovery.img

Now on the phone select Reboot recovery

Now Run:

./rootstock-touch-install path/to/trusty-preinstalled-touch-armhf.tar.gz /path/to/system.img

Phone is now up and running on android 4.4.2.

Install from android

Assumptions:

  1. Android is up-to-date and running on 4.4.2

Enable adb by opening settings→about device and click on the build name 7 times. Press the back button then click on developer{} Select usb debugging

Run:

adb reboot bootloader
fastboot oem unlock

Reboot into android

Now get the three files specific to your device here:
http://people.canonical.com/~rsalveti/aosp/name_of_device/

Also get:
wget http://cdimage.ubuntu.com/ubuntu-touch/daily-preinstalled/pending/trusty-preinstalled-touch-armhf.tar.gz

Now run the following:

bzr branch  lp:project-rootstock-ng
cd project-rootsotck-ng
adb reboot bootloader
fastboot flash boot boot.img
fastboot flash recovery recovery.img

Now on the phone select Reboot recovery

Now Run:

./rootstock-touch-install path/to/trusty-preinstalled-touch-armhf.tar.gz /path/to/system.img

Phone is now up and running on android 4.4.2.

Touch/Install_UT_on_android4.4.2 (last edited 2014-02-20 17:40:16 by saviq)