yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] droid_1989:
Will these modified img files work with the Developer Previrew 5?
[Nexus 6P General] mitchdickson:
Goodness man. Read the OP and last two pages maybe?
[Nexus 6P General] BlakeDC:
So i'm currently unencrypted...if i updated my boot.img is it gonna wipe my data? D:

Normally I would trial and error...but i don't wanna restore lol. Asking seems way easier.
[Nexus 6P General] jawonder:
Anyone remember how to get rid of the Developer program popup every time you restart your phone ?.
[Nexus 6P General] rishabh56:
can anybody post mirror of modified boot image of npd90g. i am getting invalid response from server while downloading from AFH

it seems fine now
[Nexus 6P General] jaythenut:
If you flash ota zip then boot img your be good
[Nexus 6P General] asj0422:
[MENTION=4918351]XAL2[/MENTION], [MENTION=3070446]BlakeDC[/MENTION], [MENTION=5230689]rishabh56[/MENTION] and others, if you're having problems updating to dp5 and don't want to lose your data, just follow the steps in this guide: http://xdaforums.com/nexus-6p/general/guide-android-nougat-developer-preview-t3410906

You don't have to worry about TWRP not working, or whether you're encrypted or not. Just need fastboot, twrp, and supersu.
[Nexus 6P General] XAL2:
I'm actually all updated. Thank you though. I just used Heisenbergs guide.
[Nexus 6P General] kenbrownstone:
If I wanted to go back to cm or aosip from dp5 what is it I need to do? I flashed the other vendor for those builds but it bootloops. Do I need to change bootloader?I know there is something I'm misskng
[Nexus 6P General] BlakeDC:
Odd thing is I already flashed the OTA via TWRP followed by SU. Booted up still unencrypted and on old modified boot.img. Maybe I'll just ignore it and keep on since I'll be going to N soon.
[Nexus 6P General] SlimSnoopOS:
If you flash a stock, boot.img from a factory image for Marshmallow or Nougat then boot, you will go through the encryption process on boot.

SuperSU does a backup and restores the older boot.img that was in place prior to your DP5 flash process. It is important to flash the modified kernel (or a custom kernel if one desires) AFTER SuperSU if flashing the OTA, SuperSU, and modified boot all in one session.
[Nexus 6P General] Tigerstown:
This is a thread for people who run their phone decrypted. So that guide is for people wanting to run N with encryption why would you post that here?
[Nexus 6P General] kenbrownstone:
Anyone got the layers apk that will work on DP builds? Found one in thread but can download ,says it's been trashed on Google drive
[Nexus 6P General] holla420:
I have it. I'll see if I can upload it...https://drive.google.com/file/d/0B6DDdWOgUhVVdEtPbGhvcmxQb2c/view?usp=drivesdk
[Nexus 6P General] asj0422:
B/c they were having issues updating - glad to see that at least one of them got it though. Apparently the method in the encrypted thread works for updating if you're decrypted as well, according to some users there.
[Nexus 6P General] Tigerstown:
so according to others your telling people in my thread for decrypted device to follow a guide that is clearly for encrypted device that users don't want to decrypt just to be clear? Sounds good. Smh
[Nexus 6P General] kickenwing13:
IT WORKED!!!!! First time I've used fastboot!!! Thank you guys. I see why you get so frustrated with us newbs... thank you all thought. I'm really going to try to get comfortable with fastboot.
[Nexus 6P General] ArmStrongDickPunch:
Does the modified boot for dp5 pre rooted or do I need to flash SuperSU after? I'm about to update to dp5 from dp4 and just double checking

Flash system, vendor, modified boot, bootloader (unless it's the same then let me know) then SuperSU (if the modified boot doesn't include root)

Thanks for the clarification if someone would
[Nexus 6P General] asj0422:
not quite - it works for devices that are decrypted as well, and allows them to stay decrypted, apparently. as a user over there was explaining, some users were having issues with losing (not wanting to wipe) their data, but if they were decrypted, they'd have issues when they tried updating, and apparently, the steps outlined in that thread's OP allowed those users to keep their data and stay decrypted.

