• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root adb question

Dannysc213

Newbie
Feb 16, 2010
34
0
alright fellas, first off i am rooted. when i do a command promp in the adb/tools "adb shell i get the # but if i try it again i'll get adb not found. i also tried adb devices and get my device the first time bu it does not recognize it after that. i also tried t2noobs font bat and it says adb is not recognized as an internal or external command, operable program or batch file. dont know what to do. but i can download roms to my phone thru 3g and flash them anytime. im thinking its the driver but i dont know.:thinking:
 
alright fellas, first off i am rooted. when i do a command promp in the adb/tools "adb shell i get the # but if i try it again i'll get adb not found. i also tried adb devices and get my device the first time bu it does not recognize it after that. i also tried t2noobs font bat and it says adb is not recognized as an internal or external command, operable program or batch file. dont know what to do. but i can download roms to my phone thru 3g and flash them anytime. im thinking its the driver but i dont know.:thinking:

Dannysc213,

Sounds like when you invoke "adb shell" the second time, you are already in the adb shell. I.e., when you invoke "adb shell" you are basically creating a command prompt to the Android Linux on your phone. So, if you have the "#" prompt and want to return to type other commands prefixed with "adb", you'll need to exit out of the shell that you created. For example:

Code:
first, here's what I think you are doing:
 
[B]C:\android\android-sdk-windows\tools>[COLOR=blue]adb shell[/COLOR][/B]
# [COLOR=red][B]adb shell[/B][/COLOR]
adb shell
adb: not found
# [COLOR=blue][B]exit[/B][/COLOR]
exit
 
here's what I think you want to do:
 
[B]C:\android\android-sdk-windows\tools>[/B][COLOR=blue][B]adb shell[/B][/COLOR]
# [B][COLOR=blue]pwd[/COLOR][/B]
pwd
/
# [B][COLOR=blue]ls[/COLOR][/B]
ls
sqlite_stmt_journals
config
cache
:
:
:
data
root
dev
# [B][COLOR=blue]exit[/COLOR][/B]
exit
 
[B]C:\android\android-sdk-windows\tools>[/B]

Does this look like what is going on?
 
  • Like
Reactions: Dannysc213
Upvote 0
you cant run adb commands from inside a shell
adb push etc is ran from your tools dirctory

Dannysc213, I think I understand now from what andrizoid is saying...you said you were rooted, but maybe you've only completed the first part of rooting (i.e., "regular" root where you flashed the base root ROM?) and now you are trying to do the next steps, i.e., typing the adb commands to install Amon_RA's recovery image? Or did you use some other root method (Eris Master Application perhaps?).

Anyway, let us know and someone will walk you through it.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones