How to uninstall Ubuntu on your Nexus & revert back to Android?

We will take a look at how to uninstall or remove Ubuntu from your Nexus device and revert back to the Android ROM which came out with your Nexus device.

If you are one of those who installed Ubuntu Touch developer preview out of excitement on your primary device, and if you are facing problems with the new build and would want to revert it back to Android that came out with your device, here’s how to do so.

The steps are pretty simple, and I’m not sure if this would leave the Bootrom unlocked after switching back to the stock Android version.

Rollback to Android from Ubuntu Touch Developer Preview:

Note: As advised during installation, you’ll have to remember the Build number of your Android, to roll back to Android.

  • Make sure your devices’ battery is fully charged and you’ve got sufficient amount of battery backup on your Ubuntu laptop.
  • Download the Image of your stock Android for your device.
  • Now, extract the download and place it on your Desktop.
  • Open up Terminal, and navigate to the directory to which you extracted the Android build.
  • In Terminal, type the following code:
adb reboot-bootloader
  • Once done, run the following command:
./flash-all.sh

And boom, you’ll be done after seeing a lot of progressbars and other codes that would be running on your Android device.

 

2 Replies to “How to uninstall Ubuntu on your Nexus & revert back to Android?”

  1. When I navigate to the factory image of Nexus 7 on my local disk, and issue the command ./flash-all.sh I am getting the error permission denied. Can anyone help me rectify this? Stuck totally

Leave a Reply