yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] Heisenberg:
There's probably no point in prepping for and taking the OTA. Just flash the latest build with fastboot to update. Xposed works fine with 6.0.1. So:

Flash latest build with fastboot

Flash TWRP

Flash SuperSU 2.62
[Nexus 6P General] 89titanium:
Flashing latest build means just the boot.img right? None of the other files in that zip?

Also, in the guide, the traditional method refers to step 9 which I believe is now step 10.
[Nexus 6P General] Heisenberg:
No, if you want to update you need to flash all components of the factory images zip. Just don't flash/format userdata. I'll fix the reference to the wrong section.
[Nexus 6P General] ^tyrant^:
Like titanium asked. I'm not sure what you mean by flash latest build.

Also I should have stated I have su 2.52 which if i read right i have to flash stock system.img and boot.img since I flashed the modified one for root
[Nexus 6P General] mouse100:
I've 6.0 build L with root, twrp and xposed. Now I'd like to upgrade to 6.0.1 so I was reading OP at point 11 and the instructions are very clear. But I don't understand only last point:

"Once the update has completed you can flash the appropriate modified boot.img, TWRP recovery, and SuperSU to gain root."

So where I can find boot.img, twrp and SuperSU versions for the 6.0.1? And which is the procedure in this case? Since I've read in another thread that once installed twrp it will ask you to install root for you. Should I skip this?

Should I root with method 6 (systemless) or 7 (traditional)? In case 6 do I still need the modified boot.img?

Inviato dal mio Nexus 6P utilizzando Tapatalk
[Nexus 6P General] Heisenberg:
Don't bother with section 11, I'll probably remove that because it's far easier just to use section 10 to update via flashing the latest build. So just flash the latest build with fastboot (don't flash/format userdata though). Then flash TWRP. Then just flash systemless root. Easy as pie.
[Nexus 6P General] Heisenberg:
Download the factory images for the latest build (MMB29M). Follow instructions in section 10 to flash them. Flash TWRP. Flash systemless SuperSU.
[Nexus 6P General] AndroidPurity:
I guess I stumped people with my driver issues earlier. However I finally got the driver to install for the 'update from adb' hardware ID. Instead of browsing to the file path manually choosing and forcing what driver to install. I was able to side load 6.0.1 now. Next to unlock and root! Woohoo!

Since we are on topic about it, from what I understood from reading the past few weeks I thought the only method for 6.0+ was system less root. That is why I have held off from rooting for a few weeks. Figured since its a whole new root method I would let the kinks get worked out first. But from this thread it looks like you can still do either way with 6.0.1. So just to clarify you can do either way with 6.0.1 build MMB29M, right?

If you can do either system or systemless root, then what (if any) is the benefit of system less root? If there is any. If there is a post on the difference please feel free to direct me to it, I have not seen one.
[Nexus 6P General] cmlohff:
Just to get clarification, will flashing the new bootloader re-lock the bootloader and thus require unlocking of the bootloader again?
[Nexus 6P General] Heisenberg:
You can do either way with MMB29M, there's a link to the modified boot.img for it in the traditional root section. There's a full breakdown of systemless root in Chainfire's thread:

http://xdaforums.com/apps/supersu/wip-android-6-0-marshmellow-t3219344
[Nexus 6P General] Heisenberg:
No, nothing locks the bootloader except for the "fastboot flashing lock" command.
[Nexus 6P General] ^tyrant^:
ahh ok gotcha.. i will go ahead and update it using this build then..

