yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] mobileman88:
Unlocking it formats the phone and deletes all data, the first boot after unlocking with stock kernel will still encrypt it if you are not using a modified kernel. I found this out the hard way, phone got super hot after i booted a fresh kernel which encrypted it. thought it was hung and i lost all my data.
[Nexus 6P General] wilflare:
guess that was my situation with the 7.1 OTA update :/

I rooted my phone.

downloaded the OTA

restarted to install it.

it took longer than usual at the boot animation.

thought it hung.

restarted it.

"Encryption Unsuccessful"

in any case - would the OTA have worked on a rooted phone? would it have killed my data in any case?

just trying to figure where the mistake was (other than the fact that I did not do a nandroid ._.)
[Nexus 6P General] mobileman88:
You should remove root by flashing the stock boot image before running the OTA. Encryption will take about 3 hours or so if your storage is full
[Nexus 6P General] wilflare:
gah. I was told that I didn't have to unroot. should have checked in with you guys.

any idea what exactly killed my phone? the fact that I accepted the OTA or rebooting during what I suppose is the encryption process?

I used about 40GB of my 128GB
[Nexus 6P General] mobileman88:
Exactly the same as what I did a couple months back. Phone was encrypting and I forced a reboot as the screen was blank, thus it booted with an encryption failed message. LEarnt my lesson and kept my encrypted but unlocked since then. never had a problem upgrading via factory images or even OTA to N
[Nexus 6P General] FunkyMcBain:
Do you guys happen to know if it's ok downgrade from 7.1 .1. I am currently fully stock and I would like to root the phone. I accepted the invite to Android beta so now I'm wondering what the process is to go back a version. I'm planning on rooted and maybe just installing a custom kernel but most likely keeping the stock ROM and applying the OTA updates as they come out
[Nexus 6P General] Einwod:
Simply opt out of the beta. You will return to stock but the phone will be wiped clean, so backup your stuff first and remove from the phone. A rooted device cannot take OTA updates, you have to be stock with stock recovery.
[Nexus 6P General] FunkyMcBain:
I had read the FAQ and was under the impression that I can download the OTA, extract it and then manually apply the update. I know I can get the directly
[Nexus 6P General] Einwod:
There is a way to sideload OTA 's but I've never tried so cannot comment.
[Nexus 6P General] thehoz:
I'm trying to sideload the latest ota on nexus 6p. If I connect to the pc and run adb devices, it sees my phone. When I boot into recovery and set the phone in the mode where it is waiting for an adb sideload, the pc no longer sees the phone. "adb devices" gives me nothing. Any suggestions?
[Nexus 6P General] Roy_Alter:
Its about post 11 -get to stock but keep internal stroage:

Can I choose which verison to download ?

I mean I can download angler 7.0.0 even if when I bought the device it was on Marshmallow

Thanks
[Nexus 6P General] scoot0073:
Unplug and reconnect should fix it
[Nexus 6P General] SlimSnoopOS:
Yes. You can flash any factory image at any time.
[Nexus 6P General] Jsilver73:
bootloop - no recovery

Hi - any one can help would be amazing

I was on 7 (ABC Rom - kylo kernel) then out of the blue whilst listening to music got reboot followed by reboot - tried to go to recovery - same - bootloop - fastboot flash stock 7 official - bootloop - no recovery - used wugs tool kit to format data, cache and system then reflash stock 7 - still bl - used wugs to erase sytem, boot, cache, bootloader, recovery, data - still bl - used wugs to relock bootloader - bootloop - never even any stock recovery to get into - unlocked bootloader again and repeat of all the above and can't think of anyhting else do do other than send the device back for warranty (of course I'll flash all stock and relock the bootloader -

If any has any other idea it would save me the hassle of returning it and I'd be very happy

Thanks in advance and if not no worries
[Nexus 6P General] lu4414:
Hi, i need some help..i was testing the Pure Nexus ROM when i decide to go back to stock to try 7.1....i foloow all the steps on this tutorial but when i try flash the system.img i get the error Â´Â´cannot load system.img`` never seen that before

can someone please help?

Thanks

Update: NRT do his trick and everything in fine now, but still wanna know what cause this error
[Nexus 6P General] Einwod:
Best bet is flash stock images. You'll lose everything on the device, but sh1t happens. You should NEVER BE relock the bootloader unless you are completely stock.
[Nexus 6P General] Xewyph:
I'm getting mad. I can't make my /system writeable.

I've done "su" and "mount -o rw,remount,rw /system" but i always get an error : Device or resource busy

