Ubuntu phone OS has *just* come out, and for those frustrated because using the flashing commands provided don’t appear to be working with their phone, there is another way to accomplish the goal.
I encountered this problem myself when I attempted to flash Ubuntu phone onto my Galaxy Nexus running Cyanogenmod 10.1 — the flasher refused to properly wipe /sdcard and overwrite the previous OS. Instead, I performed a successful install by using ClockworkMod recovery environment, doing a factory reset, and then installing the two Ubuntu zip files manually.
What to do:
- Make sure your Android phone/tablet is rooted — this tutorial relies upon this.
- In your Android phone/tablet, download and install ROM Manager.
- Within ROM Manager, navigate to the “Install ClockworkMod Recovery” option, and press it. Follow the instructions to install ClockworkMod. Make sure you have root privileges!
- Turn on your PC and boot into your Linux distro. I did this on Ubuntu 12.04, but it should work with any Debian-based disribution that has Aptitude. Windows users will have to find a way to download the install .zip files (find a friend!) and then skip to step 9.
- Run these commands in your terminal (skip to step 8 if you have already tried flashing):sudo
sudo apt-get update
sudo apt-get install phablet-tools android-tools-adb android-tools-fastboot
- Connect your tablet/phone to your PC, making sure ‘ADB’ is enabled – the Android Debug USB connection.
- In terminal, run
which will download the installation .zip files.
- Navigate to ~/Downloads/phablet-flash/ and enter the folder there.
- Copy and paste BOTH zip files found here into your tablet/phone, in an easily accessible folder directory.
- Disconnect your tablet/phone, and shut it down.
- Reboot into the bootloader. On the Galaxy Nexus, this is done by holding down the volume rocker and power button simultaneously. Select the ‘Recovery’ option using the volume rocker and power button once in the bootloader. This should start ClockworkMod.
- In ClockworkMod, select ‘wipe data/factory reset’, to wipe the Android OS completely.
- Return to the main menu and select ‘install zip from sdcard’, and then ‘choose zip from sdcard’. Navigate to the folder where you copied the .zip files.
- Select the .zip file ending with armel+phonecodename.zip and install this BEFORE the other .zip file.
- Now, select the other .zip file. This should end with phablet-armhf.zip or similar.
- Once done installing, navigate to the main menu and restart the phone/tablet. You should now boot into Ubuntu phone OS!