Android N Root Working(Explained) - Nexus 5X General

There are two methods to root Android N .
Method 1
Flash the Supersu.zip from custom recovery.
RC-SuperSU-v2.69-20160313161431.zip
Method 2
This method will work without custom recovery , just download it and go the fastboot and follow the steps .
CF-Auto-Root-bullhead-bullhead-nexus5x-NPC56P.zip
Just download the file
Extract it
reboot your Nexus 5X into bootloader
Now open the root-windows(If you are using windows otherwise select the file which is for your operating system)
Now the command window will open and ask you to enter any key to continue
Then press any key from your keyboard and it will automatically done the remaining process and your phone will reboot
If you device got bootloop then poweroff the device once and power on manually
Thats it you will see the SuperSu icon .
If you like hit the thanks ......

how do you get access to the files on your phone to flash this. I have twrp flashed but it wont get access to any files that are actually on phone so I can not flash SUPSERSU?

brennerj said:
how do you get access to the files on your phone to flash this. I have twrp flashed but it wont get access to any files that are actually on phone so I can not flash SUPSERSU?
Click to expand...
Click to collapse
Then try the second method , it doesnt need the TWRP recovery.

How I root my HTC One m8

adeeta said:
How I root my HTC One m8
Click to expand...
Click to collapse
Wrong forum..
Sent from my Nexus 6 using XDA Free mobile app

karthik432 said:
There are two methods to root Android N .
Method 1
Flash the Supersu.zip from custom recovery.
RC-SuperSU-v2.69-20160313161431.zip
Method 2
This method will work without custom recovery , just download it and go the fastboot and follow the steps .
CF-Auto-Root-bullhead-bullhead-nexus5x-NPC56P.zip
If you like hit the thanks ......
Click to expand...
Click to collapse
can you explain how to do the second method. Do not have experience flashing that one. Do we use android toolkit or SDK? Please elaborate. Thanks!

brennerj said:
can you explain how to do the second method. Do not have experience flashing that one. Do we use android toolkit or SDK? Please elaborate. Thanks!
Click to expand...
Click to collapse
Just download the file
Extract it
reboot your Nexus 5X into bootloader
Now open the root-windows(If you are using windows otherwise select the file which is for your operating system)
Now the command window will open and ask you to enter any key to continue
Then press any key from your keyboard and it will automatically done the remaining process and your phone will reboot
If you device got bootloop then poweroff the device once and power on manually
Thats it you will see the SuperSu icon .

Thanks autoroot worked. Also format userdata then flash twrp then flash SuperSU works but after a reboot I'm back to stock recovery again. Do we need a modified boot.img?
Edit:: OK I managed to get twrp to stick but I need password to decrypt data. Tried formatting userdata but stock recovery is back after a reboot

how to install custom recovery on nexus 5x android n dev prev 2? i stuck on splash screen (twrp 3.0.0.2)

tomgacz said:
how to install custom recovery on nexus 5x android n dev prev 2? i stuck on splash screen (twrp 3.0.0.2)
Click to expand...
Click to collapse
that because the encrypted user data
i try this method and work for me
1. clean flash the N prev 2
2. boot into bootloader
3. flash twrp
4. flash the modifed boot.img
http://forum.xda-developers.com/nexus-5x/general/4-17-16-t3360574
5. format the userdata
6. boot into the recovery and flash the SuperSU
before format the userdata, don't reboot the device
hope this can help

Well, I sideloaded super su latest after installing N preview. I cannot get txrp to read write system files, though. ANyone get twrp on N yet?

Xdevillived666 said:
Well, I sideloaded super su latest after installing N preview. I cannot get txrp to read write system files, though. ANyone get twrp on N yet?
Click to expand...
Click to collapse
Yes, I did. First, your phone must be decrypted. TWRP cannot be flashed on encrypted Android N.

ttakacs said:
Yes, I did. First, your phone must be decrypted. TWRP cannot be flashed on encrypted Android N.
Click to expand...
Click to collapse
How do I do this? Can I be on N or must I be on MM first?

Xdevillived666 said:
How do I do this? Can I be on N or must I be on MM first?
Click to expand...
Click to collapse
Three steps:
1. Disable forced-encryption & decrypt (fastboot)
Flash the modified boot.img
Format the data partition
See: http://www.droidorigin.com/decrypt-nexus-5x/
2. Reboot and copy SuperSU 2.74 to internal storage
3. Root
Install TWRP using fastboot
Boot into TWRP and flash SuperSU 2.74
See http://www.droidorigin.com/root-android-n-developer-preview/