I'm on NPF10C Android 7.1.1 with Root

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Nexus 6P General] Jsilver73:
Thanks Einwood - I know locking bootloader is last resort but thats where I'm at - did that, and I can clear up that actually using wugs toolkit its really easy to unlock again after all ;) - of course I was completely stock by then.

I have tried flashing stock firmwares in their entirity:

7

6.0.1

6

I'm totally stumped - I think there must be something very terminal gone wrong! AFAIK simply running the 'flashall.bat' should take everything back to factory - but no joy.

Oh well, guess I just count my lucky stars that I still have 5 days until my warranty runs out :cowboy:

It's going back tomorrow because I ran out of things to try now and erasing everything/formatting everything and flashing stock over and over again is getting futile and boring now.

EDIT:

I just tried the 'flash-all' bat again and notice I'm getting these errors: archive does not contain

'boot .sig'

'recovery.sig'

'system.sig'

'vendor.sig'

it then goes on to wipe 'user data' then flashes everything apparently like normal - then on reboot I just get bootloop between google splash - then lock bootloader warning'
[Nexus 6P General] Einwod:
Only other thing is to wipe everything, including the internal storage and try again a stock image. That should work. I have had similar errors, but not as many, but it has rebooted and everything was OK ????
[Nexus 6P General] Jsilver73:
thanks - trust me - I have wiped everything several times and also erased - I just locked bootloader now so its going back tomorrow.
[Nexus 6P General] Godryc:
I downloaded the Nexus 6P drivers from here [developer .android .com / studio] and as long as my phone is turned on, Windows has no trouble with the phone and all adb commands work fine. However, when the phone is turned off it is no longer recognized and does not respond to any adb commands. So I'm stuck at not being able to unlock the bootloader and flash a custom recovery.

How can I get the phone to respond to adb command while it is turned off, as per the instructions in the OP?
[Nexus 6P General] Einwod:
You are not reading it correctly. This is what it says:

Power off your phone then boot into the bootloader (power + volume down).

Once in bootloader, continue with the instructions.
[Nexus 6P General] rchtk:
What about

mount -o rw,remount -t auto /system

https://plus.google.com/+Chainfire/posts/dGPQytapwe3
[Nexus 6P General] Godryc:
It turned out to be a matter of the driver not being installed correctly, I figured it out however and was able to fix the issue: the phone now responds to adb commands issued from the PC, even when not fully booted.

What is causing more of an issue however, is this:

Sorry, it seems I cannot post images yet. It says:

D:\SDK\platform-tools>adb reboot bootloader

D:\SDK\platform-tools>fastboot devices

ZY2232HQRC fastboot

D:\SDK\platform-tools>fastboot flashing unlock

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

...

OKAY [ 0.016s]

finished. total time: 0.016s

D:\SDK\platform-tools>fastboot flash recovery twrp-3.0.2-3-angler.img

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

(bootloader) has-slot:recovery: not found

target reported max download size of 536870912 bytes

sending 'recovery' (16896 KB)...

OKAY [ 0.531s]

writing 'recovery'...

(bootloader) Image size exeeded partition limits

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.562s
[Nexus 6P General] Xewyph:
Oh my god. I love you. Thanks ! I was getting mad !

Oh and if i want to reverse it ? What should i type ?

Thanks so much ! ?

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Nexus 6P General] rchtk:
Guess!! Hint: there's one letter to change ;)
[Nexus 6P General] Xewyph:
ro instead of rw ? :D

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Nexus 6P General] rchtk:
BINGO :D
[Nexus 6P General] Xewyph:
Haha thanks a lot ! ?

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Nexus 6P General] blz_phnx:
Anybody have a copy of original build prop?
[Nexus 6P General] thehoz:
I am still struggling trying to sideload the latest OTA from NRD90M that I got through the preview program, that won't update on its own. I tried using Techno Bill's instructions from google forums, I downloaded the fastboot/adb files from the link in his document. When I boot the phone into fastboot mode (power and volume down) I get the android on his back, but I do not have a line in red that says "AP Fastboot Flash Mode" that he says should be there. I get this (after some serial numbers etc...)...

Battery OK

Device is LOCKED

Ofuse Status: ENABLED

Off-mode-charge: ENABLED

Download Mode: DISABLED

Connect USB Data Cable

I tried "fastboot devices" in command line, and I see my phone....I assume. Windows 10 sees it in device manager. When I unplug the cable and go into recovery mode, I plug the cable back in, it does not register in device manager and "adb devices" turns up nothing.

