yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] jesssiii:
http://xdaforums.com/showthread.php?p=54331892
[Nexus 6P General] Napa7m:
So i followed this guide to unlock and flash TWRP.

I flashed the latest TWRP, rebooted the bootloader and then selected 'Recovery'. TWRP loaded without issue. I didn't do anything while in TWRP. I simply exited/restarted, becuase I wanted to get my phone setup and rooted, then come back and make a backup.

I set everything up, copied SuperSU to the internal memory and restarted back to the bootloader. WHen I hit 'Recovery' now all I get is 'No Command'.

I tried to reflash the TWRP img, and the same thing is still happening.

Anyone know what's up?

Thanks in advance

EDIT;

In case anyone finds themselves in this same place. I had to root in order for TWRP to 'stick'.
[Nexus 6P General] cameljockey1:
I am stuck on the bootloader unlock section. I have un installed sdk and reinstalled. the adb works like it should but when i go into bootloader to do fastboot comands to unlock it doesnt do anything. I am on windows 10. Thank you.
[Nexus 6P General] Napa7m:
I had that same thing happen. Something with the drivers didn't install correctly.

While you're in the bootloader, Open your device manager, you probably have a Yellow triangle next to your android driver.

Right click on it, and hit update driver software. Click browse for driver, then navigate to the folder where you extracted the android-sdk and navigate to android-sdk/extras/google/. Update the driver with the usb_driver that is located in there.

That worked for me
[Nexus 6P General] cameljockey1:
Did not work for me the update driver in that folder was not there.

Edit: I think i found out why. I am updating the android sdk.
[Nexus 6P General] cameljockey1:
Okay that worked out. I updated Android SDK and updated the drivers. After I did all the steps I formated user data to get rid of encrypt. But in settings it says encrypted. Is that right?
[Nexus 6P General] Mesmurized:
Check Settings / Security -- then under Encryption; if it says Encrypt phone - then it is not encrypted.
[Nexus 6P General] cameljockey1:
Mine says Encrypt phone and under that it says encrypted. Would I need to format data again?
[Nexus 6P General] Mesmurized:
Stock will always encrypt the phone at start up. A custom rom, or custom kernel, or a modified boot are needed in order to stay un-encrypted after the format. One of these must be installed after the userdata has been formatted and before the first start-up. There are many options. You get to choose.
[Nexus 6P General] Napa7m:
What is the benefit of not encrypting your data?
[Nexus 6P General] Mesmurized:
Some claim there's a performance benefit YMMV :confused:
[Nexus 6P General] madddiiin:
"Note: You should never flash the userdata image. It doesn't take into consideration the storage capacity of the device and always allocates 32gb of storage. This is ok for the 32gb model, but for the 64gb and 128gb models you'll end up with much less storage capacity than you should have. If you wish to wipe your internal storage you'd use the following command instead:"

I did not know this one, and did it subject to revert to stock rom with custom recovery and kernel. Now my 128gig Nexus 6P shows 32gb internal storage.

How can i revert this?

reboot to bootloader -> on pc enter fastboot format userdata.

careful, this removes all your data as far as i know
[Nexus 6P General] mbutandola:
[MENTION=4153349]Heisenberg[/MENTION] could you clear up something for me please? So far I've thought that flashing an OTA zip file when you're rooted wouldn't work. But I understand that Chainfire's latest flash tool FlashFire could do it. Although I much prefer doing updating via fastboot, having another option when you don't have a computer close-by would certainly help

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Nexus 6P General] Heisenberg:
Yes, apparently Flashfire is able to flash OTA updates even with root. I have no experience with it but I've seen people reporting this as a working solution.
[Nexus 6P General] ssagman:
Sweetie

Development and
[Nexus 6P General] Heisenberg:
You're You've already posted this here:

http://xdaforums.com/showpost.php?p=65986358&postcount=383

Please don't create duplicate posts, it isn't allowed. Plus, this really has nothing to do with this thread.
[Nexus 6P General] Rongxin:
May I check if OTA updates are still available if I perform a systemless root?
[Nexus 6P General] DJBhardwaj:
No OTA for rooted users. If you can grab the OTA zip, you could use FlashFire to install the update.
[Nexus 6P General] gadget069:
Anything special to do with the OTA before using Flash fire?
[Nexus 6P General] exdiei:
is there any way to get rid of the OTA notification, it comes back every day. I'm on stock and rooted, thanks for the hard work Heisenberg.
[Nexus 6P General] DJBhardwaj:
Nothing to do. Just flash it via Flashfire.

