/system/bin/sh: adb: not found

When learning about the creation of the database, you cannot run the adb shell command in the cmd window under the condition that the emulator of android Studio is running. After the adb shell, su cannot go to root privileges, resulting in inability to enter data/data/… The reason is that Android Studio The emulator of (Google Play) can’t get root permission to install. You can change to an emulator with (Google APIs), similar to this View

[ Fix ] – exec ‘/system/bin/sh’ failed: Permission denied (13) –

1 Answer 1 Sorted by:

Your device is not rooted. To see what Rooting is and how to go about doing it:

Once you have rooted your device, you will be able to access the Super User state of your device (SU). Just be aware that rooting could brick your device if done incorrectly, as could and tampering with files in the root directory.

system bin sh su not found?

When learning about the creation of the database, you cannot run the adb shell command in the cmd window under the condition that the emulator of android Studio is running. After the adb shell, su cannot go to root privileges, resulting in inability to enter data/data/… The reason is that Android Studio The emulator of (Google Play) can’t get root permission to install. You can change to an emulator with (Google APIs), similar to this View

system bin sh su not found?

b) If the above does not work (if it says “Device not found” or “Device offline”), turn off the phone, then hold the Volume Down and Power buttons until it turns on. It will fail again with the “FASTBOOT” option. Once it fails, press and hold Volume Down and Power. At this point, you will want to start running loop.bat, which contains the following:

15. Hold Volume Up and Power buttons, which brings up a System Recovery menu, which is at the top of the screen in blue text. Select the second option, “Apply sdcard:update.zip”, using Volume Down to select the second option and the Power button to execute it. This should fail with an error, with text in yellow in the middle of the screen. This fails because there is no “update.zip” file on your sdcard. Thats expected/good.

2 Answers 2 Sorted by:

It looks like you are trying to run adb on the device itself. To push files start adb on the host computer. To disconnect your adb shell session type exit.

You can not run adb push on the android shell. You have to run it on the host computer.

If this is not the case, post the output of echo $PATH.

You should add your android sdk to your bash_profile shell script.

Open or Create “.bash_profile” in your root directory of account. And insert your android sdk path to path variable in “bash_profile” file.

After input path, save file and reopen your command line application. If you correct add that path, you can excute/call “adb” command in everywhere.

I heard that you are using Windows OS for working dev.

So it looks like that you typed “adb” command in “adb shell” of android device. Android OS is based on linux os. “adb shell” command is way to enter the android devices os terminal enviroment. In this enviroment, you cannot use “adb” command. Because of “adb” is “Android Debug Bridge”. bridge means that “adb” command helps to connect your working enviroment to android devices os. So after type “adb shell”, you are in the android devices os and you cannot use “adb” command.

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question. Provide details and share your research!
  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.
  • To learn more, see our tips on writing great answers. Draft saved Draft discarded

    View post on imgur.com

    Leave a Comment