ok, i'm stuck... my device locks up after running zergRush (to regain root)
Here's what I have so far, anybody have any ideas?
Code:
@echo ---------------------------------------------------------------
@echo Easy UNrooting toolkit (v1.0)
@echo created by DooMLoRD
@echo Slightly Changed by Paxchristos
@echo using exploit zergRush (Revolutionary Team)
@echo Credits go to all those involved in making this possible!
@echo ---------------------------------------------------------------
@echo[*] This script will:
@echo (1) root ur device using zergRush exploit
@echo (2) install Busybox (1.18.4)
@echo (3) install SU files (3.0.5)
@echo[*] Before u begin:
@echo (1) make sure u have installed adb drivers for ur device
@echo (2) enable "USB DEBUGGING"
@echo from (Menu\Settings\Applications\Development)
@echo (3) enable "UNKNOWN SOURCES"
@echo from (Menu\Settings\Applications)
@echo (4) [OPTIONAL] increase screen timeout to 10 minutes
@echo (5) connect USB cable to PHONE and then connect to PC
@echo (6) skip "PC Companion Software" prompt on device
@echo ---------------------------------------------------------------
@echo CONFIRM ALL THE ABOVE THEN
@pause
@echo --- STARTING ----
@files\adb kill-server
@echo --- WAITING FOR DEVICE
@files\adb wait-for-device
@echo --- cleaning
@files\adb shell "rm -r /data/local/tmp"
@echo --- Added to DooMLoRDs script---
@files\adb shell "mkdir /data/local/tmp"
@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 gets stuck over here for a long time then try:
@echo disconnect usb cable and reconnect it
@echo toggle "USB DEBUGGING" (first disable it then enable it)
@echo --- DEVICE FOUND
@files\adb wait-for-device
@echo --- here comes the major changes to DooMLoRD's script
@files\adb shell "/system/xbin/busybox mount -o remount,rw /system"
@files\adb wait-for-device
@ehco --- deleting Superuser.apk
@files\adb shell "rm /system/app/Superuser.apk"
@echo --- deleting busybox
@files\adb shell "rm /system/xbin/busybox"
@echo --- deleting su
@files\adb shell "rm /system/bin/su"
@echo --- rebooting and hopefully root free!
@files\adb reboot
@echo ALL DONE!!!
@pause
thats not a correct way to unroot...
btw if u already rooted why run exploit again? :P
I am on a tour right now... will not be available for discussions for a while...
I was pretty sure that zergRoot only worked until reboot (hence why I ran it again to regain root, I guess I could just remount with busybox, eh?) ... I'm a noob (and learning as I go) at this,
(I thought for sure if you deleted everything you used to root, it'd get rid of root, my bad)
so any help is very much appreciated :P
Sorry again for my newbie questions I've done a quick search but found nothing on the subject... Can you update using SEPC ... Currently on 2.3.3 and rooted using this method and i've removed a few apps ( I did do a titanium backup of all apps before i removed anything though).
(I thought for sure if you deleted everything you used to root, it'd get rid of root, my bad)
so any help is very much appreciated :P
I know pretty much zip zero nada about stuff like that but I think it's a bit more complicated than that. I'm guessing the files pushed to the phone executes different stuff/commands after being pushed and changes things in config etc. But I wouldn't know really. Just guessing.
Ok, Here's a working unroot (i verified with root checker)
Code:
@echo ---------------------------------------------------------------
@echo Easy UNrooting toolkit (v1.0)
@echo created by DooMLoRD
@echo Slightly Changed by Paxchristos
@echo using exploit zergRush (Revolutionary Team)
@echo Credits go to all those involved in making this possible!
@echo ---------------------------------------------------------------
@echo[*] This script will:
@echo (1) root ur device using zergRush exploit
@echo (2) install Busybox (1.18.4)
@echo (3) install SU files (3.0.5)
@echo[*] Before u begin:
@echo (1) make sure u have installed adb drivers for ur device
@echo (2) enable "USB DEBUGGING"
@echo from (Menu\Settings\Applications\Development)
@echo (3) enable "UNKNOWN SOURCES"
@echo from (Menu\Settings\Applications)
@echo (4) [OPTIONAL] increase screen timeout to 10 minutes
@echo (5) connect USB cable to PHONE and then connect to PC
@echo (6) skip "PC Companion Software" prompt on device
@echo ---------------------------------------------------------------
@echo CONFIRM ALL THE ABOVE THEN
@pause
@echo --- STARTING ----
@files\adb kill-server
@echo --- WAITING FOR DEVICE
@files\adb wait-for-device
@echo --- cleaning
@files\adb shell "rm -r /data/local/tmp"
@echo --- Starting unroot ---
@files\adb shell "/system/xbin/busybox mount -o remount,rw /system"
@echo --- deleting Superuser.apk
@files\adb uninstall Superuser.apk
@echo --- deleting busybox
@files\adb shell "rm /system/xbin/busybox"
@echo --- deleting su
@files\adb shell "rm /system/bin/su"
@echo --- clean up
@files\adb shell "rm -r /data/local/tmp"
@echo --- rebooting and hopefully root free!
@files\adb reboot
@echo ALL DONE!!!
@pause
enjoy!
I hope you realize that this doesn't undo rooted adb shell... the zergRush exploit still remains intact.
Quote:
Originally Posted by Nabeel_Nabs
Sorry again for my newbie questions I've done a quick search but found nothing on the subject... Can you update using SEPC ... Currently on 2.3.3 and rooted using this method and i've removed a few apps ( I did do a titanium backup of all apps before i removed anything though).
What model of the PLAY and/or wireless provider do you have?
» HTC Thunderbolt + 64GB MicroSDXC [Rooted ICS Deodexed/Debloated]
» ASUS Transformer Pad TF300T 32GB + 64GB MicroSDXC [Rooted Stock JB v4.2.1 JOP40D.US_epad-10.6.1.15.3-20130416]
» Raspberry Pi Model B Rev 2.0 + 64GB SDXC [Raspbian Wheezy + Hexxeh FW]
I hope you realize that this doesn't undo rooted adb shell... the zergRush exploit still remains intact.
Unfortunately, closing the hole in adb shell is a little bit outside my grasp, this will get you to the point where your phone no longer is able to run su.
Most of us take the simple act of waking up our devices and having a quick glance at the … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?