Showing posts with label adb/shell command guide. Show all posts
Showing posts with label adb/shell command guide. Show all posts

adb/shell command guide for noobs

adb/shell command guide for noobs

Command Screen shot windows:



What is this adb/shell command ?

This adb/shell command use for Android phone you can direct backup your Apps, contacts, photos, mp3 sogns, videos, you can do Reset Gmail, Format, also you can do Android phone normal to Recovery mode, normal to Fastboot mode, delete apps from sd card, partition erase sd card, recovery screen, update file from the sd card or internal memory card, restore data or apps, copy apps from computer to Android phone, see below all give you tutorial with example how to backup or restore etc.

Remember :

I started tutorial first listen to everyone who use adb/shell if you want to this command use for your android so you have to must Enable USB debugging if you have to Disable USB debugging you don't have to use this command and also this command not working for your Android.



You have to must install adb drivers in your computer or latptop


Which command use for take apps off or on phone to computer see blow.

Code :

 adb pull /system/sd/app app  
adb pull /system/sd/app-private app-private
Push apps back to phone from the computer


Which command use for backup apps phone to computer see blow.

Code :

 adb push app /system/sd/app  
adb push app-private /system/sd/app-private
Delete existing apps on SD


Which command use for deleted or exiting apps in SD card see blow.

Code :

 adb shell rm -r /system/sd/app  
adb shell rm -r /system/sd/app-private


Now use command Via Terminal 


Which command use for Erase everything in SD card see blow.

Code :


 $ su  
# cd /data
# wget http://64.105.21.209/bin/lib/droid/sdsplit
# chmod 555 sdsplit
# /data/sdsplit -fs *size* (add -nc to the end for JFv1.5ADP)



Which command use for Recovering screen ( sending or update zip ) to Sd card see blow.

Code :


 adb shell mount /sdcard  
adb shell rm /sdcard/update.zip
adb push *filename* /sdcard/update.zip  



Now use command Via Fastboot Mode


Which command use for Restore backup see blow.

Code :


 fastboot erase boot  
fastboot erase recovery
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash userdata data.img
fastboot flash recovery recovery.img
fastboot reboot