In this article, you will find the tutorial to setup ADB and fastboot. Before start to proceed with this tutorial it is important to check whether the USB Debugging is enabled in your device. If you don’t know how to do- then go to Settings>Applications>USB Debugging. Then enable the option.
DISCLAIMER : Best Android Blog would not be held responsible/liable for any damages that occur to your device by following the given below procedure. So, do everything at your own risk.
Instructions:
- First, download and install the HTC Sync from here.
- Next, download the zip archive from here.
- Then extract the archive on your C:drive. You will have C:\android-tools folder.
- Adding to the system path globally to use the command without browsing to the containing folder.
Method 1:
- Go to my computer icon do right click and select properties.
- On the left side of the opened screen select Advanced System Settings (Or Start -> Search -> type sysdm.cpl -> Enter, browse to the Advanced tab)
- Look down on the opened menu and select Environment Variables.
- In the lower half are listed the System Variables.
- Scroll to find “Path” variable, select it and click Edit.
- On the Edit window in the Variable value field go to the end of the line (do not delete it!) and add without any intervals (spaces):
Code:
;C:\android-tools
Do not forget the semicolon symbol (;)!
- Click Ok 3 times.
Method 2 (via Command Prompt):
- Go to start and in the search box type cmd, right click and Run as Administrator.
Type
Code:
setx path /m “%PATH%;C:\android-tools”
and hit enter. Close the CMD window.
TIP: If you put the Adb and fastboot files in C:/windows/system32 (32bit) or in C/windows/sysWOW64 (64bit) you can just use them from any command prompt window.
- To check is it working properly open Command Prompt (Start -> Search -> type cmd -> Enter) and type adb. If everything is configured properly this should list you the Android Debug Bridge version and the available commands.
HINT : To use adb or fastboot with files in the Command prompt you have to navigate to the folder containing the file first (using the cd command) e.g. “D:\Downloads\Android” and then to execute the command.
Example:
- Start -> type cmd in the Search box, then Enter. You will see C:\Users\with blinking cursor
- If your file is on another drive like the example type “d:” (without the quotes), or other drive letter to go to the relevant drive. Skip this if the file is on C: drive.
- Then type:
cd D:\Downloads\Android to go to the “D:\Downloads\Android” folder. If your path contains spaces (intervals) type it in quotes.
- The command “cd..” brings you one folder back
Speak Your Mind