yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] greyhd:
Did you enable usb debugging? You will get a screen with a computer number and just click yes. Also are you flashing twrp while in bootloader?
[Nexus 6P General] DJBhardwaj:
Since you have been able to unlock the bootloader, I believe that drivers would not be the issue, since you already used a fastboot command to unlock, and it detected the device.

Just make sure that your device is in fastboot mode, while you're flashing the recovery.
[Nexus 6P General] Alexkidd85:
Ok thanks. So is this the problem? I will do a wipe? Do you have a link for do this safely?

I'm boring to fight with a not stable preview so, thank you google for possibility to try N but now, how can i SAFELY downgrade to Marshmallow?

Thanks and sorry if this is an OT question but i'm really tired.

I would like to stay on a rock solid Marshmallow custom rom, rooted and a wonderful working recovery (like this rom)!

Seems like a dream right now :(
[Nexus 6P General] redduc900:
How to return from the Android N Developer Preview

http://www.androidcentral.com/unenroll-your-device-android-n-developer-preview
[Nexus 6P General] equilateral_sq:
Stuck at Google Logo After Restoring NANDROID

I may be facing the issue described above about the "TWRP recovery may not work properly." On the Q build I cannot successfully restore a backup. I get stuck at the Google logo. I think I have an encrypted device.

While TWRP is writing my backup, it does mention that it was successfully able to decrypt the drive.
[Nexus 6P General] mbutandola:
You will need to flash the latest super SU here

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Nexus 6P General] Heisenberg:
What partitions are backing up and restoring? There's nothing about the Q build that would cause such a problem.
[Nexus 6P General] equilateral_sq:
Boot, system, data, vendor. Sometimes I tried to do it without vendor - didn't notice the update to the guide on NANDROID. It has also happened with the P build, which I'm still on now - for some reason the OTA hasn't come in.
[Nexus 6P General] Heisenberg:
You're not doing system image and vendor image? I can't think of any reason why these backups would be failing for you.
[Nexus 6P General] Xenotrumpet:
Are you running full stock? If you are, I think just backing up /data should suffice. I'd flash a new stock boot, system, and vendor image when needed. Just don't forget to reflash SuperSU to patch the kernel.
[Nexus 6P General] Barnics:
fastboot flashing unlock error

When I try to use this terminal code nothing happens on my phone, and I get the following come up in the terminal:

usage: fastboot [ <option> ] <command>

commands:

update <filename> reflash device from update.zip

flashall flash boot + recovery + system

flash <partition> [ <filename> ] write a file to a flash partition

erase <partition> erase a flash partition

format <partition> format a flash partition

getvar <variable> display a bootloader variable

boot <kernel> [ <ramdisk> ] download and boot kernel

flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it

devices list all connected devices

continue continue with autoboot

reboot reboot device normally

reboot-bootloader reboot device into bootloader

help show this help message

options:

-w erase userdata and cache (and format

if supported by partition type)

-u do not first erase partition before

formatting

-s <specific device> specify device serial number

or path to device port

-l with "devices", lists device paths

-p <product> specify product name

-c <cmdline> override kernel commandline

-i <vendor id> specify a custom USB vendor id

-b <base_addr> specify a custom kernel base address

-n <page size> specify the nand page size. default: 2048

-S <size>[K|M|G] automatically sparse files greater than

size. 0 to disable

Anyone know what's going wrong here?
[Nexus 6P General] Heisenberg:
What's the command you're giving? That means you're entering the command wrong, or your SDK isn't up to date.
[Nexus 6P General] Barnics:
My bad, I thought I'd included it in the post.

fastboot flashing unlock

Running SDK 24.4.1 and Platform Tools 23.1
[Nexus 6P General] Heisenberg:
Try updating your platform tools.
[Nexus 6P General] Barnics:
Updated.

Still getting the same result.
[Nexus 6P General] mswal2846:
What does "fastboot devices" show?
[Nexus 6P General] Barnics:
CVH7N15A25000XXX	fastboot

---------- Post added at 02:17 PM ---------- Previous post was at 02:16 PM ----------

Linux Mint 17.3
[Nexus 6P General] ridobe:
Type:

which fastboot

This will tell you where your $PATH is pulling from. Likely, it's using your distros version rather than a local version. If so, just do:

./fastboot flashing unlock

From your local folder.
[Nexus 6P General] Barnics:
This worked. Thanks