Thanks for all the support!
[Nexus 6P General] 89titanium:
Is flashing TWRP again necessary? Why? Why go to stock recovery just to go back to TWRP?
[Nexus 6P General] Heisenberg:
When I updated I didn't flash the recovery image but I somehow ended up with the sock recovery afterwards anyway. Skip the recovery image and try your luck.
[Nexus 6P General] a1exus:
I got system update available massage, I unlocked bootloader and did some modifications to system partition, so if I flash system.img, am i ok to take update?
[Nexus 6P General] jesssiii:
Systemless refers to the su not being in system. You can still grant root to apps and modify system just fine.
[Nexus 6P General] Heisenberg:
You'd also need to make sure your boot.img and recovery are stock too. You might as well just flash the whole new build with fastboot.
[Nexus 6P General] a1exus:
I didn't do any modifications to boot or recovery, just "flash unlock" and /system/build.prop, I should be okay to take OTA, right?
[Nexus 6P General] 89titanium:
Can anybody weigh in on the new method (with 6.0.1 update) breaking Android Pay? Looks to be a couple occurrences in another thread.

Edit: false alarm. Seems to be a solution in the SuperSU thread. Now also in the Android Pay thread.
[Nexus 6P General] Heisenberg:
Updated 2015/12/11!

Edited:

I've removed the section explaining how to take an OTA update, and replaced it with a section explaining how to update to the latest build via fastboot. It's all-round the easier option.
[Nexus 6P General] Heisenberg:
You never flashed a recovery? Did you live-boot it instead? You must have a modified boot.img, otherwise it'd be impossible for you to have root. If you're going to be flashing the system and boot images with fastboot just so you can take an OTA, you might as well just flash the other handful of images and update that way. Much easier.
[Nexus 6P General] a1exus:
yeah, I booted into twrp and I don't have root, I just need to flash system to bring it back to stock, but I hear you on just flashing latest build instead.
[Nexus 6P General] footwedge:
I am also getting the "No Command" error after loading TWRP 2.8.7.2 It's like the partition isn't staying. TWRP stays there until I reboot, then if I go in to recovery, I get "No Command". I followed the instructions on the first page. I didn't decrypt as I'm using TWRP 2.8.7.1 or higher.

Anyone have any idea why I'm having this problem? Thanks!
[Nexus 6P General] 89titanium:
Sweet, looks much better. At the end of step 10, I would add to re-flash TWRP if needed, and re-flash the latest SuperSU.
[Nexus 6P General] Heisenberg:
How did you modify /system if you don't have root?

I haven't had this issue. Rebooted multiple times, used TWRP multiple times too and it's persisting with no problems.

Yes you would, I actually meant to add that at the end, I'll do that now.
[Nexus 6P General] emanoj.i9103:
Is there a way we could flash the radio from twrp? I tried to do a dd from terminal too but couldn't recognize partition by name. I might have done something incorrectly and device is stuck at boot animation. kindly assist.

I'll flash from fastboot later in the day when i have a pc access. Just wondering if it's fixable within recovery. TIA
[Nexus 6P General] MegaHz:
Hi [MENTION=4153349]Heisenberg[/MENTION] and the rest of the team,

camera issue for me as well, any ideas?

basically i was rooted on 6.0, i got an ota for 6.0.1, so i flashed the stock imgs as instructed, then booted normaly, installed the ota, rebooted, thnen installed the twrp, boot.img and supersu.

camera is not working..
[Nexus 6P General] Heisenberg:
Not that I'm aware of.

Hmm, which boot.img did you flash?
[Nexus 6P General] MegaHz:
the modified K one.
[Nexus 6P General] Heisenberg:
OK, I think that's what's causing your issue. There's a link to a modified MMB29M boot.img in the section for traditional root, flash that and hopefully you'll be OK.
[Nexus 6P General] ^tyrant^:
Your Android pay works?

Can you link to the threads for getting it to work?
[Nexus 6P General] videy.hie:
Thanks man it work perfectlyy

Thanks man it work perfectlyy
[Nexus 6P General] footwedge:
Do you think it could be from me updating to 6.0.1 before attempting to root? Tonight, I may try flashing back to stock and then rooting first.

Thanks!
[Nexus 6P General] emanoj.i9103:
There's a thanks button to convey that. Can I request to not quote the entire OP, but his name alone if you need to write out?
[Nexus 6P General] cturbos:
Installing twrp

