Q. What is ADB ?
Ans. ADB stands for Android Debugging Bridge. Now, for all those don’t know what I am talking about, adb is an integral part of the standard Android SDK and provides the terminal interface access so that you can easily interact with your phone’s file system. Since the Android is made on an open source platform as it’s a Linux based system which is useful for doing advanced operations on the device so that you can root your device as the ADB provides access between the machine as well as the computer.
This is the tutorial for setting up adb for noobs.
No need to download the full SDK.
Just Follow these instructions and you are good to go.
1. Make a Folder C:\SDK\ and copy the extracted files (from attachment) to this folder.
Files that are to be copied in C:\SDK\ :
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
fastboot.exe
2. Then open CMD and type :
cd c:\sdk\ (Hit Enter)
3. Now type :
adb.exe (Hit Enter)
It will show some data don't freak out.
4. Now type :
adb devices (Hit Enter)
This will show the connected ADB devices.
You have Succesfully set-up ADB.
Here is list of ADB commands that might be useful for you in the future. (thanks to sekhargreen at xda) . You can also see the list of command after typing "adb" in cmd.
adb devices – list all connected devices
adb push <local> <remote> – copy file/dir to device
adb pull <remote> [<local>] – copy file/dir from device
adb sync [ <directory> ] – copy host->device only if changed
adb shell – run remote shell interactively
adb shell <command> – run remote shell command
adb emu <command> – run emulator console command
adb logcat [ <filter-spec> ] – View device log
adb forward <local> <remote> – forward socket connections forward specs are one of: tcp:<port>
localabstract:<unix domain socket name>
localreserved:<unix domain socket name>
localfilesystem:<unix domain socket name>
dev:<character device name>
jdwp:<process pid> (remote only)
adb jdwp – list PIDs of processes hosting a JDWP transport
adb install [-l] [-r] [-s] <file> – push this package file to the device and install it
adb uninstall [-k] <package> – remove this app package from the device (‘-k’ means keep the data and cache directories)
adb bugreport – return all information from the device
that should be included in a bug report.
adb help – show this help message
adb version – show version num
adb wait-for-device – block until device is online
adb start-server – ensure that there is a server running
adb kill-server – kill the server if it is running
adb get-state – prints: offline | bootloader | device
adb get-serialno – prints: <serial-number>
adb status-window – continuously print device status for a specified device
adb remount – remounts the /system partition on the device read-write
adb reboot [bootloader|recovery] – reboots the device, optionally into the bootloader or recovery program
adb reboot-bootloader – reboots the device into the bootloader
adb root – restarts the adbd daemon with root permissions
adb usb – restarts the adbd daemon listening on USB
adb tcpip <port> – restarts the adbd daemon listening on TCP on the specified port.
If this helped you click THANKS and help me...!!! :smokingsomb:
Ans. ADB stands for Android Debugging Bridge. Now, for all those don’t know what I am talking about, adb is an integral part of the standard Android SDK and provides the terminal interface access so that you can easily interact with your phone’s file system. Since the Android is made on an open source platform as it’s a Linux based system which is useful for doing advanced operations on the device so that you can root your device as the ADB provides access between the machine as well as the computer.
This is the tutorial for setting up adb for noobs.
No need to download the full SDK.
Just Follow these instructions and you are good to go.
1. Make a Folder C:\SDK\ and copy the extracted files (from attachment) to this folder.
Files that are to be copied in C:\SDK\ :
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
fastboot.exe
2. Then open CMD and type :
cd c:\sdk\ (Hit Enter)
3. Now type :
adb.exe (Hit Enter)
It will show some data don't freak out.
4. Now type :
adb devices (Hit Enter)
This will show the connected ADB devices.
You have Succesfully set-up ADB.
Here is list of ADB commands that might be useful for you in the future. (thanks to sekhargreen at xda) . You can also see the list of command after typing "adb" in cmd.
adb devices – list all connected devices
adb push <local> <remote> – copy file/dir to device
adb pull <remote> [<local>] – copy file/dir from device
adb sync [ <directory> ] – copy host->device only if changed
adb shell – run remote shell interactively
adb shell <command> – run remote shell command
adb emu <command> – run emulator console command
adb logcat [ <filter-spec> ] – View device log
adb forward <local> <remote> – forward socket connections forward specs are one of: tcp:<port>
localabstract:<unix domain socket name>
localreserved:<unix domain socket name>
localfilesystem:<unix domain socket name>
dev:<character device name>
jdwp:<process pid> (remote only)
adb jdwp – list PIDs of processes hosting a JDWP transport
adb install [-l] [-r] [-s] <file> – push this package file to the device and install it
adb uninstall [-k] <package> – remove this app package from the device (‘-k’ means keep the data and cache directories)
adb bugreport – return all information from the device
that should be included in a bug report.
adb help – show this help message
adb version – show version num
adb wait-for-device – block until device is online
adb start-server – ensure that there is a server running
adb kill-server – kill the server if it is running
adb get-state – prints: offline | bootloader | device
adb get-serialno – prints: <serial-number>
adb status-window – continuously print device status for a specified device
adb remount – remounts the /system partition on the device read-write
adb reboot [bootloader|recovery] – reboots the device, optionally into the bootloader or recovery program
adb reboot-bootloader – reboots the device into the bootloader
adb root – restarts the adbd daemon with root permissions
adb usb – restarts the adbd daemon listening on USB
adb tcpip <port> – restarts the adbd daemon listening on TCP on the specified port.
If this helped you click THANKS and help me...!!! :smokingsomb: