yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] tuffluck:
Yes, the first post direction say to save the SDK folder to your C: drive. I'm just wondering if your C: drive (usually where Windows is also) is a requirement.
[Nexus 6P General] Einwod:
When it is installing, is there an option to install in any folder? I can't remember.
[Nexus 6P General] rchtk:
The SDK is self content (that's what makes it ridiculously big) so it should work from any place.

Just make sure adb server isn't running.

Then make a simple check with "adb devices"
[Nexus 6P General] AppuLucky:
regarding nexus 6p

guys how much time does it take to reboot after flashing TWRP

i did exactly as said but now its still in Google's boot animation please help ASAP:(:(
[Nexus 6P General] rchtk:
Be precise. Your device was booting fine right before? You only flashed only twrp, didn't even start it and now your device doesn't boot?

Also what was your configuration and which twrp.
[Nexus 6P General] Born<ICs:
Question?

Just to be certain I don't screw up.

I'm unlocked on 7.0, latest drivers, ready to root with zips in my sdk folder.

Before I flash I'd like to confirm proper zips.

In OP, links for TWRP and SuperSU lead to incorrect versions I believe.

This is what I have cued up to flash.

SR1-SuperSU-v2.78-SR1-20160915123031.zip

twrp-3.0.2-3-angler.img
[Nexus 6P General] rchtk:
These are the exact versions I used and yes it worked flawlessly
[Nexus 6P General] Born<ICs:
Thanks, rooted
[Nexus 6P General] Yawgmoth124:
Soft Brick

No comment

Edit: fixed my issue
[Nexus 6P General] NexusS4gFreak:
I get weird error when trying to make a nandroid in twrp. Gets like 2 minutes into backing up the system partition and stops with error 255 no fork exception in red letters and never completes. I'm using latest twrp and running 7.1.1 ota with pixel mods
[Nexus 6P General] SlimSnoopOS:
Read post #1152 in the official 6P TWRP thread:

http://xdaforums.com/showthread.php?t=3234976
[Nexus 6P General] TechMillz93:
I'm rooted on stock 7.0, if I flash the beta 7.1.1. How will I get the official 7.1 update when it arrives? Since ill already be on the beta
[Nexus 6P General] gabidiesel:
Hi all....I"ve been on 7.1.1 DP......with TWRp.....I"ve done backup 2 times for 7.1.1.......and after that I tried many other roms.

When I tried to go back to 7.11. from recovery ....the system (7.1.1)goes in a boot loop......never booted.....

I tick the all the system/data/boot/vendor boxes....when I made the backup.......What I did wrong??????
[Nexus 6P General] Badger50:
Have you tried flashing the DP 7.1.1 vendor image separately? I've never had any luck with backing up and restoring the vendor partition with TWRP, therefore, I flash the respectively vendor on it's own.
[Nexus 6P General] gabidiesel:
I didnt find the vendor for 7.1.1....have a link?
[Nexus 6P General] Badger50:
Don't have a link. I extracted the vendor image from the ota and transferred it to my phone.
[Nexus 6P General] Lugnofin:
Being stock on dp 7.1.1, is there any difference doing the unlock/root process compared to being on stable Nougat?

And another question: for a root and custom noob: what roms and kernels do you recommend starting out with?

Thanks for any input!

Skickat från min Nexus 6P via Tapatalk
[Nexus 6P General] vedko:
there is no difference. It gives you the opportunity to use apps/features otherwise unavailable (=root) or flash custom recovery, ROMs, kernels etc. (=unlock). Custom recovery gives you also the option to do a full backup of your current ROM, which comes very handy if anything goes wrong.

As for custom ROM etc. - depends very much on what your preferences are - stability, many features, battery life, performance, themes support etc. If you're not sure (yet), you'd better try for yourself.

Warning #1: be prepared to read a LOT - people here on xda don't particularly like the ones who ask before reading.

Warning #2: ALWAYS do a backup. And because 6P doesn't come with an SD card slot and some of the ROMs wipe also the internal storage upon flashing (i.e. where your backup would be), store the backup somewhere safe.
[Nexus 6P General] alcopaulic:
The link for twrp-3.0.2-3-angler.img doesn't seem to work. Can someone verify? And is there an alternative?
[Nexus 6P General] Einwod:
A very simple search would have given you THIS!
[Nexus 6P General] alcopaulic:
Totally worth getting yelled at to get a working link. Thank you.
[Nexus 6P General] Einwod:
If you think that's yelling, you need to see me on a "bad" day.
[Nexus 6P General] MitNasty:
I havent updated my phone in about a year. Im running pure nexus 6.0.1-20160203. I want to switch back to stock and receive OTA's. a. Which step do I follow? b. Do I need to lock the bootloader to start receiving OTA's? c. after downloading current versions of fastboot and twrp, will I run into any problems because of my very outdated setup? Keeping data and apps isnt a high priority, but it would be nice. Ive tried reading comments and the OP, but im still slightly confused, thanks in advance.
[Nexus 6P General] rchtk:
Backup Data and install factory image. You can also install the corresponding full OTA and data should stay if you are encrypted already.

No need to relock.
[Nexus 6P General] KrisDroid:
For me disabling compression solved the problem.
[Nexus 6P General] BGitlin:
Hey guys,

I joined this forum just for this post and it worked great, thanks for the awesome tutorial.

I'm in the Android developer preview though and the new 7.1.1 update just came out. Can we just update without a hitch, Or should I wait for a flashable zip version to come out?
[Nexus 6P General] scoot0073:
If you're stock then yes u can take the OTA update no problem

---------- Post added at 12:27 PM ---------- Previous post was at 12:24 PM ----------

After u take the OTA update to 7.1.1 I would recommend doing a factory reset.
[Nexus 6P General] a1exus:
I got OTA yesterday for DP2... can someone confirm by locking bootloader it'll wipe my userdata? I was under impression it only happens during unlock...
[Nexus 6P General] JrSmilez:
If this isn't why you are asking then I apologize but You don't have to lock the bootloader to take the OTA.
[Nexus 6P General] a1exus:
I already took OTA already, I want to use Android Pay.
[Nexus 6P General] JrSmilez:
There use to be a way around the bootloader for Android pay to work but I'm not sure if it's been Patched. I was curious myself so I Googled it, and everything I've read says it does wipe user data.
[Nexus 6P General] rchtk:
Relocking will erase user data.

---------- Post added at 21:36 ---------- Previous post was at 21:20 ----------

Needs a patched kernel that hides the bootloader locking state. Google can't really patch it unless they enforce strict boot (do not allow unlocked devices to boot) but we would have heard about that :)
[Nexus 6P General] Magnetox:
Hi, does the order in which I write these commands matter? I realize that there are some pairings (spacing for pairings), but for example, can I flash recovery before bootloader? Thanks.

fastboot flash bootloader C:\angler\images\bootloader-angler-angler-xx.xx.img

fastboot reboot-bootloader

fastboot flash radio C:\angler\images\radio-angler-angler-xx.xx.img

fastboot reboot-bootloader

fastboot flash boot C:\angler\images\boot.img

fastboot erase cache

fastboot flash cache C:\angler\images\cache.img

fastboot flash recovery C:\angler\images\recovery.img

fastboot flash system C:\angler\images\system.img

fastboot flash vendor C:\angler\images\vendor.img

fastboot flashing lock
[Nexus 6P General] jxcorex28:
Where are we at on the latest bootloader/radio/vendor? I believe I saw someone mention NPF26F. Has anyone got a link for a flashable zip of the latest 7.1.1? I haven't got a data cable to fadtboot flash the files, so I have to flash through TWRP....Currently on 6.0 firmware. Thanks in advance.
[Nexus 6P General] Einwod:
I would definitely NOT be flashing the lock until I had made sure everything was working properly. Once satisfied all is OK, then flash the lock command.
[Nexus 6P General] jxcorex28:
Love when people say, "a very simple search will give you ______".
[Nexus 6P General] rchtk:
Known proverb... It's not because you have nothing to say that you should shut up.
[Nexus 6P General] MitNasty:
Thanks for the reply. Do I install the factory image (step#11), and let the phone update on its own? Or do I download the new build of the stock rom?(#9)
[Nexus 6P General] SlimSnoopOS:
Boot into TWRP and perform a factory Reset. Follow the rest of section 11, just make sure to download the latest 7.0 factory image (NBD91K).
[Nexus 6P General] TheAcselerator:
So I've been having a few issues rooting my 6P, I'll post everything I've done here:

Running on Nougat, rooted with the instructions in the OP and everything went fine.

Decided that actually I wanted to install xposed so I tried to revert to Marshmallow. Followed the instructions for reverting in step 10, couldn't flash the radio file (don't remember the error) and device bricked on startup.

I tried to then flash the files from the latest Nougat build, all flashed fine but got stuck in a bootloop (screen after Google).

Redownloaded all the files for the latest Nougat build and used the flash script that comes with them, boots back into Nougat fine.

Read that if I want to revert I don't need to flash the bootloader and radio images as they are backwards compatible. Left them alone and tried to flash everything else. Got to recovery and was hit with this:

C:\SDK\android-sdk-windows\platform-tools>fastboot flash recover C:\angler\images\recovery.img

target reported max download size of 494927872 bytes

sending 'recover' (13133 KB)...

OKAY [ 0.297s]

writing 'recover'...

FAILED (remote: Permission denied!)

finished. total time: 0.328s

Again reflashed the Nougat build with the script and still boots fine (although I got stuck on what I think is a recovery screen, android logo, warning symbol and said no command below).

Reflashed from cache down to vendor (again leaving out the bootloader and radio images) for Marshmallow and got stuck on the Google screen again. Reflashed Nougat with the script for a third time.

Currently downloading the latest 6.0.1 image for Marshmallow and will try flashing that with the script. Otherwise does anyone have suggestions on the best way to get xposed installed since so far nothing has got me back to Marshmallow without crashing or bricking.

EDIT: Trying to flash Marshmallow with the script was not successful, got the following error:

sending sparse 'system' 4/5 (470150 KB)...

FAILED (data transfer failure (Unknown error))

Going to leave my build on Nougat unless anyone has any ideas
[Nexus 6P General] SlimSnoopOS:
1) You left off the "y" in "recovery" so the command failed.