Heisenberg

What am I doing wrong?I'm trying to flash the twrp on my 6.0.1 ,it wont do it.Any ideas?

Thank you
[Nexus 6P General] 89titanium:
http://xdaforums.com/showthread.php?t=3260062

Android Pay while rooted works (for me)

Last few posts explain it.
[Nexus 6P General] ^tyrant^:
Thanks, do you happen to have busybox installed? or xposed ? I have them both installed..

I see the post about deleting a file from SU2.62 and people say it works, i guess ill just delete it and see if mine works.
[Nexus 6P General] 89titanium:
Mine works on the old systemless SU2.52, no Xposed or BusyBox. Holding off on 6.0.1, but those emojis are pretty sweet.
[Nexus 6P General] ^tyrant^:
i may remove BB, but i use Xposed.. so that might be the death of my Pay.. if it is, it is.. until they crack it
[Nexus 6P General] MegaHz:
Thanks mate, it worked just fine.
[Nexus 6P General] Zlatty:
Is there a new way to get TWRP and SuperSU to stick on 6.0.1? I get into a bootloop using the guide after I updated from 6.0 to 6.0.1 (and lost root).
[Nexus 6P General] kbapk:
Up
[Nexus 6P General] BeerFuelledDude:
This is my first Android - so apologies for n00b questions.

Currently, 6P with systemless root on 6.0...I'd like to update to 6.0.1

* My phone build is MDB08L - I just download MMB29M and use that, no problems?

* I downloaded a boot.img to root originally and the OP says to flash boot.img from the 6.0.1 files - do I need a newer rootable boot.img from somewhere?

* I'm using TWRP 2.7.8.2, but my phone screwed up, originally, and I lost encryption. I tried re-activating encryption, but it just sat on the booting animation. I restarted the phone with an off/on and it booted ok. Bit scared of doing it again but would like to re-encrypt...and advice?

The main thing is I don't want to reset everything again because it's such a pain signing in to everything again.

Thanks for any advice!
[Nexus 6P General] Headcase_Fargone:
Just followed this step-by-step and successfully updated my rooted 6.0 to 6.0.1, build MMB29M. Of course I lost root. I see a few folks here having trouble getting it back, so I wanted to make sure what I need before I attempt it.

I already downloaded the TWRP 2.8.7.2 image. I assume I also need a modified MMB29M boot.img? If so, where can I get that? Then what?

Thanks much in advanced.
[Nexus 6P General] Zlatty:
We should all form a club. Rootless in 6.0.1!

PS: It seems that Chainfire needs to update the zips on this thread: http://xdaforums.com/apps/supersu/wip-android-6-0-marshmellow-t3219344
[Nexus 6P General] Headcase_Fargone:
I actually got impatient and just tried it. First I flashed the TWRP image via fastboot, then the boot.img from here. Rebooted into recovery (now TWRP) and flashed SuperSU 2.52, the same version I was using before. So far root is working and has persisted through a few reboots, camera works fine, etc. I'm in the process of installing Xposed now.
[Nexus 6P General] Heisenberg:
No I doubt that's it.

Do you have file extensions turned off in Windows Explorer? Can I see a screenshot of your fastboot folder?

No modified boot.img is needed if you use systemless root. You can encrypt from the Security menu in Settings.

If you're going to use systemless root you don't need a modified boot.img, if you want traditional root the modified boot.img is linked in the traditional root section.
[Nexus 6P General] cturbos:
Heisnberg

After fooling around with the phone,re flashing the 6.0.1 again,I came across a great guy on youtube,a step by step guide on how to install recovery and both systemless and the old style root,following the instructions,I was able to flash twrp and the modified mmb29m img.and flashed the root 2.52 beta.I'll leave a link to who ever need a tutorial on the subject.

Thank you very much for all the support....

