please like & Subscribe our youtube channel
https://www.youtube.com/playlist?list=PLQzJncZC8PUwCTcniu_akzp0N0oDx7l1n
What is ADB Command
What is ADB Command
ADB file in the android device located in /system/bin directory.
In below picture, we can see ADB file in device
To run ADB command connect your device with the computer using USB and type ADB devices here.
This command show all devices which are connected with PC at this time.
ADB Command
ADB
(android debug bridge) are the command which provides communication
with the android device or emulator or we can control the whole device
with commands. We can interact with ROM through ADB commands.
ADB, Android Debug Bridge, is a
command-line utility included with Google'sAndroid SDK. ADB can control
your whole device using USB from a computer, copy files, install and
uninstall apps, run shell commands.
How to Run ADB Command in android
There are following the step to apply to execute ADB command.1) For ADB commands firstly you will have to connect your device through USB debugging mode or you will have to on USB debugging to going developer option in setting application in the device.
2) Next, connect your device with the system by USB cable.
3) and check USB debugging check box.This Step provides authorization to the user for debugging.
4) Go to the platform-tools folder in SDK and press ctrl+shift and right click there.
6) type ADB devices here.
Types of ADB Commands
1) Android ADB command Syntax
If a single device is connected to the system no need to specify it but if more than one device are attached with the system you will have to specify target device by d, e, and s.Ex: adb [-d|-e|-s <serial no> <command>
2) ADB device command
To check how many devices are connected to your PC so we run this command.Ex: ADB devices
3) ADB push command
ADB, push command use to move a file from your system to android devices.Ex: adb push <path of source file> <path of destination file>
4) ADB pull Commands
ADB, push command use to move a file from your device to system.Ex: adb pull <path of destination file> <path of source file>
5) ADB Reboot command
ADB reboot command uses to restart your device or we can say boot again.Ex: adb reboot
6) ADB reboot recovery command
If you want to go in device recovery mode you will have to use ADB recovery command. With help of this command, you can change your device setting like reboot or if you want to install any shell script or flashing Rom.
Ex: adb reboot recovery
7) adb reboot-bootloader command
This command use to reboot your device into bootloader mode (white screen with android wheels).Once you are in bootloader, ADB Won’t work anymore.Ex: adb reboot-bootloader
8) Fastboot command
Fastboot command uses to unlock your device and modify your it.Ex: fastboot devices
9) fastboot oem unlock command
fastboot oem unlock command to use to unlock your bootloader and make possible to root access. In some device like nexus, your device needs to root access or super user permission you will have to need this command to do it.Ex: fastboot oem unlock
10) fastboot flash recovery command
fastboot flash recovery command to use flash custom recovery image to your device.Ex: fastboot flash recovery
11) adb restore command
adb restore command use to restore and back your device all data in form of zipping file.Ex: adb restore C:\[restorefile].zip
12) adb sideload command
ADB sideload command to use to push and flash the android custom ROM and zip file in your device. With help of this command, we can put your ROM zip file into your device and starts to flash it.
Ex: adb sideload <path of zip file>
13) Install an apk file
If you want to push an apk on your device and install it so we use install apk command.
Ex: adb install <apk path>
14) Uninstall an apk file
We can unstill also an apk file using unstill apk adb commands.
Ex: adb unstill <package name>
15) adb remount command
Sometimes you may need to read write permission so ADB remount command uses to remount the system partition in your drive and provide the device to read and write permission.Ex: adb remount
16) adb logcat command
This command mostly uses in android debugging your android device. When you start your device various process running on your device or in another word various log run in your device so this command use to view various log.Ex: adb logcat
17) adb Kill server and start server command
Sometimes your adb may be stuck so this is the common problem so you kill your adb with this command. And again you can start your adb with start server command.Ex: adb kill-server Ex: adb start-server
19) Adb backup
This command use to take all data backup in database file .db
Ex: adb backup all –f /temp/backup.db
From above picture, this command unlocks your device and takes backup in form of database.
20) adb restore command
adb restore command use to restore all backup data reverse in your device.
Ex: adb restore /tem/backup.db
Android Adb Command - How To Make Android Custom Rom >>>>> Download Now
ReplyDelete>>>>> Download Full
Android Adb Command - How To Make Android Custom Rom >>>>> Download LINK
>>>>> Download Now
Android Adb Command - How To Make Android Custom Rom >>>>> Download Full
>>>>> Download LINK JS