yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] CyberZeus1977:
Last version of TWRP works with Nougat and encrypted userdata

Nexus 6P with Chroma rocks!
[Nexus 6P General] Heisenberg:
There are two reasons I don't include the flash-all in my instructions:

1. It isn't always reliable.

2. Part of the reason this guide is written the way it is is to get people to become comfortable with fastboot, that's why I instruct to flash the images manually.

Unless you flashed a modified boot.img directly after formatting the phone will encrypt on the first boot. The latest version of TWRP should be ok.
[Nexus 6P General] mbutandola:
That's fair enough. I could write my own script to make things easier but I like typing those commands. I don't even copy and paste them.

By the way the message I told you about earlier, telling me that there was a problem with my device has disappeared. I flashed the factory image again, ran fastboot boot twrp.img to flash superSU and all is well.

Thanks again for all your help

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Nexus 6P General] robin786:
i tried sideloading the full OTA update following instruction no.14, but the command prompt returns "no device/ media found". where did I go wrong as I followed the instruction exactly. i've checked the hash sum of the file and it matches the one on the OTA Image page.
[Nexus 6P General] yeroc1982:
How the hell do I enable ADB function in developer menu in nougat preview? I'm trying to find it but no luck
[Nexus 6P General] Badger50:
Go to settings>about phone, scroll to the bottom, and tap on the build number 7 times. Done [emoji106]
[Nexus 6P General] yeroc1982:
I Did get into dev menu but can't find the option to enable adb function

---------- Post added at 02:22 AM ---------- Previous post was at 02:19 AM ----------

Every time again when I run adb devices I get no serial number of my phone

---------- Post added at 02:25 AM ---------- Previous post was at 02:22 AM ----------

All I did was unlock bootloader and now won't recognize device when in adb
[Nexus 6P General] Heisenberg:
Are you saying there's no USB Debugging option in Developer Options?
[Nexus 6P General] mswal2846:
Making TWRP "Stick" with 7.0

Hi All,

I am aware that in order to get TWRP to remain after flashing on 7.0 one has to run supersu under TWRP to keep it. However, my company will not allow critical applications that I need to run if my phone is rooted. So I need to unroot. My question is that if I unroot, will TWRP get replace by the standard recovery upon reboot and I'll be back to where I was?
[Nexus 6P General] mobileman88:
One way for such apps to run if you use supersu is to use suhide from chain fire. Or you can use magisk from http://xdaforums.com/showthread.php?t=3432382 to turn off si using magisk Manager. Both works well for most root detecting apps
[Nexus 6P General] yeroc1982:
Well yes there is USB debugging and iv tried it on and off and still not working.
[Nexus 6P General] Heisenberg:
Then it isn't that that's the problem, check your drivers.
[Nexus 6P General] mswal2846:
I've tried several about 6 months ago and the clever people at my company didn't even blink. So I'm still left with my question. Obviously, I can try it and see, but thought I'd check first. Thanks...
[Nexus 6P General] mobileman88:
Do follow [MENTION=4153349]Heisenberg[/MENTION] instruction. It's the most common issue for drivers to fail. I hardly ever has problems getting USB debugging to work.
[Nexus 6P General] SFCurley:
Reverting to MM still unsafe?

Contemplating going back to MM from the OTA 7.0 update I installed a week ago (mostly on-screen battery life). Have backed up, including EFS, on the lateest TWRP. Now that factory images are up, is it still unsafe to revert to MM? If it is ok to do so, any things in particular to know?

Thx.
[Nexus 6P General] Heisenberg:
You should be good to go. I'd do the following:

Boot into TWRP and wipe system, data, cache, dalvik cache.

Flash the factory images for the build you want to return to.

Let the phone boot up at least once before attempting to flash TWRP or root.

Don't restore anything with TWRP.
[Nexus 6P General] Deathstroke1:
I rooted my phone back in January and haven't updated since.

Will I have any problems if I attempt to go from Build MMB29P straight to 7.0 Nougat?

I plan on just flashing the newer build with fastboot.
[Nexus 6P General] cturbos:
ever since i upgraded to build # NRD90M, i can't transfer files to my phone,any ideas?
[Nexus 6P General] SFCurley:
Thank you, and one more quick question. I would really like not to nuke the data partition. Think I can get without that or am I playing with fire?
[Nexus 6P General] robin786:
Anyone able to help me on this?
[Nexus 6P General] Heisenberg:
You definitely need to wipe data. This will only affect your apps and settings.
[Nexus 6P General] Heisenberg:
Does your device show up if you issue the "adb devices" command?
[Nexus 6P General] robin786:
Yup,it shows up. Even in fast boot it is still detected. Only when I try the side loading command it starts with loading the "otafull.zip" file,then it shows the error.