https://www.youtube.com/watch?v=cjDcOtLlcc4
[Nexus 6P General] Heisenberg:
Isn't that just the exact same information that's already here??
[Nexus 6P General] jjardinero.01:
can i just go to the directory of the extracted factory image and issue the "flash-all.bat" instead of flashing the images one by one? Will that work? Is there any difference?
[Nexus 6P General] cturbos:
Heisenberg

Yes it is, with visuals,which makes it easier to follow by a noob like me.

Thank you for your tutorials and patience...
[Nexus 6P General] Heisenberg:
You could, but it doesn't always work. And it'll wipe your whole phone unless you edit the script. It's better to just follow the instructions as I've written them.
[Nexus 6P General] Zlatty:
Neat. Now 2.52 is not system-less right? Does Android Pay work?
[Nexus 6P General] Xenotrumpet:
No, unless you're using systemless, traditional will break Android Pay.
[Nexus 6P General] Zlatty:
Right. I just wanted to confirm that 2.52 breaks Android Pay. I kinda got used to it, and would like to re-root my phone again system-lessly.
[Nexus 6P General] Xenotrumpet:
You'll have to re-flash stock system and boot.img and flash 2.61. No need for a modified boot image.
[Nexus 6P General] footwedge:
No idea what has changed, but I got home from work and flashed TWRP just like last night, and now it's working!? No more "No Command" error! All good, thanks for the help!
[Nexus 6P General] Zlatty:
Thanks! That worked like a charm.

This whole monthly process is going to be a pain in the ass as we are going to have to do this ish every month. Are the emojis worth it?
[Nexus 6P General] BabyBMW:
Hi. I bought a used Nexus 6P and it has the PureNexus ROM. I really want to go back to stock, but I still don't exactly understand how the custom menu even works. Is there a highly simplified version that can guarantee I don't brick my phone and return it back to stock Marshmallow? Please help!
[Nexus 6P General] a1exus:
Step #11 covers exactly that
[Nexus 6P General] BabyBMW:
Thanks for replying. Do I still need a recovery/backup my IMEI data? Can I use a mac, or just PC?

Sorry, but the anxiety for bricking this phone and loosing 800$ is pretty rough.

Cheers
[Nexus 6P General] a1exus:
Backup is always a good idea, anywhere where uou can use adb and fastboot should work, read it and understand it before doing anything
[Nexus 6P General] Heisenberg:
You should definitely backup your EFS with TWRP, that should be the first thing you do. You can use Mac, but the commands are a little different, there's a certain prefix you need to add to each command, and setting it up is a little different (there are guides online on how to install adb/fastboot on a Mac). So just make sure you backup your EFS first (section 5), then follow section 11 to get the stock ROM back on it.
[Nexus 6P General] BabyBMW:
Thank you, I'm going to try it on my friends PC. I will look into step 5, then right into step 11. I hope everything works out aha. By chance, do you know how long this entire process usually takes (steps respectively)?
[Nexus 6P General] Heisenberg:
I forgot to mention, the device probably still has an unlocked bootloader and TWRP recovery installed but if it doesn't you'll need to do those first. Keep in mind that if you do need to unlock the bootloader again it'll wipe the device. So, if you need to unlock the bootloader it'll take a few minutes. If you need to flash TWRP it'll take maybe a minute. Making an EFS backup will take a minute or so. Flashing the factory images will take a few minutes.
[Nexus 6P General] Hans Kruger:
---------- Post added at 08:24 AM ---------- Previous post was at 07:57 AM ----------

[/COLOR]

Here it doesnt say that we need to flash "systemless root" BOOT image using fastboot command . we still need to flash it for attaining root, right?​
[Nexus 6P General] Heisenberg:
It doesn't say that because it isn't required anymore, SuperSU 2.61+ patches the boot.img for you when you flash the SuperSU zip.
[Nexus 6P General] sjandroiddeveloper:
[MENTION=4153349]Heisenberg[/MENTION]

I am confused, a little help would be great

