yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] cturbos:
The SU,always asking for binaries update,
[Nexus 6P General] Heisenberg:
What version did you flash?
[Nexus 6P General] cturbos:
Beta su 2-52
[Nexus 6P General] Stephen:
Can you post a screen shot?
[Nexus 6P General] cturbos:
Root

Here you go
[Nexus 6P General] flar2:
No modified boot.img is required for elementalx

On custom ROMs requiring permissive, the enforcing option should be unchecked during elementalx installation.
[Nexus 6P General] mrRobinson:
This guy reported its fine and I tested it this time as well as i stated in my post. Last time I only used the systemless.
[Nexus 6P General] dmarden:
You can add me to the list of people having tested and confirmed that the modified boot.img for normal root works fine.
[Nexus 6P General] Stephen:
Are you using the standard 2.52 flashable zip to install SuperSu or are you trying to use chainfires systemless root?
[Nexus 6P General] cturbos:
Standard method.

---------- Post added at 06:36 PM ---------- Previous post was at 06:30 PM ----------

And one more thing,It takes a while for the phone to boot up,Is that normal?
[Nexus 6P General] mtw4991:
Your command is wrong, should be "fastboot flash recovery c:\<location>\twrp-angler-2.8.7.2-angler.img" without the quotation marks. Where location is the path to the image.

Edit: sorry, already answered
[Nexus 6P General] skippajack:
Thanks again, it is a newer computer that I just intalled the SDK on and never would of thought about the file extension. All good now.

Awesome thread, have a great day!:good:
[Nexus 6P General] hustletron:
I'm having trouble flashing TWRP myself, got the boot loader unlocked no problem, but at this point I have no clue as to the issue especially since I keep getting told the transfer is failing to an unknown error.

I have file extensions turned on, verified that there's not an extra ".img" on the file name, I've even tried adding an extra ".img" in the CLI. I've tried renaming the 2.8.7.2 file to just "twrp.img" as well. I've also noticed "Download Mode: Disabled" in the bootloader, not sure if that's an issue.

Apparently I cannot attach pictures so here are my commands:

C:\SDK\platform-tools>fastboot flash recovery twrp-2.8.7.2-angler.img

error: cannot load 'twrp-2.8.7.2-angler.img'

C:\SDK\platform-tools>fastboot flash recovery twrp-2.8.7.1-angler.img

target reported max download size of 494927872 bytes

sending 'recovery' (17308 KB)...

FAILED (data transfer failure (Unknown error))

finished. total time: 5.016s

C:\SDK\platform-tools>fastboot flash recovery twrp-2.8.7.1-angler.img.img

error: cannot load 'twrp-2.8.7.1-angler.img.img'

C:\SDK\platform-tools>fastboot flash recovery twrp-2.8.7.2-angler.img

target reported max download size of 494927872 bytes

sending 'recovery' (16880 KB)...

FAILED (data transfer failure (Unknown error))

finished. total time: 5.016s

C:\SDK\platform-tools>fastboot flash recovery twrp.img

sending 'recovery' (16880 KB)...

FAILED (command write failed (Invalid argument))

finished. total time: 0.007s

C:\SDK\platform-tools>fastboot flash recovery twrp.img

target reported max download size of 494927872 bytes

sending 'recovery' (16880 KB)...

FAILED (data transfer failure (Unknown error))

finished. total time: 5.013s

C:\SDK\platform-tools>fastboot flash recovery twrp.img

error: cannot load 'twrp.img'

C:\SDK\platform-tools>fastboot flash recovery twrp.img

target reported max download size of 494927872 bytes

sending 'recovery' (16880 KB)...

FAILED (data transfer failure (Unknown error))

finished. total time: 5.017s

C:\SDK\platform-tools>fastboot flash recovery twrp.img.img

error: cannot load 'twrp.img.img'

C:\SDK\platform-tools>fastboot flash recovery twrp.img

target reported max download size of 494927872 bytes

sending 'recovery' (16880 KB)...

FAILED (data transfer failure (Unknown error))

finished. total time: 5.018s

C:\SDK\platform-tools>fastboot flash recovery twrp
[Nexus 6P General] tmulhearn:
Try re downloading the file and check file permissions? Guessing here
[Nexus 6P General] Heisenberg:
What's the md5 of the downloaded file?
[Nexus 6P General] Heisenberg:
In my opinion doing it manually is less risky.
[Nexus 6P General] ambervals6:
Rooting your phone this time means no android pay. A not rooted nexus makes no sense to me. Dilemma.

