Rooting the Google Nexus7, in Linux
In a previous post I talked about installing CyanogenMod 7.1 Alpha 3 on my HP TouchPad, but since Santa was very nice to me this year I now have a Nexu7, and of course I want to root it. Most of the toolkits and instructions I found talked about doing this thru Windows, but I’m a Linux guy and don’t want to install Windows for what will take less than an hour. So further Googling came up with a way of doing it thru Linux.
Like every site before me, be warned. Follow this guide at your own risk. Rooting, unlocking and installing new ROMs does invalidate your warranty and risk causing damage to your data and/or device. While nothing bad has happened to me followed these instructions, you can’t discount the idea entirely. So BACK UP YOUR DATA – If you don’t Murphy’s Law says you will need it
There are alot of ways to ‘manually’ unlock your device, but all the ones I was able to find involved downloading the Android SDK. This is a good way to do things if you ether know what your doing, or want a better understanding of the steps involved. However I wanted it done quick, and at the time I was on my netbook and seen no need to install the entire SDK. So I chose to use a toolkit.
The next problem was finding one. The vast majority of kits run under Windows, as previously stated I’m a penguin at heart and needed to find a Linux kit. tatelucas, member of the XDA-Developers forum – if you’ve never checked it out you really should – was there with the solution: Universal Nexus Linux Toolkit, formerly named galaxy-nexus-linux-toolkit. At the time of writing his toolkit supports the
- Nexus 4 mako
- Nexus 10 manta
- Nexus 7 (WiFi) grouper
- Galaxy Nexus (GSM) maguro
- Galaxy Nexus (Verizon) toro
- Galaxy Nexus (Sprint) toroplus
- Nexus S (worldwide version, i9020t and i9023) crespo
- Nexus S (850MHz version, i9020a) crespo
- Nexus S (Korea version, m200) crespo
- Nexus S 4G (d720) crespo4g
however I have only tested it on the device I have, the Nexus 7 grouper. This toolkit allows you to unlock and re-lock the bootloader, get root access, install ClockworkMod recovery both touch or standard version and, if you feel the need, reinstall the Google stock rom.
Requirements So what do you need?
- Android Debugging Enabled
- Universal Nexus Linux Toolkit – The best method for this is using git, but you could also browse the repository down manually download the files, I will be using git
Downloading from git Just in-case you don’t know how
[~/RootNexus7]$ git clone https://code.google.com/p/galaxy-nexus-linux-toolkit
Now that we have a copy of the files, in my case stored in “~/RootNexus7/galaxy-nexus-linux-toolkit”, change to the stable source, the folder called “stable”, and we can start the install.
[~/RootNexus7/galaxy-nexus-linux-toolkit]$ cd ./stable [~/RootNexus7/galaxy-nexus-linux-toolkit/stable]$ sudo bash ./unlt.sh
From this point on the installation is straight forward. Tatelucas has made the interface really easy to use and the on-screen instructions detail each option and tell you want you need to be doing on the table.
Now you have root
If everthing worked as expected you should now have root access to your Nexus. The first thing I would recommend you do now is install a proper/full backup package. My app of choice is Titanium Backup ★ root. After that… do a little Googling, the platform is now your oyster – enjoy
If you like this toolkit, why not buy the developer a coffee?