title: How can I get a working adb shell on android when /system/bin/sh is missing?
body: <p>I'm trying to build Android Jellybean from source for the Measy U2C HDMI stick. I've managed to build and install all the partitions (boot, kernel, misc, recovery, system...). The problem I'm having is that the system partition doesn't seem to be mounting. When I run</p>
  
  <pre><code>adb ls /system
  </code></pre>
  
  <p>I get the following output:</p>
  
  <pre><code>000041ed 00000400 51301410 .
  000041c0 00000800 00000003 lost+found
  000041ed 00000000 00000001 ..
  </code></pre>
  
  <p>I'd like to adb shell into the device and try to debug why the system partition is not mounting but adb wants there to be a working shell in /system/bin/sh.</p>
  
  <pre><code>$ adb shell
  - exec '/system/bin/sh' failed: No such file or directory (2) -
  </code></pre>
  
  <p>My question is, how can I get adb to look elsewhere for the shell command so i can get this working? Or is there an alternate way to remote into the device and debug this? There is a busybox install at /sbin/busybox so if I can just invoke that somehow, I can figure this out.</p>