ttakacs said:
Three steps:
1. Disable forced-encryption & decrypt (fastboot)
Flash the modified boot.img
Format the data partition
See: http://www.droidorigin.com/decrypt-nexus-5x/
2. Reboot and copy SuperSU 2.74 to internal storage
3. Root
Install TWRP using fastboot
Boot into TWRP and flash SuperSU 2.74
See http://www.droidorigin.com/root-andr...loper-preview/
Click to expand...
Click to collapse
Thanks man!! !The second link you sent me to no longer exists, though:-/
Ooops... Error 404
Oh! That's a 404. Please contact the website owner.
http://www.droidorigin.com/root-andr...loper-preview/

Xdevillived666 said:
Thanks man!! !The second link you sent me to no longer exists, though:-/
Ooops... Error 404
Oh! That's a 404. Please contact the website owner.
http://www.droidorigin.com/root-andr...loper-preview/
Click to expand...
Click to collapse
The forum software truncated the URL. Here it is: http://www.droidorigin.com/root-android-n-developer-preview/

Related

[STOCK RECOVERY][CONDOR][4.4.4]recovery.img

hi everyone...
IN ROUTINE FLASHING PROCESSES WE USE CUSTOM RECOVERIES......
BUT SOMETIMES FOR OFFICIAL UPDATES WE NEED STOCK RECOVERY....
SO HERE IT IS.......
EXTRACTED FROM OFFICIAL XT 1022 4.4.4 FIRMWARE......
BUT IT SHOULD WORK ON OTHERS TOO.....
If you have rooted your device once....
Only full unroot from SuperSU and flashing this recovery will not work....
YOU HAVE TO FLASH FULL FIRMWARE....
OTHERWISE OTA UPDATE WILL FAIL....(because after rooting our build.prop gets little edited....which will cause problems)
INSTALLATION INSTRUCTIONS....
1. DOWNLOAD "RECOVERY.ZIP".
2. U MUST HAVE mfastboot/fastboot AND adb tools EXTRACTED IN A FOLDER ON YOUR PC.
3. EXTRACT RECOVERY.ZIP IN THE SAME FOLDER.
4. PUT YOU PHONE IN BOOTLOADER MODE.
5. CONNECT IT TO PC AND OPEN THAT FOLDER.
6. OPEN CMD WINDOW HERE BY PRESSING SHIFT+RIGHT CLICK.
7. ENTER FOLLOWING COMMAND.
mfastboot flash recovery recovery.img
the command will result in okay...
u r done.....
THANK YOU...
dhruv7855 said:
hi everyone...
IN ROUTINE FLASHING PROCESSES WE USE CUSTOM RECOVERIES......
BUT SOMETIMES FOR OFFICIAL UPDATES WE NEED STOCK RECOVERY....
SO HERE IT IS.......
EXTRACTED FROM OFFICIAL XT 1022 4.4.4 FIRMWARE......
BUT IT SHOULD WORK ON OTHERS TOO.....
INSTALLATION INSTRUCTIONS....
1. DOWNLOAD "RECOVERY.ZIP".
2. U MUST HAVE mfastboot/fastboot AND adb tools EXTRACTED IN A FOLDER ON YOUR PC.
3. EXTRACT RECOVERY.ZIP IN THE SAME FOLDER.
4. PUT YOU PHONE IN BOOTLOADER MODE.
5. CONNECT IT TO PC AND OPEN THAT FOLDER.
6. OPEN CMD WINDOW HERE BY PRESSING SHIFT+RIGHT CLICK.
7. ENTER FOLLOWING COMMAND.
mfastboot flash recovery recovery.img
the command will result in okay...
u r done.....
THANK YOU...
Click to expand...
Click to collapse
curiosity, how you extract the recovery from original firmware?
I have used flashify to flash stock recovery before. It seemed to have worked. Its super easy as well and requires no computer. Try at your own risk.
Sent from my XT1023
alex_is_the_1 said:
I have used flashify to flash stock recovery before. It seemed to have worked. Its super easy as well and requires no computer. Try at your own risk.
Sent from my XT1023
Click to expand...
Click to collapse
I don't hunderstand, flashify require root, to root we need to unlock bootloader and apply twrp or cwm recoveryand after supersu, how flashify get stock recovery after this mods?
noRetail said:
I don't hunderstand, flashify require root, to root we need to unlock bootloader and apply twrp or cwm recoveryand after supersu, how flashify get stock recovery after this mods?
Click to expand...
Click to collapse
If you need your stock recovery your already rooted and have a custom recovery in place. So therefore your device has an unlocked boot loader. Flashify can flash recovery IMG without even powering into recovery.
Sent from my XT1023
alex_is_the_1 said:
If you need your stock recovery your already rooted and have a custom recovery in place. So therefore your device has an unlocked boot loader. Flashify can flash recovery IMG without even powering into recovery.
Sent from my XT1023
Click to expand...
Click to collapse
OK, you know how i get stock recovery.img from my stock lollipop 5.0.2? My phone is Moto E XT1021.
noRetail said:
OK, you know how i get stock recovery.img from my stock lollipop 5.0.2? My phone is Moto E XT1021.
Click to expand...
Click to collapse
I don't know for sure, but @lost101 can possibly help you with that. It will most likely require you to pull it using an adb command.
Sent from my XT1023
I have downloaded the firmware and simply by unzipping u will get stock recovery.img
noRetail said:
OK, you know how i get stock recovery.img from my stock lollipop 5.0.2? My phone is Moto E XT1021.
Click to expand...
Click to collapse
No you can not
Untill Motorola releases official firmware worldwide to download
I'm not talking about the ota
alex_is_the_1 said:
I don't know for sure, but @lost101 can possibly help you with that. It will most likely require you to pull it using an adb command.
Sent from my XT1023
Click to expand...
Click to collapse
+1 may be u can by pulling through adb
Not know how
dhruv7855 said:
+1 may be u can by pulling through adb
Not know how
Click to expand...
Click to collapse
Thank's men, but to pulling from adb need root access, waiting for community...
So for retrieving back to stock 4.4.4 ROM from cm11, I just have to do write that recovery command
pls help
neo_da_leo said:
So for retrieving back to stock 4.4.4 ROM from cm11, I just have to do write that recovery command
pls help
Click to expand...
Click to collapse
No no
If you have rooted your device once.....you have to flash full stock rom.....
Only full unroot from SuperSU and flashing recovery won't work..
Edited OP...
Sent from my Moto G using XDA Free mobile app
dhruv7855 said:
No no
If you have rooted your device once.....you have to flash full stock rom.....
Only full unroot from SuperSU and flashing recovery won't work..
Edited OP...
Sent from my Moto G using XDA Free mobile app
Click to expand...
Click to collapse
Thanks but I did that command now my recovery option is not working. It is showing android symbol with " ! " sign when recovery option is selected
how to get recovery option working
neo_da_leo said:
Thanks but I did that command now my recovery option is not working. It is showing android symbol with " ! " sign when recovery option is selected
how to get recovery option working
Click to expand...
Click to collapse
You are okay bro...
U just need to hold power button and press volome up once....(after that android logo appears)
Then stock recovery will pop...
That is the method to enter stock recovery...
Sent from my Moto G using XDA Free mobile app
Thanks bro @dhruv7855
for going back to stock ROM 4.4.4 from cm11 can I use my backup file that was taken before installing cm11 ?
neo_da_leo said:
Thanks bro @dhruv7855
for going back to stock ROM 4.4.4 from cm11 can I use my backup file that was taken before installing cm11 ?
Click to expand...
Click to collapse
But I think that backup would be containing custom recovery...
Sent from my Moto G using XDA Free mobile app
Getting problem in update...
Hii
i am unable to download anything.. can we get official updates for lollipop???
Can anyone upload soak test recovery?
boot.img
dhruv7855 said:
hi everyone...
IN ROUTINE FLASHING PROCESSES WE USE CUSTOM RECOVERIES......
BUT SOMETIMES FOR OFFICIAL UPDATES WE NEED STOCK RECOVERY....
SO HERE IT IS.......
EXTRACTED FROM OFFICIAL XT 1022 4.4.4 FIRMWARE......
BUT IT SHOULD WORK ON OTHERS TOO.....
If you have rooted your device once....
Only full unroot from SuperSU and flashing this recovery will not work....
YOU HAVE TO FLASH FULL FIRMWARE....
OTHERWISE OTA UPDATE WILL FAIL....(because after rooting our build.prop gets little edited....which will cause problems)
INSTALLATION INSTRUCTIONS....
1. DOWNLOAD "RECOVERY.ZIP".
2. U MUST HAVE mfastboot/fastboot AND adb tools EXTRACTED IN A FOLDER ON YOUR PC.
3. EXTRACT RECOVERY.ZIP IN THE SAME FOLDER.
4. PUT YOU PHONE IN BOOTLOADER MODE.
5. CONNECT IT TO PC AND OPEN THAT FOLDER.
6. OPEN CMD WINDOW HERE BY PRESSING SHIFT+RIGHT CLICK.
7. ENTER FOLLOWING COMMAND.
mfastboot flash recovery recovery.img
the command will result in okay...
u r done.....
THANK YOU...
Click to expand...
Click to collapse
Could you please help me with boot.img for same device, same 4.4.4 version. Thanks

