• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

[Script] One-Click-Nexus 7.0

Shabbypenguin

Extreme Android User
Shabbypenguin
presents to you

Nexus Root 7.0


This software is licensed under the WTFPL

/* 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

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

Planned features for future versions will include:
EFS backup and restore for GSM
port the script to linux/mac

Download: Click Here
yes it really is only 9MB's :P

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.
 
Credits:

k0nane for helping with wget
chris41g for teaching me a few scripting techniques over the years
Drockstar for his Epic AIO which i kang'd the menu out of
Koush for making CWM
team win for their effin awesome TWRP ;)
Chris378 for promising 100 bucks for this and never delivering, without you i never would have tried to make this ;)
 
Back
Top Bottom