no harm meant, just trying to lend a helping hand :)
[Nexus 6P General] Rohit jat:
somehow my twrp is stuck on its logo ?? formated userdata but cant boot into twrp ?
[Nexus 6P General] Won't be druv:
Are you encrypted? Twrp does not work on an encrypted device.
[Nexus 6P General] asj0422:
Wait to flash your vendor image as described in the guide I linked above - twrp doesn't work with N currently, unless you use the modified boot image.
[Nexus 6P General] Rohit jat:
thats what my problem is i flashed modified boot image but no help :confused::confused::confused: i will test your method though

---------- Post added at 08:51 AM ---------- Previous post was at 08:47 AM ----------

if i m not wrong i am not using encrypted device but how did u decryted ur device ?
[Nexus 6P General] Won't be druv:
How did I decrypt my device? I accidentally booted without the modified boot image and then used wugfresh's nexus toolkit to rectify things.
[Nexus 6P General] holla420:
You will have to flash SuperSU by itself after the imgs. Boot to system after imgs then flash SuperSU.
[Nexus 6P General] Tigerstown:
New Aug Imgs are live. I have a few more hours of work then I'll be heading home to get the updated boot.img out for us.
[Nexus 6P General] Tigerstown:
OP updated to Aug updates. Enjoy. Tested as always be my good friend [MENTION=4286591]holla420[/MENTION]
[Nexus 6P General] treIII:
Can I flash modified boot for dev preview 5 if I'm not rooted? And I mean using fast boot. Thanks
[Nexus 6P General] holla420:
Yes u can. Flash all proper imgs in fastboot and your good to go.
[Nexus 6P General] thehotboy:
Hey can anyone post a mirror for the latest N boot img? AFH has been down for a while now
[Nexus 6P General] holla420:
Seems like it's working now.
[Nexus 6P General] dyingearth:
MTC20F didn't pass checksum check.
[Nexus 6P General] DJBhardwaj:
Kindly re-download, possibly using a different browser and check again.
[Nexus 6P General] dyingearth:
Used a second browser still failed the check of ce34faf6cfab5cf5ac63174190cccc971d2f4944852618983ead53d98d9bf255 that was published at https://developers.google.com/android/nexus/images for MTC20F
[Nexus 6P General] DJBhardwaj:
Wait, you are checking that checksum for the modified boot.img?
[Nexus 6P General] mitchdickson:
This is incredible.
[Nexus 6P General] DLloyd:
Deleted
[Nexus 6P General] microcox:
Hey guys, I was trying to get back to stock but I must have screwed up somewhere, because my recovery seems corrupted (the dead Android guy, warning sign and 'no command' message aren't good, right ?). Everything else is working but I believe I need the recovery to get the OTA :-p

Before that I was on the unencrypted boot from this thread (npd35k) and then ElementalX kernel (npd35k) + twrp + systemless root.

I flashed stock bootloader, radio, boot, cache, recovery, then rebooted.

Am I right to think I can't reinstall the stock recovery without wiping everything, now that I am encrypted again?

And where did I screwed up?

Thanks!
[Nexus 6P General] DJBhardwaj:
You're not at all screwed up. That is the stock recovery behavior. When on that screen, press & hold the power button, and tap the volume up button once. You shall then see the stock recovery screen. :good:
[Nexus 6P General] microcox:
Woohoo! That was both really comforting and really interesting. Thanks a lot mate! :D
[Nexus 6P General] iduser4:
I'm on systemless root but i want to decyrpt my 6p. So so do i just flash the boot img that fits for my build? Or I can't flash it since its traditional root?
[Nexus 6P General] DJBhardwaj:
Just go ahead and flash the boot image corresponding to your build number.
[Nexus 6P General] Tigerstown:
Got a update coming for N. I compiled my own kernel and I was able to add permissive enforcing I'll throw that up later and I also have a nice Android N Rom I'm going to go ahead and post later today too
[Nexus 6P General] Tigerstown:
Did you ever alive your issue?
[Nexus 6P General] holla420:
Gotta give it up to [MENTION=5317224]Tigerstown[/MENTION] for his kernel and ROM. Both are running very smooth. Mad props bruh. Banging so far.
[Nexus 6P General] BakedTator:
[MENTION=5317224]Tigerstown[/MENTION] , looking forward to checking out your Android n rom man
[Nexus 6P General] Tigerstown:
man i was going to post it today but i heard that offical N is being relesed Monday so i might as well just wait cause when it drops ill need to update my custom kernel and my rom to offical source. i just dont see the point in using all that time to get a DP5 rom out when new stuff drops monday..but the Rom is nice people should definitely enjoy it. glad to hear your looking forward to it. :)
[Nexus 6P General] BakedTator:
Looking forward brother...you always give high quality stuff...thanks for all your hard work man...hit me up on hangouts
[Nexus 6P General] jesssiii:
For the 6P? [emoji106]