---------- Post added at 03:07 PM ---------- Previous post was at 02:48 PM ----------

Ok, now im having issues trying to flash TWRP. I get the following text show up in my terminal, but nothing changes on my phone

fastboot flash recovery twrp-2.8.7.2-angler.img

target reported max download size of 494927872 bytes

sending 'recovery' (16880 KB)...

OKAY [ 0.482s]

writing 'recovery'...

OKAY [ 0.247s]

finished. total time: 0.729s

---------- Post added at 03:37 PM ---------- Previous post was at 03:07 PM ----------

Ok, eveerthing's sweet now. Thanks for the help guys
[Nexus 6P General] Einwod:
You need TWRP version 3.0.0 or higher to flash the vendor images.
[Nexus 6P General] nrhirsch:
With rooted Nexus 6P, is there a way to update (download) TWRP directly into the device into the appropriate location without needing a PC?
[Nexus 6P General] Heisenberg:
Do you mean flashing TWRP? You can use Flashfire or Flashify.
[Nexus 6P General] Einwod:
TWRP manager from the play store.
[Nexus 6P General] Heisenberg:
TWRP Manager is known to be pretty unreliable and can cause problems, I'd only suggest the two I mentioned above.
[Nexus 6P General] Rajeev:
Hello..

Sorry for asking this here.. Today i got my N6P replaced. Just updated to newest build. No root. Fully stock.. Then i try to activate SystemUI Tuner via settings icon (round button) nothing happens.. Tried several times but no use.. Any advice?
[Nexus 6P General] nrhirsch:
Thanks Heisenberg and Einwod.

I installed TWRP Manager and Flashify to have a look. Didn't see flashfire in the play store. Checking flashify, it appears I have to use command line or I'm missing something. TWRP looks easy/user friendly but big question is whether the location to store the new TWRP recovery in: /dev/block/platform/soc.0/r982900.sdhci/by-name/recovery It says if it's wrong, I risk bricking! Big hesitation on that. I checked thru root explorer and there is a directory there. Can anyone confirm that's the right place. I thought the location was much simpler from a PC, just copy it into a short named directory. Memory vague on this.
[Nexus 6P General] tfly212:
Stock rooted, unlocked bootloader here...followed the steps item #9 to update to the latest version...upon reboot i got through the "android is updating apps" but when it finished I got the error "there's a problem with your internal system, contact your manufacturer". I think I did everything correctly...what is the best correction? Flash back to bone stock? Thanks!

EDIT: Third reboot seemed to work...but I still get the error. I click OK and everything seems to work fine. I was also able to flash SU and XPosed with no problems.
[Nexus 6P General] nrhirsch:
I had same problem and root check returned that the device was no longer rooted. I couldn't run a few of the root-only programs. wound up going back to the prior version and it's ok again. Also, when clicking developer options, I got a message that said "this user can't use the developer options" or some such wording. but all is well again after reflashing stock and re-rooting.
[Nexus 6P General] tfly212:
It is very strange...everything seems to work fine, other than the error at startup.
[Nexus 6P General] Rajeev:
Any help for me.. ? I really need SystemUI Tuner. Don't know how to activate it .. :(
[Nexus 6P General] redduc900:
Do you have animations disabled in Developer options?
[Nexus 6P General] jesssiii:
I'm not familiar with that app, but it sounds like it may need root?
[Nexus 6P General] cjkacz:
Pull down status bar and see gear icon on top left. Hold it down and it will start spinning. Keep it held for like 5 seconds and systemui tuner will be activated
[Nexus 6P General] Heisenberg:
As I said, don't use TWRP Manager. You don't need command line for Flashify, are you sure you're looking at the right app? I gave you links to them both do so they should have been easy to find, here they are again:

https://play.google.com/store/apps/details?id=eu.chainfire.flash

https://play.google.com/store/apps/details?id=com.cgollner.flashify
[Nexus 6P General] equilateral_sq:
At least one of my backups had boot, vendor, data, system. The others were just boot, data, system. I also flashed P and tried to back up its data and it failed.

I did have my phone rooted back in December. I believe I've been walking around without a rooted phone since January and made a backup after unrooting (since deleted because I made additional as security updates OTA'd in). I maybe made one before unrooting as well.

I will try to make a backup now that I haven't rooted and only have the Google account cloud backup downloaded to my phone.