Sent from my SAMSUNG-SM-N920A
[Nexus 6P General] Techie#1:
This guide is legit! Very helpful!

I can vouch for that guide as well! It has saved me a lot of time in rooting/unlocking/my devices in recent times. Oh and I am a Mac user and can also confirm that the Mac section is up to date on that guide however you must follow the suggestion in the Comments section that someone posted on that guide and everything will work fine.

Good luck

---------- Post added at 11:51 PM ---------- Previous post was at 11:41 PM ----------

I'm already having the same dilemma as well. We just have to hope that someone figures out a workaround here on XDA for us soon-to-be-Nexus-6p owners!

I was planning to root immediately after receiving the device but not so sure now....
[Nexus 6P General] trini9:
Greetings everyone i'm trying to get a rom for blu studio 5.0 c hd that got corrupted d526u or generic please help. andrew
[Nexus 6P General] Heisenberg:
This thread is specific to the Nexus 6P, that's why it's in the Nexus 6P section. You can find the Blue Studio 5 section here:

http://xdaforums.com/studio-5
[Nexus 6P General] Heisenberg:
Well, how did you?
[Nexus 6P General] Asyd:
Small Suggestion

This is really great info and thank you for doing it in such an easily understood way. Just one small suggestion: The note at the end of unlocking the bootloader section should probably be at the top -- it serves as a warning. There's nothing worse than getting a warning AFTER you've gone through the steps to find out the "note" basically tells you do this before you set up your phone. :)

Some newbies will be looking for this info and will be totally unaware.
[Nexus 6P General] Heisenberg:
The note has always been at the bottom of that section, and that's where it will stay. One should always read a guide fully before attempting it.
[Nexus 6P General] Asyd:
Wow....um, ok.
[Nexus 6P General] Heisenberg:
Do you disagree that one should read a guide before actually attempting it? There's no need to get offended because I'm choosing to keep my guide the way I have always written it. I appreciate your feedback, but I have written these guides for several devices (with that note where it is) and have never had any issues.
[Nexus 6P General] Asyd:
Nope, don't disagree at all that people should read these things before attempting. Truth is some/many don't. And I wasn't offended, was just taken aback by the curtness in the reply for what seemed to be a.) a compliment for an otherwise well written and lucid document and b.) a logical suggestion irrespective of how many guides you've written. Some people measure twice and cut once and others...well, you know.

My point is/was a warning is to prevent error even if someone is too lazy or doesn't follow normally accepted protocol. Warnings come before you encounter the problem to promote awareness in advance. I'm sure you'd agree you'd rather have warning of a huge pothole just before or at the pothole and not after you've driven in a ditch and have a broken axle. A prospective rooter might want to know before they get to stage one or going any further that stuff is gonna get hosed get wiped, at the beginning of the procedure, not after the procedure is over -- should they NOT read it in its entirety. Much like your warning just above the index indicating responsibility should one follow the steps outlined below.

Again, no harm, no foul it's your work product.
[Nexus 6P General] Heisenberg:
You're misinterpreting a short and factual statement for curtness, I get right to the point. I'm sorry if I seemed rude or curt, that wasn't my intention. I understand what you're saying but the pothole analogy isn't really applicable, a driver doesn't usually have the ability to survey every road before travelling on them, therefore making a warning sign before the pothole a necessity. If someone doesn't do the intelligent thing and read the guide before starting then that's on them, not me, I am providing all of the necessary facts and warnings within my guide. I'm here to help people but it's up to them to make sure they fully understand what they're doing.
[Nexus 6P General] effraie:
I second asyd point. I don't really care cause I personally read whole guide before procedure, but in that particular situation, I can't see what benefice get the author or the community by providing the warning after the dangerous point, considering it would not be more work, and the dangerous point is clearly identified
[Nexus 6P General] andik21:
thanks man :good: good job
[Nexus 6P General] HypoTurtle:
I believe there is an onscreen confirmation stating that userdata will we wiped when you run "fastboot oem unlock" anyway; so it is a bit of a moot point.
[Nexus 6P General] marc39327:
+1
[Nexus 6P General] MPAI:
Will unlocking mess with warranty? Can we lock it again?
[Nexus 6P General] galaxys:
Yes and Yes
[Nexus 6P General] effraie:
No and yes, i'd say
[Nexus 6P General] MegaHz:
hi heisenberg, i have flash the system, recovery and boot from the factory K image. i booted back to android and chose to install the ota, it rebooted and at the recovery it showed the android with red triangle.

