yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] goddammit:
Well, I don't know, that was one of the choices in "6. How To Root Your Stock Rom" right? So now I have everything working (hopefully) and root checker app confirms the phone is rooted. Is there a problem with the systemless? How is it different from the other one?
[Nexus 6P General] Heisenberg:
It's fine as long as you flashed the systemless modified boot.img to go with it as per Chainfire's instructions. You can read about the differences in his thread.
[Nexus 6P General] Joakim_Aronsson:
I tried to unlock my phone today. Installed the Sdk with the files required. Then I unlock oem and the other thing I should tick.

Then I reboot to bootloader and connect my phone. ADB is running but my phone says connect data cable.. Ive tried to reinstall drivers, but that does not help.

Windows 10 x64.

Any idea?
[Nexus 6P General] paniro187:
So if I lock the boot loader back up it won't erase my root just the data right?
[Nexus 6P General] Heisenberg:
What command are you trying?

Just the data will be wiped.
[Nexus 6P General] efrant:
Although not applicable to you, keep in mind that if someone uses the "systemless" root, then locking the bootloader will remove root (although it's easily re-obtained by installing the SuperSU app).
[Nexus 6P General] thedead69:
I just did the November security update after restoring my phone to stock.

I then flashed the custom boot.img and booted (not flashed) TWRP to flash SuperSU 2.56. Once I get back into android the phone is not rooted. Any ideas why not?
[Nexus 6P General] efrant:
I'm just guessing here as I don't have the device, but maybe there was something in the Nov update that disables SuperSU in its existing form, and will require an updated SuperSU.
[Nexus 6P General] thedead69:
Okay thanks - I will wait... I'm just missing Ad-away!
[Nexus 6P General] Heisenberg:
Which modified boot.img did you flash? You've flashed the SuperSU for systemless root so you'd need to flash the appropriate boot.img to suit.
[Nexus 6P General] thedead69:
Thank you, I had downloaded the wrong boot.img.

Now I need to see if it's possible to hide root from Good for Enterprise.
[Nexus 6P General] stealth0128:
Hi Heisenberg, I've rooted my phone using your tutorial, thank you. I unknowingly did it in MDA89D build. Not comfortable with that I decided to start over again. I managed to flash it with MDB08M using tutorial 9. I realized TWRP is gone when I tried to boot into recovery and saw an icon of an red exclamation mark lying on an android. So I reinstalled TWRP, but the icon is still showing.

I learned that a file "recovery-from-boot.p" is what's stopping it from booting into TWRP and it has to be deleted. But I can't delete a system file with both TWRP and root gone.

Please help.
[Nexus 6P General] Heisenberg:
You can live-boot TWRP with this command:

fastboot boot twrp.img

(alter the command to suit the filename of the recovery image)

It'll boot into TWRP without actually flashing it, then you can flash SuperSU to get root.
[Nexus 6P General] stealth0128:
Strange, I reinstalled TWRP again and it works now.

---------- Post added at 07:41 AM ---------- Previous post was at 07:37 AM ----------

Good to know. Thank you!!

---------- Post added at 08:25 AM ---------- Previous post was at 07:41 AM ----------

Just a small token of appreciation - Paypal Confirmation Number: 6L90795283571620A
[Nexus 6P General] Heisenberg:
Wow, I'd say that's very generous! Thankyou, gestures like this are greatly appreciated, I never encourage donations because I do this for the love of it, but I do appreciate them. So again, thankyou for being so generous.
[Nexus 6P General] stealth0128:
I can't imagine the amount of work you've put into this. And if we just remind ourselves how much we've paid for this phone, a donation like this becomes insignificant.

Thank you!
[Nexus 6P General] Fastrite:
Great guide. Not quite so straight forward as previous nexi. I read carefully and had a unlocked 6p with custom ROM inside 30 minutes after receiving it Friday evening :sad. [emoji3]

Thank you!

#WhiteUiMustDie
[Nexus 6P General] matraca:
I have the same problem that some people do with adb recognizing my phone on windows 10 it recognizes my s4 and note 5 just fine, tried updating drivers manually as in opening device manager, right click and update drivers, set the phone on ptp and no luck. What am I doing wrong? Can anyone explain to me with apples and oranges how to do this? I can't live without root, either I get this phone rooted or I am going to have to return it and keep the note5 for 2 years, so please help anyone...
[Nexus 6P General] Heisenberg:
Is fastboot working? You don't actually need adb.
[Nexus 6P General] Fastrite:
I had a problem with win10 recognising my adb/n5. The clockworkmod universal adb driver sorted that for me and since no problem with win10/adb/n6p.

https://plus.google.com/103583939320326217147/posts/BQ5iYJEaaEH

#WhiteUiMustDie
[Nexus 6P General] matraca:
no, fastboot not working either, issued 'fastboot devices' command and nothing, the phone says to connect usb data cable, I tried 2 different ports.
[Nexus 6P General] Heisenberg:
I'd check your drivers, see the above post for a different driver to try. Use a usb 2.0 port. Your other drivers could be interfering also.
[Nexus 6P General] matraca:
Will try ,thank you.
[Nexus 6P General] william1974:
need help,

when in fastboot devices is fine but when fastboot flashing or oem unlock. it said, wrong command ?
[Nexus 6P General] Heisenberg:
You need to update your SDK.
[Nexus 6P General] ilpolpi65:
fastboot flashing unlock
[Nexus 6P General] equilateral_sq:
For several days I have been walking around with a stock boot and system but a TWRP recovery. Saturday overnight the recovery partition corrupted. I reflashed TWRP and after restoring the userdata I accidentally erased, the recovery partition corrupted again. Any troubleshooting ideas? I'm considering walking around with stock recovery but prefer TWRP if possible.

BTW I already "erased"/formatted the recovery before flashing TWRP that second time.
[Nexus 6P General] Heisenberg:
What do you mean when you say it becomes corrupted?
[Nexus 6P General] equilateral_sq:
When I attempt to boot into the recovery, I see a smaller version of the android graphic we see in the bootloader. There is a red triangle floating above its stomach.

Before I see this, I get another message in addition to the usual unlocked bootloader message while starting up.

The message after that has red words and says my device is corrupted and shouldn't be trusted. When I reflash the stock recovery, the message goes away. It will also go away when initially flashing TWRP, but it breaks soon after.
[Nexus 6P General] william1974:
No luck after update sdk 6.0.

It said, failed < remote: unknown command>

---------- Post added at 08:17 PM ---------- Previous post was at 08:02 PM ----------

I did tried both. fastboot flashing unlock and fastboot oem unlock.

fastboot reboot was fine.

---------- Post added at 08:19 PM ---------- Previous post was at 08:17 PM ----------

Yup, fastboot flashing unlock. But no luck

---------- Post added at 08:22 PM ---------- Previous post was at 08:19 PM ----------

When on bootloader mode.

Download mode: disabled
[Nexus 6P General] Heisenberg:
I can only suggest returning to stock via the factory images and starting from scratch.

What's your adb version?

adb version
[Nexus 6P General] william1974:
and version: 1.0.26

---------- Post added at 09:25 PM ---------- Previous post was at 08:37 PM ----------

Can't flash stock images. Devices locked
[Nexus 6P General] Xenotrumpet:
Your adb version is horribly out of date. Download the platform-tools from the SDK program.
[Nexus 6P General] madmuthertrucker:
Well I tried a test run on the Nexus 6. I did the adb version, adb devices, fastboot devices. And I installed an older version of twrp because I already have the newest 1. It all worked fine. I've been a little afraid to try this, I've always used Wugfresh's toolkit. But I've always wanted to have a better insight into this stuff. This guide explains it all very well. I'm ready, bring on the 6P.
[Nexus 6P General] Heisenberg:
I'm very glad to see I've helped someone get out of relying on a toolkit. They're handy and all, but they can cause issues, and they allow the user to do things to their phone without really knowing what's happening. And then there's the fact that they allow the user to bypass some really handy learning experience that is gained by flashing manually with fastboot. Fastboot can be a little daunting at first for some, but it's very simple once you've done it a couple of times.
[Nexus 6P General] Big Cam:
I remember using a toolkit a long long time ago, and then back when I got my Galaxy Nexus someone convinced me to use fastboot, I remember feeling so accomplished, when I got it done.

I no longer have that laptop and my last phone was a Note 3 so it was a ghetto root. I'm a little rusty, I foresee myself asking a few dumb questions, but I appreciate the guide out already, so I can prepare!:good:
[Nexus 6P General] michaelcox:
This is going to be my first time rooting a Nexus device, so please forgive the inexperienced question. When rooting my Galaxy S Captibate and my Galaxy S3 I always did it by flashing another rom with root baked in. I mean, why wouldn't you get rid of touchwiz ASAP? My question is: Once I root my Nexus 6P using this method will I still get the OTA updates or will I have to flash a new custom ROM every time I want to update?

Thanks in advance
[Nexus 6P General] karthikcs:
This looks amazing
[Nexus 6P General] gamzekal:
Tested and Confimed :good:
[Nexus 6P General] Heisenberg:
You have the Nexus already? How?
[Nexus 6P General] SuperSmashedBro:
Pretty sure it's a joke... Seems like you're very eager to get yours, haha
[Nexus 6P General] Heisenberg:
I'm actually just sick of people creating pointless posts in this thread by lying and saying that they've completed the guide.
[Nexus 6P General] michaelcox:
Any help with this is appreciated
[Nexus 6P General] Heisenberg:
Usually root will break OTA, all you'd need to do is unroot to take the update though.
[Nexus 6P General] explorer-10:
won't rooting the device render android pay unusable though?
[Nexus 6P General] flamadiddle:
Guys, there's a thread for off-topic discussion/questions. Please use it:

http://xdaforums.com/nexus-6p/help/qa-noob-friendly-qa-help-thread-t3206934

This thread is about one root/unlock method; not rooting in general or its consequences.
[Nexus 6P General] kae9797:
I'm wondering if Marshmallow is going to give us a hard time like it did when I unlocked the bootloader and tried to root my Nexus 6.

It was a big pain in the A** .

What makes anybody think its going to be different wit:confused::crying:h Marshmallow on the 6P?
[Nexus 6P General] Heisenberg:
What was so difficult?
[Nexus 6P General] dhham:
I thought having to flash a new kernel to root was being worked so the process would be much more seamless. I'd say give it just a little bit of time and it should be done (if it hasn't already). I believe the wug root kit already has the new kernel implemented
[Nexus 6P General] BladeRunner:
It's being worked. Still not sure what the difficulty is of needing the modified boot image. It's flashing one additional file, whether you do it in fast boot when you flash twrp or in twrp right before you flash SuperSU.
[Nexus 6P General] dhham:
Yeah, totally agree
[Nexus 6P General] ayhkas:
Worked here, thanks...
[Nexus 6P General] galaxys:
Worked on what? You have a Nexus6 P?
[Nexus 6P General] Heisenberg:
As already pointed out, your adb/fastboot is way out of date, the latest is 1.0.32, that's what you need. Open SDK Manager and update the platform tools package.
[Nexus 6P General] EricLandis:
i have also nexus 6p your post really helps me upgrade my phone. Thanks anyway..
[Nexus 6P General] c00kiebr0s:
awsome