Nothing shows up on the phone as well.
[Nexus 6P General] CyberZeus1977:
Did you put your phone is sideload mode?

Nexus 6P with Chroma rocks!
[Nexus 6P General] chachin:
how do i make sure i dont get this problem anymore:

c:\Android\N6P\angler-nrd90u>fastboot flash system system.img

target reported max download size of 494927872 bytes

erasing 'system'...

OKAY [ 0.139s]

sending sparse 'system' (478083 KB)...

OKAY [ 14.823s]

writing 'system'...

OKAY [ 6.944s]

sending sparse 'system' (483329 KB)...

FAILED (remote: data too large)

finished. total time: 22.318s
[Nexus 6P General] Badger50:
Turn off USB debugging and see if that works before you plug it in [emoji106]
[Nexus 6P General] robin786:
Yup. Selected it from recovery menu & the screen shows that the phone is ready to receive file through adb side load.
[Nexus 6P General] yeroc1982:
OK guys finally got it going right now, it was my stupid drivers giving me issues
[Nexus 6P General] SFCurley:
Again, thank you, Heisenberg. So, I would lose my apps and app related data, and have to restore those things via Titanium, then, correct?
[Nexus 6P General] chachin:
i dont know what the hell i have done but now adb wont see my n6p... :( only fastboot see the phone
[Nexus 6P General] scoot0073:
Yes backup your apps n app data with Titanium backup and restore when done
[Nexus 6P General] SlimSnoopOS:
This sounds like you need to update your adb and platform tools.

You may want to try and remember what you did then type that out before any one can offer help.
[Nexus 6P General] dusto2k3:
So my 6p was rooted and then enrolled in the beta to get N update. Where do I need to start to get to 7.0 rooted?
[Nexus 6P General] scoot0073:
Since you're already on 7.0 then all u gotta Do is download SuperSU 2.77 or what ever is the latest and put it on your internal storage then download latest TWRP I think it's 3.0.2.2 then boot to Bootloader and and Fastboot flash the TWRP recovery image then go from bootloader then select Recovery mode and u will be in TWRP recovery and then flash the SuperSU zip then reboot..

But soon as you go into TWRP recovery i would make a nandroid b4 flashing SuperSU for root. Always better to play it safe..
[Nexus 6P General] mbutandola:
A nandroid with 3.0.2.2 will fail. It's got a bug.

And I'm still to hear of any nexus phone being bricked after flashing superSU

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Nexus 6P General] CyberZeus1977:
Disable compression and backup with latest TWRP will succeed.

Nexus 6P with Chroma rocks!
[Nexus 6P General] scoot0073:
So u saying boot into TWRP 3.0.2.2 and disable compression in settings and make a nandroid then then that nandroid will be good to restore back to if needed..

If so then the nandroid that I made with TWRP 3.0.2.2 is no good then I should delete it and make a new one with compression disabled..

Sorry for these questions but this whole TWRP mess is got me confused
[Nexus 6P General] CyberZeus1977:
I'm saying that TWRP backup fails if compression is enable in backup options.

Nexus 6P with Chroma rocks!
[Nexus 6P General] Heisenberg:
Just don't restore any settings, only apps and their data.
[Nexus 6P General] polarbbr:
Thank you for the comprehensive instruction in the first page. I followed the instruction to download the Android SDK, unzip to C:/SDK folder, run the SDK Manager. However, I do not see any option available for choosing Android Support Library under Extra section. Other three options mentioned in the first page are available in the SDK manager.

Maybe because of that, I do not see device when running the "fastboot devices" command. Can anyone help me on that? thanks.
[Nexus 6P General] Heisenberg:
You don't really need the support library as far as I know. Are you in bootloader mode when trying fastboot commands?
[Nexus 6P General] Ale506:
Hey thanks,

I just did this and now my 6P is back to life, i don't really know what was the problem but im happy that now i can enjoy nougat.

But while I was doing the process again I saw the CMD doing something else than when I was doing the process in Ubuntu, like sideloading part 1/6 ... 2/6 when i did the fastboot system.... weird. But either way...

