[Nexus 7 Android Development] steevp:
WARNING THIS IS A VERY EARLY VERSION AND MAY CONTAIN A LOT OF BUGS. USE AT YOUR OWN RISK

This is my attempt at making a one-click Nexus 7 rooting tool for Linux; it is written in Python with PyQt4

Features:

-Root/Unroot your device

-Permanently flash CWM recovery (touch or standard version)

-Permanently flash TWRP

-Unlock/Lock the bootloader

-Flash an img file to a selected partition

-Reboot the device into recovery or bootloader mode

-Launch an adb shell

-Backup/Restore your apps and shared data (not paid apps)

-Flash a CWM zip

-More to come

Initial setup:

You must add a udev rule to run this tool as a non-root user

To do that on Ubuntu:

-Hit Alt+F2 and type:

gksu gedit /etc/udev/rules.d/51-android.rules

-Copy/paste the following:

SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev"

-Save the file

-And reboot

Alternatively, you can use the included script, setup_udev.sh

You must enable USB debugging on your tablet for this tool to work:

-Go to Settings>Developer options, and check "USB debugging"

Dependencies:

-Python 2.x

-PyQt4

On Ubuntu you can install them like this:

sudo apt-get install python2.7 python-qt4

* The standalone versions do not have any dependencies

64-Bit users:

You will need to install 32-Bit compatibility libs for adb and fastboot:

sudo apt-get install ia32-libs

Rooting instructions:

* Right-click n7root.py and choose Properties, go to the Permissions tab and make sure that Allow executing this file as a program is checked (it should be already, but it doesn't hurt to check)

* Now you can start the program by double-clicking n7root.py

* Before Unlocking your device you should click the Backup button to backup your data.

* Before rooting you must unlock the device; do that by clicking the Unlock button

* After unlocking you can restore your data by clicking the Restore button

* Now click the Root button to root the device

* (Optional) If you want to use a custom recovery, select your recovery and click the Install recovery button

Downloads:

Version 4

Standalone executable for Ubuntu 12.04

- Added CWM zip flasher

- Code is now cross-platform and should work on Windows and Mac OS X (untested)

* Mac users will need to download the Mac adb/fastboot binaries and place them in the tools folder renamed to adb.mac and fastboot.mac; they will also need to install Python 2.x and PyQt4

* I made an experimental standalone executable for Windows, but was unable to properly test it because I couldn't get the USB drivers working on Windows 8 x64. It does not currently handle USB driver installation like other toolkits, so you'll have to do that manually.

md5: b53f1d487256b56b25bae74c35f82a91

Ubuntu executable: ebe4249c0855c5a26b7d896e68550d9a

Windows executable: 3d4fe0e419eb7c8fc6d17eef6d66c0b8

Live CD:

This is a bootable Linux live CD based on Knoppix that includes the toolkit and not much else. It can be used on any computer without installing anything; just burn the iso to a CD with Imgburn or write it to a USB drive with Suse Image Writer and boot from it.

Live CD v4

md5: c3a031762437024667e4a7331992238e

Screenshots:

Big thanks to:

* ChainsDD for Superuser

http://androidsu.com

* Koush for CWM

http://www.clockworkmod.com

* Team Win for TWRP

http://teamw.in/project/twrp2

* And Google