i rebooted once again and now i dont get the ota notifications.

do you know i do wrong?
[Nexus 6P General] hustletron:
MD5: c5d2eecfa70dbdf962a49042493358c6

Sometimes when I enter the command the cursor just returns to the next line and sits there, I let it sit for almost an hour and nothing and I have to unplug my phone to get a response. Other times it will register the command and I still get the failed with unknown error.

Just attached the info on my phone in bootloader. I have rooted every android phone I have ever owned including the Galaxy Nexus and recovering bricked phones and this is by far the most trouble I've ever run into ha!
[Nexus 6P General] Heisenberg:
Were you previously on the K build?

What cable are you using?
[Nexus 6P General] hustletron:
The short one supplied with the phone. A to C.
[Nexus 6P General] madmuthertrucker:
I have no desire to root the stock rom or run it. So if I unlock the bootloader, and install TWRP, do I still need to install the modified boot.img before installing a custom rom?
[Nexus 6P General] Heisenberg:
Have you tried another port?

No.
[Nexus 6P General] hustletron:
Correction: USB 3.0 ports do not work, that appears to be what it was. Thanks for helping me troubleshoot! Possibly a good FAQ bullet! :D
[Nexus 6P General] jrytan:
Just wondering, when I downloaded the boot image, the one I had downloaded was angler-mdb08k-boot-systemless.zip. I noticed that there was also a angler-mdb08k-boot.zip. What's the difference between systemless and non-systemless?
[Nexus 6P General] TheShamsMan:
Awesome guide [MENTION=4153349]Heisenberg[/MENTION]!

I tried this when I was on the L build, but read somewhere that I could remove the annoying message at the beginning of each boot by flashing the M build. It didn't work.

Since I've been on the M build, I've been having issues rooting the devices. After flashing the modified boot.img, I tried the one you linked as well as mrRobinson's, I will lose recovery (laying down android with red exclamation mark). I've tried the process 3 times and get the same result each time.

Any ideas? Can you help? Thanks!
[Nexus 6P General] Heisenberg:
The systemless one allows you to root without modifying the system partition, and it requires a specific version of SuperSU I believe.

How did you flash the M build? Did you flash the boot.img after updating? I'm on M and haven't had any problems.
[Nexus 6P General] TheShamsMan:
How did you flash the M build? Did you flash the boot.img after updating? I'm on M and haven't had any problems.[/QUOTE]

Went to this site: https://developers.google.com/android/nexus/images?hl=en and flashed this: 6.0.0 (MDB08M). Following the instructions, worked perfectly. The device confirms M build, I proceed to flash recovery, also successful, but it was flashing the modified boot.img that does something to recovery for me. I get the android on its side when accessing recovery.
[Nexus 6P General] Badger50:
There have been reports that Mr. Robinsons boot.img causes oeoblemd at times. I used Chainfires angler .img. After flashing the boot.img, boot into recovery without disconnecting your cable. Then install Chainfires 2.52 SU. Do not let TWRP install the one it prompts you to do. Once that is done, wipe dalvik and cache, and you should be good to go :)
[Nexus 6P General] Heisenberg:
I can only suggest the following:

1. Follow my instructions in section 9 to flash the M build again.

2. Reboot into Android once.

3. Reboot to bootloader.

4. Flash TWRP.

5. Flash modified boot.img from chainfire.

6. Reboot bootloader.

7. Select recovery mode from bootloader menu.

8. Install SuperSU with TWRP.

9. Reboot phone.
[Nexus 6P General] TheShamsMan:
Thanks for the reply and [MENTION=3730810]Badger50[/MENTION]

Will try it out now!

DELETED. Sorry. :P
[Nexus 6P General] jrytan:
Awwww dang! Hmmm... you are so right. I should have read CF's post more closely. Not sure why I downloaded systemless instead of non-systemless. Looks like I'm going to have to redo my boot image flash and root. Correct to say that all I need to do is redo step 4 of your guide?

Also as a note to others, according to CF's post, flashing systemless boot image should be followed by flashing the attached SuperSU what came with TWRP.

I didn't. I flashed with SuperSU2.52. I didn't run into any issues when doing so, but my root went through without issues. So if anyone does have any issue when rooting, this could be it. But I'm no guru... just pointing out the mistake I made. :):)
[Nexus 6P General] lschmitt414:
Really Appreciated