I read after googling that systemless root does require a modified boot image while with traditional one you need to flash supersu using recovery that makes changes in system partition and a modified boot image is not required

But here the the opposite is mentioned

Thanks in advance
[Nexus 6P General] adamo86:
Does layers work with systemless root

Also can custom roms be flashed e.g pure rom
[Nexus 6P General] cmlohff:
Systemless root does in fact require a modified boot image to work. The difference now is that the supersu installer handles the patching of the boot image so the user does not have to flash it. There is no need to flash a modified boot image now if you are coming from stock.

Post #3 in the link below should explain this in more detail.

http://xdaforums.com/apps/supersu/wip-android-6-0-marshmellow-t3219344
[Nexus 6P General] sjandroiddeveloper:
Thanks that explained about systemless

One more thing, why does traditional rooting on Nexus 6p requires a modified boot image ( I am asking because I also own a moto g ( falcon) and to root I just need to flash SuperSU , nothing else)

Why can't just flashing supersu do the thing
[Nexus 6P General] goddammit:
I had a rooted (systemless) 6.0.0 version and I have followed tutorial number 10 to upgrade to 6.0.1. My root is gone now, how do I get it back?

UPDATE

So I've flashed TWRP recovery and trying to install SuperSu 2.62, but there is an error saying "Unable to mount storage."
[Nexus 6P General] u89taper:
Posting to share my experience updating from Stock Android 6.0.0 (MDB08M) with SuperSU 2.52 (traditional /system modified root) to Stock Android 6.0.1 (MMB29M) with SuperSU 2.61 (new school systemless root).

I was really nervous about making the switch, so I did quite a bit of reading, mainly from these posts:

heisenberg's Step by Step Guide

chainfire's wealth of knowledge

steveo17's steps

I think I may have done a few unnecessary steps but I'm happy to report that things couldn't have gone more smoothly and everything is working as I hoped! Data was not erased and Systemless Root is working. Also, I have the new emojis including the middle finger. :P

1) On my phone I downloaded SuperSU 2.61 from this post

2) On my computer I downloaded Android 6.0.1 (MMB29M) and TWRP 2.8.7.2

3) Extracted Android 6.0.1 following Step 10 of heisenberg's guide

4) Flashed Android 6.0.1 following Step 10 of heisenberg's guide making note that Chainfire says when switching to Systemless Root:

Also make note that we are installing the Stock boot.img because, as drothenberger says:

5) Flashed TWRP 2.8.7.2

6) Rebooted Bootloader

7) Boot into Recovery/TWRP 2.8.7.2 being mindful that Chainfire says:

8) Reboot Recovery/TWRP 2.8.7.2 (I feel like I've read it's good to do this to make sure TWRP is fully installed). Be mindful that Chainfire says,

9) Install SuperSU 2.61 in Recovery/TWRP 2.8.7.2 by navigating to the location where you stored it on your phone. Because we have flashed the stock boot.img which SuperSU 2.61 patches, there is no need for a modified boot.img. Again,

10) Reboot System

From here, the system took a short amount of time to start up while it updated apps, but everything is working perfectly.

Everything is in place, right where it was before the update (apps, texts, photos, etc).

AdAway is working as is Android Pay.

WiFi Tethering is working as is Data while on a Phone Call (Verizon)

Thank you to those who are way smarter than me and way ballsier than me to put together these steps. Definitely would never, in a million years been able to figure any of this stuff out, haha!
[Nexus 6P General] jesssiii:
It's Marshmallow that requires that, not the 6P.
[Nexus 6P General] jlgevo:
adb not seeing my device

I have a rooted nexus 6p with a fresh install of marshmallow and adb is not seeing the device. any suggestions?

The screen is on

ADB is enabled

i have a notification saying usb debugging connected
[Nexus 6P General] goddammit:
Really need help - I'm stuck here. Why can't I flash SuperSU 2.62 with TWRP - it's saying "E:Unable to mount storage" (This was after following tutorial 10)

