Default [Script]One-Click-Nexus 8.0

Shabbypenguin
presents to you

Nexus Root 8.0


This software is licensed under the WTFPL

Quote:
/* This program is free software. It comes without any warranty, to
* the extent permitted by applicable law. You can redistribute it
* and/or modify it under the terms of the Do What The F*** You Want
* To Public License, Version 2, as published by Sam Hocevar. See
* http://sam.zoy.org/wtfpl/COPYING for more details. */
All the files are up on my github and available for anyone to look on and improve or even continue in case i stop :P. i know there is already a few toolkits over here but i figured since ive got the galaxy nexus i might as well post mine here since i added gnexus support to my nexus s 4g one almost a year ago.

since the best way to root a nexus device is via flashing recovery and then obtaining root that way rather than using an exploit that doesnt unlock your bootloader, or relying on a pre-rooted kernel which works great assuming no one ever updates ;P. some people have a hard time with rooting the nexus, this isnt a true one click but its designed in teh style (i think you need to have maybe 4-5 actions on your behalf besides pressing enter/space :P). so before questions begin, yes it will work on all firmware versions even key lime pie and beyond.. its just the nature of nexus devices

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Changelog:
v1.0
Initial release

v2.0
Added busybox install
Removed that pesky installrecovery.sh so now anyone running this will have cwm
upgraded to cwm 4.0.0.2 orange courtesy of j_r0dd

v3.0
Updated to CWM 5.0.2.0
Added support for GSM phones

v4.0
Removed unroot option as it was unpractical
Upgraded to cwm 5.0.2.3 cyan courtesy of j_r0dd
Added TWRP 1.1.1 (Team Win Recovery Project) as an option when rooting
Updated su to 3.0.6
Massive code cleanup

v5.0
added support for Galaxy Nexus (GSM)
massive code overhaul
*removed until i can get a good way of doing it *added EFS backup restore courtesy of Borky_16

v5.1
added Galaxy nexus (LTE/CDMA) support
added TWRP 2.0RC0 for nexus s and nexus s 4g

v6.0
Updated CWM to 6.0.1.0
Updated TWRP to 2.2
Added TWRP for all devices
Added Sprint Galaxy nexus support and Nexus 7
Streamlined the code and made it much better

v6.5
Added in wget
Auto detects your device and will download according recovery, meaning less initial downloads for you! yay!
With this new system all i need to do is add in the coresponding recoveries on my website (shabbypenguin.com) and your nexus device gains support
(due to this new system the gsm galaxy nexus may face issues added in wget due to there being 5 different variants..)

7.0
Added support for linux/mac

7.2
Added Universal Naked Drivers 0.7 courtesy of 1wayjonny
Added CWM touch 6.0.1.0

8.0
Updated TWRP for all devices to 2.3
Rewrote some of the code to make it even smaller (yay for variables!)
Added busybox installer to the custom supersu.zip i have
Oh yea, i used recovery commands to automate installing the flashable zip

8.2
Updated Adb/Fastboot binaries
Updated TWRP to 2.3.3.0 for all devices
Added support for nexus 10/nexus 4/nexus 7 (3g)
apparently broke unlocking section :/


-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Planned features for future versions will include:
EFS backup and restore for GSM

Download: Click Here
unlocking the bootloader appears to be busted, when i gain access to another nexus device ill work on fixing it. flashing recovery and rooting still works as intended

Great news everybody! this is all up on my github now you can track changes between versions and even suggest better ways of doing things.
If you enjoy my work, you can always feel free to buy me a coke