I've suffered in using adb.exe
.
I wanted to use adb.exe
shell prompt same as bash, so I decided change the default bash binary (of course binary was cross compiled, and everything was perfect)
change bash binary is followed below order
adb remount
adb push bash /system/bin/
adb shell
cd /system/bin
chmod 777 bash
mv sh sh.bak
ln -s bash sh
first change was successful, but problem is occurred when second try.
I push new bash binary, but I missed change bash's permission 777, and disconnect adb shell
.
after
C:\Program Files (x86)\Android\android-sdk\platform-tools>adb.exe shell
- exec '/system/bin/sh' failed: Permission denied (13) -
C:\Program Files (x86)\Android\android-sdk\platform-tools>
Is there any smart idea to fix this permission problem?
please help me...