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.
|