Sorry too late to reply the message. Any way thanks a lot to reply me question.
I'm not using existing phone. I use emulator to simulate android environment. But after I key the command like this ./adb -s emulator-5554 shell The prompt is #. However I still can't push anything into directories except /data this directory before enter into android shell. I have found a command lie is ./adb -s emulator-5554 shell mount -o remount,rw -t yaffs2 /dev/block/ mtdblock0 /system After this command, I can push something into /system However I change the command like ./adb -s emulator-5554 shell mount -o remount,rw -t yaffs2 /dev/block/ mtdblock0 /sbin It will generate an error message. I still have no idea to push something into directories except /data. Best Regards On 10月7日, 下午3時18分, "fernandoler...@hotmail.com" <fernandoler...@gmail.com> wrote: > That's not possible, unless the adb runs with root permissions. Are > you building the platform code, or using an existing phone? > You'll notice that when adb runs with root permissions the prompt is # > instead of $ > After that you need to remount the target partition with write > permissions > > On Oct 6, 9:09 am, "Sn4+" <maxgreg13...@gmail.com> wrote: > > > > > Hello everyone~ > > > I want to push something into android shell kernel. > > > Hence I use adb command like this > > > $./adb -s emulator-5554 push hello /data > > > However, this command can only push into /data this directory. > > > But I want to push to other directories like /proc , /sys , or / > > system ...etc > > > Is there any way can put file into android shell kernel !? > > > Thanks a lot. > > > Best Regards -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel