Quote:
Originally Posted by nipsy
Most probably do since /system/bin is in the PATH by default. At least this will get you root directly on the phone without having to use adb shell. Having said that, it's probably best to leave /sdcard vfat (since having full blown UNIX style permissions on /sdcard breaks some things) and creating two separate partitions on the SD card. Make the second one ext3, mount it wherever (/media or some such, doesn't really matter), and start loading it up with ARM/Android compiled binaries. It should be rather trivial to get the base Debian image running at that point like the G1 had not too late into its rooting.
Past all that though, the real thing to start messing with at this point would be iptables, IP forwarding, and the wireless card for tethering via WiFi. And it would be nice how to figure out replacing the base system of course with 1.6 or 2.0. But I'll leave that to more adventurous folks than myself. I'm just happy to have a fully busybox installed in /system/bin with a bunch of symlinks for the time being.
|
Then perhaps the wrapper script should auto-mount this sdcard partition, and update the environment variable for PATH
I wonder if the OS would touch the env.
Parititoning is my drawback since im on windows, and i couldnt get armel debian binary of mke2fs to work. I'll have to boot a ubuntu livecd.
Edit: I made a ext3 partition and put /media/bin/su and chmod 4755, but when i reboot it removed my setuid!
ls -l /media/bin/su
-rwxr-xr-x root root 86944 2009-11-24 18:02 su
the moment is also complaining the sd card is invalid or blank.
Edit2: Went back to unbutu and used mkfs.msdos instead of mkfs.vfat, and chmodded my su back. all is working now. Now to figure out how to override the system environment varible
Edit3: Just use my wrapper to automount your ext3 partition to /media
Make a symlink ln -s /media/bin/su /system/bin/su
In the zip you will find 2 files.
remount goes in /media/bin, it makes remounting the /system partition easier (just call /media/bin/remount ro or /media/bin/remount rw)
playlogo is like before, move the original playlogo to playlogo_real under /system/bin and put my playlogo in its place
Note this REQUIRES an ext3 partition on your sd card and it needs to be the SECOND partition.