What am I missing here? The phone is in USB debugging mode and OEM unlocking. I appreciate any input, thanks.
[Nexus 6P General] blz_phnx:
If the PC sees the device don't unplug before going to the bootloader. It'll still recognize it
[Nexus 6P General] hh11bbaacchh11:
Are there any updates on the TWRP here? I have it already and fully working, however it's indicated that it's unofficial/unstable yet. I wonder if there is a official release that fixed the bugs of the older official ones.
[Nexus 6P General] thehoz:
As soon as I hit Recovery Mode, Win 10 beeps and the phone disappears.
[Nexus 6P General] mzatari:
Hi

Does this work for 7.1.1?
[Nexus 6P General] jesssiii:
Which original? Depends on what os version you want.

Nexus 6P

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

Yes.

Nexus 6P
[Nexus 6P General] blz_phnx:
7.0
[Nexus 6P General] jesssiii:
Sorry, only have 7.1, ATM.

Nexus 6P
[Nexus 6P General] combat goofwing:
Trying to relock bootloader,running stock rom,and never been rooted

In platform tools using command prompt

Adb version shows adb working

Adb devices shows my device SN when device is on and in normal android OS home screen

When I try "fastboot flashing lock" it's just says awaiting device ,any ideas please
[Nexus 6P General] Einwod:
You need to be in bootloader mode to issue fastboot commands.
[Nexus 6P General] scoot0073:
U need to boot to bootloader to run that fastboot command
[Nexus 6P General] combat goofwing:
Tried it in bootloader mode got same message awaiting device ?
[Nexus 6P General] Einwod:
Check the device manager in case you need to update drivers. Sometimes a simple unplug and attach again is enough in bootloader mode.
[Nexus 6P General] blz_phnx:
Can u send the 7.1 would appreciate it
[Nexus 6P General] combat goofwing:
If it was drivers ,woukd it see device when I go " adb devices" as it shows up in adb devices
[Nexus 6P General] Einwod:
Yes, sometimes the drivers need updating. If there is an exclamation mark in device manager, you need to manually update the drivers.
[Nexus 6P General] combat goofwing:
Thanks updated drivers and works,bootloader locked again thanks
[Nexus 6P General] 89titanium:
Hey guys. Is there anyway to play Pokémon rooted?
[Nexus 6P General] bigdad1963:
I've downloaded the sdk tools twice. I do not have the option to open a cmd window in the fastboot folder. At the other levels, the option is there, but no option where I need it of course. Any suggestions would be appreciated. I'm on a windows 8 laptop btw.

I messed up flashing a N rom and now I'm bootlooping at the android animation screen. I had a backup, but it's not working so I either want to push files to flash another rom or go back to factory.
[Nexus 6P General] Kortxero:
While in your platform-tools folder, hold the Shift key and do a right-click. A dialog will open and you'll be able to select "Open a command window here" in the list. A cmd window will then appear with the right path to your fastboot.exe.
[Nexus 6P General] Savetheknot:
Did yours eventually boot without issue? I have backed up again and am looking to try this again. Did you have to un-encrypt again as well?
[Nexus 6P General] system overload:
I'm on 7.1.1 with bootloader unlocked. TWRP for angler installed without issue and so did the correct SU as verified with root checker. Installed the pixel stuff fine but now a week later when I tried root explorer it says I'm not rooted. What should I do to correct this?
[Nexus 6P General] sirxdroid:
Are you really not rooted anymore or is it just Root Explorer having a hard time detecting root? You can check if you are rooted.

Connect your phone to the computer and run:

adb shell

su

id
[Nexus 6P General] Einwod:
Root Explorer has known problems. I use solid Explorer. Works flawlessly.
[Nexus 6P General] system overload:
Even SU was coming back as not rooted when I launched the installed app. I just reflashed su and now root is back.
[Nexus 6P General] saneparadox:
so i spilled coffee on my nexus 6p but have protection on it with best buy. do i have to unroot it and restore to factory settings before getting my replacement phone?
[Nexus 6P General] mswal2846:
If you can get into the device to do the unroot and restore of factory settings, then why are you returning it? If you can't get in to those activities, then I doubt they will know.
[Nexus 6P General] saneparadox:
It's mostly because my top speaker doesn't work. When I get calls I can't really hear what the person is saying at max volume.
[Nexus 6P General] jakec233:
Apologies if this has been asked before, but I'm currently sitting on 7.1.1, rooted, with TWRP installed, and I'm wondering what the best way to downgrade back to 7.0 is. I understand that I won't keep my root, but that's an easy fix. Is the best way to just opt out of the beta, or will I need to manually flash back to 7.0?
[Nexus 6P General] streebs87:
I could be wrong, but if you opt out of beta then your phones internal storage will be wiped. I'm not sure of the exact method but manually flashing would probably be best. Again, I'm not 100% sure so maybe wait for a second opinion.
[Nexus 6P General] mobileman88:
What if someone is not in the beta program anyway and flashed the beta images?
[Nexus 6P General] streebs87:
Hmm, good question. I'm honestly not sure, but I do know if you're enrolled from the Google site then unenroll it wipes your phone.