New N release 4/7/16

Is there a way to root NCP91K version of N
I believe we need a special image or boot loader file. Please point me in the right direction.
pospower said:
Is there a way to root NCP91K version of N
I believe we need a special image or boot loader file. Please point me in the right direction.
Click to expand...
Click to collapse
Hello pospower,
I hope you are new to the community, so first of all, welcome to the Nexus 6P section.
I advise you to read the sticky threads here at the section. First in the list would be: http://forum.xda-developers.com/nexus-6p/general/questions-section-t3214020
Over to your query now. Bootloader has no relation to rooting, except one, that it should be unlocked. Unlocking the bootloader will enable you to flash TWRP recovery, which in turn would be used to flash SuperSU v2.71 flash-able zip.
For detailed instructions, please refer to section #1, #2, and #6 in the following thread: [GUIDE] Unlock/Root/Flash for Nexus 6P
I hope this helps. Best regards.
DJBhardwaj
boot.img my bad i was refering to this below
Download the latest TWRP Recovery. Please note: if you're on MHC19I or above you must use TWRP 3.0.0-1 or above, otherwise TWRP won't be able to decrypt. Also, if you want to use TWRP with the Android N Developer Preview you must use TWRP 3.0.0-1 or above, and you must also flash the modified boot.img found here.
ok got twrp installed 3.0.2.0
flashed the boot.img from above post
flashed twrp.img
rebooted bootloader
rebooted into recocery but freezws on teamwin screen
pospower said:
ok got twrp installed 3.0.2.0
flashed the boot.img from above post
flashed twrp.img
rebooted bootloader
rebooted into recocery but freezws on teamwin screen
Click to expand...
Click to collapse
TWRP is having issues with encrypted filesystems right now. You can either flash TWRP v3.0.0 or decrypt your 6P.
The decryption process should be carried out just after you flash the modified boot.img.
To decrypt, you will need to connect your device in bootloader mode and enter the following command:
Code:
fastboot format userdata
(Please note that this will wipe your complete internal storage).
OK got twrp working 3.0.0
Now it's asking for a password to get to decrypted files.
Any suggestions?
pospower said:
OK got twrp working 3.0.0
Now it's asking for a password to get to decrypted files.
Any suggestions?
Click to expand...
Click to collapse
Did you decrypt your device? Check under Settings > Security > Encrypt phone. Is it showing "encrypted"?
DJBhardwaj said:
Did you decrypt your device? Check under Settings > Security > Encrypt phone. Is it showing "encrypted"?
Click to expand...
Click to collapse
I must have
pospower said:
I must have
Click to expand...
Click to collapse
Please confirm.
And by decryption, i mean that you first flashed the modified boot.img and then formatted the userdata.
DJBhardwaj said:
Please confirm.
And by decryption, i mean that you first flashed the modified boot.img and then formatted the userdata.
Click to expand...
Click to collapse
Yes this is what I did. Followed the steps exactly.
pospower said:
Yes this is what I did. Followed the steps exactly.
Click to expand...
Click to collapse
Give a try to v3.0.0-1, and let me know.
DJBhardwaj said:
Give a try to v3.0.0-1, and let me know.
Click to expand...
Click to collapse
tried 3.0.0-1 woudnt start froze on twrp screen
do i need to decryp data again?
pospower said:
tried 3.0.0-1 woudnt start froze on twrp screen
do i need to decryp data again?
Click to expand...
Click to collapse
If you don't mind doing it, I would say Yes!
reflshed boot.img
decrpted
rebooted
copied su to download folder
reflashe boot then twrp 3.0.0 rebooted boot then to recovery againg asking for password to decriped data
ugggg
pospower said:
reflshed boot.img
decrpted
rebooted
copied su to download folder
reflashe boot then twrp 3.0.0 rebooted boot then to recovery againg asking for password to decriped data
ugggg
Click to expand...
Click to collapse
That is weird. I have done the same thing like twice or thrice since the last two days, and it has worked like a charm.
If you're decrypted, TWRP v3.0.0-1 should work fine.
Are you sure you wiped complete storage using fastboot format userdata command?
Yes
pospower said:
Yes
Click to expand...
Click to collapse
Try switching to a different version of TWRP, and see if any one of them works for you.
v3.0.0-1, v3.0.1-0, or v3.0.2-0.

