Monday 9 October 2017

ADB & Fastboot ျဖင့္ TWRP Recovery ထည့္သြင္းနည္း

Photo Credit: androiding.how

ADB & Fastboot ျဖင့္ TWRP Recovery ထည့္သြင္းနည္းကို
ေလ့လာခါစညီအကိုမ်ားအတြက္ ထပ္တင္ေပးလိုက္ပါတယ္။

Android Device တြင္ Bootloader / Fastboot mode မွ System ပိုင္းတြင္
ပါ၀င္ေနသည့္ Partition တိုင္းကို Flash ျပဳလုပ္ခြင့္ေပးထားတာလည္း ျဖစ္ပါတယ္။

အဆိုပါ Partition မ်ားကေတာ့ System, boot, recovery, cache စတာပဲျဖစ္ပါတယ္၊
ဒီနည္းလမ္းျဖင့္ OEMs မွ partition images တစ္ခုတည္းကိုသာ Flash လုပ္ယူႏိုင္တာမဟုတ္ပဲ
Custom built.img files မ်ားကိုလည္း ဒီ via Fastboot ျဖင့္ ထည့္သြင္းယူႏိုင္ပါတယ္။

ဥပမာ- Custom Recovery မ်ားတြင္ TWRP မိ်ဳးေပါ့

ေအာက္ေဖၚျပပါ နည္းလမ္းသည္ Via Fastboot ျဖင့္ 
TWRP Recovery ကို ထည့္သြင္းနည္း Guide ပဲျဖစ္ပါတယ္။


 လိုအပ္ခ်က္မ်ား
=========
 ၁။ ဖုန္းကို Bootloader Unlock ျပဳလုပ္ထားရပါမည္။

၂။ ADB and fastboot နဲ႔ driver ကို ကြန္ပ်ဴတာတြင္ 
Install ျပဳလုပ္ထားရပါမည္။

၃။ သက္ဆိုင္ရာ ဖုန္းအတြက္ TWRP Recovery file


ADB & Fastboot ျဖင့္ TWRP Recovery ထည့္သြင္းနည္း
====================================
၁။ မိမိဖုန္းအတြက္ သက္ဆိုင္ရာ TWRP recovery.img file ကိုေဒါင္းေလာ့လိုက္ပါ။

၂။ ADB and Fastboot အတြက္ Minimal ADB and Fastboot Tool ကအဆင္ေျပပါတယ္၊

မွတ္ခ်က္...။ ADB and Fastboot ကို zip & Folder ျဖင့္ အသံုးျပဳရင္လည္း အဆင္ေျပပါတယ္။
SKD မွ Platform Tool ျဖင့္လည္း အသံုးျပဳႏုိင္ပါတယ္၊ မိမိအတြက္အဆင္ေျပႏိုင္တာကို အသံုးျပဳပါ။

၃။ ဖုန္းမွ Developer Options မွ USB debugging ကို Enable ျပဳလုပ္ထားပါ။

၄။ ေဒါင္းေလာ့ရယူထားတဲ့ TWRP Recovery File ကို
 ADB & Fastboot Folder မွာထည့္ထားပါ။

၅။ Fastboot Folder ကိုဖြင့္လိုက္ၿပီး Shift key and right-click တစ္ခ်က္ေထာက္ၿပီး
“open a new command window here” ဆိုတာကိုႏွိပ္လိုက္ပါ။


၆။ ဖုန္းနဲ႔ ကြန္ပ်ဴတာကို ခ်ိတ္ဆက္ၿပီး ေအာက္ပါစာေၾကာင္းကို 
 ထပ္ရိုက္ထည့္ၿပီး Enter ကိုေခါက္ပါ။

“adb reboot bootloader”

သို႔တည္းမဟုတ္ ဖုန္္းကို ပါ၀ါပိတ္ၿပီး “Volume Down+Home Buttons" ကီးမ်ားကို
တစ္ၿပိဳက္နက္တည္း တြဲႏွိပ္ၿပီးလည္း ၀င္ယူႏိုင္ပါတယ္။

၇။ ဖုန္းမွာ Fastboot mode သို႔ေရာက္သြားတဲ့အခါ ဖုန္းနဲ႔ ကြန္ပ်ဴတာ ခ်ိတ္ဆက္မႈ 
အဆင္ေျပ မေျပ ေအာက္ပါ Command ကို ရိုက္ထည့္ၿပီး Enter ေခါက္ပါ။

fastboot devices


၈။ ဖုန္းနဲ႔ ကြန္ပ်ဴတာ ခ်ိတ္ဆက္မႈ အဆင္ေျပတာနဲ႔ ေအာက္ပါ
Command ကို ထပ္ရိုက္ထည့္ေပးၿပီး Enter ကိုထပ္ေခါက္ေပးလုိက္ပါ။
  
fastboot flash recovery twrp.img
  

၉။ Process တစ္ခု ေအာင္ျမင္စြာျဖင့္ ၿပီးဆံုးသြားတဲ့အခါ ဖုန္းကို 
Recovery Mode သို ႔၀င္ၾကည့္လိုက္ပါ၊ ဒီအတြက္ ေအာက္ပါ 
command ကို ရိုက္ထည့္ၿပီး ၀င္ၾကည့္လိုက္ပါ။

fastboot boot recovery.img

၁၀။ ဖုန္းကို Reboot ခ်ေပးရန္အတြက္ ေအာက္ပါစာေၾကာင္းကိုရိုက္ထည့္ပါ

“fastboot reboot”

သို႔တည္းမဟုတ္ Hard ware Button မ်ားကို အသံုးျပဳၿပီး ပံုမွန္အတိုင္း
“volume up + power button” မ်ားကို တြဲႏွိပ္ၿပီးေတာ့လည္း ၀င္ႏိုင္ပါတယ္။


၁၁။ သင့္ဖုန္းမွာ TWRP Recovery ျဖင့္ျမင္ေနရရင္ေတာ့ေအာင္ျမင္ပါၿပီ။


ဇူးနစ္(နည္းပညာ)