Thursday, September 25, 2014

အသံုး၀င္ေသာ ADB Command မ်ား

Useful ADB Commands

 ကၽြန္ေတာ္က နည္းပညာသမားေတာ့မဟုတ္ပါဘူးခင္ဗ် ကၽြန္ေတာ္ရွာေဖြ  မွတ္သားမိသေလာက္ကို

 ေ၀မွ်တာပါ ခင္ဗ်ာ



——————————–
Command 1 (ဖုန္းက ကြန္ပ်ဴတာမွာခ်ိတ္ထားတာကုိသိ/မသိ စစ္ခ်င္ရင္)
—————————-
adb devices
—————————-
Command 2 ( ဖုန္းက root လုပ္ထား/မထားကုိစစ္ခ်င္ရင္)
——————————–
adb shell su
——————————
Command 3 ( ဖုန္းကုိ ကြန္ပ်ဴတာကေန တုိက္ရုိက္ reboot ခ်ခ်င္ရင္)
——————————–
adb reboot
——————————–
Command 4 ( ဖုန္းရဲ႕ recovery mode ထဲကုိ adb command သုံးျပီး၀င္ခ်င္ရင္)
——————————-
adb reboot recovery
——————————
Command 5 (ဖုန္းထဲကုိ ေဆာ့၀ဲ/ဂိမ္းသြင္းခ်င္ရင္)
——————————
adb install facebook.apk

 —————————–
Command 6 ( ဖုန္းထဲကရွိေနျပီးသားေဆာ့၀ဲေနရမွာ ယင္းေဆာ့၀ဲကုိထပ္သြင္းခ်င္ရင္)
——————————
adb install -r facebook.apk
-r means reinstall
——————————-
Command 7 (ေဆာ့၀ဲကုိ ဖုန္းထဲမွာမသြင္းဘဲ ဖုန္းရဲ႕ sd card ထဲမွာေရႊ႕ျပီး install လုပ္ခ်င္ရင္)
——————————-
adb install -s facebook.apk
——————————–
Command 8 (ဖုန္းထဲကေဆာ့၀ဲကုိ uninstall လုပ္ခ်င္ရင္)
————————————-
adb uninstall com.facebook.katana
————————————
Command 9 (ကြန္ပ်ဴတာထဲကဖုိင္ကုိ ဖုန္းရဲ႕ Directory/storage ထဲကုိလွမ္းထည့္ခ်င္ရင္)
—————————————
adb[space]push[space][file name.file extension][space]/[Mobile Directory]/[File name.file extension]
adb push update.zip /sdcard/update.zip
adb push proxy.apk /sdcard/proxy.apk
adb push mypic.jpg /sdcard/mypic.jpg
—————————————–
Command 10 (ဖုန္းထဲကဖုိင္ကုိ ကြန္ပ်ဴတာထဲကုိလွမ္းထုတ္မယ္)
———————————————————
adb pull /sdcard/proxy.apk C:\Users\smartboy\Desktop\proxy.apk
Command 11 (Fastboot ကုိ ကြန္ပ်ဴတာကေန၀င္ခ်င္ရင္)
————————————————————
adb reboot bootloader
———————————————————–
Command 12 (ဖုန္းတြင္း system partition ရဲ႕ partition block ေဖာ္ၾကည့္ခ်င္ရင္)
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)


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
———————————————————
adb shell cat /proc/partitions
adb[space]shell[space]cat[space]/proc/partitions

Credit to- Original Writer

0 comments:

Post a Comment