bt0558 wrote:Hi Eddie
LOL.........you do like superoneclick...i may give it shot but am keen to try to do the manual thing so that I know what has been changed....I wonder if I can pick apart an apk to see what superoneclick does.
I don't have shares in it, honestly! It's not actually an Android app, just a program that runs on the PC and uses the ADB driver/interface to do, essentially, what you're doing manually. It even explains what it's doing as it does it. However, you don't learn much by using it, whereas this way is "educational".
I must admit, I can't explain what you're seeing, but maybe I've misunderstood what your describing (It's been a long day ...) However, one thing I notice is that the line
> adb push su /mnt/sdcard/tflash/Android/data
in bdb's post will only work if the directory /mnt/sdcard/tflash/Android/data already exists. If not, it will actually copy su to a FILE called /mnt/sdcard/tflash/Android/data. I think he meant
> adb push su /mnt/sdcard/tflash/Android/data/su
I'm not sure why he chose that directory structure, maybe just a cut and paste from another document he'd written, but it really doesn't matter where on the sdcard you put the su file. It's only a temporary location so that you can then copy it to the /system/bin directory. In fact, once /system is mounted rw (which, on the Scroll, you can also do with the simple command "adb remount" rather that the shell command "mount -o rw, ... " line), you could just use
ADB push su /system/bin
then create the symbolic link and do the permission changing. That does away with the need to use the sdcard.
I'm not criticising anything bdb's doing, there's more than one way to skin a rabbit, and his method will work on some devices where, for example, "adb remount" doesn't work. But if you're planning to write a "how to" for inexperienced Scroll users, you might want to keep it as lean as possible.
Eddie
Scroll Options 51624 Firmware: 1.02s Kernel: 2.6.29 Android Version: Sometimes 2.3.4 CM7 Sometimes 2.1 !