Sunday, July 10, 2011

ADB command on android

ADB command is often used

1.Open ADB
type in run cmd -> enter then open a command prompt
using android-sdk-windows

2. Android restart

adb shell reboot ENTER ===

3. Android restart into recovery mode
adb shell reboot recovery ENTER ===

4. android to take applications from your computer

adb pull / system / sd / app app
adb pull / system / sd / app-app-private private

5. push applications from your computer to the android.

adb push app / system / sd / app
adb push app-private / system / sd / app-private
6.delete file / apk from your computer

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

7. Ext2/ext3/ext4 format the partition a sdcard
Enter code

adb remount ENTER ===
adb shell ENTER ===
rm-r / system / sd / * === select ext2/ext3/ext4

8. eliminate the existing data in the system by the method remount (R / W mount)

adb remount ENTER ===
adb rm / system / app / Stocks.apk === Enter

9. see your android running processes.
adb logcat ENTER ===

10. push the file into your sdcard

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

11. Nandroid restore backups of your computer
command-prompt/terminal open the folder type cd into your nandroid example. c: \ nandroid \ BDES then type this command in

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

14. cleaning History Search on your android

make sure when it's in ROOT
open a terminal / cmd make sure you get to the root, give the # sign, if not, type su at the $ sign
type the following command

su
rm / data / data / com.android.vending / databases / suggestions.db
Exit the terminal and restart your android.

No comments:

Post a Comment