If you are a developer or a wannabe then you should definitely have an idea of adb and how to use it because it is a very important tool!
But sadly, alot of people do not know how to use it or what to use it for. So here's a quick list of some adb commands and what they're used for. This list will be updated with time.
Stuck on bootloop ? Stuck on Animation logo ? Stuck on Recovery and storage does not mount ? Do you need to push or pull files from your device? ADB has the solution for all of this.
To set up adb on your pc, you'll need a few things
* Adb and fastboot installer for windows xp/vista/7/8/10
* PdaNet [ links below ]
To send files from your pc to your device without using file manager
In adb terminal type the following
"adb remount" this will mount your device as Read/Write then...
"adb push filename - path to send
Example
adb push Systemui.apk - /system/priv-app
Changing permissions after pushing files is necessary in most cases otherwise it might lead to bootloops
To fix permissions
In terminal type "adb shell"
Type "chmod 644 filepath"
Example "chmod 644 /system/build.prop"
Replace 644 with correct permissions. For build.prop and other system files it is usually 644
Stuck at bootlogo? This is common to porters or those trying to get new roms flashed. Well, when this occurs you can take a logcat as long as your device is still detected
In terminal type "adb devices" [ This shows if your device is still connected or not ]
If device is detected then type "adb logcat > logcat.txt"
After about 5-10 seconds press "Ctrl+C"
Note : You will now get the logcat.txt in the directory in which cmd is opened
EmoticonEmoticon