LuboX

Would you like to react to this message? Create an account in a few clicks or log in to continue.


    [G1] How to setup ADB, Fastboot

    ZduneX25
    ZduneX25
    Ex-Staff
    Ex-Staff


    Mensajes : 1391
    Celulares : LG GT540
    Fecha de inscripción : 2010-06-04
    Edad : 34
    Localización : Poland

    [G1] How to setup ADB, Fastboot Empty [G1] How to setup ADB, Fastboot

    Post by ZduneX25 Wed Jun 09, 2010 3:16 am

    Things you need:

    Android SDK - [You must be registered and logged in to see this link.]
    Winrar - Download [You must be registered and logged in to see this link.]
    Windows PC
    USB Cable
    A Rooted HTC Dream (Google G1)

    --------------------------------------------------------------------------

    Setting up the Android SDK

    Download the file from above
    Unzip to your desktop
    Take the "android-sdk-windows" folder and move it to the root of your hard drive (C:)

    Right click on My Computer and click properties
    Select the Advanced Tab or Advanced System Setting (Vista/Windows 7)
    Select Environment Variables...
    Press New

    For Variable Name type: adb
    For Variable Value type: C:android-sdk-windowstools

    Now, [Get new sdk (1.5r3) to work]

    1. Run SDK Setup.exe
    2. If it gives you an error go to settings and click on "Force http//....."
    3. Select all options and let it download and install

    If you cant get the setup to work, Download the USB-DRIVERS folder - HERE (Windows XP/Vista/Windows 7)

    --------------------------------------------------------------------------

    Preparing your phone for ADB

    Go to Settings on your phone
    Select Applications
    Select Development
    Make sure 'USB Debugging' is checked

    --------------------------------------------------------------------------

    Installing Drivers

    Plug in your phone through USB and DO NOT MOUNT IT!!!!!
    Your computer should see a new device and try to install Android 1.0 driver (If it doesnt, scroll down to the "Im not getting a notification of Android ADB when i plug in my USB" section)
    Let it load
    Once it cant find them select "Install drivers from my pc"
    The drivers you need are in the Android SDK 1.5r2 folder (C:android-sdk-windowsusb_driver)
    Depending on your OS pick x86 or amd64
    You ADB Android Device should now be installed! Good Job

    For Android SDK 1.5r3+

    1. Run SDK Setup.exe
    2. If it gives you an error go to settings and click on "Force http//....."
    3. Select all options and let it download and install

    If you cant get the setup to work, Download the USB-DRIVERS folder -[You must be registered and logged in to see this link.] (Windows XP/Vista/Windows 7)

    --------------------------------------------------------------------------

    Check if your phone is detected by ADB

    Open up Command Prompt (Go to run, type in cmd, press enter)
    Type in

    Code:

    cd C:android-sdk-windowstools === Press Enter
    adb devices === You should see your device listed
    adb shell === you should see # in the next line

    Now you are all set to run adb commands

    Note: for a list of commands type in 'adb' in cmd

    CONGRATS YOU NOW HAVE ADB FULLY RUNNING

    Credits: nephron@ XDA

      Current date/time is Thu Nov 21, 2024 2:37 pm