Install ADB on Windows

Similar documents
Galaxy Note Root Guide. by Max Lee

ROM FLASHING INSTRUCTIONS FOR ONEPLUS 3 / 3T

How to Demonstrate Junos Pulse L3 VPN - Android

Open Lecture Mobile Programming. Command Line Tools

Department of Computer Science and Engineering, Sri Jayachamarajendra College of Engineering, Mysore, Karnataka

Unlock bootloader samsung with odin

Installed Manually Windows Phone 8 On Android Device Driver Software Was Not Successfully

GV Director Restoring USB Image / Frame and Panel Installation

Copyright

How to enter recovery mode android using pc

Lab 4 In class Hands-on Android Debugging Tutorial

Essential PH-1 (mata) Documentation

Android System Development Training 4-day session

System information update for system board replacement events

Content: Step-by-Step instructions to duplicate MS Outlook files to a file. Purpose: To move content from one computer to another.

Enabler Manual Device-Based Anonymization

SEEDAndroid User Manual

Step 2. Brun Windows Password Recovery Enterprise to

How To Install Apps On Nook Color Using Adb

User Guide. Rebit Backup.

Windows 10: Solve Creators Update Errors. Solve Nasty Errors During or Following the Installation of the Latest Windows 10 Version

Cd Manually To Your Hard Drive Without Windows Xp

Android Eclipse You May Want To Manually Restart Adb From The Devices View

SD Card with Eclipse/Emulator

Looking to get your Start Button Back? Try Classic Shell. It very easy to use and free.

Do A Manual System Restore From Command Prompt Xp

Manually Unlock User Account Windows 7 Cmd Prompt