UPDATE: I've read the last 20 pages of this thread and there's nothing that relates to my situation. How can this still be working for someone? I've followed the instructions to the letter.
[Nexus 6P General] chuck4100:
I have a quick question on this "systemless" root. What exactly breaks this or rather makes it pointless? Like does flashing Xposed mess with it? Or things like Busybox or L Speed mod? Does moving apps to /system/app/ break it?

I really don't get how this stuff works deep down so.....ya. Thanks for any insight/explanation.
[Nexus 6P General] Heisenberg:
What version of TWRP? Did you boot into Android at all before attempting to flash SuperSU? Did you flash anything other than the factory images?

Nothing really breaks the systemless root. Xposed works fine, you should still be able to move apps to the system partition.
[Nexus 6P General] goddammit:
Steps I took first time:

1. Followed tutorial 10 exactly.

2. Rebooted afterwards and allowed apps to be updated.

3. Rebooted the phone back into bootloader and flashed TWRP 2.8.7.2 (the latest I believe)

4. Rebooted into recovery, entered "Install" in TWRP, uploaded SuperSU 2.62 zip to /sdcard/ and tried to flash it - that's when I got the error "E:Unable to mount storage"

Steps I took the second time:

1. Followed tutorial 10 exactly.

2. Did fastboot reboot-bootloader

3. Flashed TWRP 2.8.7.2

4. Did fastboot reboot-bootloader

4. Booted recovery and entered "Install" in TWRP, uploaded SuperSU 2.62 zip to /sdcard/ and tried to flash it - that's when I got the error "E:Unable to mount storage"
[Nexus 6P General] jesssiii:
Put the SuperSU zip on your phone FIRST, then boot into twrp and flash.
[Nexus 6P General] Heisenberg:
I'm stumped. Are you encrypted?

It shouldn't matter when the file is put on the phone.
[Nexus 6P General] goddammit:
But how am I supposed to do that? The only way I know how to upload SuperSu zip is through "adb push" and it only works when TWRP is booted. TWRP only shows me system folders which I cannot access when phone is booted the normal way - this is a catch 22. Another thing - whenever I put something on /sdcard/ folder as soon as I reboot TWRP - it's all gone.

---------- Post added at 11:33 PM ---------- Previous post was at 11:27 PM ----------

Yes. I believe that was a default option on the phone and I never touched it. Is that a problem? The first time I rooted it - I followed the original systemless tutorial with MDB08M and SuperSu 2.56 I believe. Everything was fine. Surely I shouldn't be the only one having this problem, since I've done everything "by the book"?
[Nexus 6P General] Heisenberg:
As far as I can tell you've done everything right. The only thing I can think of is booting into Android and using a file manager to delete the TWRP folder from your storage. Then boot into the bootloader, flash it again, reboot bootloader, and enter TWRP and try again.
[Nexus 6P General] goddammit:
Thanks. Just tried that, but no change. To clarify, the only TWRP folder I could find when booted into Android was in /root/sdcard, so that was the one I deleted, although it was empty.
[Nexus 6P General] Heisenberg:
Yeah that's the one I meant. I really don't know what's going on, hopefully someone else here can think of what's happening.
[Nexus 6P General] EarlZ:
Im having some issues when the phone is already in boot loader mode, my PC cannot communicate with it.

adb version shows the adriod bridge

adb devices also shows me device serial number

using fastboot devices command when the phone is in bootloader mode will not show the serial number

using adb reboot bootloader does work but nothing else after that point

I tried using fastboot flashing unlock and it says waiting for device

I already have USB debugging and OEM unlock toggled.

Not sure what I missed..
[Nexus 6P General] Heisenberg:
What driver do you have installed?
[Nexus 6P General] EarlZ:
I found another video to help me solve this, despite the platform tools installing USB drivers turns out under device manager it didnt install anything now Im golden!