---------- Post added at 12:27 AM ---------- Previous post was at 12:23 AM ----------

Disable Google Play Servies notifications in Settings > Apps. :good:
[Nexus 6P General] mbutandola:
Thank you for your help

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Nexus 6P General] exdiei:
well, thanks, should have been able to find it by looking more around.
[Nexus 6P General] exdiei:
How about when making a Nandroid backup with TWRP. Heisenberg, in section "4. How To Make A Nandroid Backup With TWRP Recovery " he says : "check the system/data/boot/vendor boxes", but I have one System, then another System Image, also a Vendor and then another Vendor Image. When I started rooting and unlocking my Nexus 6P I chose everything to be safe. But do I need to choose those double Vendor and System partitions every time I do a Nandroid Backup?

I already understand the need to flash the Vendor Image from new builds though.
[Nexus 6P General] Heisenberg:
No, you don't select system image or vendor image. If you had to select those options it would be included in the guide. Follow the guide exactly as it's written and only select system, data, boot, and vendor.
[Nexus 6P General] exdiei:
Ok my bad. I wast just being extra careful I guess. When I followed your guide, I did choose the other partitions (including the EFS one). Will I have trouble in the future If I want to restore to stock, or when restoring I can choose which partitions I want to restore?
[Nexus 6P General] Heisenberg:
You can choose which partitions to restore so it'll be fine.
[Nexus 6P General] exdiei:
Awesome, thanks a million Heisenberg! I can now move on and install Xposed .
[Nexus 6P General] dbroer91884:
DELETED!
[Nexus 6P General] chillgreg:
Help and suggestion

Hi

First post here :)

My Nexus 6P gets quite hot (coming from iPhone 6 Plus/Galaxy Note 2/Galaxy S2), and I'm interested in the whole rooting thing. Although I have a tech (pc) background I'm finding this quite daunting.

Although I can see a lot of time and effort has been put into this guide, it is hardly for beginners. After reading all 10 steps I find it quite confusing and a little scary. Everyone raves about rooting Android phones, but surely there's a simpler way than all this? The internet is filled with a plethora if information, too much really to try and make an informed decision for a beginner. Which ROM? Which Kernel? etc.

If this (otherwise very good) article could be updated with a lot more layman's terminology and explanations it would go a long way towards easing people into rooting their phones.

Any suggestions much appreciated.
[Nexus 6P General] Heisenberg:
Rooting your phone isn't going to help with your phone getting hot, that's a hardware issue. I suppose you could try underclocking the CPU but I believe it's already underclocked coming out of the factory.

This guide is already as simple as I want it to be, before it becomes too simplified. If there are terms you're unfamiliar with there is almost definitely information available online that you could seek, or you're welcome to ask questions in this thread. It may seem daunting at first, but it gets easier.

PS. They're sections, not steps, you don't need to go from start to finish. Each section has prerequisites explained to make it easier to understand.
[Nexus 6P General] EstherTakumi:
For those had trouble with Fastboot, you could install the driver manually, just go to Device Manager, you will see Android Phone, right click on it, select Properties, go to Driver Tab, select Update Driver, choose Browse my computer for driver software, next click Let me pick from a list of devices drivers on my computer, and search for Samsung ADB Interface, and you are done! Now you can use Fastboot
[Nexus 6P General] Rippley05:
Quick question, I used to root everything...but since the great lockdown crackdown...it's been a while.

In this guide, is unlocking the bootloader giving us root? Or am I just straight up missing the root part of the guide?
[Nexus 6P General] jesssiii:
After you unlock, you must Fastboot twrp and flash SuperSU to get root.
[Nexus 6P General] Heisenberg:
Unlocking the bootloader only unlocks the bootloader, it paves the way for root. Look at the index, you'll see a "how to root" section, which has an unlocked bootloader and TWRP recovery as prerequisites.
[Nexus 6P General] Sunandroid:
Just a few questions. Cuz I'm new to that whole nexus thing:

1. Is it possible to root (systemless) without having to have TWRP? And if so, and the root is systemless, it should be no problem to take OTAs, right? Or is a unlocked bootloader an issue in this case?

2. If TWRP is installed, the modified boot image is neccessary to make it permanent, right? If I'm wrong, why is a modified boot image needed?
[Nexus 6P General] Heisenberg:
1. The state of your bootloader has no effect on OTA's. The only way to flash SuperSU is via TWRP, so you must have TWRP installed to get root. I don't think SuperSU is truly systemless anymore so I'm not sure if you can take an OTA with it.

