Monday, March 16, 2015

Useful Of ADB Command

                 Useful Of ADB Command

Credit to Original

Posted By TNP tharr lay KZ ( ULG )

ADB Command နဲ႔ လုပ္ေဆာင္ႏိုင္တဲ့အခ်က္မ်ားကေတာ့-

-device ကုိ သိမသိစစ္ျခင္း
-device က root acess ရမရ
-device ထဲကုိေဆာ့၀ဲသြင္း /ဖ်က္
-device ထဲကုိ ကြန္ပ်ဴတာကေန ဖုိင္လွမ္းသြင္း
device ထဲကဖုိင္ေတြကုိကြန္ပ်ဴတာထဲကုိလွမ္းထုတ္
-Partition အစိတ္အပုိင္းမ်ားကုိၾကည့္ရႈျခင္း
ႏွင့္ အျခားကိစၥရပ္မ်ားစြာအတြက္အသုံးျပဳနုိင္ပါတယ္။

ကဲ ဒါဆိုရင္ အဲဒီ Command Line မ်ားအေၾကာင္းကိုသိခ်င္လာေရာေပါ့.. ေအာက္မွာ ေဖၚျပေပးလိုက္ပါတယ္..

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

Credit : Original Author

                          TNP tharr lay KZ ( ULG )

No comments:

Post a Comment