There are two problems:
1. no permission to write to /system/lib --> chmod /system/lib
2. you cannot chmod /system dir because it is ro file system --> remount it as rw file system
Here are the steps:
1. remount /system with rw
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
your devices mounting point can be identified with simple 'mount' cmd at shell.
2. chmod /system/lib
# chmod 6755 /system/lib
3. push your .so to /system/lib
adb push your_custom.so /system/lib
'adb shell' will lead you to '#'.
답글삭제Also, mount cmd only works on rooted device.
답글삭제