Installing Ubuntu for Devices
February 26,2016 by fzfatima
I was installing
ubuntu-sdk on my device, accidently I run
sudo apt-get update and it broke some links and my phone become unusable. So i reinstall ubuntu OS on it.
In order to install ubuntu or to upgrade its channel, follow this tutorial.
Commands to be Executed
Open the Terminal on Ubuntu Desktop.
Install the ubuntu-device-flash package
ubuntu-device-flash package is main tool for installing Ubuntu for devices. Install the package:
sudo apt-get install ubuntu-device-flash
Install phablet-tools package
phablet-tools package provides a Desktop tools useful when working with a USB-connected Ubuntu device.
sudo apt-get install phablet-tools
ubuntu-device-flash also adds two important Android tools you frequently use:
Supply a recovery image with
adb enabled, which
ubuntu-device-flash will use temporarily while doing its work
For BQ Aquaris E5 Ubuntu Edition (aka vegetahd), use recovery-vegetahd.img
ubuntu-device-flashcan then be supplied with the
--recovery-image argument, eg:
ubuntu-device-flash touch --channel ubuntu-touch/stable/bq-aquaris.en --bootstrap --recovery-image path/to/downloaded/recovery.img
Note that when the command prompts you with:
Expecting the device to be in the bootloader... waiting
You can put a Aquaris E5 in the
bootloaderby holding down
Volume Upfor a few seconds, releasing the
Powerbutton when the red LED lights as the machine reboots, and then selecting
fastbootfrom the device's boot menu.
And its done !!