Nexus 6P
[Nexus 6P General] DJBhardwaj:
Yes. :highfive:
[Nexus 6P General] Tigerstown:
That is correct I was going to post custom kernel and Rom Friday till I heard the N is coming this week. I do have a custom android N DP5 if anyone wants to try it just PM or email probably faster. My custom kernel does has permissive enforcing too. Which I could edit the Sepolicy anymore on N. I hard coded the source line that have permissive enforcing. I also have a Nexus 6 custom kernel I did yesterday if any of your peeps are on that phone.
[Nexus 6P General] holla420:
Dev of the year right here.
[Nexus 6P General] Tigerstown:
I won't argue this post. Lol. And now that the 8 months of 60 hour work weeks are back to. 40's watch out. :good:
[Nexus 6P General] holla420:
Yea y'all better watch out. The homie bout to hit y'all with fire
[Nexus 6P General] syrkles:
I would like to test ur zip for n pls
[Nexus 6P General] jaythenut:
Waiting for your magic :good:
[Nexus 6P General] yohandesilva1:
And Now We Wait :)
[Nexus 6P General] dadoc04:
posting up for the magic show
[Nexus 6P General] digitalhigh:
https://drive.google.com/open?id=0B0OpOqUNqeKkb19UbGxBV2NPc28

Here you guys go...just tested and working. ;)
[Nexus 6P General] Cares:
Is it an absolute must to decrypt/wipe your device on Android N to achieve root? Or is just a modified boot sufficient?
[Nexus 6P General] BSchild2:
After installing the new OTA (NRD90M) I just flashed the modified boot.img that digitalhigh just posted, flashed TWRP 3.0.2-1 and then flashed the SuperSU zip and my phone booted right up with Root, without having to wipe data or decrypt.
[Nexus 6P General] StrizzMatik:
I downloaded the full zip, removed the stock boot.img from the zip and replaced it with the unsecured DP5 stock kernel, then flashed in TWRP followed by SuperSU. No problems (the 7.0 kernel is identical to the DP5 kernel)
[Nexus 6P General] Cares:
Hmm so I flashed the OTA. Flashed the modified boot that was just posted. Then TWRP 3.0.2-1. Then SuperSU 2.76. Looks like I'm in a bootloop at the boot animation. Should I just keep waiting?

Edit: I'm going to revert to stock N by sideloading the full OTA again and retrying root.

Edit #2: Just went from Stock N and stuck in bootloop again after flashing modified boot, TWRP, and then SuperSU in that order. Hmm not sure what's the problem.
[Nexus 6P General] xadidas4lifex:
Digital with the clutch... Good job bro
[Nexus 6P General] BSchild2:
Try section 11 in Heisenberg's guide then trying again with the root process. http://xdaforums.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
[Nexus 6P General] xastey:
Used FlashFire to flash the version that digitaldash posted.

Booted up with no problems