---------- Post added at 06:20 PM ---------- Previous post was at 06:18 PM ----------

Is your last sentence just a summary of the root procedure? I don't know what patching the kernel achieves
[Nexus 6P General] nrhirsch:
Thanks again but the first link doesn't work and the second is the flashify app I did get before. I have to study flashify more.
[Nexus 6P General] Heisenberg:
My apologies, I forgot that it's still in beta so you need to register for it, the thread is here:

http://xdaforums.com/general/paid-software/flashfire-t3075433

With Flashify it flashes for you. Just select recovery from the main menu, then select "choose a file", navigate to the TWRP image that you've downloaded, and that's it, it'll flash the recovery for you. Screenshots attached.
[Nexus 6P General] jesssiii:
The first link took me directly to Chainfire's Flashify app, which I've used before and highly recommend if you're on a device that has a locked down bootloader (as my LG G4 had, which is why I used flashfire).

Now that I can have a Nexus on Verizon (yay!), I use Fastboot, adb, and twrp.

But without a computer, I've used both apps and they do work.
[Nexus 6P General] nrhirsch:
Heisenberg: That explains the first one and yes, I discovered how to do the flash (picked the 3.0.0.1) and it worked. It downloaded it automatically when I picked 3.0.0.1. I somehow missed the top tabs on the Flashify screen. Thanks also for putting up the screenshots which should be helpful to others as it would have been to me if I hadn't already found it.

Now I noticed that when i boot, I see the same message that someone else mentioned "Your device is corrupt. It can't be trusted..." I'm not sure if it was like that before I went to TWRP 3.0.0.1 but I see it now. Otherwise the 6P seems to be fine. Any suggestions on fixing that boot screen?
[Nexus 6P General] kench33:
When I try to boot into fastboot in the bootloader I get nothing. I am able to reboot into the bootloader with the adb reboot bootloader works fine, as well as adb devices command.

I tried updating my drivers as well and they're up to date.
[Nexus 6P General] Heisenberg:
I'm not sure what you're getting at when you say "boot into fastboot", if you're in the bootloader you're already in fastboot mode.
[Nexus 6P General] kench33:
Sorry, when I am in the bootloader and type "fastboot devices" in the command prompt it does not give me the device serial number.

But when my device is on and I type adb reboot bootloader, I am able to boot into the bootloader.
[Nexus 6P General] Heisenberg:
What OS is on your PC? You most likely need to make sure your drivers are right.
[Nexus 6P General] kench33:
I'm on windows 10. This is the file that I downloaded. Everything downloaded fine as well so I'm not sure what the problem is.
[Nexus 6P General] Heisenberg:
Ok, well you did download the wrong package, my instructions say to download from the "other downloads" section of that page. That shouldn't be the problem though. Go into SDK Manager and make sure the Google USB Driver is up to date.
[Nexus 6P General] kench33:
Sorry about that, I scrolled too far and didn't read what I was screenshotting. This is what I downloaded, and my google usb driver is up to date.
[Nexus 6P General] kench33:
This is what happens when I try to test fastboot
[Nexus 6P General] Prattham:
Any guide on how to update bootloader and radio?

Thanks alot

Cheers ?
[Nexus 6P General] syintiphic:
You should be able to follow section 9 in the guide but only flash the bootloader and radio via fastboot. After flashing just those two files you can reboot the device.
[Nexus 6P General] Prattham:
But i have only mac

What steps to follow using mac
[Nexus 6P General] Heisenberg:
Try getting the driver from here:

http://developer.android.com/sdk/win-usb.html

Connect your phone in bootloader mode, open up Device Manager in Windows (windows button + x, then select device manager), find your device and select to instal drivers manually, navigate to where you have the drivers and select them.

Do you have adb/fastboot installed on your Mac yet? If not, go here:

http://xdaforums.com/showthread.php?t=1917237

That's a really good guide, it explains everything in detail. The commands I list in my guide are all virtually identical except on a Mac you need to prefix each command with "./". So this command on Windows:

fastboot devices

Is like this on a Mac:

./fastboot devices

PS. Please don't create duplicate posts, you asked this in three separate places, it's against the rules.
[Nexus 6P General] Prattham:
Sorry about my posts i have edited them

Meanwhile i was searching on the web and i found that the command has changed its

. /fastboot-mac flash bootloader

