Adb shell - Vibrant Q&A, Help & Troubleshooting

OK I am very new at this rooting thing and quite a few programs ask me to go into adb shell and type commands but don't even know how to find adb shell let alone access it on my computer can someone give me a step by step thanks.
On rooted Vibrant with bionix fusion 1.1 wth Core1

You can download terminal emulator from the market and run most commands right off your phone. If you really want to learn look up Adb for dummies it's a great guide. You may also want to download DroidExplorer from the net to make it even easier on yourself.

Thank you sir you are a bad ass!
On rooted Vibrant with bionix fusion 1.1 wth Core1

Related

SU request issue, help please

ok so on most roms this happens. i need a SU request but my phone freezes obn a black screen and on the top in gray it says SU request. i wait paciently and maybe 1-2 mins later is asks to FC because its not responding. is there a fix or what am i doing wrong. usb debugging is on and so is install nonmarket apps idk wtf im doing wrong or if somthing is just not working. any input??
I've heard su is not working properly until you activate it once via adb. In your teriminal (cmd or similar)
Code:
adb shell
$su
You should get a working super user request after which all other su requests should work fine.
Marisa said:
I've heard su is not working properly until you activate it once via adb. In your teriminal (cmd or similar)
Code:
adb shell
$su
You should get a working super user request after which all other su requests should work fine.
Click to expand...
Click to collapse
yes same thing happens to me
plug in your phone
goto your android sdk tools
and input adb shell
now go back to your phone and try it while still plugged
thats what i have been doing...
the same thing is happening for me and the instructions of simply input adb shell into terminal arent helping really. if someone could tell me exactly where to be aiming the command prompt and what the exact commands are in order to fix this I would greatly appreciate it.
WalkingTaco said:
the same thing is happening for me and the instructions of simply input adb shell into terminal arent helping really. if someone could tell me exactly where to be aiming the command prompt and what the exact commands are in order to fix this I would greatly appreciate it.
Click to expand...
Click to collapse
Are you getting the same crshes and things, but when you do the adb shell # pops up instead of $?
whenever i do adb shell I get #, so that means SU is already activated, but it's actually not on my phone, so i have no idea what's going on and no one seems to know how to fix it.
no. my Su permissions always force close after a minute of black screen. there is a fix posted above but my nerd level is not high enough to.infer the rest
Sent from my Eris using the XDA mobile application powered by Tapatalk
I don't know the exact command prompt setup, I'm running linux. However, when you originally rooted your phone you used the Android SDK correct?
With your phone plugged in, and USB Debugging enabled on your phone (Settings -> Applications -> Development -> USB Debugging) Open command prompt and get to the tools directory you used during rooting, I don't know where you installed it, so I cannot guide you through that part. If you used Ivan's guide http://forum.xda-developers.com/showthread.php?t=647707 it's probably best to refresh yourself there.
Once you've found your SDK /tools/ in command prompt, it should be as easy as running the code I mentioned earlier
Code:
adb shell
$su
in the command prompt.
The superuser prompt should show up on your phone, tell it to allow it and it should work without fail until you flash a new ROM that has the bug.
thanks very much. I used Ivans guide. I rooted it yesterday when o got my replacement from Verizon in store. I had been using the 2.1 leak on my old one and complained in store for thirty seconds. they didn't even look at it gave me a replacement in ten minutes
Sent from my Eris using the XDA mobile application powered by Tapatalk
Rock out thanks for the Super Help

[Q] Setting up Android SDK on Ubuntu 10.4 x64