File Cover. Arrange your Gallery into different folder names. (Move your Camera or

Clockworkmod Won't Boot Into Recovery Droid X2

WES 237A Project Part 1 Guide

Physical Imaging Rapid Recovery - Bare Metal Restore

v5: How to restore a backup image

Manual Repair Windows 7 System File Command Prompt Checker

Getting Started. System Requirements. Installation

Amazon kindle fire drivers windows 10 drivers

Geomatica 10.2 Stand Alone Installation Procedures

How To Manually Update Android Apps On Kindle Fire Hd Without Rooting

Usb Port On Manually Create Bootable Windows Xp Install Driver

Full System Restore Manually Run Command Windows 7 From Boot

Contents. Emma User Guide

On Xp Computer Without Cd Drive

NetVista Thin Client Express Service Utility

EM210 Burn Linux Image Manual. Catalogue

Initial Bootloader > Flash Drive. Warning. If not used carefully this process can be dangerous

Do A Manual System Restore On Windows 8 From Startup Repair

Paraben s Photo Backup Stick V2.1. User Manual

Lab - Configure Data Backup and Recovery in Windows 8

ELET4133: Embedded Systems. Topic 3 Eclipse Tour & Building a First App

Installing and configuring an Android device emulator. EntwicklerCamp 2012

MITEL PERFORMANCE ANALYTICS

Disk Imaging with Knoppix

Manually Backup Itunes Library To External >>>CLICK HERE<<<

Manual Repair Windows 7 System Files Command Prompt Check

Release Notes Zebra VC80x Android N Update 003 based on NG-00-A (GMS)

Page 1 of 76. Like Tweet +1

Merchant Online Reporting System (MORS) Login with OTP

Instructions How To Use The Kindle Fire Hd. Camera App Apk >>>CLICK HERE<<<

How To Uninstall A App Windows 8 Programs Using Ubuntu In Dual Boot

Manual Android 4.0 Htc Sensation Update Problemen

BQ Firmware Flash Tool 3.0. User Manual

MPE+ Frequently Asked Questions & Troubleshooting

Samsung Mobile Via Usb

2.7 Installing the Windows Printer Driver

COSC 3P97 Assignment 1

Manually Enter Recovery Mode Android Galaxy S2 I777

Getting Started with the HCA Plugin for Homebridge Updated 12-Nov-17

How To Reset Your Computer To Factory Settings Windows Vista Without Cd

Restoring the Server to Bare Metal

Access android system files from pc

Rooting Android. Lecture 10. Security of Mobile Devices. SMD Rooting Android, Lecture 10 1/33

FIRMWARE UPGRADE GUIDE

DOWNLOAD PDF CREATOR FOR WINDOWS 8 64 BIT

Windows 7 Will Not Load On My Computer Says Its

Xp Password From Command Prompt

Manually Uninstall Eset Nod32 Antivirus 5 Without Password

Manually Enter Recovery Mode Iphone 4 Wont

Release Notes Zebra MC92 Android KK LifeGuard Update 02 Release

DEVELOPERS MANUAL. Philip SUPER HAPPY FUN FUN INC Research Blvd. Suite C-220 Austin, TX, 78759

TROUBLESHOOTING : 1. Set up your wireless router via wired connection. 2. Please make sure your adapter is set to obtain IP automatically

Spectralink PIVOT & Versity USB Driver V2.0.0

Android Forensics. Presented By: Mohamed Khaled. Thanks to: Ibrahim Mosaad Mohamed Shawky

User Guide for itrust over SMS and itrust over Wi-Fi Direct Installation and Use

Tegra 250 Development Kit Android Setup Experience

AT&T Entertainment Experience Suite Video Optimizer 1.2

[FILE] WINDOWS SURFACE HARD RESET

ONLY IF YOU HAVE VISTA: If you are using Windows Vista, you will need to download the driver from link on the web version of this KB article.

Instructions Usb Flash Drive Recovery Ware >>>CLICK HERE<<<

Q&A. DEMO Version

Usb Port On Manually Install Drivers Windows Xp Mode

Instructions Usb Flash Drive Recovery Mac Full Version

Download Method for. MV 7420 Android 5.1

Release Notes Zebra TC51, TC56, TC70x and TC75x Android M LifeGuard Update 08 Release for Non-GMS

Windows 7 Manually Uninstall Service Not Running Updates Says

MalaRom flashing Guide

Lab #5 Guide: Installing Ubuntu as a Virtual Machine

Author A.Kishore/Sachin WinSCP

3.3 WinCE System Installation

Full System Restore Manually Windows 7 No Disk

Linux Manually Mounting External Hard Drive Mac Terminal

8 MANAGING SHARED FOLDERS & DATA

Transcription:

Android Debug Bridge or better known as ADB is a powerful and versatile tool that lets you do a lot of things like pulling out logs, installing and uninstalling apps, transferring files, rooting and flashing custom ROMs, creating device backups, etc. In fact, most of the advanced Android tutorials and how-to guides tend to use adb commands to get things done. Moreover, adb is also very useful when your Android device is not functioning as it should or when things get very messy and unusable. Though the adb command shell looks intimidating and complex, here is a list of adb commands to get you started and do some useful things in the process. Install ADB on Windows Unlike in previous versions, you don't have to install complete Android SDK to install ADB. Simply download the standalone ADB zip file, extract it to the root of C drive and you are done. To access adb, open command prompt by searching for it in the start menu and navigate to the adb folder using the below command. If you've installed adb in a different folder then change the command accordingly. cd c:\adb Tip: Then open up a Command Prompt from the same directory, hold down your Shift key and Right-clicking within the folder then click the open command prompt here option Now, connect your Android device via USB and you can proceed to test the below commands. For further reference, you can check this guide on how to properly install and test adb on Windows. List of ADB Commands 1. Start or Stop ADB Server Obviously, the first command you should know is how to start and stop adb server. This enables you to interact with your connected Android device. To start the adb server, use the below command. adb start-server Once you are done with your work, you can use the command below to stop the adb server. adb kill-server 2. List Connected Android Devices This is one of the most famous commands. When you connect your device to the computer via USB, use this command to verify if adb can find the connected device. adb devices

If your device is properly connected to your system, the above command will start the daemon service, scans the system and lists all the connected Android drives. The good thing about this command is that it lists both the state of the device and its serial number. 3. Know Status of the Device As you can tell from the name itself, this command can be used to know the device state. When the command is executed, it shows whether your device state is in offline, bootloader or in device mode. For a normal Android device, you will see your Android state as "device", just like in the below image. adb get-state 4. Get Device Serial Number This command lets you know the device serial number of the connected device. On your phone or tablet, you can see the device serial number by navigating to "Settings > About Phone > Status". adb get-serialno

5. Copy Files from Computer to Phone If you want to copy files from your computer to phone using adb then you can use this command. Do forget to replace [source] and [destination] with actual file paths. adb push [source] [destination] Once you replace the above command with actual file paths, this is how it looks like. adb push "E:\Video Songs\Aankhon Mein Teri - Om Shanti Om.mp4" "/sdcard/downloads/video.mp4" 6. Copy Files from Phone to Computer Just like you can copy files from your computer to Android device, you can copy files from your phone to computer. To do that simply use the below command. Replace [source] and [destination] with actual file paths. adb pull [source] [destination] Once you replace the above command with actual file paths, this is how it looks like. adb pull "/sdcard/downloads/video.mp4" D:\Downloads 7. Install/Uninstall Apps Besides from moving files back and forth, you can actually install apk files with just a single command. To install an app you have to specify the full path of the apk file. So, replace "path/to/file.apk" with the actual apk file path. adb install "path/to/file.apk" If you have multiple devices attached to your computer and only want to install the apk file on just one device then use the below command. Replace [serial-number] with the actual device serial number. You can get the device serial number using the fourth command above. adb -s [serial-number] install "path/to/file.apk"

To uninstall an app, simply execute the below command. Replace <package-name> with the actual fully qualified package name of the app. adb uninstall <package-name> 8. Backup Android Device To backup all the device and app data you can use the below command. When executed, it will trigger the backup, asks you to accept the action on your Android device and then creates "backup.adb" file in the current directory. adb backup -all 9. Restore Android Device To restore a backup, use the below command. Don't forget to replace "path/to/backup.adb" with the actual file path. adb restore "path/to/backup.adb" 10. Reboot Android Device into Recovery Mode The recovery mode helps you repair or recovery the Android device using the tools built into it. Generally, you can boot into recovery mode using the volume and power button combination. Alternatively, you can also connect your device to the system and use the below command to boot into recovery mode. adb reboot-recovery 11. Reboot Android Device into Bootloader Mode The below command lets you boot into bootloader mode. Generally, the bootloader mode is very similar to the fastboot mode. adb reboot-bootloader 12. Reboot Android Device into Fastboot Mode

The fastboot mode is generally used to flash custom ROMs, bootloader, and even kernels. Use the below command to boot into fastboot mode. adb fastboot 13. Start Remote Shell This command starts the remote shell and lets you control and configure your device using the shell commands. adb shell 14. Take Screenshots It is nothing hard to take a screenshot on and Android. All you have to do is press the Power button and Volume Down button at the same time. Alternatively, you can also use this command to take a quick screenshot. Replace "/path/to/screenshot.png" with the actual destination path. If you want to, you can customize the file name by changing "screenshot" with whatever name you want. adb shell screencap -p "/path/to/screenshot.png" Once you replace the destination path, this is how the command looks like. adb shell screencap -p "/sdcard/screenshot.png"

15. Record Android Screen Apart from screenshots, you can record the Android device screen using the below command. Again, replace "/path/to/record.mp4" with the actual destination path. Of course, you can customize the file name by changing "record" with whatever name you want. adb shell screenrecord "/path/to/record.mp4" That's all for now. Comment below sharing your thoughts and experiences about using the above adb commands on your Android device. Link: https://techwiser.com/list-adb-commands/