2. No modified boot.img is necessary if you're on Marshmallow, only if you're using the Android N Developer Preview.
[Nexus 6P General] pamplona!:
complete novice with next to zero technical know-how here but let me preface this by saying that i rooted 6p (my first root ever), installed purenexus rom and franco kernel. i have a few questions and i'm not sure exactly where to ask so i'll start here - they strike me as very easy questions to answer but if they're in the wrong place i apologize in advance.

1. i used to use nova launcher when i was on stock. after trying it now it seems to slow things down a touch, esp when using the google bar up top. the launcher enabled me to use gesture functions to open apps and the like. its a feature i used frequently and would like to again but without using a launcher. how would i go about doing this?

2. re: updates and such. what do i have to do to make sure my phone is updated properly assuming i can continue to use nexus pure and franco kernel?

3. any other tips or advice would be appreciated.

Thanks again for this wonderful tutorial. it took me a while to get through some of this but i'm glad i did. thanks again.
[Nexus 6P General] Heisenberg:
1. I also use Nova, I haven't noticed it slowing things down though. I'm not sure how you'd go about using those gestures without the launcher.

2. When a new build of the ROM comes out you just need to dirty flash the ROM zip to update. This means flashing the zip without performing any wipes, only do this when updating your ROM though, if you're installing a new ROM you must wipe properly first. You'll need to flash your kernel again after the ROM zip. Please note: some updates will be based on newer builds from Google, when this is the case you need to ensure that you also flash the newer vendor image accordingly.

3. Not sure what to add here.

I'm glad that you found this guide helpful.
[Nexus 6P General] exdiei:
Mine slows down only when I do this: http://feedback.novalauncher.com/forums/145180-nova-feature-requests/suggestions/10198230-fix-slow-notification-pull-down-gesture-after-mars it's just a bug but, there's a workaround, if that's what you are also having.
[Nexus 6P General] pamplona!:
thanks for taking the time to respond. couple of points of clarification and questions i forgot:

1. re nova: its most noticeable (to me) when i tap the google search bar on top. - there's a slight lag when i'm in nova as opposed to purenexus with nothing.

2. what method do you advise to back up everything, including settings, etc on a rooted device?

3. re updates: silly question but how will i know when there *is* an update to the rom? assuming there will be a notification of sorts?
[Nexus 6P General] Heisenberg:
1. Ok, it's been ages since I used any launcher other than Nova, so I have nothing to compare the speed to.

2. If we're talking about creating the backup to migrate across to another ROM you definitely shouldn't be backing up or restoring system apps or settings from one ROM to another, it'll cause problems. You can backup/restore your user apps though, for this use Titanium Backup. If you want to create a complete snapshot of your current setup, you can create a nandroid backup with TWRP recovery. These are handy for when you want to try a new ROM, if you don't like the new ROM you can simply boot into TWRP and restore your nandroid and when your phone boots up it'll be in the exact state that it was when you created the backup.

3. You need to check for them. Updates are usually announced by the developer in the thread. One easy way to know is by looking at the title of the thread, it's currently this:

[ROM][6P][6.0.1_r22]★ Pure Nexus ★ Layers/CMTE | Fi | WiFi Calling ★[03/15/16]

The [03/15/16] part at the end of the title being the last time it was updated.
[Nexus 6P General] pamplona!:
thanks again.
[Nexus 6P General] phillymade:
[MENTION=6555069]Heisenburg[/MENTION] thank you for the guide, got my storage size fixed....and my apologies for posting in the wrong thread I will be more mindful going forward.
[Nexus 6P General] Heisenberg:
No problems, glad you got it sorted out.
[Nexus 6P General] Gall1200:
edit: never mind, got it worked out
[Nexus 6P General] seiphdr:
[MENTION=4153349]Heisenberg[/MENTION]

Just wanna say thanks for the great guide. Just jumped onto the 6p camp and your instructions are really great. Had an initial bootloop scare but section 9 got me back on track. Thanks!
[Nexus 6P General] Sunandroid:
I need to get back at it again^^

1st Ok, I see. Theoretically I could flash TWRP, then systemless supersu and then flash the stock recovery via fastboot again. And then take OTAs. But since we both do not know, how systemless the systemless root really is, I won't try it out^^ Except if you can tell me what will happen and how to fix it. I assume it would be a broken android and maybe recovery but an intact bootloader. So a fix would be possible. Again not gonna try it, unless there are practical experiences with it.

2nd Ok, I don't really get why. Unless it has something to do with TWRP not being compatible with N yet...
[Nexus 6P General] DJBhardwaj:
Chainfire has a good explanation about Systemless root, and how it works: http://xdaforums.com/showpost.php?p=63197935