Thank you so much!
[Nexus 6P General] MYxdaUSERNAME:
Thanks very much. Getting ready to do this myself, but have to wait on a replacement device and just wanted to check. Hope you get it working!
[Nexus 6P General] combat goofwing:
heres whats showing in device manage ADB interface no uptodate driver and not dispalying phone name
[Nexus 6P General] troymz1:
Go download the stand alone driver and update solo. Will fix your problem. Can get it right from google.
[Nexus 6P General] jicama:
Decrypting the /data partition is not necessary for rooting: SuperSU can be installed with adb sideload instead of from /sdcard.
[Nexus 6P General] mcdonsco:
Wanting to root my 6p just to get mobile hotspot working. If I root it, will it no longer get ota's?
[Nexus 6P General] combat goofwing:
OK I'll have a look
[Nexus 6P General] Cares:
Hotspot works without rooting
[Nexus 6P General] combat goofwing:
i can find google usb driver but i already have that installed, but i cant find the ADB interface driver
[Nexus 6P General] troymz1:
Go to device manager and hit update driver.

http://developer.android.com/sdk/win-usb.html
[Nexus 6P General] combat goofwing:
all sorted got the drivers installed and now detects the device in C prompt ADB devices commmand, so before i attempt to unlock boot loader is there anything els i need to know and does it break the q fuse i read about ?t

just tested and got message to unlock or not , chose not at the moment until i get everything backed up but got it working.

reason i wont to unlock is

remove black bottom bar on contorls, flash an new updates straight awy

i dont want to root as i will lose the use of certain apps i need
[Nexus 6P General] troymz1:
My qFuse still says enabled. Did you enable oem unlock in dev options?
[Nexus 6P General] combat goofwing:
Yes done that all good to go
[Nexus 6P General] Heisenberg:
Well, fastboot oem unlock doesn't work so that's a pretty big difference. The flash-all batch file will work, my guides always contain manual methods in order to educate people.

You didn't read/follow the instructions properly. You need to update from that build first, it does state that very clearly.

It will erase all user data. This means all apps, all settings, and all data (photos, music, etc) on your internal storage.
[Nexus 6P General] bcote311:
Thank you so much for this post! Was having an impossible time unlocking and had to go through a lot of this thread and saw this. Worked perfectly the first time when I replaced the old one. :D
[Nexus 6P General] mcdonsco:
Maybe on your network...not on cricket though.
[Nexus 6P General] greenlantern123:
Quick question -

I'm getting the boot warning on boot after completing steps 1-3 of your tutorial. (I can't link links yet but it's the orange one - can't be checked for corruption)

After rooting the 6p is it possible to get these warnings to not appear? To reverify the boot sequence to be trusted?
[Nexus 6P General] Heisenberg:
At this stage there's nothing you can do about that.
[Nexus 6P General] greenlantern123:
Thanks. If I lock the bootloader at this point, I assume because we are using a custom recovery to keep root, the boot process will still throw a warning? (the red one "the red symbol indicates that your device is corrupt or it cannot be trusted and may not work properly. Such an error symbol could be the result of modifying the stock firmware that might have created inconsistencies with the boot verification system or corrupted some system files." taken from ibitimes)
[Nexus 6P General] fury683:
I was on MDB08K rooted and updated to MDB08M. I downloaded and extracted the MDB08M factor image, then modified the flash-all.bat to remove the -w flag, which prevents wiping userdata. I ran the flash-all.bat and booted once (it boots automatically after the images finish flashing). I then flashed the angler boot.img in the instructions, rebooted the bootloader and flashed TWRP (also linked in the instructions). I personally didn't decrypt my data, so I just went in TWRP to the reboot option and it said I wasn't rooted. I swiped to install SuperSU from there and when Android booted up again it told me to update the binary. I selected the "normal" option and it took about a minute, and asked for a reboot. Back up and running on MDB08M with root.

Just wanted to confirm for others that using the MDB08K boot.img works fine with MDB08M.

---------- Post added at 08:08 PM ---------- Previous post was at 08:05 PM ----------

Don't lock the bootloader unless you flash the entire factory image and return to stock.
[Nexus 6P General] troymz1:
If I want to get OTA updates again do i just flash factory everything and then lock bootloader?
[Nexus 6P General] polarbbr:
Yes, I'm in the bootloader mode. Do I need manually update the Goole USB driver on my Windows machine? I know it is in the a folder Extras.... Thanks.
[Nexus 6P General] Heisenberg:
Yeah you probably need to do that.
[Nexus 6P General] SFCurley:
Got it. Thx again.
[Nexus 6P General] SFCurley:
Can I Nandroid Back In time

