Search in HRJ Tricks

Related Posts Plugin for WordPress, Blogger...

Monday, April 29, 2013

Install Ubuntu Touch Preview On Nexus Devices The Easy Way From Recovery [Complete Guide]


The announcement of Ubuntu for Phones and the more recent one of Ubuntu for Tablets had sparked huge interest in the entire smartphone enthusiast community and kept countless Nexus device owners waiting to get their hands on the Ubuntu Touch experience.  Finally, the wait is over, as Ubuntu Touch Developer Preview has landed on the Nexus series of devices including Nexus 10, Nexus 7, Nexus 4 and Galaxy Nexus, just as Canonical promised it would.  Though if you have rushed to the original installation method provided by Canonical at the official Ubuntu Wiki, many of you must have been disappointed at learning that the method required you to be running Ubuntu on your PC in order to install it. A Linux based OS running PC is not everyone’s cup of tea and it’s hardly fair to install or even dual boot a new OS only to be able to install a new one on your mobile device – and one that is already highly experimental at this point. Luckily, there is an easier and much more more familiar way to get Ubuntu Touch up and running on your Nexus devices, irrespective of the OS on your PC. That’s right – we are talking about the usual flashing from a custom recovery. So let’s get on with it...
Ubuntu-Touch-Preview-Nexus-Installation-ft

Disclaimer: Please follow this guide at your own risk. HRJ Tricks will not be liable if your device gets damaged or bricked during the process.
Flashing Ubuntu on your phone will wipe your phone completely, including all your app data and media. That’s why taking a backup from recovery and then transferring all the contents of your device’s internal storage to your computer is extremely important, if you later want to get everything back to the way it was. We will also be providing instructions for backup as well as restoration.
Ubuntu-Touch-Nexus-10-lockscreen

Installing Ubuntu Touch Developer Preview

Requirements

  • Galaxy Nexus, Nexus 4, Nexus 7 or Nexus 10 with an unlocked bootloader. See our bootloader unlocking guide for details.
  • If you don’t have a custom recovery installed already, download ClockworkMod Touch recovery for your device and rename the downloaded file to recovery.img to keep things simple.
  • USB Debugging enabled in ‘Settings’ > ‘Developer options’. If you’re running Android 4.2, see our guide on enabling USB Debugging on Android 4.2 Jelly Bean.
  • Phablet armhf zip package.
  • Device-specific zip packages: Galaxy Nexus GSM (maguro) | Nexus 4 (mako) | Nexus 7 (grouper) |Nexus 10 (manta)

Instructions

If you already have a custom recovery installed, skip the first 3 steps; just reboot into recovery and start from step 4.

  1. Reboot your device into bootloader. Since you already installed the Android SDK in the bootloader unlocking process, and have USB debugging enabled, you can easily do so with the following command:
    adb reboot bootloader
  2. Install the downloaded recovery image using this command:
    fastboot flash recovery recovery.img
  3. Press any of the volume keys till it says ‘Recovery mode’ on your screen, and then use the power button to enter recovery.
  4. Once in recovery, take a backup from ‘backup and restore’. If you are using another recovery such as TWRP, use its own backup method to perform a full backup.
  5. Now reboot back into Android mode using the options provided in recovery.
  6. Transfer all the contents of your internal storage to your PC. This step is important because the next steps will wipe everything from your device, including the backup you just took from recovery.
  7. Transfer the downloaded Phablet armhf package, and the device-specific zip file to the internal storage of your device (not in any sub-folder).
  8. Reboot into recovery again.
  9. Perform ‘wipe data/factory reset’, followed by ‘wipe cache’, and then ‘wipe dalvik cache’ from the ‘advanced’ menu. If you are using another recovery such as TWRP, use its own wiping method to perform the same three wiping operations.
  10. Now get back to your recovery’s main menu, select ‘install zip from sdcard’ followed by ‘choose zip from sdcard’ and choose the Phablet armhf zip file. If you are using another recovery such as TWRP, use its own installation method to flash this file.
  11. Once the Phablet armhf package has been installed, use the same method to install the device-specific zip file (the one with maguro, mako, grouper or manta in its name, depending on your device).
  12. Lastly, reboot the device into system using ‘reboot system now’ from ClockworkMod recovery’s main menu, or the appropriate option from any other custom recovery that you’re using.
