How can I get a working adb shell on android when / system / bin / sh is missing?

I am trying to build Android Jellybean from the source for the HDMI Measy U2C stick. I managed to collect and install all partitions (boot, kernel, misc, recovery, system ...). The problem I am facing is that the system partition does not seem to be mounted. When i started

adb ls /system

I get the following output:

000041ed 00000400 51301410 .
000041c0 00000800 00000003 lost+found
000041ed 00000000 00000001 ..

I would like to add a shell to the device and try to debug why the system partition is not mounted, but adb wants it to have a working shell in / system / bin / sh.

$ adb shell
- exec '/system/bin/sh' failed: No such file or directory (2) -

: adb , ? ? busybox /sbin/busybox, , - , .

+3
1

"SHELL_COMMAND" adb/services.c,

https://github.com/android/platform_system_core/blob/master/adb/services.c

, , . , .

, , adb , , .

, - , , -, adb. , adb forwards , .

, , /system/bin, sh . , - , , , sh, mount , , .

+3

All Articles