Great Guide, Thanks
[Nexus 6P General] diehardfan:
Just want to confirm, doing section 10 (10. How To Take An OTA Update If You Have Root) will NOT erase any data or wipe the installed apps aka factory reset?

Thanks in advance.
[Nexus 6P General] Heisenberg:
No, just make sure you remove any lockscreen security (fingerprint, pin, pattern, etc) first as a precaution, and don't wipe/format/flash userdata.
[Nexus 6P General] Tanveerul:
Root - SuperSU

Can we root Nexus 6P with SuperSU for mashmallow (Without modifying system file) ?

If this can be done then, in that case will we receive official OTA without restoring factory images ?
[Nexus 6P General] diehardfan:
Thank you and keep up the good work. Much appreciated!
[Nexus 6P General] Fentadroid:
i'll receive my 6P in a couple of days and i really don't know what to do about root.... traditional or systemless.......! Does android pay work with the the systemless way?
[Nexus 6P General] :
If you are rooted in general, I do not believe Android Pay works at all

Sent using XDA One on my Nexus 6
[Nexus 6P General] Freshtojeff:
I've read as long as you uncheck root in SuperSU you'll be able to use android pay, others have said if you add a credit card before root you'll be good as well. I haven't done it so I can't verify. Gonna root in a bit but android pay isn't something I use.
[Nexus 6P General] Heisenberg:
[MENTION=3355398]mrRobinson[/MENTION]

