Exclamation [HOW-TO][zergRush Root] Root w/ v2.2.x-2.3.x (NOT ICS 4.x or GB after 11/2011)

This thread is a collaboration by myself, paxChristos, DooMLorD, & amishxda. Please give credit where credit is due. Thanks.

This method has been confirmed to work on all models of the Xperia PLAY - R800x / R800i / R800a / R800at. Also works perfectly with the Xperia Arc.
WARNING: This doesn't work, however, on the Verizon Wireless R800x v2.3.2. Please update to v2.3.3 before rooting. - confirmed by paxChristos
WARNING #2: Confirmed that this doesn't work with 4.0.2.A.0.62

MAJOR WARNING - ICS (4.x) doesn't work with it & any update to GB (2.3.x) after November 2011 won't either.
Quote:
Originally Posted by paxChristos View Post
The exploit used in this toolkit was patched back in November of 2011. No more updates will come from the exploit devs.
Thanks to everyone who tested this out for me & confirmed that it worked!

NOTE: Before you attempt to root your phone, please ensure that you have the Android SDK installed. It has the adb binary within it.

Android SDK
http://developer.android.com/sdk/index.html


All needed files have been attached for this process to work correctly.
Note: I didn't create zergRush. I only found the method to implement permanent root after zergRush has done its job.

Automatic Root
1) SuperOneClick
SuperOneClick now has the zergRush method built-in.
Please see the source thread if you have any questions.
Downloads available @ http://shortfuse.org/
Source: http://forum.xda-developers.com/show....php?t=803682a

2a) DooMLoRD's Easy Rooting Toolkit [v4] (zergRush Exploit)

This is the one click method that everyone has been asking for & DooMLoRD has answered with this.
Quote:
Originally Posted by DooMLoRD View Post
UPDATE: added v4, with newest zergRush binary (21 Nov 2011) and few corrections/additions to script


UPDATE: most companies are patching the exploit in the latest firmwares (Samsung, Motorola, Sony Ericsson, etc)


UPDATE: added v3, with newest zergRush binary (16 Nov 2011) and newer superuser files


UPDATE: added v2, with newest zergRush binary (10 Nov 2011) and newer superuser files


[ support the developers ]

There have now been nearly 440,000 downloads of this easy rooting toolkit for various devices (see list here), and many more if you include variations/different translations, etc that use it.

Don't be a leech, buy me a coffee/beer/etc (and use the "Thanks" button!). Imagine if every user of this tool had donated me even $1...

if you want to support Revolutionary Team (creators of the Exploit which makes this possible ) you can donate to Revolutionary Team's PayPal Donation Link



[ Info ]

(WINDOWS ONLY)


WILL WORK ON BOTH LOCKED & UNLOCKED BOOTLOADER DEVICES!


just download the attached file, extract it using winzip/winrar

go to the folder where its extracted and execute "RUNME.bat"

read and follow the instructions on the screen!

Code:
 ---------------------------------------------------------------
                  Easy rooting toolkit (v4.0)
                    created by DooMLoRD
         using exploit zergRush (Revolutionary Team)
    Credits go to all those involved in making this possible!
 ---------------------------------------------------------------[*] This script will:
      (1) root ur device using latest zergRush exploit (21 Nov)
      (2) install Busybox (1.18.4)
      (3) install SU files (binary: 3.0.3 and apk: 3.0.6)
  [*] Before u begin:   
      (1) make sure u have installed adb drivers for ur device
      (2) enable "USB DEBUGGING" 
            from (Menu\Settings\Applications\Development)
      (3) enable "UNKNOWN SOURCES"
            from (Menu\Settings\Applications)
      (4) [OPTIONAL] increase screen timeout to 10 minutes
      (5) connect USB cable to PHONE and then connect to PC
      (6) skip "PC Companion Software" prompt on device
[ Tested on ]

Tested & Reported to be working on the THESE devices


[ Credits ]

Credits go to all those involved in making this possible!

zergRush Binary from: Revolutionary - zergRush local root