Just restored to MM successfully from Nougat. I restored to the MTC20L image., however, I managed in the process to erase my internal storage completely. The last MM NANDROID backup I have is from July. Given that I'm now back on MTC20L, can I just install TWRP 3.0..2.2 and restore the MTC16X nandroid backup and then upgrade forward to MTC20L from there? Likely any problem using TWRP 3022 to restore?

Thanks.
[Nexus 6P General] mobileman88:
Yes. That's all you need to do
[Nexus 6P General] cturbos:
Got it working by uninstalling the drivers then reinstalled it again....All is good again....
[Nexus 6P General] lu4414:
Twrp doesn`t stay after flash and don´t recognize my files

Hello, fisrt thanks to Heisenberg for the awesome post, but i had some problems.

After flash TWRP it just boots one time, then when i reboot the phone and try acess the recovery i just get a error message, and also even in this time that TWRP boots up it didnt`t show any of my zips to me flash

Anyone had a similar issue? Any help will be apreciated

PS: I had stock Android N and didn`t decrypted it
[Nexus 6P General] asj0422:
Funny thing I noticed... when you download the factory images and unzip them, the last modified date on like half of them is 12/31/2008, while others are in 2016. wonder why that is...

---------- Post added at 07:11 PM ---------- Previous post was at 07:10 PM ----------

Are you on the most recent version of twrp? only the most recent version is compatible with android N.
[Nexus 6P General] SFCurley:
I did, it worked, and I thank you.

Much better battery life after having gone back to MM!
[Nexus 6P General] mobileman88:
Don't thank me. Thank the Excellent guide from [MENTION=4153349]Heisenberg[/MENTION]
[Nexus 6P General] 89titanium:
This stupid trick worked for me when that happened. Get your phone ready for the sideload and THEN plug in the USB (or unplug/replug). Just make sure it gets plugged in while it's waiting for the sideload. My phone wasn't showing up in my device manager at all if I had it plugged in beforehand.
[Nexus 6P General] aSystemOverload:
Hi,

I'm trying to upgrade to Android 7 on my Nexus 6P on Debian Jessie. I've freshly re-installed Android Studio, along with a fresh download of the SDK, completely new.

My bootloader is locked, if I try to unlock I get usage help:

fastboot flashing unlock
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

If I try to use adb, I get:

adb devices
* daemon not running. starting it now on port 5037 *
cannot bind 'local:5037'
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon

How can I fix both of these issues?
[Nexus 6P General] Einwod:
Make sure the drivers are up to date. Check for warning triangles in device manager and update as necessary.
[Nexus 6P General] lu4414:
Are you on the most recent version of twrp? only the most recent version is compatible with android N.[/QUOTE

That was exactly the problem, all good now! Thanks for the input
[Nexus 6P General] robin786:
:victory::victory::victory::victory:

your "stupid trick" actually WORKED for me! thanks a bunch for this pointer man! i appreciate this.

now I'm a happy user who've been upgraded to NRD90U!
[Nexus 6P General] mobileman88:
You need to unlock the bootloader in developer menu according to the op
[Nexus 6P General] jeffreymcclain:
Step 3 still required for latest TWRP + Android N?

3. How To Decrypt Your Data Partition

"This is no longer necessary as long as you use TWRP 2.8.7.1 or newer, unless you are using the Android N developer preview, in which case you must decrypt."

Do you know if this step is still required for the latest versions of Android N (NRD90U) and TWRP (3.0.2-2)?

I notice the latest TWRP changelog states:

Merge "Updates to support Android 7.0 N decrypt" into android-6.0
[Nexus 6P General] Heisenberg:
Not necessary.
[Nexus 6P General] 89titanium:
Boom! I knew I was onto something. Idk if it's Windows 7 or what. Drop this in the guide Heis.
[Nexus 6P General] robin786:
Could be, as I'm on windows 10. Perhaps anyone else with the same situation can verify this.
[Nexus 6P General] 89titanium:
I meant that I suspected that it only happens on Windows 7 because that's what I use. I guess that is not the case and it can affect all Windows versions.
[Nexus 6P General] facemob:
OK. I have a problem. I followed the guide to root my phone. I unlocked the boot loader and made my backup. Now I flash twrp and it works. The problem begins when I flash the SuperSU zip it says it's successful but when I reboot the phone it stays on the boot animation. Eventually i have to go restore the boot from backup in order to get the phone to boot properly. After that twrp is gone and no SuperSU. Any ideas?
[Nexus 6P General] meleelord:
I'm also having this issue, have also posted in the SuperSu thread http://xdaforums.com/showthread.php?p=68667295. Using TWRP 3.0.2-1 (have tried -2 and -3 as well), and SuperSu 2.78. On latest 7.0 nougat from the recent factory image.
[Nexus 6P General] facemob:
I'm using the 3.0.2-2 myself....

hopefully someone can help us
[Nexus 6P General] scoot0073:
Are u given it enough time to boot.

Bc mine hung at the boot animation for over a minute then I went back to check and it was at my home screen..
[Nexus 6P General] meleelord:
Given it 15 minutes, really shouldn't be going on that long.
[Nexus 6P General] scoot0073:
True when it hung did you try to do a hard reboot hold power button down until it shut off then power back on..

I heard peeps doing this and it worked with no side affects
[Nexus 6P General] meleelord:
Also tried this as it's happened in the past. Still nothing happening :(
[Nexus 6P General] rchtk:
You probably have android-tools-fastboot and not fastboot

apt-cache policy android-tools-fastboot fastboot
apt-get install fastboot
[Nexus 6P General] 89titanium:
So.... Anyone know how to get Pokemon Go working with the new update? It blocks rooted phones.
[Nexus 6P General] rchtk:
Yes, got exactly the same on a new (completely stock) 6P running NRD90M. Worked once and then no way. Could be after it asked me if I want to wipe data (to which I answered yes as unlock already wipe everything..)

But in the end I managed. IIRC, flashing twrp and then going into bootloader mode and from there to recovery.

Can't remember really :)
[Nexus 6P General] scoot0073:
Watch this it should be helpful

https://youtu.be/ePGd8OK1wm4

---------- Post added at 10:05 PM ---------- Previous post was at 09:56 PM ----------

Idk why it's doing that bc u are using TWRP 3.0.2.2 and SuperSU 2.78 which is correct..

Have u tried flashing back the stock boot image and see if it Boots up.
[Nexus 6P General] niebloomj:
I am successfully flashing everything, but the build number is not changing. I have successfully upgraded using this forum's instructions before, but this time, when I try flashing with the instructions for Nougat, the build number is not changing, and I am still on 6.0.1. I have done the same steps I have always done and flashed everything but the userdata... Any ideas anyone?
[Nexus 6P General] mbutandola:
Are you sure you don't have an error when flashing? Did you read the log? Could also be a corrupt file

Envoyé de mon Nexus 6P en utilisant Tapatalk

---------- Post added at 01:18 AM ---------- Previous post was at 01:17 AM ----------

Have you guys tried flashing superSU 2.77?

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Nexus 6P General] niebloomj:
I am not sure where the log is, but each flash in the command line finishes with success.
[Nexus 6P General] mbutandola:
When you scroll back up, do you have any errors at all?

You might want to download the image again

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Nexus 6P General] niebloomj:
I tried downloading the zip from Google again and the same issue occurred with no errors. So I tried flashing to the last 6.0.1 version before nougat since I wasn't up to that yet. Same issue with this. Build didn't change to what I was flashing.
[Nexus 6P General] mbutandola:
That sounds really strange. You're flashing via fastboot, the right factory images, yet nothing changes? You're not trying to flash ota files, are you? Because you mentioned a zip file. But ota images aren't zip files. And your bootloader is unlocked? Don't wanna make you look dumb or something. But we could all be distracted sometimes. I just don't see why it wouldn't work. Fastboot is most reliable

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Nexus 6P General] niebloomj:
Yes. The files I am flashing are each ".img" files that came inside the .zip from Google. The bootload is unlocked. I just did it all again after updating my fastbook and all platform tools, and it still didn't work. Everything returned success. These are the commands I am running and everything says success. Would it say success if the computer isn't recognizing the phone? Even though the phone is restarting when i type the restart commands, could adb not be detecting it?

adb reboot bootloader
fastboot flashing unlock
fastboot flash bootloader C:\angler\bootloader-angler-angler-03.61.img
fastboot reboot-bootloader
fastboot flash radio C:\angler\radio-angler-angler-
fastboot reboot-bootloader
fastboot flash boot C:\angler\boot.img
fastboot erase cache
fastboot flash cache C:\angler\cache.img
fastboot flash recovery C:\angler\recovery.img
fastboot flash system C:\angler\system.img
fastboot flash vendor C:\angler\vendor.img
fastboot reboot
[Nexus 6P General] mbutandola:
What is fastboot flashing unlock doing there?

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Nexus 6P General] niebloomj:
It says unlocking failed because it is already unlocked.
[Nexus 6P General] niebloomj:
I just added it there to make sure there was no question that the bootloader was unlocked