yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] Aggro_Monkey3000:
Hey guys one quick question. Would having enabled file encryption in the developer options to benefit from direct boot change any of the steps to rooting and installing a custom recovery?
[Nexus 6P General] Joe Schmoken:
Locked vs Unlocked

In the below excerpt, should text say "bootloader is unlocked" instead of "bootloader is locked"?

"each time your phone boots up you'll be greeted with a warning that says "Your device" ... "as long as your bootloader is locked it will stay there."
[Nexus 6P General] lakyberry:
If I flash modified boot img in order to decrypt stock rom will I be able to flash official OTA over adb in the future updates?
[Nexus 6P General] SFCurley:
Missing Emulator / Device Error Message

Like some others have reported here and elsewhere, after getting to the sideload step (where the sideload text appears on the phone), my phone also went MIA with the no emulators/devices found message. I had originally installed the most current ADB drivers, but even after trying the unplug and replug in the device at the sideload text step -- I was still getting the error message. I subsequently got it to work by 1) installing the PDAnet drivers and then also doing the unplug/replug step when the sideload text appeared on the phone. FWIW.

(Windows 10, by the way).
[Nexus 6P General] lakyberry:
And will new OTA build in future 'rencrypt' my system when I flash it over adb?
[Nexus 6P General] CyberZeus1977:
No, encrypting is forced only by kernel

Nexus 6P with Chroma rocks!
[Nexus 6P General] Heisenberg:
Yes it actually would. The OTA flashes the stock kernel which forces encryption. You'd need to flash another kernel/boot.img directly after flashing the OTA.
[Nexus 6P General] CyberZeus1977:
I didn't know OTA flashes stock kernel. Sorry...

Nexus 6P with Chroma rocks!
[Nexus 6P General] Savetheknot:
Can anyone help me out? I am stuck in a bootloop from hell. Something happened when I ran a script from tasker to do an automatic backup and I got caught in a looping boot animation. After trying to flash an old backup I got stuck on the Google screen. I last completed Heisenberg's guide #10 and tried doing #13 but get the "no devices/emulators found" error. I have been working at this for about 5 hours now and can't seem to get it going. Any help is greatly appreciated.
[Nexus 6P General] Nowak4G:
Does fastboot devices see it while in the bootloader? Can you flash twrp and boot into it?
[Nexus 6P General] Savetheknot:
Thanks for your reply. I got it working!! It was that damn EFS bug from TWRP 3.0.2-1. flashed stock and pushed on old EFS back up through recovery.
[Nexus 6P General] Savetheknot:
I flashed stock last night per OP #10. I still have an unlocked bootloader and TWRP. I am getting 7.0 OTA notifications. Can I update or no?
[Nexus 6P General] diverblue:
You successfully flashed stock MM over an N build?
[Nexus 6P General] ultyrunner:
No. You can't flash OTA updates with a custom recovery. Unlocked BL is fine but you have to be completely stock. No root or system mods either.
[Nexus 6P General] Savetheknot:
I went straight back to stock MTC20F. When I originally backed up my N ROM it screwed up my EFS. After a TON of trial and error I flashed stock as Heisenberg laid out and restored EFS from an old backup I had in the cloud. Booted up as factory phone and I'm off to the races.

---------- Post added at 12:12 PM ---------- Previous post was at 12:11 PM ----------

So if I remove TWRP I should be fine to upgrade?
[Nexus 6P General] ultyrunner:
By flashing stock recovery, as long as you haven't modified anything else. I'd suggest waiting for factory images. Nougat has been a going show for many.
[Nexus 6P General] yeroc1982:
I still get nothing back when I run "adb devices". It says list of devices, then nothing after that. Iv installed fresh new windows 8.1 and just got a brand new Nexus 6p yesterday, lost my other one at work. Still giving me the same issue. Any ideas?
[Nexus 6P General] mobileman88:
You will need to enable adb function in the developer menu.
[Nexus 6P General] yeroc1982:
OK I'll give that a shot! Thanks
[Nexus 6P General] ultyrunner:
I note that in the Nougat section of the guide [MENTION=4153349]Heisenberg[/MENTION] says that you cannot safely return to MM after upgrading to N. Actually, this only seems to be true if you are trying to restore anything via TWRP, which seems to have partition bugs when backing up and restoring (particularly EFS). As per [MENTION=4610119]RoyJ[/MENTION] at http://xdaforums.com/showpost.php?p=68484745&postcount=5 you will find if you just follow this approach to the T, it works like a charm.