I've only been rooted and unlocked for maybe two weeks now, a lot of this is still kinda fresh to me.
[Nexus 6P General] Xewyph:
hum... :c I just updated to 7.1 (Dev preview) and this command don't work anymore :'(
[Nexus 6P General] jesssiii:
If you're not enrolled and simply flashed the OTA in twrp or fastbooted the 7.1 images, then all you have to do is Fastboot the 7.0 or flash a 7.0 rom in twrp (wiping data).

If you're enrolled in the beta program and opt out before the final, official release, then google downloads an OTA to downgrade to 7.0 and it wipes your phone. They warn you first.

NeXus 6P
[Nexus 6P General] mobileman88:
So it will still wipe data when I move back to 7.0? Or I will need to stick with 7.1.1 till it is officially released if I don't want to wipe data? I can no longer dirty flash 7.0 on top of 7.1?
[Nexus 6P General] scoot0073:
If u enrolled in the program to get DP 7.1 and u opt out b4 the official release then Google will send u a its update to put u back to 7.0 and YES it will wipe your data.

Or u could fastboot flash 7.0 images yourself but again you still will lose your data.

Either way u gonna lose your data unless u stay on DP 7.1 until 7.1 is officially released the u can opt out of the beta program and your data will be saved.

NEVER try dirty flashing 7.0 over 7.1 it could make your life miserable..

The only thing that u can try is flashing a ROM /Gapps/Vendor based off of 7.0 and just don't wipe data and c if that works. But make sure you make a nandroid backup first Incase things are wonky afterwards then just restore the backup...
[Nexus 6P General] mobileman88:
Incidentally I have tried the last option, I tried to flash a 7.0 vendor over a rom where everything is 7.1.1 because I wanted to use elementalX kernel and the camera became messed up when I flashed EX 3.0.6 kernel so flashing 7.0 vendor fixed that but came up with an error that there is an internal error in the Android system each time I reboot although everything including Wifi and 4G worked fine. But I flashed back to the 7.1.1 Vendor as I hated that message. Yeah, I have a Nandroid of 7.0 but the longer I stay on 7.1.1 it will then result in lots of stuff getting lost like Whatsapp messages, SMS and other stuff like new/deleted apps if I were to use a Nandroid back to 7.0.1
[Nexus 6P General] bigdad1963:
Thanks, I'll try that when I get home. I thought I had to be in the fastboot folder.
[Nexus 6P General] NameNo:
Will this root guide work on Android 7 NBD90X?
[Nexus 6P General] Einwod:
Make a nandroid and try it.
[Nexus 6P General] Savetheknot:
Can someone help me please?

I am stuck on boot animation again. I tried flashing 7.1 by number 10 OP. I do not care about my data, just wanted to get 7.1. The only thing I can think of that may have caused an issue is I edited build.prop on 7.0 to get Assistant and flashed a MOD that gave me 6 QS tiles in 7.0. However I flashed everything from 7.1 (system, recovery, everything) and wiped personal data. Any help is appreciated. THX
[Nexus 6P General] rchtk:
Did you try the official method using flash-all script?
[Nexus 6P General] nextrow01:
Flash official.

https://developers.google.com/android/images
[Nexus 6P General] Savetheknot:
Do do the official I open the prompt in my fastboot folder, enter the path for the flash-all.bat and press enter?

That is not working. I unzipped the download folder. Am I supposed to unzip the image folder as well?

---------- Post added at 03:04 PM ---------- Previous post was at 02:51 PM ----------

I have no fast boot. 'fastboot' is not recognized...
[Nexus 6P General] rchtk:
Read the instructions on Google website given above. Also saying "doesn't work" is waaay to vague to get help.

Just unzip the file you downloaded, not the included zip.
[Nexus 6P General] Savetheknot:
Not sure what happened but I did the same thing I did to get stuck at the boot animation again and it booted. I was seriously panicking.

Thanks for your help.
[Nexus 6P General] nextrow01:
Unzip downloaded file (npf10c.zip) en copy past files in your adb/fastboot folder.

Connect your phone in Bootloader and make sure it's recognized! (type fastboot devices)

Then just press flash-all.bat.

Worked for me.

Just carefully read https://developers.google.com/android/images
[Nexus 6P General] dark_saint:
Section 8

I'm stuck on section 8. My build number is MDA89D so I need to update to build MDB08K. So in section 8 where it says "Download the appropriate factory images for your model here." do I download the factory image for my current build number MDA89D or the build number that I'm upgrading to MDB08K?
[Nexus 6P General] fury683:
It doesn't matter what version you are on. You can flash any image, they don't require you to do them in a specific order like an OTA would be. Just download the factory image you want to flash and run the flash-all.bat script. If you want to preserve your userdata partition (apps and personal data) edit flash-all.bat to remove the "-w" (no quotes) near the end of the file. If you just unlocked your bootloader, it wiped then, so if you haven't set anything up since wiping, don't bother. Just flash the newest factory image (I did it last night and it works with the boot.img listed in the OP) and you're good.
[Nexus 6P General] Kusanagi Fire:
The image for the build number that you're upgrading to (MDB08K or higher) since you need to use fastboot to flash these images before proceeding with the modified boot.
[Nexus 6P General] Heisenberg:
Good news everyone, TWRP 2.8.7.1 has been released and it is now able to decrypt so formatting data will no longer be necessary. I'll update the guide shortly.
[Nexus 6P General] sirxdroid:
Thank you very much for the guide, things have definitely changed from the past, so this helps a lot.

Question: do we have to enable oem unlock in the dev options first? On new devices I just unlock the bootloader right out of the box so i don't even go through the setup process first just to wipe all my data right away. Not a huge deal, just curious what happens if you "fastboot flashing unlock" right out of the box.
[Nexus 6P General] Heisenberg:
You definitely need to enable unlocking in Dev Options first. Attempting to unlock without enabling it will result in a failed unlock.
[Nexus 6P General] boxcar8028:
So do we still have to flash "angler-mdb08k-boot.zip" before flashing TWRP 2.8.7.1?
[Nexus 6P General] sirxdroid:
Let's wait a bit for the guide updates ...
[Nexus 6P General] Heisenberg:
The guide is up to date, please follow instructions as listed.
[Nexus 6P General] sirxdroid:
So we still need the custom boot.img

Is it required by both TWRP and SuperSU? Not sure I understand why TWRP requires a custom boot.img -- could you please clarify?
[Nexus 6P General] tcat007:
So we need to flash the boot.img again before twrp 2.8.7.1? I'm rooted on K with 2.8.7.0.
[Nexus 6P General] Nocturnal86:
I just tried to unlock mine and it doesn't do anything. Im on a mac and did ./fastboot flashing unlock and just get a bunch of options?
[Nexus 6P General] Heisenberg:
Your fastboot is most likely out of date, you need to update it.
[Nexus 6P General] Heisenberg:
See here:

http://xdaforums.com/apps/supersu/wip-android-6-0-marshmellow-t3219344

If you've already flashed the modified boot.img you don't need to flash it again (unless you've deliberately overwritten it).
[Nexus 6P General] grivad:
So, not new to rooting (been at it since G1), but I've never dealt with this kind of conundrum before.

Basically my new super sexy 6P is unusable to me for day-to-day until it's rootable. It's killing me. I also kinda need encryption (work). I can probably make due without it, but would prefer not to if I don't have to.

So, this might be a dumb question, but is it possible to leave userdata encrypted, flash TWRP, push the SuperSU flashable to somewhere other than /sdcard (like a temp directory on /system or even to /) and flash from there? Delete, reboot, etc.? Sure the unmodified kernel will pop up the modified system warning, but it should still boot, right? At least my 6 did when I was first experimenting with root on Marshmallow..

I'm not near a phone with TWRP on it right now so I can't check (and searching didn't turn up much), but IIRC, you can navigate to any directory when flashing.. so, would this work?
[Nexus 6P General] tcat007:
Any reason the boot image is "K" and not "M"? Or is it best just to flash a ROM to get M?
[Nexus 6P General] plutodc:
Some help please i downloaded the new TWRP and loaded it on this nexus 6p and i go to install supersu everything is fine but after reboot device says it is corrupted and device hangs. Any clues to why?

---------- Post added at 01:39 AM ---------- Previous post was at 01:28 AM ----------

nevermind i am good thanks thought i messed up on a step