ADB Command By U Kan Tho
ADB push (sends files to your phone) -- adb push c:\example.apk /sdcard/example.apk
ADB pull (Receives files from your phone) -- adb pull /system/app/example.apk c:\example.apk
ADB install (installs application) -- adb install c:\example.apk
adb shell (Begins shell connection with phone)
adb reboot (reboots phone)
adb reboot recovery (reboots phone into recovery)
adb reboot bootloader (reboots the phone into bootloader/the white screen)
adb remount (remounts the system)
4. Commands to run while in ADB Shell
cd (changes directories) -- cd /system/app
ls (lists all files in the directory) -- cd /system/app
rm (removes files) -- rm /system/app/example.apk
cp (copies files) similar to cat -- cp /system/app/example.apk /sdcard/example.apk
cat (copies files) -- cat /system/app/example.apk > /sdcard/example.apk
exit (exits shell) -- exit
pattern lock delete
adb shell
su
rm /data/system/gesture.key
reboot
factory reset
adb shell
su
wipe data
reboot
adb devices (device သိမသိ အရင္ၾကည့္ )
adb reboot recovery (Recovery Mode)
adb reboot download (Download Mode)
adb install apk.filename
adb shell
cat /proc/cpuinfo ( cpu and chipset စစ္နည္း )
fastboot oem get-bootinfo (Huawei ဖုန္းေတြမွာ Bootloder Lock , Unlock စစ္နည္း)
fastboot oem unlock ( code ) ( bootloader unlock code ျဖည္နည္း )
(Pattern Lock)
adb shell
su
rm /data/system/gesture.key
reboot
(Password Lock)
adb shell
su
rm /data/system/password.key
reboot
(Factory reset)
adb shell
su
wipe data
fastboot devices
fastboot -w
adb shell mount /sdcard
adb shell rm /sdcard/update.zip
adb push update.zip /sdcard/update.zip
adb push file.zip /sdcard
No comments:
Post a Comment