Edit : My bad it didn't take with FlashFire, but using fastboot seems to work just fine. Was able to boot into recovery and decrypt and install the systemless AdAway patch.

Not sure why FlashFire wouldn't flash it.. o well
[Nexus 6P General] kenbrownstone:
Guys ...What should I do? Flashed N OTA zip..But now twrp stuck on flash screen and of course encrypted..But I can't find my data cable to fix on computer via fastboot..Am I sht out of luck???
[Nexus 6P General] xastey:
You can try FlashFire.. didn't work for me but maybe I did something wrong.
[Nexus 6P General] c_86:
i have an odd issue as well... flashed the OTA update... went to go into TWRP and cannot...

went to bootloader to re-flash TWRP and for some reason nothing is detecting my device... when i go ADB devices, or fastboot devices, nothing is listed... anyone have any ideas?
[Nexus 6P General] xastey:
Ok finally got this to work

-used FlashFire to flash it, this kept root but wasn't able to decrypt in twrp

-tried to use FlashFire to flash twrp /boot.img also the twrp app.. didn't work could of been user error who knows

- flashed the boot.img from digital, this removed root(which I think happened to do my faulty FlashFire try)

- went into twrp, decrypted with pass just fine and flashed the latest SuperSU.

- did have one boot loop but back on my phone typing this.

Was able to get Adaway working with the systemless patch and that's all I wanted hehe
[Nexus 6P General] Zyphur:
I got everything working well for me now from

completely stock N

to rooted N. Went from rooted with PureNexus to stock 6.0.1, erasing everything, then got the Nougat OTA because I was in the Beta program. To get rooted 7 working I did the following: Fastboot flash the Modified N Boot from DigitalHigh, flash TWRP 3.0.2-1, flash SU 2.76. Done. TWRP and Root stick, no bootloops, all good. Have since also installed EX, still all good.
[Nexus 6P General] warfexion:
thanks a ton for the boot image that was my issue!
[Nexus 6P General] bagarwa:
I landed on this thread while looking for modified boot.img that will disable force-encrypt of N image. Is that what this does? I'm asking because another user's subsequent post says "my phone booted right up with Root, without having to wipe data or decrypt." My N6P runnning 6.0.1 is not encrypted right now and I want it to stay that way after I flash N. Will the linked boot.img help me with that?

Also, at least till M, just flashing SuperSu v2.76 used to do disable force-encrypt. Is that no longer the case with N?

---------- Post added at 08:29 PM ---------- Previous post was at 08:28 PM ----------

After doing all that, is your device encrypted or not encrypted?
[Nexus 6P General] mochamoo:
No. You can root without doing either. Search for cf-root. You don't even need twrp. Modified boot not needed either unless you are decrypted. Mine is still encrypted. New twrp 3.0.2-1 works with my encrypted 6p too!
[Nexus 6P General] cmo220:
Deleted
[Nexus 6P General] droid_1989:
How did you flash? I tried replacing the boot.img with the one Digital High posted, zipped it up, tried to flash package through adb sideload, verification errors.
[Nexus 6P General] Xdevillived666:
I stayed unencrypted without flashing any modified boot images on Android N ota ... Flashed twrp, rebooted recovery, formatted user data, reboot twrp again, transferred recent super su and flashed, rebooted phone, unencrypted and rooted running stock N
[Nexus 6P General] BSchild2:
I would try flashing the boot.img using fastboot.
[Nexus 6P General] rahatx7:
Need modified boot.img for N5X
[Nexus 6P General] mitchdickson:
Cool.
[Nexus 6P General] jsminnis:
Do we have system root yet on N or is it still systemless only?
[Nexus 6P General] Tigerstown:
This is for the people that flash the OTA zip I'm guessing? As factory imgs are out and that's what I work off. Well for N I'll be compiling a stock kernel so I can enable permissive at source level as I can't do it the same way on N like I could on MM.

