Thread: Persistant root
View Single Post
Old February 16th, 2010, 02:26 PM   #110 (permalink)
kam187
Senior Member
 
kam187's Avatar
 
Join Date: Aug 2009
Location: UK
Posts: 1,320
 
Device(s): Nexus One
Thanks: 3
Thanked 46 Times in 28 Posts
Default

Thats wierd so it doesnt reset permisions on sh.

Anyway thats a bit of a long way to do it.

You're doing this:

copy sh to su
move sh to sh1
move su to sh

set permisions on sh

You just move the sh around and back again! Instead you can do the following:

echo "#!/system/bin/sh
/data/local/try3 /system/bin/sh
mount -o rw,remount /dev/st9 /system
chmod 04755 /system/bin/sh
/system/bin/playlogo_real" > /system/bin/playlogo

But this will open ALL shells as root.
__________________
Walkabout - Try it FREE! ICS GALAXY NEXUS COMPATIBLE at full resolution!
http://androidforums.com/android-games/281306-walkabout-new-puzzle-game-demo-available-video-enclosed.html
kam187 is offline  
Last edited by kam187; February 16th, 2010 at 02:30 PM.
Reply With Quote