I did the original OTA update and then also flashed one of the early custom ROMs based on N. I used this approach and it worked flawlessly (as have others).
[Nexus 6P General] Heisenberg:
I've seen several people report bricks after trying to revert to Marshmallow via flashing the factory images, so it isn't only TWRP restores causing the bricks. Whether or not these bricks were caused by user error I'm not sure, people quite often aren't willing to admit they've made a mistake like this and will leave that out when asking for help.
[Nexus 6P General] ultyrunner:
Fair enough. Even though I was getting pretty good performance from rooted N and ElementalX, there are still enough issues that I am back on MM until the factory image is out (whenever that may finally be).
[Nexus 6P General] 89titanium:
The sideloading Nougat just isn't working for me. Getting the no devices/emulators message with adb. Do I have to do this? Can I just boot the phone and take the OTA through Android?
[Nexus 6P General] scoot007301:
I found it easier just to take the OTA update to Nougat than trying to side load it.
[Nexus 6P General] 89titanium:
I want to make sure it is okay to do with the unlocked bootloader. Also all my stuff got deleted... wtf
[Nexus 6P General] scoot007301:
My stuff didn't get deleted by taking the OTA to N but after I booted and verify everything was good I then did a factory reset in the Stock recovery and went through the setup then connected my flash drive via otg and moved all my music n pictures and other stuff back to the internal storage.
[Nexus 6P General] Starphish:
I'm not seeing that on Nougat. Is that in a submenu?
[Nexus 6P General] Heisenberg:
Do you mean Developer Options? If you can't see it in Settings you need to go into About Phone and then tap on Build Number about 8 times, this is enable Developer Options and when you go back out into Settings it will be visible near the bottom of the list. Once in there you need to tick the "enable USB debugging" box to enable adb connections.
[Nexus 6P General] Starphish:
OK. I did that. But like the OP when I ran "adb devices" I got nothing back, just a blank line. But "fastboot devices" responded as expected. So when I saw "You will need to enable adb function" I thought there was another switch to turn on besides "enable USB debugging".

Even without a "adb devices" response, I unlocked w/fastboot, but still am at OTA stock otherwise, since I was uncertain to flash recovery and SU since "adb devices" didn't resturn a serial.

Sounds like I am OK to root if fastboot unlock worked... yes?
[Nexus 6P General] Heisenberg:
Sounds like what you have is a driver issue. Adb isn't really required unless you want to use it to sideload an OTA zip. You're good to go with everything else that needs fastboot.
[Nexus 6P General] 89titanium:
Going crazy here. adb devices works when the phone is on. The device seems to disappear when in recovery mode though. I want to just download Nougat but my phone is not showing any updates, and Wi-Fi isn't even working. Help dude!
[Nexus 6P General] mswal2846:
I had this same issue. I followed the direction in the OP on installing adb just to be sure all was well and that fixed my problem ... I believe it was due to being downlevel with the adb package. I would highly recommend going through the steps and insuring the latest version.
[Nexus 6P General] 89titanium:
I downloaded the SDK on a fresh Windows machine and got the 4 packages mentioned. IDK how that could give me an older version.
[Nexus 6P General] 89titanium:
Heis... Please add to guide....

I solved my problem from earlier. When you go to side load the OTA, you can't have your phone plugged into the computer. Select the option from recovery, THEN plug it in your phone, and ADB should be able to find it. ADB doesn't find your phone if it's already hooked up for some reason.
[Nexus 6P General] Jammol:
Isolated maybe? My device is plugged in before I start adb, haven't had an issue doing that since day one of using adb.
[Nexus 6P General] 89titanium:
It was very difficult to Google this problem, but I did in fact come across a forum where someone encountered this problem and solved it the same way. At least two incidents :p

It's the bottom post by Ryan Conrad:

http://android.stackexchange.com/questions/57011/windows-doesnt-recognize-nexus-7-in-recovery-mode
[Nexus 6P General] CyberZeus1977:
For Windows users, the device not being recognized is a simple issue to solve. You only need to connect your 6P, go to Device Manager, find your Android or Adb device with a yellow mark, right click on it, select update driver, choose browse and point to google drivers folder (\extras\google\usb_driver).

There you'll find both the driver for adb mode and the driver for fastboot mode.

The driver for recovery mode is the same as adb mode.