Are you able to (or have the time to) work your magic on the boot.img from the latest update for Telstra customers please? The update has fixed the network problems that us Australians have been facing, but the existing boot.img's aren't compatible, meaning we can either have a properly operating network connection or root, not both. Anyway, sorry to make this request, I hope it isn't too much of an intrusion.

Help us, Obi Wan, you're our only hope.
[Nexus 6P General] mrRobinson:
I can do it < 12hrs from now if no one else tackles sooner.
[Nexus 6P General] Heisenberg:
That's no problem at all, the link for the OTA zip is here:

https://android.googleapis.com/pack...538f7851.signed-angler-MMB29N-from-MDB08L.zip

Are you able to extract the boot.img from that zip?
[Nexus 6P General] ilpolpi65:
Every time I try to restore a backuo in twrp I have a bootloop ...no chance...someone else ?
[Nexus 6P General] Stephen:
This is not really the correct thread to ask this in. I would suggest either PSA TWRP Backups and Lockscreen Security or [RECOVERY][angler] TWRP 2.8.7.2 touch recovery [2015-11-06]
[Nexus 6P General] Badger50:
It has to do with TWRP not being able to backup the vendor.img. So, the work around is to flash the vendor .img with TWRP or fastboot, then boot back into recovery, then restore your backup. I've done it at least a dozen times already! :)
[Nexus 6P General] leamdav:
Unlock Bootloader and install custom kernel only?

