Thread: Persistant root
View Single Post
Old November 29th, 2009, 10:35 PM   #1 (permalink)
kam187
Senior Member
 
kam187's Avatar
 
Join Date: Aug 2009
Location: UK
Posts: 1,320
 
Device(s): Nexus One
Thanks: 3
Thanked 45 Times in 28 Posts
Default Persistant root

EDIT: This is probably a better way to do it http://androidforums.com/samsung-behold-2/46137-how-root-apps-working-persistent-root.html

So we have persistant root

Thanks to chaoscentral for testing it out

You need this file - try3:
http://rapidshare.com/files/304169950/try3
alt link http://www.4shared.com/file/14856430...e869/try3.html

Code:
adb push try3 /data/local
adb shell chmod 0755 /data/local/try3
adb shell
/data/local/try3 /system/bin/sh
mount -o rw,remount /dev/st9 /system
cat /system/bin/sh > /system/bin/su
chmod 04755 /system/bin/su
su
cat  /system/bin/playlogo >  /system/bin/playlogo_real
/system/bin/chmod 0755 /system/bin/playlogo_real
 
echo "#!/system/bin/sh
/data/local/try3 /system/bin/sh
mount -o rw,remount /dev/st9 /system
cat /system/bin/sh > /system/bin/su
chmod 04755 /system/bin/su
/system/bin/playlogo_real" > /system/bin/playlogo
Reboot, adb shell in and type 'su' to become root :P


EDIT:
People seem to be confused what this means! So here's a simple explanation.

- The above means you can root the phone, and so use any programs which NEED root to work. eg market enabler, or market apps marked (ROOT)

- This is the first step to a custom ROM, but doesnt mean we can just make one up as simply as we can for other phones like the galaxy or HTC.

- If you don't understand the above, then you most likely DONT need to run it!

- If you don't need to run any 'root' only apps you DONT need to run the above!

This is more a proof that persistant root is possible, and the first step that rom cookers will need to make a custom rom. However there are still some obsticles to get over. We need to kill the running processes and rerun the custom ones. This hasnt been done before and would be a new technique - so it will take time.

EDIT2:
I've decided against buying a behold 2/swapping my galaxy for one, so someone else will have to carry on from here. Good luck guys
kam187 is offline  
Last edited by kam187; February 17th, 2010 at 01:17 PM.
Reply With Quote