Thx a ton for all the info in the op! It has helped me a few times already on my 6p :)
[Nexus 6P General] sorbimil:
hi im root on MDA89D how can update to the modified MDB08M?
[Nexus 6P General] TheShamsMan:
THIS worked! Thank you!!
[Nexus 6P General] Heisenberg:
See section 9 of the guide. Don't format userdata.
[Nexus 6P General] friedchikkin:
THANK YOU!

Having this phone even a day without root drove me nuts! lol

THANK YOU!
[Nexus 6P General] a1exus:
I still didn't root mine(
[Nexus 6P General] Heisenberg:
Was there meant to be a point to this post?
[Nexus 6P General] a1exus:
I'm bit confused about following step:

Do I need to uncheck default selection and just have EFS or I need to check EFS box in addition to default selection?
[Nexus 6P General] Heisenberg:
As per the instructions:

I thought this was pretty clear? Or should I change it to this?
[Nexus 6P General] a1exus:
i'm so sorry ;p now that you highlighted for me I can obviously see it now)) i'm not sure if these highlights should go to main tutorial, i think it would help) or maybe it's just me, hopefully others read it more carefully than me)
[Nexus 6P General] Heisenberg:
It's all good, I decided to make that change to the instructions just so it's a bit more specific. Thanks for pointing it out :good:
[Nexus 6P General] fenchai:
So, I did all the steps until the part where I have to root the device, I booted into TWRP and before rebooting it told me to install root...I pressed yes instead of following the instructions... fk Now it doesnt even finish booting, its stuck on the circle animations. Should I just download and flash a new rom then flash TWRP and do the same again? Thanks
[Nexus 6P General] MegaHz:
It's OK. After a few hours the ota notification reappeared and I updated OK. So maybe this will happen for some.
[Nexus 6P General] Heisenberg:
Just flash the system.img from the factory images for your current build (with fastboot) and it should boot up. And follow the instructions next time.
[Nexus 6P General] jrytan:
haha... see here:

:):good:
[Nexus 6P General] fenchai:
I Forgot the Build number I had xD I just downloaded angler M, I think I will just reflash to stock then follow the steps again :) thanks. Is that ok?

PS: I got confused because I thought you meant Super SU app asked if I wanted to flash root lol. I was also a bit nervous because this was my first Nexus and I was new to ADB. hehehe
[Nexus 6P General] mew1838:
So if we already formatted the data partition to unencrypt previously, can we re-enable encryption and what's the best way to go about it without deleting user data?
[Nexus 6P General] sirxdroid:
Go to Settings > Security > Encryption and follow the directions, you won't lose your data but it may take a while to encrypt it all, depending how much data you've got.
[Nexus 6P General] Heisenberg:
Well, if you read the conversation following that post you would have seen that the guide didn't initially say that, I changed the guide to that to make it more clear.

Yeah just flash the whole M build and start again.

As sirxdroid just go to Settings>Security>Encryption and follow the steps, no data will be lost.
[Nexus 6P General] firewoood:
Seems the editor of AndroidCentral copy this thread, lol
[Nexus 6P General] Heisenberg:
Link please?
[Nexus 6P General] Born<ICs:
.

I only see Unlock Bootloader inst. over there.

.

PS

How do I UnZip the Factory .tgz file?

.
[Nexus 6P General] Kerblooy:
Followed the instructions (although apparently not because I have a problem?)

I installed the SuperSu did the backups e.t.c. and now no matter what I do the phone boots into TWRP

Kinda new to this and not sure what information I should provide in order to help you to help me

Thanks for the guide btw
[Nexus 6P General] Cares:
Winrar can do TGZ files.
[Nexus 6P General] ginfest:
Question please, when I go into Developer Options and select : OEM Unlocking" to on, a message says that "Device Protection Features will not work". Does this mean I will be unable to use the fingerprint scanner or any other phone unlock if I unlock the bootloader, install TWRP and root? Or is "OEM Unlocking" something different?

Also, if we root the phone does android Pay still work.

Thanks in advance for the guide and the answers.
[Nexus 6P General] Kerblooy:
Went back to stock and re-did root and everything is working fine now :)
[Nexus 6P General] jasoraso:
When you set your phone to "OEM Unlocking" in Developer Options - it allows your bootloader to be changed which is one of the device protection features (among many). Fingerprint scanner and other security still works.

There are two possible ways to have root on the phone - the so-called "systemless" root allows Android Pay to still work.
[Nexus 6P General] Judgedbeforeborn:
unlock fails