Inspired from: http://forum.xda-developers.com/show....php?t=1312859


[ Donations ]

if u feel that this work has helped u OR u think that the work i put into making this is worthy of donations, then click on the following link for buying me some coffee/beer/etc My PayPal Donation Link

if you want to support Revolutionary Team (creators of the Exploit which makes this possible ) you can donate to Revolutionary Team's PayPal Donation Link


[ Download Links ]


DooMLoRD_v4_ROOT-zergRush-busybox-su.zip <NEW>


DooMLoRD_v3_ROOT-zergRush-busybox-su.zip


DooMLoRD_v2_ROOT-zergRush-busybox-su.zip


DooMLoRD_v1_ROOT-zergRush-busybox-su.zip



[ UnRooting ]

want to unroot? read this


[ Scripts posted by others ]

Rooting script for Linux
Rooting script for MAC OSX
Toolkit for GT-I9000
For Atrix 2
For VIZIO vTab1008


regards,

DooMLoRD
Source: http://forum.xda-developers.com/show....php?t=1319653

My deepest thanks to DooMLoRD for automating & simplifying this process!

2b) amishxda's modified Linux script (based on paxChristos' script // Source: DooMLoRD's Easy Rooting Toolkit)
Quote:
Originally Posted by amishxda View Post
Update: Updated as per DooMLoRD's v4.0 script with zergRush binary of 21 Nov 2011 and with makespace which deletes Google Maps if there is not enough space.(< 6MB)

Hello

I am completely new to Android but not at all new to Linux.

I used paxchristos script (ran commands manually though) to root my Sony Ericsson Live with Walkman. (WT19i / Android 2.3.4 / Build 4.0.2.A.0.58)

Source threads used:
http://forum.xda-developers.com/show....php?t=1319653
http://forum.xda-developers.com/show...php?p=18615502

In an attached file, I fixed/modified/added few things in paxchristos script. Here is the detail:

1) Fixed error in symlinking su. (source/destination were same)
2) Don't delete (and recreate) /data/local/tmp/ directory unnecessarily, just delete its contents
3) Uses dd instead of cp (because DooMLoRD's script does, dont know why!). Update: as per anantshri, dd is used because cp has been known to give errors.
4) If your system already has 'adb' then it uses system 'adb' instead of one in zip-archive.
5) Updated zip archive to contain the latest files from DooMLoRD's archive (paxchristos archive seemed old)

Please try/verify and let me know if I missed something.

Thanks.
zergRush_automated_Linux_root.zip

Source: http://forum.xda-developers.com/show...php?p=20869699
Original script by paxChristos: http://forum.xda-developers.com/show...2#post18615502

Manual Root
3) Noob Friendly Guide
paxChristos has provided me with a very comprehensive guide regarding this process for anyone that absolutely wants a step-by-step layout.
It has been attached to this thread within a 7-zip file. If you would like the faster route, please follow my own instructions.

Download PDF Guide