So I want to unlock the bootloader for sure and just install a custom kernel. I am hoping to keep Android Pay working. What steps do I need to follow to do this? 1, 2, 4, and 8?
[Nexus 6P General] mrRobinson:
No, in that zip is just the boot.img.p which is used to patch the boot partition. I just took the L boot.img and manually applied the boot.img.p patch from that zip so at this point I should have a MMB29N boot.img. At least the sha1sum checks out. Now to get root into it, stay tuned.

Edit: Download angler-mmb29n-boot.zip

Edit2: Download angler-mmb29n-boot-systemless.zip

[MENTION=4153349]Heisenberg[/MENTION] fyi.
[Nexus 6P General] spireite_uk:
A few silly questions maybe covered already...

- I have unlocked bootloader, installed TWRP and rooted with SuperSU. Will I still get new Google updates and will they install OK? Or willl they notice the phone has 3rd party software on it and block the install?

- Is there a way of getting rid of that message on bootup and the padlock icon?
[Nexus 6P General] steviemch:
No, you'll have to return completely to stock to receive Google updates, or flash the factory images. It's easier on systemless root, but as I don't use that I can't advise anything other than to search Chainfire's thread for yourself. For now there's no way to remove the bootup warning.

steviemch - Nexus 6p
[Nexus 6P General] geoff5093:
If I'm running a custom ROM but want to return to stock while keeping TWRP, can I just flash the factory image but exclude flashing the recovery.img image?
[Nexus 6P General] tzortst:
Awesome

