Sei sulla pagina 1di 2

@echo off

COLOR F0
@echo -------------------------------------------------------------------------@echo
Automated Android Root Access Granter Version 1.00 (28th March 2012)
@echo -------------------------------------------------------------------------@echo [*] This Program Shall:@echo
* Root Your Device (Android Only) Using Latest ZergRush Exploit Metho
d.
@echo
* Install BusyBox Pro (7.8). [BONUS]
@echo
* Install SU Files (Binary: 3.0.3 And .APK: 3.0.6).
@echo
* TuneUp System Files As For The Requirements.
@echo (Unwanted Files Shall Be Removed If Space Is Required More)
@echo --------------------------------------------------------------@echo [*] For Assurance Please Check The Following:@echo
* Make Sure You've Got Drivers Installed For Your Device.
@echo
* Enable "USB DEBUGGING"
@echo (Menu\Settings\Applications\Development)
@echo
* Enable "UNKNOWN SOURCES"
@echo
(Menu\Settings\Applications)
@echo
* Connect USB Cable To The Device
@echo --------------------------------------------------------------@echo After Confirmation
@pause
@echo --- STARTING ---@echo --- WAITING FOR THE DEVICE
@files\adb wait-for-device
@echo --- Creating Temporary Directory
@files\adb shell "cd /data/local && mkdir tmp"
@echo --- Cleaning
@files\adb shell "cd /data/local/tmp/ && rm *"
@echo --- Pushing ZergRush
@files\adb push files\zergRush /data/local/tmp/.
@echo --- Correcting Permissions
@files\adb shell "chmod 777 /data/local/tmp/zergRush"
@echo --- Executing ZergRush
@files\adb shell "./data/local/tmp/zergRush"
@echo --- WAITING FOR DEVICE TO RECONNECT
@echo If It's Hanged Up Here Then Try:
@echo
Disconnecting USB Cable And Reconnecting It
@echo
Toggle "USB DEBUGGING" (Disable And Re-Enable It)
@files\adb wait-for-device
@echo --- DEVICE FOUND
@echo --- Pushing BusyBox
@files\adb push files\busybox /data/local/tmp/.
@echo --- Correcting Permissions
@files\adb shell "chmod 755 /data/local/tmp/busybox"
@echo --- Remounting System
@files\adb shell "/data/local/tmp/busybox mount -o remount,rw /system"
@echo --- Checking Free Space On The System
@files\adb push files\makespace /data/local/tmp/.
@files\adb shell "chmod 777 /data/local/tmp/makespace"
@files\adb shell "./data/local/tmp/makespace"
@echo --- Copying BusyBox to /system/xbin/
@files\adb shell "dd if=/data/local/tmp/busybox of=/system/xbin/busybox"
@echo --- Correcting Ownership
@files\adb shell "chown root.shell /system/xbin/busybox"
@echo --- Correcting Permissions
@files\adb shell "chmod 04755 /system/xbin/busybox"

@echo --- Installing BusyBox


@files\adb shell "/system/xbin/busybox --install -s /system/xbin"
@files\adb shell "rm -r /data/local/tmp/busybox"
@echo --- Pushing SU Binary
@files\adb push files\su /system/bin/su
@echo --- Correcting Ownership
@files\adb shell "chown root.shell /system/bin/su"
@echo --- Correcting Permissions
@files\adb shell "chmod 06755 /system/bin/su"
@echo --- Correcting Symlinks
@files\adb shell "rm /system/xbin/su"
@files\adb shell "ln -s /system/bin/su /system/xbin/su"
@echo --- Pushing SuperUser App
@files\adb push files\Superuser.apk /system/app/.
@echo --- Cleaning
@files\adb shell "cd /data/local/tmp/; rm *"
@echo --- Rebooting
@files\adb reboot
@echo --- Success! Your Phone Has Been Successfully Rooted!
@pause
@echo --------------------------------------------------------------@echo
Credits
@echo --------------------------------------------------------------@echo
@echo
A Big Hug To Saad-Imad
@echo
@pause