EDIT I have no problem with you linking it here for people who took OTA. Just to be clear. I actually appreciate it and you do great work has I know from HTC GPE. Thanks again
[Nexus 6P General] puertorecon:
I just wanted to say Thank You very much for you work on this modified stock kernel. It work great!!!
[Nexus 6P General] Tigerstown:
Glad to hear it work great for you. That is my goal. :o
[Nexus 6P General] RaDi:
Hi thanks man for posting the updates,

im now on feb update with regular root.. how do I get march update.. I know I have to use the modified boot img posted here .. if someone can walk me through what I have to flash everytime there is a new security update I would really appreciate it. thanks
[Nexus 6P General] Tigerstown:
Myself when new factory imgs drop I just flash all imgs besides recovery and userdata.IMG and I use this boot.img instead of boot.IMG inside new factory imgs. Have you flashed factory imgs before?
[Nexus 6P General] RaDi:
yeah I've used fastboot before. I assume there is no data loss with this method right?

Thanks man.
[Nexus 6P General] Tigerstown:
After I'm done I boot from bootloader to twrp and do a factory reset but that's me. It doesn't wipe your internal storage if you don't flash userdata.IMG. you might have to re setup your device I'm not 100% on that as I always have to setup device cause I factory reset before I boot. My wife uses the Google restore feature. Sets her phone up just like it was before I updated her phone if you want to go that way. I just don't mind setting up my phone new so I don't use restore nothing.
[Nexus 6P General] RaDi:
the thing is I have many xposed apps and stuff setting everything up from scratch can be a pain , and google restore the apps from play store only so no xposed apps or settings..

I guess I'll wait for major updates .. security updates doesn't offer much tbh..
[Nexus 6P General] beren:
maybe it's too early for ask, but do you plan to make the same work for android n preview boot.img?
[Nexus 6P General] Tigerstown:
I'm at work now but I plan on getting right on it once I'm home tonight. I'm going to have to play around see what's what. So it might be a little longer but I definitely plan on it. If I do I'll post it up and link here too:good:
[Nexus 6P General] :
About to install n preview. I'll be stalking... ???
[Nexus 6P General] bouchigo:
Current rooot methods won't work anyway. I already tried it. You'll have to wait for chainfire to come up with a root solution (or someone who is very familiar with root exploiting).
[Nexus 6P General] Tigerstown:
Did you edit your sepolicy or do anything besides just flash Su?
[Nexus 6P General] kheltek:
Can anyone confirm if the Bluetooth headset/system volumes are still linked? I read that it was no longer linked-meaning, for Bluetooth headsets that have an independent volume rocker, the volume adjusts independently from the handset. Thanks so much in advance.
[Nexus 6P General] Tigerstown:
This is a thread for stock modified boot.IMG for regular root and removed encryption. Your question is irrelevant here. Let's stay some what on topic. Thanks
[Nexus 6P General] bouchigo:
Yes.

I tried system root and systemless root. System root didn't even boot, and systemless didn't work either (booted to OS, but no root). file_contexts is now a bin file (file_contexts.bin), no longer an editable text file.

Maybe I messed up somewhere along the line since I was being pulled from my computer a lot since I'm at work. I might try some more later when I get home, but I have a dinner get together later so I might not get a chance.
[Nexus 6P General] Tigerstown:
Yeah idk I never edit any text files. I use my own sepolicy and etc. I will still be giving a go and I'll update you guys if I get root working. I have got plenty of stuff working that hasn't been updated yet over the years not saying I'll get it for sure but I'll give it a strong try. :good:
[Nexus 6P General] bouchigo:
The file_context file is used when running systemless only.

