Useful ADB commands for your android device

Share it:

ADB stands for is Android Debugging Bridge is a command-oriented communication terminal between PC and Android-powered device or emulator instance. ADB is three step process combined service. So today I have come up to guide you about some selected ADB command and how those controls work on a device. There have many sites available containing ADB command and their usage, but I will try my best to show the simplest procedure to use some ADB command that every Android user should know with an available screenshot.

Some ADB Command Every Android User Should Konw

               1. As it is a client server work module, the first component is a Client, Which runs on a development machine. By issuing ADB command to the shell of a device, you can invoke a device from the shell.

               2. A Server is a running background process of development machine which manages communication between client and adb demon which running on Android device or emulator.

               3. The demon is running background process of an Android device or emulator instance.

To use ADB, you need to enable USB Debugging on your phone. To Enable USB Debugging go to

               Phone Settings=>Developer Option=> USB Debugging

(Note: Developer setting is by default hidden in Kitkat and above version of Android, To enable developer option to go to = Phone settings=>About Phone=Tap 7 Times on Build No=Now you have developer option enabled)


Now you have learned how to connect an android device or android emulator in USB debugging mode. The first step is to connect your device or emulator with PC using USB debugging mode.

1. How to open ADB tool?

               ADB tool can found in Android SDK, <SDK>/platform-tools/

Alternate Way

               Download ADB.ZIP from bellow download link.


Open a command prompt in administrator mode by a simple combination of windows start + x from a keyboard. Select Command Prompt (Admin)

Admin CMD Select


Admin command prompt looks like this:

Admin CMD

Now navigate to ADB folder to get ADB command console. It`s easy to find ADB folder when located ADB folder in root directory.

ADB CONSOLE

              1. Command: ADB HELP
If you want to learn how ADB commands are working you first, need to know the command and their attribute. So I am starting with first ADB command is ADB HELP. By using ADB HELP command, you will know available command in ADB console

adb help command


              2. Command: adb devices
Adb devices command will display your attached Android device. The command is case sensitive write in a small letter. Otherwise, it will show the help list. If multiple devices are connected, use adb -s DEVICE_ID to target a particular appliance.



             3. Command : adb install <application_package_name>
The command adb install will install an application package to your attached device. For easier navigation to the application package put that apk file into the ADB directory. Then you need not define the apk package destination.



             4. Command : adb uninstall <application_package_name> 
The command adb uninstall will uninstall the desired package from your connected device and in this case a uninstall confirmation notification will appear, and you have to confirm it manually.


         
             5. Command: adb get-serialno
This ADB command adb get-serialno will display your Android device serial no.




             6. Command: adb reboot
When you do finish something on your attached device, and you need to restart your device you use this command adb reboot 

            7. Command: adb reboot recovery
If you wish to reboot your device into recovery mode, say for flashing a custom ROM or rooting your device, you can issue the above command. First, your device will turn OFF, and then it will open directly into the recovery mode. If you have flashed a custom recovery on your device, you will be taken to the same instead of the stock recovery.


            8. Command: adb reboot bootloader
If you want to unlock your bootloader, reboot into fast boot and recovery mode, and do some other tasks issue, adb reboot bootloader command is the complete command. It is usually applied to HTC and other devices where you get the bootloader functionality. Issuing the above command will reboot your device into bootloader mode.


             9.  Command: adb reboot fastboot
You can issue adb reboot fastboot  command to open your device directly into fastboot mode instead of going into bootloader. Fastboot mode helps you flashing custom recoveries as well as installing custom ROM on your device.


            
      10. Command: adb push Source Destination
The above command adb push Source Destination to send a file to your device, you just need to define source file location path and destination location path.


            
      11. Command: adb pull FileLocation Destination
adb pull FileLocation Destination command will receive a file from your device to PC. You need to define FileLocation of your device and Destination as save path of the file in PC.


           

            Sources:
 XDA-FORUM, ANDROID CENTRAL, DIGITAL DOUBT
Share it:

Android General

Geek Tips

Post A Comment:

8 comments:

  1. It’s awesome to come across a blog every once in a while that isn’t the same out of date rehashed information.
    iphone customer care

    ReplyDelete
  2. Many users face this issue when trying to install or uninstall UC browser on their mobile phones. The process stops and freezes. Our technical hand is more than capable of handling such an issue. Call us at our tollfree number to avail our services.
    UC browser customer support

    ReplyDelete
  3. Decent post. I was checking continually this online journal and I'm inspired! To a great degree helpful data extraordinarily the last part I administer to such data a considerable measure. I was looking for this sure data for quite a while. Much obliged to you and good fortunes. iOS 11.2.6 Jailbreak

    ReplyDelete
  4. Somebody Sometimes with visits your web journal consistently and prescribed it I would say to peruse also. The method for composing is phenomenal furthermore the substance is first rate. A debt of gratitude is in order for that understanding you give the perusers! Cyrus iOS 11

    ReplyDelete
  5. Pleasant to be going to your site once more, it has been months for me. Well this article i've been sat tight for so long. I require this article to finish my task in the school, and it has same point with your article. Much obliged, extraordinary offer. Spotify++

    ReplyDelete
  6. i read a considerable measure of stuff and i found that the method for composing to clearifing that precisely need to say was great so i am inspired and ilike to come back again in future.. Delta Emulator Download

    ReplyDelete
  7. This professional hacker is absolutely reliable and I strongly recommend him for any type of hack you require. I know this because I have hired him severally for various hacks and he has never disappointed me nor any of my friends who have hired him too, he can help you with any of the following hacks:

    -Phone hacks (remotely)
    -Credit repair
    -Bitcoin recovery (any cryptocurrency)
    -Make money from home (USA only)
    -Social media hacks
    -Website hacks
    -Erase criminal records (USA & Canada only)
    -Grade change

    Email: cybergoldenhacker at gmail dot com


    ReplyDelete