unable to decrypt data in twrp after installing android n dp3

I installed dp3 by flashing the system.img modified boot.img and then the vendor.img from twrp 3.0.0.1
However after installation when I opened twrp it shows option to decrypt.
When I enter the pattern it continuously shows decrypting data but nothing happens
I have Mac OS my windows laptop is down .
How can I get twrp to work
Thank in advance
cutmylifein2 said:
I installed dp3 by flashing the system.img modified boot.img and then the vendor.img from twrp 3.0.0.1
However after installation when I opened twrp it shows option to decrypt.
When I enter the pattern it continuously shows decrypting data but nothing happens
I have Mac OS my windows laptop is down .
How can I get twrp to work
Thank in advance
Click to expand...
Click to collapse
Do you mean twrp 3.0.2.0 if not that might be why
jaythenut said:
Do you mean twrp 3.0.2.0 if not that might be why
Click to expand...
Click to collapse
It's 3.0.1.0. Modified for encryption problem..
Also can I root my phone without using PC?
cutmylifein2 said:
It's 3.0.1.0. Modified for encryption problem..
Also can I root my phone without using PC?
Click to expand...
Click to collapse
It is the 3.0.2-0 that has the encryption fix. Root on Nexus is achieve normally without a PC, until you choose to use the Chainfire Auto Root tool.
Just flash the latest SuperSU flashable through recovery.
DJBhardwaj said:
It is the 3.0.2-0 that has the encryption fix. Root on Nexus is achieve normally without a PC, until you choose to use the Chainfire Auto Root tool.
Just flash the latest SuperSU flashable through recovery.
Click to expand...
Click to collapse
Thanx DJ.. I don't have a PC presently with me..
Any way I can root without PC so that I can flash twrp 3.0.2.0 with flashify or flash fire
Thanx in. Advance
cutmylifein2 said:
Thanx DJ.. I don't have a PC presently with me..
Any way I can root without PC so that I can flash twrp 3.0.2.0 with flashify or flash fire
Thanx in. Advance
Click to expand...
Click to collapse
Yes, do that. Flash latest TWRP using Flashify or FlashFire, but that may require root permissions, as far as I remember.
And then, once you have entered TWRP, you can flash the SuperSU zip: https://download.chainfire.eu/964/SuperSU/BETA-SuperSU-v2.74-2-20160519174328.zip
cutmylifein2 said:
Thanx DJ.. I don't have a PC presently with me..
Any way I can root without PC so that I can flash twrp 3.0.2.0 with flashify or flash fire
Thanx in. Advance
Click to expand...
Click to collapse
You can flash twrp with twrp
jaythenut said:
You can flash twrp with twrp
Click to expand...
Click to collapse
Haha, yes. I forgot to mention that. Apologies.
DJBhardwaj said:
Haha, yes. I forgot to mention that. Apologies.
Click to expand...
Click to collapse
But twrp is unable to access sdcard .. unable to root therefore unable to install the latest twrp either through twrp or flash fire/ flashify
cutmylifein2 said:
But twrp is unable to access sdcard .. unable to root therefore unable to install the latest twrp either through twrp or flash fire/ flashify
Click to expand...
Click to collapse
Then you must get your hands on a PC, and flash TWRP manually through fastboot. Hopefully the latest version will successfully decrypt your device.
That's the only option I am left with.. thanx..
I thought some app like framaroot or king root might have helped
Chal thanx DJ
cutmylifein2 said:
That's the only option I am left with.. thanx..
I thought some app like framaroot or king root might have helped
Chal thanx DJ
Click to expand...
Click to collapse
Most of those don't work on MM, and are dicey too. You're welcome man!
DJBhardwaj said:
Then you must get your hands on a PC, and flash TWRP manually through fastboot. Hopefully the latest version will successfully decrypt your device.
Click to expand...
Click to collapse
i downloaded the newest twrp 3.0.2.0 however twrp is still unable to decrypt the data and unable to mount sdcard/ storage
therefore i am unable to root or flash anything.
further i tried side-loading super su .. it installed however after installing there is not root access
further, i am able to use my sd card from the phone but not from twrp
cant think of a way ahead.. i have flashed modified boot also.. is there any other link to modified boot that i can try flashing??
edit: the issue is twrp doesnot work with android n dp3.
thanx will see what to do
cutmylifein2 said:
i downloaded the newest twrp 3.0.2.0 however twrp is still unable to decrypt the data and unable to mount sdcard/ storage
therefore i am unable to root or flash anything.
further i tried side-loading super su .. it installed however after installing there is not root access
further, i am able to use my sd card from the phone but not from twrp
cant think of a way ahead.. i have flashed modified boot also.. is there any other link to modified boot that i can try flashing??
edit: the issue is twrp doesnot work with android n dp3.
thanx will see what to do
Click to expand...
Click to collapse
You did right when you flashed the modified boot.img, but decryption requires complete data wipe too. Alone, the boot.img wouldn't work. It just disables encryption on the boot.
Do all of this while your phone is connected in bootloader mode.
Pick up and flash the boot.img corresponding to your build number, which I guess is NPD35K. (Link: http://forum.xda-developers.com/nexus-6p/general/stock-modified-boot-img-regular-root-t3306684)
Then, stay there in the bootloader mode and enter the 'fastboot format userdata' command. Please be sure to backup first, since the format command will wipe off the complete internal storage and all the apps.

Just looking for someone to point me in the right direction

So I decided to root my phone ...I used the latest Windroid toolkit ..now I was able to unlock the boot loader and install/flash TWRP. here is my issue when I click on the Flash SuperSU button I get this error "wrong device state ! please ensure that your device is in Android! any help on how to finish flashing it would be appreciated.
Windroid toolkit 3.1.0
Thanks
My best guess is that you're trying to root it from fastboot. Load it into recovery instead. If that doesn't work, change direction and figure out how to flash a stock Rom with root pre-installed or check chainfire for his rooting utilities.
muelo1000 said:
So I decided to root my phone ...I used the latest Windroid toolkit ..now I was able to unlock the boot loader and install/flash TWRP. here is my issue when I click on the Flash SuperSU button I get this error "wrong device state ! please ensure that your device is in Android! any help on how to finish flashing it would be appreciated.
Windroid toolkit 3.1.0
Thanks
Click to expand...
Click to collapse
Point you in the right direction? Don't use a toolkit...
Rooting is simple on Moto devices:
1) Unlock bootloader
2) Flash TWRP
3) In TWRP, go to Advanced - Terminal
4) Enter "echo SYSTEMLESS=true>>/data/.supersu"
5) Flash latest SuperSU in TWRP+
6) Reboot and enjoy the rooty goodness
That's it.
acejavelin said:
Point you in the right direction? Don't use a toolkit...
Rooting is simple on Moto devices:
1) Unlock bootloader
2) Flash TWRP
3) In TWRP, go to Advanced - Terminal
4) Enter "echo SYSTEMLESS=true>>/data/.supersu"
5) Flash latest SuperSU in TWRP+
6) Reboot and enjoy the rooty goodness
That's it.
Click to expand...
Click to collapse
No toolkit, got it ....When you say Flash SuperSU in TPRP+ ....do I have to get get a file and install it from the SD or is this like a command that will get the file and put it in TWRP+ to be able to flash ..sorry for the many questions just trying to make sure I understand you.
muelo1000 said:
No toolkit, got it ....When you say Flash SuperSU in TPRP+ ....do I have to get get a file and install it from the SD or is this like a command that will get the file and put it in TWRP+ to be able to flash ..sorry for the many questions just trying to make sure I understand you.
Click to expand...
Click to collapse
You need to download the file from here:
http://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
bd177 said:
You need to download the file from here:
http://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
Click to expand...
Click to collapse
after it is downloaded do I put it in my SD and run it from TWRP ?
muelo1000 said:
after it is downloaded do I put it in my SD and run it from TWRP ?
Click to expand...
Click to collapse
yup.
bd177 said:
You need to download the file from here:
http://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
Click to expand...
Click to collapse
That works, although I usually recommend: https://download.chainfire.eu/supersu/ to get the latest version, and you need to get it on the phone somehow, you can't root with it on your computer.
muelo1000 said:
after it is downloaded do I put it in my SD and run it from TWRP ?
Click to expand...
Click to collapse
Sweet that did it ...thanks for all your help guys
I also used the Windroid toolkit and I have exactly the same problem as muelo1000, however all the help here did not solve the problem. I can flash SuperSU but after rebooting I get a black screen just after the Motorola logo. It's completely stuck. I can boot into TWRP or bootloader but that's it. Any help or advice would be welcome? Thanks.