Nexus 6P with Chroma rocks!
[Nexus 6P General] 89titanium:
All that is true. But for the people doing what you said and still not getting adb working in recovery (I saw one guy earlier in this thread and Heis couldn't help him), it seems having it plugged in while going into recovery makes Windows not recognize it no matter what, even with proper drivers.
[Nexus 6P General] CyberZeus1977:
My Windows 10 always recognizes my phone even if it jumps between system, bootloader and recovery. No need to disconnect and reconnect. It can be PC-related.

Nexus 6P with Chroma rocks!
[Nexus 6P General] Heisenberg:
So Google have released a new set of factory images for our phone... but they're not Nougat. The build number is MTC20L which means it's another Marshmallow build. Not sure what's going on here.
[Nexus 6P General] yeroc1982:
Well what the hell?! Not what I was expecting
[Nexus 6P General] logic88:
I'm actually glad they updated MM as I won't be upgrading for awhile to N as I have Xposed installed and a bunch of modules that aren't compatible. I would be very happy if they continued to update MM on the 6P for several more months.
[Nexus 6P General] scoot0073:
I definitely believe something is up why they haven't posted Factory Image of Nougat for our 6P.. I'm starting to think it's not bugs or fix's as to why.

But something possibly to do with the New P XL they fixing to launch..
[Nexus 6P General] Heisenberg:
I highly doubt it, this will almost definitely be the last MM build.

Honestly, it probably is bugs/fixes, you could be right but it's a long shot.
[Nexus 6P General] jdjaidev:
latest factory image 6.0.1 (MTC20L) doesnt contain files like bootloader.img and radio.img. can u pls tell me whether flashing without those files going to be ok?
[Nexus 6P General] mobileman88:
Which version are you coming from?
[Nexus 6P General] jdjaidev:
MTC20F
[Nexus 6P General] Heisenberg:
What does the text file say? It'll let you know.
[Nexus 6P General] wolfman66:
I have noticed the same thing. I don't want to take a chance flashing the system image etc. without the correct bootloader.img and radio.img. I also notice that the download file from the nexus images page is now a zip file instead of a tgz file and I also see that all previous builds using tgz file have been replaced with zip files. What is going on? Is it safe to flash a new build without the bootloader and radio images? PLEASE HELP?

OK. I should have looked back at the previous posts. Sorry. The bootloader version and radio version are unchanged so it seems these files are ok.
[Nexus 6P General] jdjaidev:
require version-bootloader=angler-03.54

require version-baseband=angler-03.61

thats 20F

thanks for the tip :)
[Nexus 6P General] CyberZeus1977:
Files are NOT ok.

If someone tries flash-all.bat, it doesn't work. Bootloader and radio images are missing.

Google, what the hell are you doing?

Nexus 6P with Chroma rocks!
[Nexus 6P General] wolfman66:
I have never used the flash all .bat file. I just updated by flashing each of the files manually as i always do as the bootloader and radio version remain unchanged as per the text file. I have successfully updated to the new build without any problems whatsoever.:)
[Nexus 6P General] mobileman88:
You should be able to follow the OP and upgrade.
[Nexus 6P General] cbrehob:
I had to download the MTC219T factory image that contained the bootloader and radio files and flashed those, now updating over OTA.
[Nexus 6P General] jdjaidev:
i was on MTC20F , flashed the new files without any bootloader or radio files and it worked successfully ..

which OTA are u installing? Android N or MTC20L ?
[Nexus 6P General] ultyrunner:
Yea, but for those who use the batch flash all files, for that to be recommended by Google (right on the developer site) and not work? Something very odd is going on, and not a word from them.
[Nexus 6P General] QuantamPulse:
Have had a weird issue come up when going through the process outlined in the OP. After flashing the recovery and booting into recovery the initial time, it correctly boots into TWRP Recovery. Once I leave that point and boot the phone up everything is still working.

After that, whenever I boot into the bootloader and then into recovery, it goes back to the "No Command" screen and then into the normal Android Recovery mode, not the TWRP Recovery mode that was just installed. I tried flashing the recovery again but it continues to do the same thing (work the first time but not after. )

Bootloader is unlocked. Phone version is NRD90M. Recovery IMG is twrp-3.0.2-2-angler.

