ADB Setup.

Discussion in 'Android Hacks and Help' started by pc747, Aug 9, 2018.

  1. pc747

    pc747 Administrator
    Staff Member Rescue Squad

    Joined:
    Dec 23, 2009
    Messages:
    25,475
    Likes Received:
    6,393
    Trophy Points:
    1,123
    Ratings:
    +7,014
    The hardest part is the set up.....oh and finding the set up.

    Here are the tools to set up ADB on a PC and a MAC.

    How to Install ADB on Windows, macOS, and Linux



    Plus do this if you are on a mac

    I looked FOREVER for these instructions. While I didn't write them, they definitely worked for me:

    - Download the Android SDK for Macintosh at: Android SDK | Android Developers
    - Extract it
    - Download Fastboot for OSX (If not included with SDK)
    - Extract fastboot and place it in your /tools folder.
    - Open up a terminal window
    - type: pico .bash_profile (this will create a .bash_profile)
    - type the following in the new screen: export PATH=$
    {PATH}:<sdkfolder>/tools
    - Hit CNTRL + X
    - Hit Y (for yes to save)
    - It will return you to the terminal screen… type: exit
    - Restart terminal.
    - Then you can use your adb commands like you would on a PC. To test this, plug your device in (make sure its in debugging mode), then type "adb devices" in the new terminal window. It should show up with a number. This means you are good to go.

    big ups to @mynticlx, who I doubt visit this site anymore. ADB on Mac
     
    #1 pc747, Aug 9, 2018
    Last edited: Aug 9, 2018
    • Like Like x 2
  2. CJM

    CJM Super Moderator
    Staff Member Rescue Squad Premium Member

    Joined:
    Sep 12, 2010
    Messages:
    10,672
    Likes Received:
    1,750
    Trophy Points:
    558
    Location:
    Mississippi Gulf Coast
    Ratings:
    +1,893
    Current Phone Model:
    Nexus 6
    Twitter:
    https://twitter.com/Corey
    Since @pc747 showed us how to get ADB on a Mac, I'm going to show how I get this working on Windows.

    First you'll need this SDK Platform Tools. This is the actual Platform Tools folder that's in the Android SDK. So you'll only need about 15MB of space as opposed to the 28GB needed for the whole SDK. There's also files for Mac & Linux there too.
    • Once the file is downloaded, unzip it and drag the Platform Tools folder anywhere on your computer
    • Open that folder, hold right shift & right click. Select 'Open command window here'
    • Once the command prompt opens, connect your device to the USB. Make sure you have USB Debugging enabled
    Now to check if it works, we type "adb devices" then press enter

    If it works you'll see your device listed. So anytime when you need to use ADB or Fastboot you'll go to that folder and do the same process. If anything needs to be flashed with ADB or Fastboot, you'd drop those files into that folder then run the commands. I'll get a list of the commands I use and found helpful and will post them later.
     
    • Like Like x 2