@title Root
@echo +==============================================================================+
@echo		                     Android ICS 4.0.3
@echo                        Developed by Jovian Dsouza - 17th December 2014
@echo.
@echo +==============================================================================+
@echo   There should be no risk of permanent damage to your device,
@echo   but by running this script, you are fully responsible for any changes made.
@echo.
@echo                      Instructions: 
@echo                      1) Plug your device via USB Cable (OTG)
@echo                      2) enable USB debugging and press any key.
@echo                      3)  turn off your device and on again
@echo.
@echo +------------------------------------------------------------------------------+
@echo press any key to continue 
@pause > nul
echo off
cls
files\adb shell mv /data/local/tmp /data/local/tmp.bak
files\adb shell ln -s /data /data/local/tmp
files\adb reboot
pause Step: 1/3 Wait until reboot is fully complete and then press any key...
files\adb shell rm /data/local.prop > nul
files\adb shell "echo \"ro.kernel.qemu=1\" > /data/local.prop"
files\adb reboot
pause Step: 2/3 Wait until reboot is fully complete and then press any key...
files\adb shell id
pause Step: 3/3 Wait until reboot is fully complete and then press any key...
files\adb remount
files\adb push files\su /system/xbin/su
files\adb shell chown 0.0 /system/xbin/su
files\adb shell chmod 06755 /system/xbin/su
echo Removing changes except ROOT...
files\adb shell rm /data/local.prop
files\adb shell rm /data/local/tmp
files\adb shell mv /data/local/tmp.bak /data/local/tmp
echo Installing superuser...
files\adb push files\superuser.apk /system/app/superuser.apk
files\adb reboot
pause Done! Press any key to exit and have fun with your rooted device!
echo on