What is the best way to backup the boot.img from phone before applying as I can't simply take it from the full developer image.
[Nexus 6P General] mrRobinson:
Without root i'm not sure. But i had to create a stock boot.img from the stock L and the patch file in the zip so here that is:

angler-mmb29n-boot-stock.zip
[Nexus 6P General] tzortst:
Mate you are a @#$%ing Legend!

Thanks
[Nexus 6P General] Heisenberg:
Thanks so much for taking the time to do that, it's greatly appreciated. I'll add a link to this post in the guide.
[Nexus 6P General] djide:
Having trouble using hotspot on tmobile. Quick background I have the grandfathered tzones which works perfectly on my iPhone but then I switched to the nexus 6p and all of a sudden am getting the screen to subscribe for hotspot; Have been out of the game so long I have forgoten what to modify to get hotspot back. Thanks for any help
[Nexus 6P General] Heisenberg:
By the way, do you a paypal donation link? I'd like to buy you a beer or two.
[Nexus 6P General] KennyG123:
This is not the right thread for this.

Please post your question in the Q&A section here
[Nexus 6P General] mrRobinson:
Appreciate the thought. I do this for a break from my day to day and I fear if I take any money for anything I do here, it'd be another obligation. I prefer your free appreciation over your coin. :good: Thanks!
[Nexus 6P General] TeriusPR:
Nexus 6p Bootloop

I seem to have a big problem when booting the phone, I'm an amateur at this in someway I'm starting to regret starting this project as I call it. I'm going to describe it step by step in order to address any error. Anyways I managed to unlock the bootloader, pretty easy though, then I downloaded twrp (the latest one) and did that whole step. Then I jumped to step #6 in which was to root the stock ROM, then I had to go to step #9 because I didn't have the indicated build, i had the MDA89D and had to have the other so downloaded the MBD08K build. I did that whole step to until I had to enter a lots of commands but even though I encountered with a series of problems in that command prompt window, like "error: cannot load 'C:\angler\images\bootloader-angler-angler-xx.xx.img'" , "error: cannot load 'C:\angler\images\radio-angler-angler-xx.xx.img'", and "error: cannot load 'C:\angler\images\vendor.imgfaf'". The "Finally" I fast rebooted my phone but in the process I encounteres a message which I couldn't remeber well I'm sure it said something about "data error" and I had no choice but to factory reset the phone, didn't had any problem with that, then when I rebooted again everything was going fine but til now I'm stuck in a endless bootloop where the google sign keeps doing it's cool colorful animation over and over again. I need help please I will appreciate it, the phone arrived yesterday and now I seem to be messed up :( HELP:rolleyes:
[Nexus 6P General] Fastrite:
Regarding your "errors", did you have the relevant image files (factory image files etc) in your fastboot folder?

Also it might be best to update straight to the most recent factory image MDB08M

#WhiteUiMustDie
[Nexus 6P General] TeriusPR:
I guess I have the correct ones.

this is how my current folder looks like.
[Nexus 6P General] TeriusPR:
and this is my image folder
[Nexus 6P General] Fastrite:
I would suggest following section 9 especially the folder/file structure described.

Another way to get to back to stock is to download the factory zip required, would suggest mdb08m.

Unzip factory zip just once.

Put the files unzipped (should be 6) in your fastboot folder.

Boot phone into bootloader.

Connect to PC.

Open Command Prompt at fastboot folder.

Check you have a fastboot connection with "fastboot devices".

Run the batch file (flash-all.bat) you put in the fastboot folder by double clicking on it .

Watch as it does its business.

Reboot bootloader.

Then start guide again (although bootloader should still be unlocked).

