Header Ads


Recently I showed you guys how tosetup ADB and Fast boot with some few easy steps and I also promised to write some few commands and uses of ADB.

Today am going to be showing you guys some few uses and command lines in ADB. Pls follow every instruction properly as I won’t be held responsible for any damage done to your device due to the improper use of this commands.

==> adb: this is the first command you run on your command prompt as this will automatically open adb (i.e. if it has been installed on your computer)

==> adb devices: this command should be issued before you start executing any other command as it shows the list of all connected devices. If you can’t find anything similar to my screenshot after running this command then your device is not detected.

==> adb reboot recovery: this can be used to reboot your device into recovery mode. As we all know a lot of stuffs can be done in the recovery mode such as flashing of roms, installing updates, resetting your device, backing up and restoring user data and if you don’t want to use the traditional key combination to boot into recovery you can as well make use of this ADB command.

==> adb push <source> < destination>: This command is used to push a file from your computer to your device. It’s necessary to know the exact path of the file you are copying and the path you are pushing it to.
Example: adb push specimen.zip /sdcard/
In this case the command above will push the file “specimen.zip” (from the current folder where I issued the command) to the root directory of your sdcard on your device.
==>adb pull <source path on device> <destination path on computer>: this command is used to copy files from your device to your computer. It pulls a file from the selected source to your computer.
Example: adb pull /sdcard/specimen.zip C:\
In this case the file “specimen.zip”” will be copied from the root folder of your sdcard to the root folder of your drive c.
==> adb backup: in a situation where you want to get messy with your device, this command comes in handy and it helps you make a full backup of your device incase anything goes wrong. And the good thing about it is that root access is not needed.so it can work on both rooted and non-rooted devices.
==> .adb restore <source file>:  this command helps you to restore any existing backup on your device and it helps bring your device back to normal.
Example: adb restore c:\restore.zp
In this case the file named “restore.zip” will be restored back to your device
==> adb install <path to apk file>: this command is used to install an apk file on your device directly from your computer. The apk file must be saved on your computer as you will have to point to the source file.
In a situation where you want to re install a particular application without deleting the application data then you have to add “-r” (provided the data is already on your device).
Example: adb install –r c:\ killerbean.apk
In this case the app named killerbean will be installed from the root folder of my c drive without prompting on my device and without deleting the app data.
For now this are the few ADB commands I want to share with you. I may probably update the list anytime soon.

I will also be showing you guys some few fastboot commands that you might find useful.

If this has been helpful kindly share

And don’t forget to subscribe for more updates

>>>…..Thanks For Visiting…..<<<

No comments:

Join YomiTech.Com Telegram Channel
For your latest free browsing cheat, tech news, phone reviews, tutorials and many more by clicking on this

Powered by Blogger.