2) You are in stock recovery when viewing the "No Command" screen. At this screen, hold Power and Volume Up to fully boot into stock recovery.

3) Before manually flashing older factory images (Marshmallow), it seems that you left out the step on wiping data in TWRP as section 11 states.

4) Try rebooting the computer to clear out your ram. Then re-run the fastboot commands. Also, make sure each word is spelled correctly.
[Nexus 6P General] TheAcselerator:
1) Ah, I'm an idiot. I also realised at one point I wasn't flashing the boot either which explains not getting past the Google logo.

3) You would be correct there, I was reading from section 10 which would explain why I missed it. Is there any way to do this since I'm unable to get into TWRP now? Selecting recovery from the bootloader simply throws the android + warning symbol at me (no text) and holding up+power takes me straight back to it. So I'm guessing there's no recovery installed and TWRP is no longer there. As a side note does it actually matter? The only difference I can see between section 10 and 11 is booting into TWRP in order to keep the internal storage intact but I performed a factory reset anyway and don't have any data to keep.

After correcting my stupid spelling errors I was able to flash the Marshmallow build manually (includes flashing the bootloader and radio images). It boots fine but does not ask me to setup the device and immediately throws errors at me (various processes stopping).

Thank you very much for your reply
[Nexus 6P General] SlimSnoopOS:
Oh ok, you followed section 10. While in the bootloader, run

