[best]unlocking bootloader + rooting guide topic

SOCIALIZE IT ⇨

HELLO EVERYONE WITH A ONE M9
heres what you've got to do to unlock the monster in your device

1)unlock the bootloader
2)use a custom, more powerful recovery
3)root your phone
4)use a custom rom
5) s-off!

you must have working adb and fastboot and htc drivers, if you dont know how to get these files, pls leave a reply.
Now We Will Learn 1,2,3.

STEP 1:

NOTE:- YOU WILL LOSE YOUR DATA(Unless you have a dev edition htc onem9 , if u have one , skip step 1)

go to htcdev website and select unlocking bootloader
select device not listed .
complete the procedure, you need to signin/signup
<any problem till here , pls post a reply, im here to help :)

DONE!

STEP 2:

Note: HTC one m9 is different from previous generation htc ones as it has a block based ota update system. in brief, any modification done to the system will result in an ota update faliure. keeping that in mind, follow my steps as it is

A] download the recovery.img here we are using a beta version of twrp.
http://forum.xda-developers.com/devd...t/dl/?id=11987
after downloading, rename this file to twrp.img

Also download su bineries+ supersu (required for rooting later)
http://download.chainfire.eu/696/Sup...erSU-v2.46.zip
put this file on ur sd card now!

B]go to download mode
type this adb command: adb reboot download

C]go to the directory where you have downloaded the recovery image
type in this fastboot command as soon as the phone is in download mode: fastboot flash recovery twrp.img

DONE!

STEP 3:

A]enter bootloader
B]enter recovery
C] TAKE A BACKUP. A COMPLETE BACKUP . MOST IMPORTANTLY <<<<SYSTEM>>>> DO NOT SKIP THIS STEP. THIS IS VVVVVVV IMP. IF U WANT TO TAKE AN OTA UPDATE EVER WITHOUT RUNNING ANY SORT OF RUU.

D]once thats done, go to advance->terminal and type this as it is:-
mount -t ext4 /dev/block/bootdevice/by-name/system /system
once this is done, go to mount and make sure system is selected.
now install the zip file i had asked you to download in the previous step.
DONE! You are rooted!

EXTRA SECTION (VVVVVV IMP)(TO TAKE AN OTA update)
if ever you get an ota update heres what you have to do . do not download it now. first follow these steps.

A)download stock recovery from here:-
https://www.androidfilehost.com/?fid=95916177934554373
rename it as recovery.img

take only the system.emmc.win file from the twrp backup of the original system i had asked you to make before rooting your phone. if you dont have it? you will have to hunt for an ruu, well dont ask me how to do that .
put the system file and recovery.img and put the same folder. run cmd from that folder (right shift+right mouse click ->run command window here)
and type in

adb reboot download
fastboot flash system system.emmc.win
fastboot flash recovery recovery.img
fastboot reboot

thats it. now download the ota update and once the installation is done, you will need to re-root. follow from step 2 again.

hope ive helped you :)

xda-developers


0 commentaires:

Enregistrer un commentaire