#WhiteUiMustDie
[Nexus 6P General] Heisenberg:
If you had this error:

error: cannot load 'C:\angler\images\bootloader-angler-angler-xx.xx.img

It means you didn't enter the command correctly, you need to replace the x's with the appropriate numbers in the file that you're flashing.
[Nexus 6P General] TeriusPR:
all this time when I unzipped a folder which primarily was a .tgz format then extracted me a .tar format file. that's the file I have to use?

Edit. forget about it I found the file.
[Nexus 6P General] TeriusPR:
I ran the batch file and the rebooted the phone and nothing, this appeared in my command prompt
[Nexus 6P General] kidbudi:
I'm having trouble with getting 'fastboot devices' command to display the serial number so I'm stuck right at the beginning.

'adb version' comes up as 1.0.32 and 'adb devices' outputs the serial number of my phone

However when I type in "fastboot devices' I get no return line

I'm running windows 10, usb debugging and oem unlocking on, updated to the latest version of SDK tools, and have tried uninstalling and reinstalling them a bunch of times, reinstalling the Google USB Drivers manually, I've also tried switching through the different USB modes, and still no luck
[Nexus 6P General] steviemch:
I would say give it time after the "archive does not contain boot and recovery sig" lines, but I see you posted this over 40 minutes ago. It takes a bit of time to start writing to system etc.

steviemch - Nexus 6p
[Nexus 6P General] TeriusPR:
already updated it with the k build, and got out of the bootloop, but I have a question, why is best to update it with the latest build in this case the m build? thanks btw.

---------- Post added at 10:58 PM ---------- Previous post was at 10:57 PM ----------

thanks man, that simple mistake messed up almost my whole day up!!!
[Nexus 6P General] Heisenberg:
The latest update has the latest security patches.
[Nexus 6P General] spireite_uk:
Is it possible to get this phone rooted and still receive Google updates? I assume it's the fastboot flash root that causes the phone to stop receiving updates?
[Nexus 6P General] Heisenberg:
There's information in the guide and the FAQ regarding your question.
[Nexus 6P General] wayne8821212:
Speaking of updates, I received an OTA to build L immediately after receiving my device. Have others received build M by OTA or via the website?
[Nexus 6P General] Heisenberg:
As far as I know the MDB08M update was specific to South Korea so I doubt it would come in the form of an OTA, you'd have to flash the factory images.
[Nexus 6P General] wayne8821212:
MDB08M

Ok, Thanks! So I could flash the collection of image files, reboot into MDB08M and go back into fastboot and re-root by flashing modified boot, Custom Recovery, flashing SuperSu in recovery? Right now I am running Pure Nexus Rom (so the build says MDB08M but I guess I'm really on the MDB08L that I had before flashing the MDB08M-based rom)Thanks again!

Wayne
[Nexus 6P General] Heisenberg:
Yeah you could do that, but if you're on Pure Nexus there probably isn't much point at the moment because you're running the MDB08M build via the ROM.
[Nexus 6P General] galaxykeks:
Hi guys.

I got my N6P too :)

I also got the OTA to "L", any way to root it already? :)

Didn't find anything?
[Nexus 6P General] mko000:
Are you kidding? You are in the thread where everything including rooting is explained in the OP!
[Nexus 6P General] galaxykeks:
Ya right, but there no modified boot image for it? or did i miss it?
[Nexus 6P General] Heisenberg:
Read the instructions again, carefully.
[Nexus 6P General] galaxykeks:
omg... embarrassing ^^

Must have missed it. Thanks :)
[Nexus 6P General] :
I followed your perfect ho to to the letter but when I boot after installing the custom ROM it just hangs at the Google logo. any ideas?

UPDATE:

I think I know what its stuck at Google logo. My device is on "MDB08M" and there is NO modified Boot.img for it.

I live in Canada and this is the current build here. Would I be correct in this?