As far as rooting is concerned, you can root without TWRP too, using CF-Auto-Root.
[Nexus 6P General] marceloalvarez:
Hello, this is the first time I 'll root my NEXUS 6P , before I possessed NEXUS 5, NEXUS S and I see the process changed from the NEXUS 5. My questions are ( for android 6.0.1):

1) Using TWRP 3.0.0.1 is necessary flash modified boot.img ?

2) If necessary modified boot.img flash , I can flash directly ElementalX - N6P

3) MCH19I is wrong and really should be MHC19I

Tanks so much!
[Nexus 6P General] Heisenberg:
1. The guide clearly states you only need a modified boot.img if you're using the Android N Developer Preview.

2. See above.

3. I'll fix that. Actually, I just searched the page and can't find MCH19I anywhere.
[Nexus 6P General] Prattham:
So I'm on pure nexus rom

But i want to return to stock

But i don't want to lose my internal storage

I see there is guide for that

But i want twrp recovery and root as well

So what I'm asking is can i have both of them and go back to stock?

Or when i return to stock then after i have to install twrp again and root?

Also flashing the stock images won't lock my bootloader automatically right? Until i specify the command?

Cheers ?
[Nexus 6P General] Heisenberg:
The section you want is section 11. You can choose not to flash the recovery.img when you flash the factory images, and you'll keep TWRP. There's no way around losing root though so you'll have to flash that again. The bootloader will remain unlocked until you deliberately give the "fastboot flashing lock" command.
[Nexus 6P General] MrKaon:
I'm going to root my Nexus 6P in few hours wanted to ask which version of SuperSU shall I use (Stable or Beta)? Also would that use System less method by default?
[Nexus 6P General] nathanchance:
Either one but I personally go with the beta (which is currently 2.70) as there are a lot of nice fixes and not many issues. I am not having any problems with it. Any SuperSU version since 2.64 will prioritize system root first then do systemless if that is not possible. In the case of stock 6.0.1, it will be systemless.
[Nexus 6P General] dyingearth:
Nope. I have systemless root with Android Pay and just paid for a salad with it. Mind you, I did have to change /root/bin permission to 751 and that seem to have done the trick.
[Nexus 6P General] gts24:
OK , so your method is interesting vs this:

http://xdaforums.com/showpost.php?p=66018563&postcount=117

does your method adversely affect root access at all? **Actually I don't even see a bin folder under /root .
[Nexus 6P General] bustinstugots24:
[MENTION=6842057]nathanchance[/MENTION], [MENTION=4153349]Heisenberg[/MENTION]

I was able to unlock my bootloader successfully. I was able to push TWRP 3.0.0.-1

My device turns on fine. I dropped SuperSu on my internal portion of the phone but when I reboot in to recovery, my SD partion is blank. It shows absolutely nothing. I've been at this now for a few hours and can't figure out what went wrong and I'm not exactly sure what to do to resolve this issue. I am currently on build MMB29P

Any help would be greatly appreciated. I'm kind of in panic mode. Though the phone is working fine I've never dealt with this before. I've rooted my old HTC phones, my LG G3, my samsung tablet and my nexus 7 with no issue. First time I am seeing TWRP not able to read the internal directory. There is a portion in the file system that says SDCARD but its completely blank.
[Nexus 6P General] nathanchance:
Either use TWRP 3.0.0-0 on MMB29P or flash MHC19I. I recall running into that problem right when I got my 6P a week ago.
[Nexus 6P General] bustinstugots24:
How can I flash MHC19I if I can't get in to TWRP and my system files to flash anything? I'm confused.
[Nexus 6P General] nathanchance:
Step 9 of this guide :)
[Nexus 6P General] bustinstugots24:
Now I'm really in panic mode. Now I am stuck at the Google screen and it just sits there. I let it sit for over 20 minutes and nothing happened. Now my computer isn't detecting the phone but some how I can manually get in to the bootloader still and get in to TWRP but I can't do anything else. Now I'm really lost. Any help would be appreciated.
[Nexus 6P General] nathanchance:
So your computer doesn't recognize the phone while in fastboot? Like when you type fastboot devices it doesn't show?
[Nexus 6P General] Heisenberg:
Because if you read the guide you don't use TWRP for that, you use fastboot.

Get into the bootloader and get fastboot working, it'll be fine. What version of TWRP do you have installed?
[Nexus 6P General] nathanchance:
Glad you got up and running :) I'd recommend checking out my Pure Nexus installation guide and FAQs in the second post of that thread or my signature. If you have any questions, ping me over there.