Hopefully someone else has run into this problem. I followed the instructions listed for "How to unlock your bootloader" (check unlock bootloader in developer options, reboot once, boot into bootloader, check for fastboot devices, and finally type fastboot flashing unlock) however I only ever get prompted for proper usage (usage: fastboot [ <option> ] <command>) and then fastboot lists all possible commands. I have hard reset the device since and on initial startup google stated "Please wait while your phone is being encrypted" and when I returned to the developer menu the bootloader unlock option was already checked? Any thoughts? I am using fastboot tools in a linux terminal. I have also attempted the command fastboot oem unlock however that returns a fail remote unknown command.
[Nexus 6P General] sirxdroid:
Your version of fastboot may need to be upgraded.
[Nexus 6P General] G-Bus:
I dunno if anybody can help me out. I just got the phone, used WUGFreshs tool kit. Unlocked bootloader, flashed recovery and rooted. Phone booted stock ROM fine. I downloaded a rom, flashed it and its stuck on boot animation.

Now I went back, trying to falsh back stock and its still not working, seems like wugs kit doesn`t go thru with flashing the stock image. Any suggestions?
[Nexus 6P General] Heisenberg:
First suggestion: stop using toolkits. Next suggestion: follow the instructions in section 9 to flash the factory images to get back to stock.
[Nexus 6P General] Heisenberg:
Did you install adb/fastboot via the SDK? If not that's what you need to do, your current version isn't up to date.
[Nexus 6P General] G-Bus:
Thanks hah, finally got it to boot, flashed everything individually. However, for system, it didnt want to flash error was along the lines `net enough alocation` however the toolkit flashed it so now I booted. I got unlocked bootloader but no recovery and stock kernel. What do I do next to flash a rom? Do I need to update vendors and bootloaders or not considering I`m on MDA89D.
[Nexus 6P General] ryceone:
great write up... but i am in the same boat. i installed the latest sdk using the android studio and am still getting the same prompt.

any insight? thanks!
[Nexus 6P General] Heisenberg:
It depends on what ROM you're flashing, I can only assume that each ROM would have its requirements listed in the OP.

What OS are we talking about here?
[Nexus 6P General] segler999:
Monthly Security Updates to Stock ROM

Nice guide.

Can you please add a specific section concerning flashing the stock ROM security updates? If we unlock, root, and use TWRP, we will have to flash these manually. The process might be a little smaller than flashing the stock ROM fully, but I might likely be wrong about that.

Thanks.
[Nexus 6P General] Heisenberg:
A section on how to take an OTA if you have root is coming, I just need to find the time.
[Nexus 6P General] combat goofwing:
Undecided to root or not but reading lots about exposed being released,what sort of features does this introduce
[Nexus 6P General] sirxdroid:
The sky is the limit. Almost.

http://repo.xposed.info/module-overview
[Nexus 6P General] MPAI:
Does unlock/twrp and root works on MDB08L?
[Nexus 6P General] Badger50:
Yes...yes....and....yes. Provided you do everything right! :)
[Nexus 6P General] Anastacio_Guerrero:
I'm having this same problem. I've made sure I have the latest sdk and still can't unlock the bootloader. I'm running Windows xp.
[Nexus 6P General] Heisenberg:
Please provide more information, what does the terminal return when you issue the unlock command? Can you provide a screenshot?
[Nexus 6P General] Anastacio_Guerrero:
I'm reinstalling everything on my laptop currently, once it's finished and try again I'll post if it fails again.
[Nexus 6P General] avhad444:
I'm new to this, please I need help. I ended up installing Chroma custom ROM but I want to go back to factory stock image. I have Nexus 6P , I had MDB08L when I bought it, now on Chroma its MDB08M. Please if anyone can help....I'm also using MAC computer . thank you! I also want to stay rooted if possible? I'm also have the latest twrp
[Nexus 6P General] Heisenberg:
Do you have a working fastboot setup on your Mac? Follow the instructions in section 9 to flash the factory images, this will return you to stock. Obviously the commands are slightly different for a Mac. Don't worry about flashing recovery though, just leave TWRP installed because after flashing the images you'll also need to boot into TWRP, select wipe, then select advanced wipe, then check data box, then swipe to wipe. Once all that's done you can just reboot the phone.

Sent from my Nexus 6P
[Nexus 6P General] avhad444:
Thank you for your quick reply. I appreciate it. But this all sounds foreign to me. Where exactly can I find where you're referring to a section 9?
[Nexus 6P General] Heisenberg:
We're having this conversation in a guide thread, go to the first post and you'll see what I mean. You must have some experience if you've been able to flash a ROM, right? How did you unlock the bootloader? How did you flash TWRP?

Sent from my Nexus 6P