Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
THREAD CLOSED
Tip us?
 
DooMLoRD
Old
#121  
DooMLoRD's Avatar
Recognized Developer
Thanks Meter 20628
Posts: 10,088
Join Date: Jul 2010
Location: Indian Institute of Management, Ahmedabad (IIMA)
Quote:
Originally Posted by paxChristos View Post
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...



Like my work? Please consider donating via PayPal


Lead Developer of Team UtterChaos & Member of Team ICX

Creator of DooMKernel making those Snapdragons fly higher and faster

Android Devices I use : Sony Xperia Z, T, S, ARC, PLAY

Contributions : Generic Android / Xperia X10 / Xperia 2011 devices / Samsung Galaxy S2 / Huawei Ideos X6 / Samsung Galaxy SCL (i9003) / HTC Flyer / Kindle Fire / HTC JetStream / Xperia P, Sola, U / HTC One X / Xperia S / Xperia T, V, TX / Xperia Z, ZL, Tablet Z





** NEW *** Xperia SDCARD Mounter App! (supports Xperia Z, ZL, Tablet Z, T/TL, TX, V, S/SL/NX, Ion, Acro S/HD, P, U, Go, Sola, J, Miro, Tipo, Tipo Dual, E, E Dual!)
 
paxChristos
Old
#122  
paxChristos's Avatar
Retired Forum Moderator
Thanks Meter 1254
Posts: 2,036
Join Date: Aug 2011
Location: Milwaukee

 
DONATE TO ME
Quote:
Originally Posted by DooMLoRD View Post
thats not a correct way to unroot...

btw if u already rooted why run exploit again? :P
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
Tips:
*Logcat or it never happened. *Search before posting *Go to User CP -> Edit Options -> switch "Number of Posts to Show Per Page" to 50. *Reporting Posts

Link to My Mediafire Folder (R800x Goodies) | Link to common Xperia Play fixes
My Work: Roms for R800x that i've ported/tweaked | Team Gummy Rom | Codename Android | CM9 | In Progess: Jelly Bean (CM10 (Pre-Alpha) then AOSP) | Codename Android GSM
 
Nabeel_Nabs
Old
#123  
Senior Member
Thanks Meter 120
Posts: 585
Join Date: Feb 2011

 
DONATE TO ME
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).
 
dannejanne
Old
#124  
Senior Member
Thanks Meter 168
Posts: 932
Join Date: Mar 2011
Location: Örebro, Sweden
Quote:
Originally Posted by paxChristos View Post
(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.
 
paxChristos
Old
(Last edited by paxChristos; 28th October 2011 at 03:17 AM.)
#125  
paxChristos's Avatar
Retired Forum Moderator
Thanks Meter 1254
Posts: 2,036
Join Date: Aug 2011
Location: Milwaukee

 
DONATE TO ME
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!
Attached Files
File Type: zip unroot.zip - [Click for QR Code] (782.9 KB, 59 views)
Tips:
*Logcat or it never happened. *Search before posting *Go to User CP -> Edit Options -> switch "Number of Posts to Show Per Page" to 50. *Reporting Posts

Link to My Mediafire Folder (R800x Goodies) | Link to common Xperia Play fixes
My Work: Roms for R800x that i've ported/tweaked | Team Gummy Rom | Codename Android | CM9 | In Progess: Jelly Bean (CM10 (Pre-Alpha) then AOSP) | Codename Android GSM
 
CrimsonKnight13
Old
#126  
CrimsonKnight13's Avatar
Senior Member - OP
Thanks Meter 225
Posts: 614
Join Date: May 2009
Location: Norfolk, VA, USA
Quote:
Originally Posted by paxChristos View Post
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 View Post
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]
 
paxChristos
Old
#127  
paxChristos's Avatar
Retired Forum Moderator
Thanks Meter 1254
Posts: 2,036
Join Date: Aug 2011
Location: Milwaukee

 
DONATE TO ME
Quote:
Originally Posted by CrimsonSentinel13 View Post
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.
Tips:
*Logcat or it never happened. *Search before posting *Go to User CP -> Edit Options -> switch "Number of Posts to Show Per Page" to 50. *Reporting Posts

Link to My Mediafire Folder (R800x Goodies) | Link to common Xperia Play fixes
My Work: Roms for R800x that i've ported/tweaked | Team Gummy Rom | Codename Android | CM9 | In Progess: Jelly Bean (CM10 (Pre-Alpha) then AOSP) | Codename Android GSM
 
DooMLoRD
Old
#128  
DooMLoRD's Avatar
Recognized Developer
Thanks Meter 20628
Posts: 10,088
Join Date: Jul 2010
Location: Indian Institute of Management, Ahmedabad (IIMA)
Quote:
Originally Posted by paxChristos View Post
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!
this is not correct...

u are forgetting the tons of symlinks in /system/xbin/

also why "rm -r"? a simple "rm /data/local/tmp/*" is sufficient

also dont worry abt zergRush.. as far as i understand the exploit was only for temp root.. meaning its removed after reboot...

I am on a tour right now... will not be available for discussions for a while...



Like my work? Please consider donating via PayPal


Lead Developer of Team UtterChaos & Member of Team ICX

Creator of DooMKernel making those Snapdragons fly higher and faster

Android Devices I use : Sony Xperia Z, T, S, ARC, PLAY

Contributions : Generic Android / Xperia X10 / Xperia 2011 devices / Samsung Galaxy S2 / Huawei Ideos X6 / Samsung Galaxy SCL (i9003) / HTC Flyer / Kindle Fire / HTC JetStream / Xperia P, Sola, U / HTC One X / Xperia S / Xperia T, V, TX / Xperia Z, ZL, Tablet Z





** NEW *** Xperia SDCARD Mounter App! (supports Xperia Z, ZL, Tablet Z, T/TL, TX, V, S/SL/NX, Ion, Acro S/HD, P, U, Go, Sola, J, Miro, Tipo, Tipo Dual, E, E Dual!)
 
paxChristos
Old
#129  
paxChristos's Avatar
Retired Forum Moderator
Thanks Meter 1254
Posts: 2,036
Join Date: Aug 2011
Location: Milwaukee

 
DONATE TO ME
Quote:
Originally Posted by DooMLoRD View Post
this is not correct...

u are forgetting the tons of symlinks in /system/xbin/

also why "rm -r"? a simple "rm /data/local/tmp/*" is sufficient

also dont worry abt zergRush.. as far as i understand the exploit was only for temp root.. meaning its removed after reboot...
I use rm -r because it deletes the directory

I'll update mine when class is done...
Tips:
*Logcat or it never happened. *Search before posting *Go to User CP -> Edit Options -> switch "Number of Posts to Show Per Page" to 50. *Reporting Posts

Link to My Mediafire Folder (R800x Goodies) | Link to common Xperia Play fixes
My Work: Roms for R800x that i've ported/tweaked | Team Gummy Rom | Codename Android | CM9 | In Progess: Jelly Bean (CM10 (Pre-Alpha) then AOSP) | Codename Android GSM
 
Nabeel_Nabs
Old
#130  
Senior Member
Thanks Meter 120
Posts: 585
Join Date: Feb 2011

 
DONATE TO ME
Quote:
Originally Posted by CrimsonSentinel13 View Post

What model of the PLAY and/or wireless provider do you have?
I have the R800i, Uk Version locked to O2... Although i can get it unlocked from the network...

THREAD CLOSED
Tags
root xperia play
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...