Back up system, data, boot, and vendor.
[Nexus 6P General] bustinstugots24:
Can I update the newest Ota by flashing it using g tarp 3.0.0.0?

I thought I read you had to be on. 3.0.0.1 which as you know gave me tons of issues not being able to view the internal SD card

---------- Post added at 02:01 AM ---------- Previous post was at 02:00 AM ----------

Can I update the newest Ota by flashing it using twrp 3.0.0.0?

I thought I read you had to be on. 3.0.0.1 which as you know gave me tons of issues not being able to view the internal SD card
[Nexus 6P General] nathanchance:
You can try using the ADB sideload feature of TWRP to take OTA updates but I would rather just fastboot flash the parts. Yes, if you update to MHC19I, you will need TWRP 3.0.0-1.
[Nexus 6P General] shreyashbardia@gmail.com:
Want to unroot and go back to stock ROM

Firstly, Thanks for this comprehensive guide. I am on Version MHC19I. I faced no problem whatsoever in rooting the device. I now want to unroot it and go back to stock. As per point number 10 in this guide i firstly Factory reset my N6P. After that i downladed the zip from the link you mentioned of version MHC19I. Then i Unzipped it, all i got is a single file with no extension "angler-mhc19i-factory-fb2128bf". To cross out the possibility that it might be a one time error i also downloaded the factory tgz file of previous version MMB29V but still got a single file.

Can u please help me out as to where i can get all the img files, flash-all and zip files that you mentioned in the procedure.
[Nexus 6P General] Heisenberg:
The file inside is also an archive, you need to extract it. I wouldn't use the flash-all script though, just follow the instructions as they're written.
[Nexus 6P General] shreyashbardia@gmail.com:
Thanx a lot!

OMG! Yes it is, thanx a lot Heisenberg. Yep...ll do. Thanx for the prompt reply.
[Nexus 6P General] ps000000:
Thanks for the guide.

My second hand 6P - 64GB is on the way (just ordered).
[Nexus 6P General] Heisenberg:
Updated 2016/04/01!

Added:

12. How To ADB Sideload an OTA update zip.
[Nexus 6P General] babuja:
Hi,

need some help. Just downloaded twrp but no md5 info available. How can i check file integrity?

https://dl.twrp.me/angler/twrp-3.0.0-1-angler.img.html
[Nexus 6P General] DJBhardwaj:
Files available directly from the TWRP source are extremely safe. If you still want to check, the md5 for the file is available on the same link that you mentioned, just check below 'Download twrp-3.0.0-1-angler.img' title.
[Nexus 6P General] trlash:
Thanks Heisenberg this guide is very in-depth. My only question is even with flashing the modified boot and 3.0.0.1 twrp till hangs on main screen boot loop. I'd this a known error on the n preview, I'm very familiar with flashing just can't seem to get it working.

I kept rereading thinking I missed a step but I don't think I am. Thanks for any help.

Figured it out just tried the steps in decryption section and worked with flashing 3.0.0.0
[Nexus 6P General] babuja:
Still cant see it....
[Nexus 6P General] nathanchance:
Literally right underneath the giant black Download letters... md5 for the image file.
[Nexus 6P General] Heisenberg:
TWRP 3.0.1-0 has been released, folks:

https://dl.twrp.me/angler/twrp-3.0.1-0-angler.img.html
[Nexus 6P General] dieter9:
Thank you very much Heisenberg! Very clear instructions and worked for the first time! :good::good:
[Nexus 6P General] fLipz:
im ready now [MENTION=4153349]Heisenberg[/MENTION]

this guide deserves a 5 moooore Stars.
[Nexus 6P General] babuja:
I saw it but....

The file "twrp-3.0.1-0-angler.img" file has a md5: B20E0109CA7A9E16AFA6EC778B0FC78D

And the "twrp-3.0.1-0-angler.img.md5" file has a md5: EDD240527329B7DE8B1881124567AE86

Checked md5 ob both files here: http://onlinemd5.com/

I'm no longer talking about TWRP 30.0.1 but 3.0.1.0
[Nexus 6P General] Einwod:
"twrp-3.0.1-0-angler.img.md5" is a text file which has the MD5 within, that's all. It's the .img file that you need to check for.
[Nexus 6P General] nathanchance:
You open the MD5 file and copy what's inside it and compare it to the MD5 of the image file. In this case, they match so your file is not corrupted.
[Nexus 6P General] babuja:
OK ok, thanks guys.

Just renamed *.img.md5 to *.txt and there it was the md5.:)