Now you have me thinking if I put the modified sepolicy back into the boot.img ... damn, I can't remember now.
[Nexus 6P General] kheltek:
Sorry man, I just though that being that this has to do with the updated image, that someone would have an answer here. I'll look for or start another thread on the topic.
[Nexus 6P General] Tigerstown:
All good no worries.:good: I don't have the answer your looking for haven't got to flash N. I seen a N preview discussion somewhere. I'm sure someone would know there.
[Nexus 6P General] kheltek:
Thanks again-i was actually referring to the V build fr a few days ago lol.
[Nexus 6P General] Tigerstown:
As of now I don't have system root working on N yet. I finally got N to boot to OS with permissive enforcing so I'm making progress. That's all I got for you at this moment. I'm steady working on it. Well when I'm not at my real job that pays that is lololol. I will definitely keep people informed. Hopefully I can get it and hopefully sooner then later.
[Nexus 6P General] ultyrunner:
I flashed TWRP and Super SU after applying the modified boot and everything worked fine. I also installed ElementalX and haven't really been all that happy with the battery. If I want to test the stock kernel again, can I just reapply the modified boot image, or do I have go fully back to stock and install the full OTA over sideload? Other than the kernel, the only thing I've also done is Viper4Android. Guessing with these mods I may have to fully back out and sideload the OTA ...
[Nexus 6P General] Tigerstown:
You can just download boot.img. boot to Twrp use their img flasher and flash the modified boot.img or you can fastboot it.

Sorry for delay for some reason I'm not getting my notifications thru xda labs till after I open app.
[Nexus 6P General] ultyrunner:
No problem. Already did that and it worked, though I also had to re-root too. Eagerly awaiting the factory image from the Goog.
[Nexus 6P General] Tigerstown:
Makes sense about had to re-root. That's due to system less root..same here just waiting for imgs to get posted. It's a shame there not up yet. IMO
[Nexus 6P General] holla420:
Bruh you ain't lying homie. I emailed them about their shenanigans their doing with the 6p. Lol no response hopefully we get them tomorrow.
[Nexus 6P General] ultyrunner:
Yeah, the pixel C, Nexus 9 and Nexus player images have been up for a week, the 5x since about Wednesday and the most recent flagship Nexus still not posted. WTF? I was glad to test the sideload OTA, but along with the typical early adoption compatibility and other stuff, as I've been testing kernels and sound mods, I'm getting frustrated. I'd just like to flash the full factory images and have a complete system update. It shouldn't be taking this long.
[Nexus 6P General] holla420:
So who's ready for the pixel and pixel XL bwuahaha. Got to be the lamest name ever. Lol
[Nexus 6P General] greyhd:
Hopefully the phones are better than the movie.
[Nexus 6P General] holla420:
Bwuahaha ur funny. I forget all about that movie. Good one lol. Yea me too it gots to be :laugh:
[Nexus 6P General] greyhd:
The name won't go well with the majority of the Nexus users, sounds like a little kids toy. I can see the titles now in XDA, "Pixels Rom" :silly:
[Nexus 6P General] lakyberry:
Do you need unlocked bootloader to flash modified boot img?
[Nexus 6P General] CyberZeus1977:
Yes

Nexus 6P with Chroma rocks!
[Nexus 6P General] Tigerstown:
I just don't get it. Smh
[Nexus 6P General] jesssiii:
Me either, ?

Nexus 6P
[Nexus 6P General] DaReDeViL:
For those who are eagerly waiting for MTC20L modified boot.img, grab it from HERE

[MENTION=5317224]Tigerstown[/MENTION], I modded it the same way you do. I just hope you don't mind me posting it here ;)
[Nexus 6P General] Tigerstown:
You added permissive enforcing, system root edit and removed Dm's, and edited force encrytion?
[Nexus 6P General] DaReDeViL:
Patched fstab.angler (suppressing "verify=" and replacing "forceencrypt" by "encryptable") then added init.d support (init.rc). Root is left to user's choice ;)
[Nexus 6P General] Tigerstown:
ok I'll post one soon with permissive enforcing and sepolicy edit for system root. Feel free to leave yours link. Mine will be up tonight after work and all that fun stuff lol
[Nexus 6P General] DaReDeViL:
Great ! I'll remove my link as soon as you upload your modded ;) Thx
[Nexus 6P General] Nastaranpkafash:
any boot.img for MTC20K?
[Nexus 6P General] BakedTator:
We finally got a nougat factory image...NRD90U