then reflash the Marshmallow factory image one more time
[Nexus 6P General] TheAcselerator:
Works perfectly thanks :)

I'm assuming I can just follow the steps in the OP to get root again, except I can obviously skip the unlocking the bootloader steps and need to use a different version of TWRP, not the modded Nougat one.

Also another question since I've got now got everything up and running (I hope). I'm going to be getting the persistent Android 7.0 update notification. What is the best way to disable this and ensure that I don't get any updates (monthly security patches, 7.0 update, etc.) that could brick the phone? Do the monthly updates causes issue or will I run into general problems over the next month or so regarding updates?
[Nexus 6P General] SlimSnoopOS:
Correct regarding root.

The only thing I've read is to long press the OTA notification and block it. This will block all Google notifications though. Idk about issues with monthly updates. Monthly updates work for some and don't for others and may result in bootloops. Seems to be more of a hardware related issue.
[Nexus 6P General] TheAcselerator:
I've gone with the long press, that's the only thing I was able to find as well.

I shall see how things go regarding updates. For now xposed is installed and all working great.

Thanks again for the help :)
[Nexus 6P General] ekambs:
Hi everyone I have tried to flash a mod (pixel bar and assistant) on my nexus 6p, unfortunatly everything went wrong, when I tried to reboot my phone. It said the system stop , so Ican not go futher from that message. I boot again into twrp wip everything , now when I try to reboot a got message said that 2 there is not system on my phone. So i made a mistake to wipe even my backup. So i have tried this methode to get me in stock and i flash everything , unfortunatly the system.img won't to flash. I really need your help to get my phone back. Sorry for my bad English.
[Nexus 6P General] SlimSnoopOS:
Make sure your platform tools and fastboot are both up to date. Now restart your computer to clear out the ram so that you can go forward. Flash the November Nougat factory image.

If it does not go beyond the Google boot logo, run this command. It will wipe your phone entirely:

fastboot format userdata
[Nexus 6P General] ekambs:
Thank you si much SlimsnopOs, I did exactly what you said and it works very well. You save my phone, thanks again
[Nexus 6P General] Roy_Alter:
I want to make my device as new as it can

I see that I need to do post 10

in the part of flash command.

i flash one image click enter and then another image right?

And one more question ,I wil get ota updates?
[Nexus 6P General] Einwod:
It's best to copy and paste the commands, that way you don't make spelling mistakes. You will get OTA updates, yes, as long as you do not root. Otherwise, extract the downloaded image files, connect your device and double click the flashall.bat file. This will wipe the entire device also, so backup important files first and remove them from the phone.
[Nexus 6P General] Roy_Alter:
Oh is it possible to paste all commands and click enter?

But if my directory is different?
[Nexus 6P General] Heisenberg:
You need to issue the commands individually. If your images are in a different location you can copy/paste the first part of the command, for example:

fastboot flash vendor

(Followed by a space)

Then you can drag and drop the file from a file manager into the terminal window and it'll automatically insert the file with the correct location into the terminal.
[Nexus 6P General] ekambs:
Hi everyone and SlimSnoopOS, I have tried to enrol the preview developer every single work. But till now the ota update is not coming on my phone. The status in the preview developer shows the I am rolling it, on this stage what can I do to get into it. Thanks.
[Nexus 6P General] Roy_Alter:
ok thank you, can you tell me if i locate the files good according to the instructions?
[Nexus 6P General] Einwod:
Connect the phone and hit the flashall.bat file. It will automatically flash everything.
[Nexus 6P General] Roy_Alter:
really? so why it doesnt mentioned in the instructios?
[Nexus 6P General] Einwod:
It does, but earlier there were problems manually flashing the userdata file, it would incorrectly tell you that there was only 32gb space when there should have been more. I never had this problem and when going to stock, I just flash the flashall.bat file and wait for it to finish. Never had a problem on my 64gb version.
[Nexus 6P General] Roy_Alter:
i didnt find in extras in sdk manager android support libary just android support repository

its ok?

edit :find it but i already install android support repository its ok?
[Nexus 6P General] Einwod:
Just double click flashall.bat and sit back. Follow whatever instructions appear. It's easy.
[Nexus 6P General] Naksnaks910:
I can't dl the custom TWRP image, the website is down.

And just to be sure: these instructions still apply when I have Nougat on my phone? Getting a 6P in a couple of hours, thought I'd root it right away.

Edit: found it using Google. Yes, I'm stupid...
[Nexus 6P General] chmmr:
I can't either, and I can't find any other place to download the latest TWRP image. Any idea where I could get a known-good twrp-3.0.2-3-angler.img?
[Nexus 6P General] Einwod:
Try looking for it. Oh, but wait, I'm far too lazy to do that?
[Nexus 6P General] chmmr:
I spent like 20+ minutes searching "twrp-3.0.2-3 + angler" on this forum and the web and couldn't find an actual download link, and it was >100 pages back in this thread. Thanks for providing the download and giving me the link. Hopefully this post makes it a bit easier for future searchers.
[Nexus 6P General] Dr.DL:
I have nexus 6p 64GB, what will happen if I used official flash all script, instead of flashing image separately?

Will it affect the internal storage capacity?
[Nexus 6P General] Badger50:
It'll wipe your phone clean!! Including your internal storage [emoji15]
[Nexus 6P General] Einwod:
I have used the flashall.bat file many times and it does NOT affect the storage capacity on my 64GB device.
[Nexus 6P General] Dr.DL:
I know, I said the capacity, read the comment below :D

Thanx sir :cowboy: , I'll try to do so :silly: :eek:
[Nexus 6P General] jesssiii:
Under settings/developer there's an automatic system updates toggle you can disable. Just above the USB debugging I think.

NeXus 6P
[Nexus 6P General] TheAcselerator:
I couldn't find anything in the developer options but also hadn't thought to look so thanks
[Nexus 6P General] brasewel:
For those that have installed Google assistant on their 6p what's the best way to run an update now since you cannot receive OTA updates? The last time I tried (Nov update), I put the stock build.prop back and it resulted in a boot loop forcing me to restore a backup from TWRP and then flashing the new images.
[Nexus 6P General] bobsmith915:
I unlocked my bootloader when I first got my 6P but never did any modifications. I'm running unrooted and made no changes to the stock rom or recovery. I did take the official OTA updates. Can I relock my bootloader using "fastboot flashing lock" without worry? Or do I need to do something else first?
[Nexus 6P General] scoot0073:
As long as your 100℅ Stock then you can relock the Bootloader.