Is that so?

Cheers ?
[Nexus 6P General] Chkeh:
Is there a possibility to root Android N as of today? I am sitting here with a rooted phone while I at the same time want to try out Android N, not sure if theres a great solution out there.

Thanks in advance
[Nexus 6P General] Heisenberg:
I don't use a Mac so it's difficult for me to say. You can test it yourself and report back. Test on a generic command first though, something like "fastboot devices", see whether it's:

./fastboot devices

Or:

./fastboot-mac devices

You can root Android N, see this thread for the appropriate SuperSU:

http://xdaforums.com/apps/supersu/wip-android-n-preview-t3335726
[Nexus 6P General] tfly212:
Found a fix to that error...its a conflict between the system build.prop and the vendor build.prop. I manually edited the vendor build.prop to match the system (it is a couple of minor edits) and the error is gone.
[Nexus 6P General] syintiphic:
The "./fastboot flash bootloader xxxxxxx.img" command works on my Mac. Maybe it depends on how your adb and fastboot environment is set up.

I recommend trying the "./fastboot devices" command without the "-mac". If it returns your device then you should be fine using the commands without "-mac".
[Nexus 6P General] Prattham:
So i finally updated my bootloader and radio

And i used commands with -mac and it worked well

Thanks alot

Cheers ?

Sent from my Purified NexusixP

If someone helped you don't just say thanks hit the thanks button
[Nexus 6P General] nrhirsch:
I just took a look and the vendor build.prop is only a few lines versus a page or more from the system build.prop. Can I ask what changes you made? Or did you jjust copy the system build.prop over to the vendor build.prop???
[Nexus 6P General] tfly212:
I took a screen shot of the system build prop, emailed it to myself so I could refer to it and the changed the following things on the vendor build prop to match.

1. Day, month, day, time and year in line 1

2. The 10 digit number on line 2

3. The version number and then the 7 digit number following that on line 3

That was it.
[Nexus 6P General] syintiphic:
I'm glad it worked out. It's good to know that the commands can run successfully with "-mac" too.
[Nexus 6P General] Fe Mike:
Thank you for this guide, i'm on my first nexus phone and this has helped greatly. If i may make a sugguestion, maybe add a section for restoring the nandroid. It might be common knowledge for most here but for me i struggled a bit. After restoring my phone, it would just sit on white google splash screen everytime. After many phone setups later and help from others i finally got it. Thought it may help other noobs out there like me.
[Nexus 6P General] NPOA556:
And if I may make a suggestion, it would be to avoid quoting really long posts like the one you just quoted. :)
[Nexus 6P General] Fe Mike:
sorry about that I'm new. How do i reference post without quoting it? Just post a reply?
[Nexus 6P General] chillzilla:
Really great guide! Looks easy enough to follow :)

I am getting my Nexus 6P tomorrow and would like root to be able to install AdAway (and possibly Titanium Backup)

Which parts of the guide should I follow and which parts can I skip? I only want root. Rest I would like to keep as stock as possible.

How will this affect future updates?
[Nexus 6P General] Einwod:
Once you root and change anything in system partition you no longer get OTA updates. Skip nothing, do it from the start, then you can't f&*k up. Simple as that.
[Nexus 6P General] chillzilla:
Ah thanks. I missed the difference in post #1 and #2.

Guess I need to do everything in post #1 up to step 6. get root and be done.

Then whenever an update is released, do step 9 from post #2 and repeat rooting steps 1-6 from post #1.
[Nexus 6P General] nrhirsch:
I tried that and it didn't work. I also tried changing those items on the default.pro file in the root but it defaults back to itself and I still get the red warning. I wonder if I should set them all to the one in the default instead? I'm gonna try that...... Edited: nope. same thing. the version number and 7 digit number wasn't different in any of the three but still get red triangle upon boot.
[Nexus 6P General] Heisenberg:
That's not a bad idea, I'll add that to the guide. But yeah, don't quote the OP on XDA, they're usually huge and it clogs up the page. You can quote other posts, or you can tag members by using the "@" symbol prefixing their name. Like this:

[MENTION=6278317]Fe Mike[/MENTION]

