This part is still correct.
Getting ADB over USB to work from Clockwork Recovery has been problematical for me.
It doesn't seem to work easily, although I've found a few hints to make it more reliable.
Boot into CWR from powered off. Apparently the USB interface likes a power reset.
Before connecting the Nook to the desktop do an adb kill-server, then an adb usb.
Connect the USB cable, there should be USB connect bongs.
Go to the "safely disconnect hardware" icon and click on it, but do not disconnect anything.
There should be two lines indicated:
"Safely remove Android Composite ADB Interface"
"Safely remove USB Mass Storage Device - Drives (X:, Y: )"
Do adb shell
This part is not really relevant.
Now here is the weird part. I'm not sure how it
ever worked.
I was getting this error:
Code:
- exec '/system/bin/sh' failed: No such file or directory (2) -
There is no /system/bin/sh or a symlink! Yet it used to work.
CWR uses everything in /sbin to leave room for mounting a normal system.
inside the ramdisk for CWR is init which specifically mentions /system/bin/sh
I extracted init from the ramdisk, modified it and reinserted it.
Now the adb shell works fine on CWR, but I can't figure out how it used to work!
Code:
modfile init 1364c 2f 73 62 69 6e 2f 73 68 00 00 00 00 00 00
(modfile is my utility but you can see what I'm doing. Use your hex editor.)
/system/bin/sh => /sbin/sh
Edit
Oops, I figured it out.
The adbd in CWR and the adbd you normally use in a rooted Nook are not the same.
Both have hard-coded into them the shell.
CWR adbd => /sbin/sh
Nook adbd => /system/bin/sh
(I have no idea what the shell path in init is doing, but it seems to work ok modified.)