Quote:
Originally Posted by m4f1050
There is an app on market, called Autostart. We can do an autostart.sh that remounts / rw and deletes the /bin/su for now I guess?
From reading previous posts this will be removed or will be addressed in the future?
|
Ive been having some difficulty figuring out the best approach to fix this. There are so many ways but picking the best isnt easy. Ive been bouncing ideas with Lmiller and right now i want to completely remove /bin from the path in sysinit.rc. I checked cyanogen, sense and my own galaxy s. None have /bin so i'm very confident it's just for the initrd (which we need). Since we need it for install and other stuff, only thing i recommend is to try this fix out.
The process is easy.
adb pull /system/sysinit.rc
modify the line export PATH /bin:/sbin:/system/sbin:/system/bin:/system/xbin:/system/xbin/bb:/data/local/bin
and remove /bin from the list. then adb push the file on the same location (make sure system is rw or this) and reboot.
in the mean time i got some work to do..
Edit: ok looks like we have our decision.. nate is onboard with modding the rc.
we need sbin however for now since we run adb from there. but there shouldnt be an su inside.