So anyway, can you please edit your post and remove that massive quote? Thanks.
[Nexus 6P General] Heisenberg:
To get root, yes you follow sections 1-6, but you can skip the deception step as it isn't necessary anymore.
[Nexus 6P General] Fe Mike:
My apologies. Thank you for being helpful.
[Nexus 6P General] Heisenberg:
It's all good. So did you work out what was causing your issues when restoring a backup? What partitions are you backing up and restoring?
[Nexus 6P General] Fe Mike:
Yes, I wasn't flashing vendor img after restoring but before first boot. I was backing up data,system,and boot.
[Nexus 6P General] kench33:
Thank you so much! That fixed my issue.
[Nexus 6P General] kench33:
This may not apply here but I am currently on the newest pure nexus build. When I boot into recovery I am asked to put in a password. I put my pin in and it ended up working. Is this because encryption is enabled on my 6p?
[Nexus 6P General] Rajeev:
Thanks dude. Its solved after enabling animations
[Nexus 6P General] rohit25:
Okay... So just wanted to confirm this before I proceeded with the locking of bootloader... So I have flashed everything stock.. With an exception that I also copied over the hosts file to block ads... If I now lock my device.. Is there any chance of bricking the same... Or am I good
[Nexus 6P General] mswal2846:
This has been answered several times on the PN forum. You have 2 things going on:

You need to upgrade TWRP (Recovery) to 3.0.0-1

You've indicated you want to enter a password at boot. Since, after you've entered the password, it worked, I suspect this is the answer.
[Nexus 6P General] kench33:
It happened because I got rid of my pin to backup my rom. When I put in a new pin it asked to enter on boot which caused my issue. Before that I had to input my pin after a reboot so I thought it was the same thing. I have been on the newest twrp
[Nexus 6P General] coolcat67:
Hi [MENTION=4153349]Heisenberg[/MENTION] I am having an issue traditional rooting the latest build MHC19I coming from MMB29V + CataclysmMOD + supersu 2.68 systemless + EX 1.15. I flashed the factory boot, system, and vendor images, flashed EX 1.15, installed supersu 2.68 and 2.65 after entering terminal command in TWRP to stop forcing systemless root (echo SYSTEMLESS=false>>/data/.supersu). I wiped cache/dalvik and try to boot and the phone just bootloops (both 2.65 and 2.68). If I let it install via systemless method, it works fine. I no longer see the real benefit to systemless and want to try xposed out and figure the traditional method will allow better compatibility with tweaks like that. Is it something to do with the terminal commands I entered? A special boot image to allow root no longer needs to be flashed like when the 6P was first released, correct? The supersu zip file should patch the boot image automatically, yes? This is the first time I've ever had a problem rooting and I feel stupid lol.. what am I doing wrong?!
[Nexus 6P General] fernievidal:
Great thread! I just have one question though. I haven't rooted my 6P yet, I just want a rollback in case I wanted to unroot - how would I unroot?
[Nexus 6P General] SlimSnoopOS:
Fastboot flash the modified boot.img from below then flash SuperSU. You will now have system root. This must be done on the stock rom.

http://xdaforums.com/showthread.php?t=3306684

Fastboot flash boot.img, then system.img If you are on stock, rooted rom. This will remove root and any changes done to /system.

Factory reset in TWRP then follow step 9, if you are using a custom rom.
[Nexus 6P General] newstar:
from MHC19I , flash all script is working flawlessly no need to format user data on 64 gb and 128 gb variants
[Nexus 6P General] coolcat67:
Ah, I guess a modded boot.img does still need to be flashed first.. thank you!
[Nexus 6P General] Chkeh:
I've ran into a bit of a problem here, I'm running the Nexus 6p and Android N as of right now but even after reflashing twrp I can't seem to boot into twrp(stuck on the twrp splash screen). Is there any way for me to downgrade back to 6.0.1 without losing any data without using twrp?

Thanks in advance
[Nexus 6P General] jesssiii:
[MENTION=7140938]Chkeh[/MENTION], Fastboot flash system,vendor, boot images and twrp, boot into twrp and flash SuperSU, wipe dalvic/cache, boot into system.
[Nexus 6P General] Chkeh:
This got me further more problems, as soon as I boot into android I get android.process.acore has stopped working constantly so I can never get to do anything on the phone, any further idea how to fix these issues?
[Nexus 6P General] Xenotrumpet:
If you're not on TWRP 3.0.0-1, try that. You're not encrypted, are you?
[Nexus 6P General] jesssiii:
You'll have to wipe data then, I'm afraid. Factory reset.