4) Advanced Android Users (& those that are aiming to be) Guide
Download all required files. Drivers have been provided courtesy of paxChristos for anyone that needs them.
Do the following within a cmd (as administrator) or terminal prompt (through sudo or root user)
Code:
adb shell mkdir /data/local/tmp
adb push zergRush /data/local/tmp
adb chmod 755 /data/local/tmp/zergRush
adb shell
cd /data/local/tmp/
./zergRush
adb remount
adb push su /system/bin
adb push su /system/xbin
chmod 4755 /system/bin/su
chmod 4755 /system/xbin/su
exit
adb install Superuser.apk
Alternate: adb push Superuser.apk /system/app
installed BusyBox (if it doesn't show up on the system already) via any busybox installer market app
Ran SuperUser & verified settings
Code:
adb reboot
Android should be completely rooted!

Automatic Unroot
DooMLoRD's Unrooting Script
Quote:
Originally Posted by DooMLoRD View Post
UNROOTING SCRIPT v1.0

so here is the unrooting script to be USED ONLY AND ONLY IF U HAVE USED MY FILES (Easy Rooting Toolkit) FOR ROOTING


[ WARNING ]

if u have used any other way/solution for rooting then PLEASE DO NOT RUN THIS... you MIGHT END UP with damaged system...


(thats cause some ppl create symlinks for busybox in /system/bin/ which wipes out stock symlinks to /system/bin/toolbox and breaks/damages system)


[ DISCLAIMER ]

I AM NOT TO BE HELD RESPONSIBLE IF U DAMAGE UR PHONE / SPILL UR COFFEE / MISS UR ALARMS / ANY OTHER CALAMITY/MISHAP

REMEMBER YOU ARE DOING THIS AT YOUR OWN RISK


now that the warning is clear (hopefully) lets get to unrooting


Tested on:

Sony Xperia ARC


so here is the file.. (WINDOWS ONLY)

just download the attached file, extract it using winzip/winrar

go to the folder where its extracted and execute "RUNME-UNROOT.bat"

read and follow the instructions on the screen!

Code:
---------------------------------------------------------------
                   Easy rooting toolkit (v1.0)
                       UNROOTING SCRIPT
                      created by DooMLoRD
   based heavily on FlashTool scripts (by Bin4ry and Androxyde)
    Credits go to all those involved in making this possible!
---------------------------------------------------------------
 [*] This script will:
      (1) unroot ur device using special script
      (2) remove Busybox and assocaited symlinks
      (3) remove SU files and assocaiated data
 [*] Before u begin:   
      (1) make sure u have installed adb drivers for ur device
      (2) enable "USB DEBUGGING" 
            from (Menu\Settings\Applications\Development)
      (3) enable "UNKNOWN SOURCES"
            from (Menu\Settings\Applications)
      (4) [OPTIONAL] increase screen timeout to 10 minutes
      (5) connect USB cable to PHONE and then connect to PC
      (6) skip "PC Companion Software" prompt on device
 ---------------------------------------------------------------
if all goes well u will get output LIKE THIS


regards,

DooMLoRD

DooMLoRD_v1_UNROOTING.zip
Sources/Acks/Links/Attachments
Sources:
http://forum.xda-developers.com/show....php?t=1312082
http://forum.xda-developers.com/show....php?t=1296916
http://androidsu.com/superuser/

Acknowledgments:
Ch4lky - Sony Ericsson Xperia fix for zergRush (Revolutionary Team)
ieftm - zergRush (Revolutionary Team)
Revolutionary Team - many thanks to everyone who worked on zergRush
paxChristos - provided debug info to Ch4lky & created the Noob PDF guide
ChainsDD - Superuser & su
DooMLoRD - for the awesome rooting & unrooting scripts
CLShortFuse - SuperOneClick
Cl8rs - identified possibility for Xperia PLAY to use zergRush
XenonMD - confirmed that this works on the R800i
barlw - confirmed that this works on the R800a
Luniticus - confirmed that this works on the R800at
AndroHero - recommended the alternate method for pushing the Superuser.apk to /system/app for working around stability issues
amishxda - for updating paxChristos' script to work on more phones from Linux
Everyone else - who have confirmed that it works on many other phones

Please let me know any new information to smooth out the process. I'll modify this post to ensure it's a smooth one.

zergRush (no longer attaching due to new updates from the devs) - supports a large amount of phones
https://github.com/downloads/revolut...h/zergRush.zip

Superuser v3.0.7 apk
http://goo-inside.me/superuser/Super...fgh-signed.zip
su v3.0.3.2 binary
http://goo-inside.me/superuser/su-bin-3.0.3.2-efghi-signed.zip

HTC Droid DNA (dlx) [CodeFireX Nightlies]
Samsung Galaxy S2 (SCH-R760 - Multimedia Player) [CM11 Unofficial - SPH-D710]
Motorola Droid RAZR MAXX (spyder) [CM11 Nightlies] - Wife's Phone
Amazon Kindle Fire HD 7" (tate) [CM11 Unofficial] - Wife's Tablet