But honestly I wouldn't do that unless u going to sell. BC I seen a lot of peeps on here that was stock and with Bootloader locked and took an OTA update and got into a boot loop and only option was to RMA. BC with a locked Bootloader you can't recover.
[Nexus 6P General] rchtk:
On top of what was said, watch out, relocking wipes data /!\
[Nexus 6P General] dhjean:
I just manually updated from NDB91K, Android 7.0 to NMF26F, Android 7.1.1 using section 9 of this guide. I used TWRP 3.0.2-3 and SuperSU 2.78, SR5. Everything went perfectly. I'm just posting because I usually look to see others' success before updating and thought it might help someone to know that it works perfectly.
[Nexus 6P General] sniper8752:
After flashing twrp-3.0.2-3-titan.img, then rebooting the bootloader, and going into recovery mode, I am stuck at the Google screen. What do I do?
[Nexus 6P General] jesssiii:
Titan? Perhaps you installed the wrong recovery?

NeXus 6P
[Nexus 6P General] sniper8752:
Where do I get the right version for Nougat?
[Nexus 6P General] Blindprophet32:
Anyone else get ota for 7.1.1 today?
[Nexus 6P General] pitflyer:
Thanks for reporting. Did you flash the 'standard' recovery and boot into Android first, then go back to Fastboot a second time to flash TWRP and SuperSU, or did you 'shortcut' the steps and just flash TWRP and boot into recovery first before first boot in Android 7.1.1?
[Nexus 6P General] dhjean:
The latter. I flashed all the other elements first without flashing the standard recovery. Then I flashed TWRP and booted directly into it where I installed SuperSU.
[Nexus 6P General] pitflyer:
Thanks. So just one follow up one question, if you didn't flash the standard recovery at all, was reflashing TWRP probably unnecessary (but doesn't hurt) given that there hasn't been a new release of TWRP in a while? In other words, without flashing stock recovery, or booting into Android first, recovery shouldn't be touched. Just checking so I can just follow your exact same successful steps. :)
[Nexus 6P General] Nebul0us:
I believe that the custom recovery is replaced automatically, either when the system.img is flashed or upon first boot up, so reflashing twrp is still necessary. I may be wrong though no expert.
[Nexus 6P General] pitflyer:
Thanks. I had some problems with Get Assisstant, I decided to undo its Pixel Hack in build.prop and it messed up and could not restore my old settings and lost my backup file. I put my own backup file in, but didnt matter since I just decided to upgrade to 7.1.1 with the steps you guys listed. I'm in. Not sure if I want to play around with Get Assistant again till they figure out why the backup/restore didn't work (I was using Google Assistant before without problems... just wanted to restore build.prop before update).

Once I feel lucky I'll go back and run Google Assistant against 7.1.1
[Nexus 6P General] rchtk:
Yes, on the first boot on stock /system unless you have rebooted from twrp while having SuperSU or a specific kernel.
[Nexus 6P General] dhjean:
My understanding is the same as Nebul0us. I've always just reflashed TWRP as it only takes a few seconds.
[Nexus 6P General] Michael833:
I tried flashing the new 7.1.1 NMF26F on my carrier unlocked 6P using step 9 or 11 or 14 (they are all basically the same) from the opening post. I had been on 7.0 NBD91K. It worked fine, but I decided that I need to start afresh with something, so I did a quick factory reset from inside the phone's setting menu.

And that's when it all went wrong. I seem to be in some kind of bootloop. I get the "Your device software can't be checked for corruption. Please lock the bootloader." warning, then the Google logo with the unlocked icon at the bottom, then back to the "Your device software can't be . . . " screen again, etc.

When I started this process I was on a stock recovery, so I installed twrp-3.0.2-3-angler.img before doing the original install. Subsequent attempts to flash that recovery also trigger this bootloop.

I've checked the MD5/SHA-256 codes on everything and it's all correct. I can't image what else I could be doing wrong. I see "OKAY" one or more times after each fastboot command I send. Any suggestions most welcome. Please tell me that I didn't just brick my phone!
[Nexus 6P General] lonnierm:
Yes, lost root and Pixel launcher ?

Time to do it all over...
[Nexus 6P General] Blindprophet32:
I figured that would happen... So I didn't take the OTA lol...
[Nexus 6P General] Einwod:
I updated but kept data. Problems with lots of force closing apps. Formatted data and started fresh. Rooted and everything fine. Battery life improvement here. Have you flashed supersu also? All good here.