Can anyone think of something that I might be missing ? I even tried it both with and without the userdata wipe to the same results.
[Nexus 6P General] Einwod:
Flash the latest supersu in recovery and it should be fine.
[Nexus 6P General] ariefabuzaky:
Recently google fixes mtc20l factory images with adding modem and bootloader from mtc20f
[Nexus 6P General] scoot0073:
The 7.0 Factory Image is finally up..Sweet Jesus
[Nexus 6P General] Heisenberg:
Yep, saw that just before, it's about time! Instructions for updating to Nougat have been updated.
[Nexus 6P General] mobileman88:
About time. Thanks!
[Nexus 6P General] yeroc1982:
I lost my 6p last week and replaced it already with a new one. I wanted to try 7.0 so just went the beta program way because I didn't want to have issues. Would I follow step 14 as i normally should?
[Nexus 6P General] mobileman88:
Absolutely. that's all I needed to do. If you have a Nandroid you can restore it to your new 6P. Mine was damaged and repaired so I ended with 2 sets. after 6 weeks. Noticed that Nandroid restores work except for Fingerprint registration which no one has yet sorted out cross device Nandroid restores.
[Nexus 6P General] yeroc1982:
I have nothing from my old 6p on my computer or anything so it's all from scratch, which is fine with me
[Nexus 6P General] mobileman88:
You're good to go then.
[Nexus 6P General] nageshv24:
I just flashed the latest N factory image and rebooted. It is stuck on the starting Google animation for the past 10 minutes. Should I wait it out?

Edit: I force restarted. It's working now.
[Nexus 6P General] Einwod:
Wait for it to sort itself out.
[Nexus 6P General] nageshv24:
Actually the phone became quite hot, so I was concerned. I force restarted by long pressing power button. It's working now. Thanks.
[Nexus 6P General] jdjaidev:
when im trying to copy my EFS backup folder, its showing this erroer, can someone pls help me solve this, thanks
[Nexus 6P General] mobileman88:
You need to do this in twrp mode
[Nexus 6P General] mohdfahad47:
Hey everyone, i had some questions on rooting nougat. Im on stock nougat (NRD90M) unrooted waiting for the ota (NRD90U), as soon as i update ill root. So a modified boot image is not required right? Since twrp have released latest builds. And soon after flashing twrp ill have to( fastboot format userdata) to decrypt the data partition right? Ive never done this decrypting thing before so i have no idea about it. And decrypting the data partition is a one time thing? Thanks.
[Nexus 6P General] mbutandola:
[MENTION=4153349]Heisenberg[/MENTION] just updated my phone, all went well, except that I've got a message saying that there's an internal problem with my system and that I've go to contact my manufacturer. The phone's booted and seems to run as it should. The only thing that I didn't do is flash twrp. I just booted into it to flash superSU but kept the stock recovery. Have you heard of such an issue before? Cheers

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Nexus 6P General] Heisenberg:
You don't have to decrypt unless you actually want to. If you want to decrypt you will need the modified boot.img but if you're not decrypting you don't need it. If you do choose to decrypt it is and also isn't a one-time thing. As long as you always have a modified boot.img (that has forced encryption disabled) installed the phone won't encrypt. But if at some point you don't have this boot.img installed the phone will encrypt upon booting. Like I said though, decrypting isn't actually necessary unless you really want to and in my opinion there isn't any noticeable gain.

I think this occurs when your vendor is mismatched, how did you update?
[Nexus 6P General] mbutandola:
Just the way I usually do. I flashed the factory image with fastboot. Googled it and someone said that it happened when you set your fingerprint scanner before rooting. Shall I flash it again?

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Nexus 6P General] Heisenberg:
I guess so, although I don't believe I've ever had that issue due to registering a fingerprint before rooting.
[Nexus 6P General] mbutandola:
Never had that issue either. The only thing I did differently was flashing recovery. I usually skip that part and keep twrp then flash superSU. But because of the latest version being buggy, I didn't want to keep it. So I booted into it instead running fastboot boot twrp.

Downloading the factory image again and will see how it goes

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Nexus 6P General] DanB720:
I thought they had got rid of the app draw icon in Android N?
[Nexus 6P General] mohdfahad47:
Oh, i thought we HAVE to decrypt the data partition in order for twrp to work. Then i assume the way i rooted when i was on marshmallow will be fine right? Unlock bloader/ flash twrp and flash the supersu? Thanks a lot.:D
[Nexus 6P General] wilflare:
Nougat Factory Image for 6P is out!

updated following step 9 without any issues :D

thank you!
[Nexus 6P General] Heisenberg:
Yes just the usual process.
[Nexus 6P General] mohdfahad47:
I got this error once when i was switching between roms. I flashed paranoid android after coming from rr and i got this message. Turned out the pa rom i flashed was of the older security patch ( a month old or so). It got solved once i restored back to rr.
[Nexus 6P General] Heisenberg:
The latest version is fine, it was the one before that that was buggy.
[Nexus 6P General] scoot0073:
That's with the New Nexus Launcher