Alrighty, I am new to the linux world and I am trying to setup my beloved adb on my Ubuntu. Java is there, SDK in in /opt/androidsdk. Do I need something more? I read that people install Eclipse also but since I am not a developer I don't need it, do I? I only need to execute very simple adb commands like push.
With Windows I needed the HTC Hero drivers and then it worked like a charm. Do I need something similar here?
I tried to run adb devices while my phone was connected and I get a phone with ?????????? as a name.
Is adb going to work or do I miss something?
Thanks in advance!
Adb works fine on x64 Ubuntu. I know there is a guide for it on www.villainrom.co.uk/wiki, but then search "adb" and it should bring up the entry.
I'm installing Ubuntu again today anyway, so I can check it works (which it does btw)
theodore80 said:
Alrighty, I am new to the linux world and I am trying to setup my beloved adb on my Ubuntu. Java is there, SDK in in /opt/androidsdk. Do I need something more? I read that people install Eclipse also but since I am not a developer I don't need it, do I? I only need to execute very simple adb commands like push.
With Windows I needed the HTC Hero drivers and then it worked like a charm. Do I need something similar here?
I tried to run adb devices while my phone was connected and I get a phone with ?????????? as a name.
Is adb going to work or do I miss something?
Thanks in advance!
Click to expand...
Click to collapse
Try doing this.
sudo adb kill-server
sudo adb root
then do w/e you need to do. This worked for me.
Not sure if you need to sudo kill-server, if it doesnt kill it, try without
ante0 said:
Try doing this.
sudo adb kill-server
sudo adb root
then do w/e you need to do. This worked for me.
Not sure if you need to sudo kill-server, if it doesnt kill it, try without
Click to expand...
Click to collapse
I did this followed by adb devices and I now get the correct device name.
I guess that it works though I didn't try to push any app
Another question: how do I add adb to the path? I currently need to type in the full adb path. It is linux related but I am new into this exciting world!!
Thanks for helping me out!
Google "Ubuntu add to path" and it will tell you

i want to run ADB!

Since i'm bored, i wanted to experiment with ADB, i know what it is, and what happens on it.
I've never used it, but i want to start
i just downloaded android SDK
idk what else to do, i searched ADB on the windows search thing, but i get 3 results, 1 is from something else, and another when i try to open says adbwinapi.dll is missing from your computer. try reinstalling the program to fix this problem.
i can't find adb on the folder i downloaded, whats wrong?
can someone tell/link me to a step-by-step instruction?
Sorry nobody got back to you sooner.
ADB is usually hidden in the android-sdk-windows\platform-tools folder.
I'm not sure which file you extracted yours to, but I extracted mine to C:Android so my path in cmd looks like C:Android\android-sdk-windows\platform-tools>
Once in there type adb and hit enter for a list of commands. Connect your phone and type adb devices to see if it can find it etc.
Good luck. You can really F stuff up with adb.
Not sure where else there are tuts but I learned from the ADB for dummies tut in the G1 development section (when I had my G1).
I would link but I'm on my phone and can't figure out how/if it can can be done w/ the app. Just go to the informative links sticky. Theres lots of basic android info there. Some translates to vibrant some doesn't. But good reading nonetheless.
Good luck
XDA Mobile
Can use terminal emulator to run adb commands.

[Q] New to adb?

im new to adb shell and im trying to deodexed my atrix so can anyone define adb shell and how to use/do it?
fRenZy-_- said:
im new to adb shell and im trying to deodexed my atrix so can anyone define adb shell and how to use/do it?
Click to expand...
Click to collapse
Why don't you just look it up? It's all explained here: http://developer.android.com/guide/developing/tools/adb.html
and also if you want to "deodexed" your Atrix look at the Adeo post. And FYI, you don't even need to know how to 'use' the adb shell (not much to know really) in order to do what you are trying to do, just read the instructions and your set!
Thanks for the quick response!
im just confused about where to put the commands, like do we need terminal on our phone, or could we just do it in the command in our pc?

Help on how to do this commands !

Hello sir! I just wana ask question on how to run commands like this
su -c /system/etc/CrossBreeder/REMOVE_TETHER_BOOST
i've seen this in the Cross Breeder thread. I just wanna try it to reduce the lag on my phone and maybe also to speed it up!
but if i came across with this unexpected problems . i really dont know how to run this commands. so i just wanna ask . how do i run commands like that? THANKS IN ADVANCE
These commands are run via a terminal emulator on your phone. For this command, your phone have to be rooted.
Alternatively, you can use adb shell. To do so, you have to download the android sdk or google for adb for just downloading the relevant part of it, then you have to run adb root to get root privileges (the adb binary can be found under Path/to/Android-SDK/platform-tools) and adb shell to get a root shell. There you have to type in /system/etc/CrossBreeder/REMOVE_TETHER_BOOST (the su -c is not needed there because you already have root privileges).

Categories

Resources