fix up adb to prefer /sbin/sh if its exists
and miscellanous fixes
Credits cm and koush