That’s it – keep your fingers crossed, as Ubuntu Touch boots up on your device, which doesn’t take long. Once its lock screen shows up, you can get to the home screen as follows.
  • On a phone such as Galaxy Nexus or Nexus 4, simply swipe leftward from the right edge, and you’ll land on the home screen.
  • On a tablet such as Nexus 7 or Nexus 10, you will be shown multiple user accounts. You can either use the Guest account without any password, or one of the preconfigured accounts using the first name of that account (in all lowercase letters) as the password.
Enjoy playing around with Ubuntu. Not many apps work for now, and the ones that are working don’t really have that much to offer, but since it’s a preview rather than a daily driver build, that is expected. The overall user interface works, and it is both stunning and intuitive in our opinion.
Nexus-4-Ubuntu-Touch-Developer-Preview-home Ubuntu-Touch-Preview-Unity-Launcher-Nexus-4

Reinstalling Android & Restoring Your Backup

Had your fun with the preview and want to get back to Android? Let’s get the latest version of Android up and running on your device, and restore your backup to take everything back to the way it was.

Requirements

  • Latest Android factory image for your device. Use this information to select the correct factory image:
    • takju for Galaxy Nexus GSM US edition (with Google Wallet)
    • yakju for Galaxy Nexus GSM International edition (without Google Wallet)
    • occam for Nexus 4
    • nakasi for Nexus 7 Wi-Fi
    • nakasig for Nexus 7 GSM/HSPA+
    • mantaray for Nexus 10
  • A utility to extract contents of compressed archives. We recommend the excellent and free 7-zip for Windows.
  • The backup you transferred to your computer before installing Ubuntu.

Instructions

  1. Extract the contents of the factory image you downloaded. You will probably need to extract the contents of the extracted file again, to get a folder.
  2. Connect your device to your computer via USB, and put it into bootloader mode using the same method you used when installing Ubuntu.
  3. Windows: Run the flash-all.bat file from the folder extracted in step 1.
    Linux or Mac: Run the flash-all.sh file from Terminal.
  4. Wait patiently as the factory image installs on your device.
  5. Once it has installed successfully, the device will reboot into Android. Do the initial configuration of your device after it boots up.
  6. Now transfer the backup you had taken on your PC back to your device, taking care to keep the folder structure the same.
  7. Next, flash a custom recovery using the same method used above, and reboot your device into recovery.
  8. In recovery, go to ‘backup and restore’, and select ‘restore’ and choose the backup you had made in recovery just before installing Ubuntu. If you are using TWRP or any other recovery, use its own backup restoration method to restore the backup you took before Ubuntu installation.
  9. After the backup has been successfully restored, reboot your device into system, and you should have everything back the way it was.
For any queries and updates related to Ubuntu Touch, head over to Ubuntu Wiki.
UPDATE: Our detailed review of Ubuntu Touch Developer Preview is up, so don’t forget to check it out!

5 comments:

  1. Hello! This is kind of off topic but I need some advice from an
    established blog. Is it very difficult to set up your own blog?
    I'm not very techincal but I can figure things out pretty quick. I'm thinking
    about making my own but I'm not sure where to start. Do you have any tips or suggestions? Thanks

    Also visit my website :: handy golden retriever mix breeds information

    ReplyDelete
  2. naj stranice za apartmane

    Feel free to visit my web blog; oglašavanje apartmana

    ReplyDelete
  3. My spouse and I stumbled over here by a different web
    page and thought I may as well check things out. I like what I see so now i am following you.

    Look forward to finding out about your web page yet again.

    Feel free to visit my webpage: monster ヘッドホン

    ReplyDelete
  4. Hello there, You have done an incredible job. I will definitely digg
    it and personally recommend to my friends. I am sure they'll be benefited from this website.

    Feel free to visit my blog post airjordanoutlet-sale.com

    ReplyDelete
  5. Besides the equipment, you need to find a good spot to set up your backyard theater.
    You do not need to get off anywhere if you don't want to. - A unique way to experience the 2012 State of Origin series, the Victory Room offers spectacular views of Victory Harbour, Bolte Bridge and Docklands. Rear passengers also have the ability to use a remote control to work the system themselves. You're building a relationship with them,
    so be yourself and let your personality shine through. With Internet connections all
    over the world becoming faster every day, podcasting is finding
    a firm foothold in being a reliable tool for sharing information for various purposes.


    Also visit my blog post :: buy pinterest followers

    ReplyDelete