Android Nougat still comes with Google Launcher so there for u still have the app drawer icon..

---------- Post added at 12:49 PM ---------- Previous post was at 12:46 PM ----------

The only difference is that u will have to flash SuperSU right after you flash TWRP .

If not when u boot upto Android and reboot back to recovery you will ba back on Stock recovery.

TWRP recovery doesn't stick until you flash SuperSU/root
[Nexus 6P General] mbutandola:
Seems the latest has a bug as well when doing a nandroid backup. Doesn't have the EFS lethal bug though.

Some update. So I flashed the factory image again but this time just booted without booting into twrp. Not rooted but the message has disappeared. Will try and flash superSU now and see if that comes back

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Nexus 6P General] mohdfahad47:
Ya sure, right after i flash twrp ill make a nandroid backup and flash super su... Thanks. :laugh:
[Nexus 6P General] mearjunsha:
you are great!
[Nexus 6P General] Heisenberg:
Thankyou but please edit your post and remove the huge quote. Please don't quote the OP (first post) on XDA, they're often massive and clog up the page.
[Nexus 6P General] CyberZeus1977:
Today I have a question for Heisenberg.

I am currently running Chroma Rom based on MM. I'd like to try stock Nougat waiting that William will build Chroma N.

I would wipe everything and flash stock N with flash-all.bat (my 6P is 32GB so no problem flashing userdata). I like Franco kernel, should I flash before first boot of N or let it boot, configure and then flash Franco kernel?

Thanks

Nexus 6P with Chroma rocks!
[Nexus 6P General] SlimSnoopOS:
Your choice. I did a factory reset, manually flashed the first 7.0 build for my 5X, then flashed SuperSU and Ex before my first boot. Can't go wrong either way.
[Nexus 6P General] CyberZeus1977:
Thank you!

Nexus 6P with Chroma rocks!
[Nexus 6P General] mbutandola:
[MENTION=4153349]Heisenberg[/MENTION] regarding that flash-all.bat file, have you ever considered editing and adapting it to make things easier for yourself and for whomever you'd want to share it with? ;)

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Nexus 6P General] Ale506:
Hi, [MENTION=4153349]Heisenberg[/MENTION]

I follow the instructions but something went wrong, i can't get pass the google picture with the unlock icon. I let it all night to see if it was going to do something but unfortunately no. It's not the first time I do a process like this but seriously I don't know what to do know. I don't have a phone now =/

Can you help me out? Maybe if I use the Nexus toolkit something good can happen?

Thanks for your help
[Nexus 6P General] SlimSnoopOS:
Which instructions did you follow? What were you attempting to do? If you want help, elaborate on your situation.
[Nexus 6P General] Ale506:
You are right sorry, I tried to update from 6.0.1 completely stock to android nougat stock, i performed a factory reset.

At first i tried to use the flash all document but it failed because of a "missing system.img" i tried 2 times more, then i remember that something like that happen to me before on my Nexus 4 and that i need it to flash everything manually.

Then I came here and perform step by step the "14. How To Update To Android 7.0 Nougat", not a single error message but when I reboot the 6P it can't get pass the google logo. I reboot again and again, perform a factory reset (again) and clear the cache, and I think i flash everything once more but nothing is working and I seriously don't know why, the info in the bootloader is ok, the radio, the bootloader, everything is from Nougat.

I did this at my home via Ubuntu, SDK was updated. Now i'm going to to my office, I have windows there, IDK if I should try to use the toolkit which I never used before.

If I want to turn off the phone, I need to do it via the fastboot menu.

Hope this info helps. I really need this to work, thank you for your time!
[Nexus 6P General] SlimSnoopOS:
Can you run fastboot format userdata (which erases the /sdcard contents) then manually flash the 7.0 OTA zip or factory image?
[Nexus 6P General] 911jason:
I just followed the instructions in #10 to install the factory image for Nougat that was released yesterday. For the final step I issued the "fastboot format userdata" command but when I look in Settings/Security it says "Encrypt Phone - Encrypted". I thought formatting userdata is how you unencrypt. What am I missing?

I want to install TWRP now, but not sure which version to use with the recent bugs. I don't care about backups, because I clean flash pretty regularly. Just want to be able to root and flash other stuff with TWRP. If I can do that encrypted, then that's fine with me.