Working root for honor 8 pro

This is only for Honor 8 Pro (DUK-L09)​
DISCLAIMER​YOUR WARRANTY IS NOW VOID. IN NO WAY AM I RESPONSIBLE FOR THE EFFECTS YOU INFLICT ON YOUR MOBILE DEVICE BY FOLLOWING THE BELOW PROCEDURE. IMPROPER USAGE OF THE METHOD MIGHT END UP BRICKING YOUR DEVICE AND RENDERING IT UNUSABLE.
PLEASE BACKUP ALL YOUR DATA BEFORE PROCEEDING.​
Purpose of this thread is to provide a working rooting method for the Honor 8 Pro. Flashing Phhsuperuser doesn't grant SYSTEM WIDE root permission.
Functions like granting -rw permissions to apps demanding them for accessing /system partition was disabled, TWRP backup wouldn't work.
With this method, you will be able to operate the phone will proper root privileges.
INSTALLATION INSTRUCTIONS
1. UNLOCK BOOTLOADER​
Assuming you have a Huawei ID, use THIS PAGE to get your Unlock code.
Once you have that, enable USB debugging on your device from Developer options menu.
Make sure "Allow OEM unlock" option is selected.
Use the following set of commands via ADB/Fastboot:
adb device (this should recognize your device)
adb reboot bootloader (this will boot your phone into fastboot mode)
fastboot oem unlock *unlock key* (the part between * is where the unlock key goes)
The device will restart and then perform factory reset itself.
2. INSTALL CUSTOM RECOVERY IMAGE (Source : TWRP Thread by OldDroid)​
Download TWRP recovery image from HERE
Rename the downloaded file to recovery.img
Copy it to the ADB folder that you are using.
Use the command "adb reboot bootloader" like in Step 1 to boot into Fastboot mode.
Flash the recovery using "fastboot flash recovery recovery.img" command (without quotes)
You have now flashed a custom recovery onto your phone.​
3. ROOTING
Download Magisk installer zip file from THIS LINK . I had personally used v 13.3 .
Copy it to your SD card(I would suggest you to use a external card).
Switch off your device.
Boot into recovery mode by pressing Volume Up and Power Button together.
Once in, swipe to allow modifications.
Go to Wipe - Format Data
Then Go to Reboot- Recovery
You should be back into the recovery mode. Go to Install menu - Select storage - Install the Magisk zip that you downloaded.
Once it is flashed, you can Reboot to system.
Note: To confirm system wide root access, you can reboot to recovery and try to take a Nandroid backup. It should now be possible.​
If anyone happens to run into a bootloop or soft bricks the device, THIS THREAD by @aKp1 will come in handy.
Thanks to @OldDroid for his TWRP thread.
I am rooted using phhs superuser, do I need to unroot first? If yes, I can't find how to unroot the Indian variant.
Going back to Stock = Unrooting
devilrulz4ever said:
I am rooted using phhs superuser, do I need to unroot first? If yes, I can't find how to unroot the Indian variant.
Click to expand...
Click to collapse
Yes you will have to unroot first. Since phhsuperuser doesn't have a option to UNROOT, you will have to flash stock ROM.
To do that, download the following: HUAWEI UPDATE EXTRACTOR and STOCK ROM .
Follow below steps:
Extract the Stock ROM
Use the Update extractor and select "Update.app" file. That should give you a list of files. Select "recovery.img" and "recovery2.img" image files and extract them.
Copy them to ADB folder. Boot your phone into fastboot mode, flash the two recovery files you copied.
Next, Copy the "dload" folder to your SD card(preferably external SD). Switch your phone off. Press Vol Up,Vol Down and Power button together. The ROM should start flashing. That brings you back to stock firmware. If you want to re-root, follow the instructions in this thread.
amulbaby said:
Yes you will have to unroot first. Since phhsuperuser doesn't have a option to UNROOT, you will have to flash stock ROM.
To do that, download the following: HUAWEI UPDATE EXTRACTOR and STOCK ROM .
Follow below steps:
Extract the Stock ROM
Use the Update extractor and select "Update.app" file. That should give you a list of files. Select "recovery.img" and "recovery2.img" image files and extract them.
Copy them to ADB folder. Boot your phone into fastboot mode, flash the two recovery files you copied.
Next, Copy the "dload" folder to your SD card(preferably external SD). Switch your phone off. Press Vol Up,Vol Down and Power button together. The ROM should start flashing. That brings you back to stock firmware. If you want to re-root, follow the instructions in this thread.
Click to expand...
Click to collapse
Thanks for your reply. I'll try this out.
The build number of the Stock ROM in Gdrive is "Duke-L09I_C675B130" while the one on the phone is "DUK-L09C675B130" are they both the same variant?
devilrulz4ever said:
Thanks for your reply. I'll try this out.
The build number of the Stock ROM in Gdrive is "Duke-L09I_C675B130" while the one on the phone is "DUK-L09C675B130" are they both the same variant?
Click to expand...
Click to collapse
Don't worry . It's the same. File name doesn't matter.
amulbaby said:
Don't worry . It's the same. File name doesn't matter.
Click to expand...
Click to collapse
Oh wait. Isn't the format data option remove some necessary apps like keyboard and others? Because that's the case before in my Honor 8. After you remove encryption, you need to reflash the region zip so that some important files will be retained.
Sent from my Honor 8 Pro using XDA Labs
adriansticoid said:
Oh wait. Isn't the format data option remove some necessary apps like keyboard and others? Because that's the case before in my Honor 8. After you remove encryption, you need to reflash the region zip so that some important files will be retained.
Click to expand...
Click to collapse
The zip I shared is for the Indian variant . As long as someone is having C675(Indian variant) installed, it shouldn't cause issues. However if you come from a different region(C432) , you will have to use region zip. I guess I mentioned that in the TWRP thread, current last post.
But formatting data can't be avoided as unlocking bootloader will wipe it in first place . More over stock ROM encrypts data on first boot, so you will have to format data(decrypt it) and proceed with rooting.
amulbaby said:
The zip I shared is for the Indian variant . As long as someone is having C675(Indian variant) installed, it shouldn't cause issues. However if you come from a different region(C432) , you will have to use region zip. I guess I mentioned that in the TWRP thread, current last post.
But formatting data can't be avoided as unlocking bootloader will wipe it in first place . More over stock ROM encrypts data on first boot, so you will have to format data(decrypt it) and proceed with rooting.
Click to expand...
Click to collapse
Wut. So you mean to tell me, that after I decrypt, I should just go ahead and flash Magisk, then reboot? No more additional zip to flash? Sorry man this is getting out of my head.
Sent from my Honor 8 Pro using XDA Labs
Tht's nice bro...u said u wll be cming up wd ths kind of thread..and u r there...thnks....really needed support for the indian variant...
i will dfntly try this....
and one more thing...currently i am facing issues with adaway..busybox...with phh superuser..since no rw permissions...can magisk solve the problem
adriansticoid said:
Wut. So you mean to tell me, that after I decrypt, I should just go ahead and flash Magisk, then reboot? No more additional zip to flash? Sorry man this is getting out of my head.
Click to expand...
Click to collapse
That's correct. As simple as that. Decrypt , flash Magisk and you are done. I don't know why many didn't try this all this while.
rexinriot said:
Tht's nice bro...u said u wll be cming up wd ths kind of thread..and u r there...thnks....really needed support for the indian variant...
i will dfntly try this....
and one more thing...currently i am facing issues with adaway..busybox...with phh superuser..since no rw permissions...can magisk solve the problem
Click to expand...
Click to collapse
Yes magisk will solve your problem. Phhsuperuser doesn't allow you to grant permissions to any app that tries fiddle with system partition. If you are already rooted , go back to stock and follow the steps outlined.
amulbaby said:
That's correct. As simple as that. Decrypt , flash Magisk and you are done. I don't know why many didn't try this all this while.
Click to expand...
Click to collapse
Dafuuuuq. I waa scared all along because of that. I didn't know things changed in Honor 8 Pro. Thanks a lot.
Sent from my Honor 8 Pro using XDA Labs
amulbaby said:
That's correct. As simple as that. Decrypt , flash Magisk and you are done. I don't know why many didn't try this all this while.
Click to expand...
Click to collapse
How to decrypt? I successfully rooted with magisk v14 but adaway is disabled after reboot, same case as phhs superuser.
devilrulz4ever said:
How to decrypt? I successfully rooted with magisk v14 but adaway is disabled after reboot, same case as phhs superuser.
Click to expand...
Click to collapse
You flashed Magisk while encrypted?
Sent from my Honor 8 Pro using XDA Labs
devilrulz4ever said:
How to decrypt? I successfully rooted with magisk v14 but adaway is disabled after reboot, same case as phhs superuser.
Click to expand...
Click to collapse
You need to wipe data (which will decrypt) and then flash Magisk.
Read point no.3 of the installation instructions.
adriansticoid said:
You flashed Magisk while encrypted?
Click to expand...
Click to collapse
Have you managed to root your device using Magisk yet?
amulbaby said:
Have you managed to root your device using Magisk yet?
Click to expand...
Click to collapse
Not yet. Maybe I'll try tomorrow.
Sent from my Honor 8 Pro using XDA Labs
amulbaby said:
You need to wipe data (which will decrypt) and then flash Magisk.
Read point no.3 of the installation instructions.
Click to expand...
Click to collapse
I wiped data, flashed Magisk v13.3 and then v14 after a successful boot (without wipe).
Hello...now i am going back to stock rom b130..from phh superuser.... i am going to follow your instructions of rooting using magisk after this...
But before that i hv one question....should i upgrade to b140 and then follow op..or should i remain in b130 rom itself and start from there..
rexinriot said:
Hello...now i am going back to stock rom b130..from phh superuser.... i am going to follow your instructions of rooting using magisk after this...
But before that i hv one question....should i upgrade to b140 and then follow op..or should i remain in b130 rom itself and start from there..
Click to expand...
Click to collapse
Stay with 130. Surprisingly, rooting by this method still allows OTA to come in.

Categories

Resources