
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
The 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
The phablet-tools
package provides a Desktop tools useful when working with a USB-connected Ubuntu device.
sudo apt-get install phablet-tools
Installing ubuntu-device-flash
also adds two important Android tools you frequently use: adb
and fastboot
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-flash
can 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
bootloader
by holding downPower
+Volume Up
for a few seconds, releasing thePower
button when the red LED lights as the machine reboots, and then selectingfastboot
from the device's boot menu.And its done !!