Friday, May 16, 2014

ADB Command GUIDE

စတင္လုပ္ေဆာင္ရန္အဆင့္မ်ား
---------------------------------------
ADB Command ရုိက္ရန္အတြက္ ADB Tool ဖုိဒါရွိရမယ္။
ဖုန္း driver ကုိသြင္းထား၇န္လုိ။
ဖုန္းကုိ USB Debugging On ထားရမယ္။ (Setting > Developer Option > Usb debugging ကုိ
enable လုပ္)
ဖုန္းနဲ႕ကြန္ပ်ဴတာနဲ႕ကုိ usb ၾကိဳးနဲ႕ခ်ိတ္။
ADB Tool ဖုိဒါထဲကုိ၀င္။
လြတ္ေနတဲ့တစ္ေနရာမွာ cursor ခ် ။ shift key + right click နဲ႕တြဲႏွိပ္။
Open Command Window here ကုိေရြး။


-----------------------------------------------

Command 1
-----------------------------
Device ခ်ိတ္ထားမထား / Computer က Device ကုိသိမသိစစ္တဲ့ Command
-------------------------------------------------------------
adb[space]devices
(adb devices)

---------------------------------------------------------------
Command 2
-------------------------------
Computer ကေန ဖုန္းကုိ reboot လွမ္းခ်ခ်င္ရင္ သုံးတဲ့ Command
--------------------------------------------------------------
adb[space]reboot
(adb reboot)

------------------------------------------------------------------
Command 3
--------------------------
ဖုန္းကုိ Root ျဖစ္မျဖစ္ / Root Access ရမရ စစ္တဲ့ Command
-----------------------------------------------------------
adb[space]shell[space]su
(adb shell su)

---------------------------------------------------------
Command 4
-----------------------
ဖုန္းကုိ recovery mode ထဲ၀င္တဲ့ Command
-------------------------------------------------
adb[space]reboot[space]recovery
(adb reboot recovery)
-------------------------------------------------------
Command 5
------------------------
ဖုန္းရဲ႕ fastboot mode ထဲ၀င္တဲ့ Command
-------------------------------------------
adb[space]reboot[space]bootloader
(adb reboot bootloader)
---------------------------------------------
Command 6
---------------------------
ဖုန္းထဲကုိ software/game သြင္းတဲ့ Command
--------------------------------------------
adb[space]install[space][app name][dot][app extension]
(adb install facebook.apk)

------------------------------
Command 7
---------------------------------
ရွိျပီးသားေဆာ့၀ဲေနရာမွာ Repalce/Overwrite လုပ္သြင္းနည္း
---------------------------------------------------
adb[space]install[space]-r[space][app name][dot][app extension]
(adb install -r facebook.apk)
-r means reinstall

-------------------------------
Command 8
--------------------------------
ဖုန္းမွာ install လုပ္မယ့္ေဆာ့၀ဲကုိ sd card ေပၚကုိေရႊ႕သြင္းခ်င္ရင္
-------------------------------------------------
adb[space]install[space]-s[space][app name][dot][app extension]
(adb install -s facebook.apk)
--------------------------------------------------
Command 9
--------------------------------
ဖုန္းထဲက ေဆာ့၀ဲေတြကုိ unistall လုပ္ခ်င္ရင္
---------------------------------------------
adb[space]uninstall[space][Software Package Name]
(adb uninstall com.facebook.katana)

---------------------------------------
Command 10
--------------------------------
ကြန္ပ်ဴတာထဲကဖုိင္တစ္ခုခုကုိ ဖုန္းရဲ႕ directory (System or Storage) ထဲကုိပုိ႕ခ်င္ရင္
---------------------------------------
adb[space]push[space][file name][file extension][/][Mobile Directory][/][file name][dot][file extension]
(adb push uu.zip /sdcard/uu.zip)
-------------------------------------------
Command 11
----------------------------------
ဖုန္းထဲကဖုိင္တစ္ခုခုကုိ ကြန္ပ်ဴတာထဲက directory တစ္ေနရာရာကုိဆြဲထုတ္ခ်င္ရင္
-----------------------
adb[space]pull[space][/][Mobile Directory][/][File name][dot][file extension]
[space][Computer Directory][\][File name][dot][file extension]
(adb pull /sdcard/m.apk C:\Users\smartboy\Desktop\m.apk)
-----------------------------------------
Command 12
-----------------------------
ဖုန္းရဲ႕ system partition block ေတြကုိေဖာ္ၾကည့္ခ်င္ရင္
--------------------------------------------
adb[space]shell[space]cat[space]/proc/partitions
(adb shell cat /proc/partitions)

No comments:

Post a Comment