Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i tried this tutorial and in step 1 i followed method 2. I try step 3, and when i try

adb shell it works fine. but the line after,

sh /sdcard/, I get

sh: Can't open /sdcard/

Why is this happening?

share|improve this question
I guess it worked after you switched off usb mass storage? please do let us know how you got on :) – t0mm13b Jun 25 '12 at 13:39
up vote 3 down vote accepted

You cannot execute either binary or shell script that resides on the external sdcard due to the execute permission bit being blocked.

Either move the script temporarily to a location other than sdcard (if you're not rooted - you're in a bit of a spot there...)

After reading the posting on xda, it would appear that something is amiss, notify the developer of that forum and post it there and see what response you get :)

Edit: You have that external sdcard treated as mass-storage device. Turn that off and see what happens (Had to read all of the thread and some one posted - see #18 there!)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.