DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 4 of 5 FirstFirst ... 2 3 4 5 LastLast
Results 31 to 40 of 43

Thread: How To Use ADB: All Commands and Options

  1. Droid Newbie
    maximuscr31's Avatar
    Member #
    37618
    Join Date
    Feb 2010
    Posts
    1
    Phone
    A855
    #31
    I am trying to get this to work on kubuntu 9.10. I am following sholes installation guide and this is apparently the area I am having a problem

    Linux users:
    Open a Terminal, and run
    pico ~/.bashrc
    and copy this line anywhere (and the end of the file makes it more organized):
    export PATH=$PATH:/path/to/android/sdk/tools
    (Note: replace “/path/to/android/sdk/tools” with the path to where you downloaded the Android SDK, specifically to the tools folder)
    Ctrl+X to exit, Y to save, Enter to confirm. Then restart the terminal.
    I am entering
    export PATH=$PATH:/Desktop/android-sdk-linux_86/tools
    Is this correct? I am new to this side of things in linux. I hate adding a windows partition for such a stupid mistake on my part. Where am I going wrong?

    this is what I get when i try the adb command
    brandon@desktop:~/Desktop$ adb push recovery-0.99.2b.img /sdcard/
    No command 'adb' found, did you mean:
    Command 'cdb' from package 'tinycdb' (main)
    Command 'gdb' from package 'gdb' (main)
    Command 'aub' from package 'aub' (universe)
    Command 'dab' from package 'bsdgames' (universe)
    Command 'mdb' from package 'mono-debugger' (universe)
    Command 'arb' from package 'arb' (multiverse)
    Command 'tdb' from package 'tads2-dev' (multiverse)
    Command 'pdb' from package 'python' (main)
    Command 'jdb' from package 'openjdk-6-jdk' (main)
    Command 'jdb' from package 'sun-java6-jdk' (multiverse)
    Command 'ab' from package 'apache2-utils' (main)
    adb: command not found
  2. Master Droid
    serveitup911's Avatar
    Member #
    17173
    Join Date
    Dec 2009
    Posts
    292
    Phone
    Droid w/ some source built ROM
    #32
    I also just get adb command not found. Running Ubuntu 9.10. Why does this have to be so complicated, manually editing .bashrc and crap. Can anyone point me to a tutorial for how to get adb commands working in linux? I have the sdk installed, but what do I do next so I can use commands?

    Any help is appreciated.
  3. Master Droid
    B-Unit's Avatar
    Member #
    51526
    Join Date
    Mar 2010
    Posts
    285
    Liked
    10 times
    Phone
    Moto Droid 4
    #33
    A tip for Windows users, if you find yourself using ADB alot, you can add the directory to your PATH system variable and the commands will run from anywhere in command prompt.
    DROID4: Rooted and OC Hacked
    DROID : SimplyStunning 5.6 1.2 Ghz ULV Kernel
  4. Junior Droid
    wlscott's Avatar
    Member #
    53310
    Join Date
    Mar 2010
    Posts
    29
    Phone
    Enter Current Phone Model Here
    #34
    I have been trying to find a way to load apps to my phone that I have downloaded to my laptop. I am deployed to a country that I have no service in, so I can't use the market. I think this ADB may be what I'm needing. I'm trying to get Astro over to my phone now so I can get different apps loaded to it.

    Will I be able to load apps to my phone from my computer with this?
  5. Droid Ninja
    brando56894's Avatar
    Member #
    45165
    Join Date
    Mar 2010
    Location
    New Jersey
    Posts
    1,217
    Phone
    HTC Incredible
    #35
    I feel that the serial number part should be taken out of the first post since the -s flag isn't needed. I wasted about 10 minutes trying to get it to work when i just tried "adb shell" and it worked perfectly.

    As for finding your currently location pwd works better than using ls or ls -l to find your location, pwd's main function is to show your currentl working directory
    How To: Compiling a Custom Version of Clockwork Mod Recovery
    <-- Lockscreen

    ROM: Incredibly Re-Engineered v2.3
  6. Master Droid
    shocka2430's Avatar
    Member #
    49305
    Join Date
    Mar 2010
    Posts
    530
    #36
    Quote Originally Posted by wlscott View Post
    I have been trying to find a way to load apps to my phone that I have downloaded to my laptop. I am deployed to a country that I have no service in, so I can't use the market. I think this ADB may be what I'm needing. I'm trying to get Astro over to my phone now so I can get different apps loaded to it.

    Will I be able to load apps to my phone from my computer with this?
    yes you could use adb to push apps to your phone, but you dont need to if you can connect your usb and choose mount on your phone. which i dont know since you dont have service. but if you can that is a whole lot easier then using the adb method just drag from your laptop onto your sdcard.
    follow me on twitter @shocka2430
  7. Master Droid
    kevdog's Avatar
    Member #
    4295
    Join Date
    Nov 2009
    Posts
    722
    Phone
    moto droid
    #37
    adb is great -- those that have a problem using it obviously didn't grow up using any type of command line and probably don't use any linux distro on a regular basis. End of rant.
  8. Senior Droid
    manningfan10's Avatar
    Member #
    53088
    Join Date
    Mar 2010
    Posts
    122
    Phone
    MOTO DROID
    #38
    when i open adb the window pops up and just closes immediately. HELP!
  9. Droid Newbie
    alfonso777's Avatar
    Member #
    99487
    Join Date
    Aug 2010
    Posts
    1
    Phone
    Enter Current Phone Model Here
    #39
    Quote Originally Posted by Bear in NM View Post
    Quote Originally Posted by boristhebladexx View Post
    well here's my current situation. if it helps you to know, my adb directory is C:\Android\android-sdk-windows\tools\adb. Here's what i put into the msdos window (black is what was there, red is what i typed):

    C:\Documents and Settings\Owner> cd\
    C:\>Android\android-sdk-windows\tools\adb
    Android Debug Bridge version 1.0.25
    (plus crapload of adb stuff here)
    C:\>Android\android-sdk-windows\tools\adb shell
    $ adb -s [my serial number] shell
    adb -s [my serial number] shell
    adb: permission denied
    $

    so how do i get permission allowed? i tried it a couple times, change things up, added or removed the [ ] on either end of the serial number, tried the super user (su) command. nothing!
    Here is what works for me. make sure that you have usb debugging enabled in your settings on the phone, and my phone is unmounted. I have changed my directory structure to match yours.

    at the c:\, type

    cd \Android\android-sdk-windows\tools\

    this should give you

    c:\android\android-sdk-windows\tools>

    at this point I just type: adb shell (no switches)

    This is what I see after: adb shell
    * daemon not running. starting it now*
    * daemon started successfully *
    $

    then I type: su

    this should give you the #

    Then you should be in.

    Not sure if you need to physically be in the tools subdirectory when invoking the shell, or it is the switch, or perhaps the debugging switch on the phone, but the above always works for me. Sorry man, I'm trying.

    Craig

    I am having this same problem except this is where I am getting stuck. I have my phone hooked up to the USB cable. Any ideas?

    C:\Documents and Settings\Owner> cd\
    C:\>Android\android-sdk-windows\tools\adb
    Android Debug Bridge version 1.0.26
    (plus crapload of adb stuff here)
    C:\>Android\android-sdk-windows\tools\adb shell
    error: device not found
  10. Senior Droid
    RnD_Solo's Avatar
    Member #
    104987
    Join Date
    Aug 2010
    Posts
    170
    Phone
    Droid X
    #40
    has anyone been able to find the config file that tells what to start at boot up??? ive been going through directory after directory for the last 45 minutes and i cant find it..

    basically some apps i want to keep, i just dont want them to start when i boot the phone..i want them to boot when i start the app
Page 4 of 5 FirstFirst ... 2 3 4 5 LastLast

Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. List of voice commands?
    By stevether in forum Android General Discussions
    Replies: 6
    Last Post: 08-26-2010, 02:23 PM
  2. voice commands for media player?
    By jntdroid in forum Android Applications
    Replies: 7
    Last Post: 02-19-2010, 10:37 PM
  3. Calendar options
    By Medic47 in forum Android Audio and Video
    Replies: 2
    Last Post: 12-01-2009, 10:17 AM
  4. Debug info from shell commands
    By shpen in forum Droid Hacks
    Replies: 1
    Last Post: 11-20-2009, 08:24 PM
  5. can not get Droid to do Voice Commands fron Bluetooth
    By Nick177th in forum Android Tech Support
    Replies: 3
    Last Post: 11-07-2009, 05:07 PM

Search tags for this page

adb command
,

adb commands

,

adb permission denied

,

adb reboot

,
adb reboot bootloader
,

adb reboot recovery

,
adb recovery command
,
adb shell commands
,
how do i use adb
,
how to run adb shell
,

how to use adb

,
how to use adb shell
,
use adb
,
using adb
,
using adb shell
Click on a term to search our site for related topics.
Find us on Google+