yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] mbutandola:
It doesn't. It just restarts the process. But got it figured out. I just long pressed the power button and the volume down and that got me to download mode. Flashed the factory image, booted into twrp and factory reset the phone. Seems that the issue was the transition from 7.1.1 to 7.1.2. But I'll wait a bit before rooting it.
[Nexus 6P General] lesterinidad:
I am still in bootloop after I flashed the factory image. Booted into twrp and factory reset my phone, still bootlooped. I was on custom rom before and f2fs :(
[Nexus 6P General] mbutandola:
What version did you flash? You might want to flash a 7.1.1 factory image first

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Nexus 6P General] fiverings:
I have a Nexus 6p, rooted, twrp, busy box, I want to install the 7.1.2 ota update,. What do I have to uninstall to make it work, also I'm on the stock rom.

I need a little help because I can't afford to mess the phone up.

Thx for you help
[Nexus 6P General] Einwod:
Totally unroot, flash stock recovery and check for OTA.
[Nexus 6P General] Toraddict:
I had a bootloop too I flashed twrp and then selected wipe then advanced wipe and selected two things wipe dalvik cache and cache and it worked.
[Nexus 6P General] mbutandola:
A clean install is always better when you change android versions

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Nexus 6P General] fiverings:
Hi, not changing Android versions, I'm stock, just want to update to the new version, I'm rooted & have twrp. I've read so many caveats, that my brain is about to explod. If I unroot my 6p, then Fastboot the stock recovery, then I can sideboard the 7.1.2 update. Or is there a simpler method.
[Nexus 6P General] Toraddict:
try fireflash app
[Nexus 6P General] mbutandola:
From 7.1.1 to 7.1.2 I suppose. That's why I recommend a clean install. I got into a bootloop. Had to factory reset. So if you factory reset before booting up you should be good. Google does a pretty good job backing up your apps and settings now anyway so no big deal

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Nexus 6P General] rchtk:
Clean flash is: backup your data, flash-all.bat, flash twrp, reboot into TWRP and sideload/install SuperSU app.

Takes about 10minutes and that's 3 lines to type.
[Nexus 6P General] fiverings:
Got it updated, still have root and twrp. Thanks guys for your help.
[Nexus 6P General] crackd:
Heisenberg's Step 9 workaround for 7.1.2's missing cache.img

As noted earlier, the 7.1.2 image (N2G47H, Apr 2017) is missing a cache.img file, so if you blindly follow Heisenberg's Step 9 instructions *and* don't notice (or ignore) the error about cache.img being missing when flashing cache, your phone will likely remain stuck at the boot animation screen (tried a few times, leaving on screen for 30+ minutes).

As a workaround, I just used the cache.img file from the 7.1.1 image (N4F26U, Apr 2017) along with the rest of the 7.1.2 files. The install worked fine, but to make sure no odd issues surfaced from mixing files from different versions, I wiped the cache directories via TWRP.
[Nexus 6P General] mobileman88:
You did a wipe of cache after closing the 711 cache image? Just to confirm. I didn't do that and it is still working but keeping my fingers crossed
[Nexus 6P General] poudigne:
I want to root and unlock my recovery, but fastboot don't detect my phone (http://imgur.com/a/oUQqD). My USB drivers are up-to-date. What can I do ?
[Nexus 6P General] mbutandola:
The same happened to me. Performing a factory reset via twrp (didn't install it but used the fastboot boot twrp command) before booting up does the trick. I think it's a better solution than flashing a cache of a previous version.

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Nexus 6P General] 5.1:
Hello... Recovery can't be unlocked... But bootloader can! :)

First unlock your device screen. And when issuing "adb devices" (without quotes) Check your N6P screen. It should prompt you to allow your computer to use ADB on your device...

Once allowed, type:

adb reboot bootloader

It will reboot in to bootloader.

From there follow this guide to unlock, install TWRP and Root your device: https://xdaforums.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928

Just Google for: SuperSU 2.79 sr3 zip. And use this one.

Be careful. Once TWRP flashed, boot into recovery from bootloader. Tap install, navigate in your sdcard where you previously saved the SuperSU zip, select and install it.

If you reboot before installing SuperSU, TWRP will be overwritten by stock recovery and you'll have to start over again flashing TWRP...

Good luck... :good:
[Nexus 6P General] crackd:
After flashing the cache image (I'm assuming you meant "flashing" instead of "closing"), I continued with the rest of the instructions (flash system.img, flash vendor.img, reboot). After booting into my OS with all my data still there, I figured their might be some oddness with using the 711 cache image, so I rebooted into TWRP, and used the Advanced option under Wipe to wipe just the two cache directories (cache and divorak cache).

This may or may not have been needed; but since it couldn't hurt, I went with it.

Someone more in the know may be able to weigh in on repercussions of using a 711 cache image with the 7.1.2 OS/etc.

---------- Post added at 10:41 AM ---------- Previous post was at 10:38 AM ----------

My only reason for using the "step 9" instructions were to avoid losing my user data, and thus having to reinstall/reconfigure apps (I've been too lazy to create a titanium backup -- but will do so soon, hopefully).

I'm assuming your factory reset option loses the user data, which most people who have proper backups are fine with. As someone noted on this thread, it's always good to do a clean install, especially when jumping to a significant version change, so your route's definitely good for most people.
[Nexus 6P General] mbutandola:
I haven't used titanium backup for some time. Mostly because it's cumbersome and the ui is archaic. Google backup has very much improved. I got all my apps and settings back. Only lost my sms but didn't mind that. I like to start fresh every now and then ?

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Nexus 6P General] poudigne:
Thanks the adb reboot bootloader is the step i missed.
[Nexus 6P General] dhjean:
I'm confused. Step 9 has been edited to say the "fastboot flash cache" command is unnecessary on 7.1.2 and above. It seems to be saying to erase the cache and then just don't flash any cache at all and just move on to flashing recover, system, and vendor. Am I misunderstanding this?
[Nexus 6P General] crackd:
I was unaware of this edit to the Step 9 instructions; however, me following those instructions without running `fastboot flash cache` failed for me on three different attempts. In all of them, the OS refused to boot past the boot animation, even after 60 minutes (only tried 15 and 30 minutes on the other two attempts). YMMV
[Nexus 6P General] dhjean:
Thanks. It seems strange that we would need to flash a partition that is not provided or that Google would not provide a needed file. I don't understand enough about how Android is built to even guess at how that partition could now not be needed at all.

I think I'm going to wait to see what some other folks experience with this before updating. It would be great if someone here more expert about Android had some clarification to offer.
[Nexus 6P General] adnan.selimagic:
I didn't flash cache.img from 7.1.1. After flashing 7.1.2 using step 9 instructions, just wipe cache and delvik cache and reboot to system.
[Nexus 6P General] dhjean:
So, you followed every step in 9, including erasing the cache, except flashing cache, then erased cache and dalvik from recovery?

I have normally flashed everything as described in step 9, including flashing TWRP. Then I boot into TWRP, install SuperSU, wipe cache and dalvik, boot to system. It sounds like you're saying that will work as long as I just skip flashing cache, right?
[Nexus 6P General] adnan.selimagic:
Exactly as you described. Follow step 9 including erasing the cache except flashing. Install latest twrp, super su, enter twrp, go to wipe, advanced, wipe cache and delvik, reboot. Done :)
[Nexus 6P General] dhjean:
Fantastic. I'll give this a try tomorrow or Saturday. Thanks!
[Nexus 6P General] dhjean:
And it worked perfectly and painlessly. Thanks again.
[Nexus 6P General] osodichoso:
Jargon built on mre jargon goes nowhere...wfat is twrp, bootleggerand tge rest
[Nexus 6P General] kyzn:
You shouldn't be messing around with your phone if you aren't willing to read up to understand the jargon. Be satisfied with stock then.

There's another user who just posted having successfully unlocked and rooted his 6P without any issues for the 1st time. Painlessly.

So please don't mess with your phone. You'll probably break it.
[Nexus 6P General] scrin378:
Im on 7.1.2 public beta..i didnt recive official rom update yet...can i flash OTA update manually ?? Sorry for noob question, but im new to nexus family..thanks.
[Nexus 6P General] clanderson:
Isn't not flashing cache.img the same as flashing/wiping your current version's cache? I don't see the problem here?
[Nexus 6P General] Homeboy76:
Good Question

I think flashing the cache.img is the same as

erasing/wiping your cache partition

.

The posts on pages 566 and 567 provide additional information for updating to 7.1.2 using step 9 (How To Update To A New Build Of The Stock ROM):

a. Omit flashing cache.img (7.1.2 doesn't have a cache.img.)

- Before reboot: flash twrp.img

- Unplug phone

- Use Volume up/down to Recovery mode press Power to Select

- Flash SU

- Wipe, Advance Wipe: dalvik/ART cache and cache

- Reboot

b. Flash cache.img from 7.1.1

Apparently, they both work.
[Nexus 6P General] groovemetal81:
possibly new to 6p

Sorry Guys I have not had time to read the whole forum, I just lost my Nexus 6 to a fall. I want to buy a 6p today on Swappa and wanted to know is there any point where the bootloader is locked out for good like the Pixel after the March security updates Or am I safe to buy the 6p on any version and root it and unlock the bootloader?? Again thanks a ton for the help
[Nexus 6P General] jt1998:
bootloader can still be unlocked as of April's update.

Only con I would advise you of is be prepared in being a used 6p from swappa, ebay, etc. A lot of users have bad battery life/health. Can't make it a full day on a charge. So as long as you know that going in, and are ok with that or willing to replace the battery yourself (non removable battery but YouTube vids show how to do it), jump in and enjoy. Supposedly, lots of people who replace the battery themselves, or got a new 6p phone or battery alone through warranties, say their issues are resolved. Good luck!
[Nexus 6P General] groovemetal81:
Awesome that's great news There are a few to choose from so I will grill the owner's on the battery issue. Thanks a ton for the quick response and the heads up on the battery issue! I am looking forward to this community and the new Dev's. I'll miss my Nexus 6 but I think the 6P is going to be a move forward. :good: Thanks again for the help see you around!!
[Nexus 6P General] JrSmilez:
I apologise for probably sounding stupid, but are you saying at some point all Nexus and Pixel bootloaders will be unlockable or just carrier phones? I have not read this anywhere.
[Nexus 6P General] 5.1:
Sounds like Nexus can be unlocked...

For those on Verizon Pixel, it's not unlockable on 7.1.1 and above, unless they got a 7.1 device in the first place and unlocked using "dePixel8" exploit before updating to 7.1.1 . Exploit got patched with 7.1.1 release...

Cheers...
[Nexus 6P General] lukeet:
Thanks
[Nexus 6P General] copticwalad:
I'm assuming you're not rooted and have stock recovery (no TWRP). If that's true then follow instructions here for OTA https://developers.google.com/android/ota. If you want to root or unlock bootloader afterwards then follow first post here.

Worked awesome! Just has a noticably longer boot the first time because it doesn't show 'optimizing 1 of 176' etc..

I finally gave in on upgrading to Nougat after seeing XPOSED was going to take months (bless rovo's heart though for his hard work) and having some Project Fi issues that were resolved in latest updates. I went from 6.0.1 MTC20L to 7.1.1 N4F26U because Step 14 didn't show "(above command is unnecessary on Android 7.1.2 and above)" listed in Steps 9, 10 and 11 and I noticed Cache was missing from 7.1.2 as well. I had thought Google made a mistake but saw it was intentional, so having 7.1.1 still not yet rerooted or applied twrp recovery I followed Step 9. To help sum it up though even more here because it's been a while.

Prereqs:Unlocked bootloader + USB Debugging enabled in developers options + Latest SuperSU stable or Beta saved on phone storage. Also, Platform-tools folder ready with twrp img in it. See first post for them. I'll use // for comments but don't include if copying and pasting.

// In case you forgot - Shift + Right click on Platform-tools folder, then Open Command window here

adb devices //Check connection with phone after plugging in with Android loaded

adb reboot bootloader

fastboot devices //Check connection with phone in bootloader mode

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

fastboot reboot-bootloader

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

fastboot reboot-bootloader

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

fastboot erase cache

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 reboot-bootloader // I added this as a precaution because of flashing stock recovery, rather than skipping it

fastboot flash recovery twrp-3.1.0-0-angler.img

fastboot reboot-bootloader // Added this so that phone can load it more reliably, maybe not needed

// Use Volume + Power buttons to select recovery, which will open TWRP after about a minute.

// Flash SuperSU (I used SuperSU Beta SR3-SuperSU-v2.79-SR3-20170114223742) with zip verification

// It will give you an error on missing cache, but that's okay because you will then Wipe Dalvik & Cache after SuperSU installs

// System Reboot

// Wait - may take 5 -15 minutes depending on number of apps.

// Enjoy 7.1.2 Rooted, check SuperSU app if you need to configure any settings.
[Nexus 6P General] treezy26:
I believe I may have entered the boot loop of death. I have done everything I could imaginable. I have went back to stock, unrooted, with stock recovery. At one point I was able to enter stock recovery but it kept flashing the green android with the exclamation point with a "no command" at the bottom. Tried holding power and pressing the up once and releasing, only to reboot over and over. When I was rooted with TWRP, I would start to flash something and it would just stop and reboot, and I'm back to square one. I have tried Wugs tool kit with no luck either( i was desperate). Now my phone is a paper weight...Anybody got any ideas here, as I am down to my last leg.
[Nexus 6P General] D168:
I flashed 7.1.2, and I've been on the boot screen (spinning circles, dots, etc) for 45 minutes now. I tried flashing everything again earlier when I had been waiting 30 minutes. Is it normal for it to take this long? On 7.1.1, I don't recall having to wait this long?
[Nexus 6P General] 5.1:
Hello... I haven't flashed it yet. But seems like 7.1.2 doesn't have a cache.img as previous versions. Try to reboot in recovery and wipe cache.

You can also fastboot boot a TWRP.img and wipe cache and dalvik/art cache.

Read from 20 or 30 posts before yours. People talk about this problem.

Good luck...
[Nexus 6P General] D168:
Thanks! I didn't go far enough back to notice those posts!
[Nexus 6P General] 5.1:
Hehe... Sometimes the info is right here and I don't see it either! :)
[Nexus 6P General] El Dudo:
Great guide! I'm following it, but I'm having troubles trying to install the TWRP. I get a failed (data transfer failure (unknown error)) at cdm.exe. Is it possible it's a faulty USB connection? I have to try the "fastboot devices" step a number of times before it recognizes the phone, so that might be it. I tried all my USB connections and 2 different cables, but it didn't change anything. Thanks in advance if someone takes the time to help me!
[Nexus 6P General] 5.1:
Hello,

Your bootloader is unlocked, right?

Try downloading TWRP again. Could be a bad download.

Good luck...
[Nexus 6P General] El Dudo:
Yes! It worked eventually, thanks for the tip. However, my Nexus has Android 7.1.2 and it seems Pure Nexus last version is for 7.1.1. That means I have to wait to install the ROM, right?
[Nexus 6P General] 5.1:
Hey,

Not really... Just install NUF26N Vendor.img from TWRP or flash it with fastboot in bootloader.

7.1.2 Bootloader and radio shouldn't cause issue.

You can downloaded the Vendor.img from PureNexus developer androidfilehost's account here: https://www.androidfilehost.com/?fid=529152257862708442

Then install PureNexus zip.

Good luck...
[Nexus 6P General] zer0se7en:
Used a cache.img file from last 7.1.1
[Nexus 6P General] Homeboy76:
See edited post ;)
[Nexus 6P General] El Dudo:
Thanks for the help! It's already running (:
[Nexus 6P General] akm_202:
Error loading angler

So I tried to update to 7.1.2 using the commands under guide number 9.

Unfortunately I get an error in the command line, with it saying that they cant load C:\angler\images\abc. Not sure why. I've got the directory correct (followed the guide to a T), and the xxx's correct to the current versions in the folder.
[Nexus 6P General] redduc900:
[MENTION=8219049]akm_202[/MENTION] If you're updating from 7.1.1 to 7.1.2, then sideload the OTA image via adb.

https://developers.google.com/android/ota
[Nexus 6P General] akm_202:
[MENTION=4033737]redduc900[/MENTION] I dont think I can do ADB sideload because according to the main post #12, I need to have a completely stock set up. Mines rooted according to the 1-6 steps so its not completely stock. When I go into recovery mode, TRWN pops up instead of the stock andy recovery mode so I cant sideload.
[Nexus 6P General] redduc900:
[MENTION=8219049]akm_202[/MENTION] You can use Flashfire to flash the image while retaining root and TWRP. Just make sure to download and flash the complete factory image, and not the OTA image you previously downloaded. Another option is to extract the boot, system, and vendor images from the factory image, then fastboot flash each one individually from a command prompt. You can also flash the bootloader and baseband via fastboot using the same method.

https://developers.google.com/android/images?hl=en
[Nexus 6P General] ^tyrant^:
So i plugged my phone into my computer to transfer some videos off, and im am using the same cable i always have use to to updates, but its not asking me what i want to do.. its going right to charging .. has anyone ever seen this?

Edit: guess my cable died, tried another cable and it works just fine.
[Nexus 6P General] dwh2o13:
Just noticed after flashing a custom ROM(latest RR) I'm getting an "unable to mount storage" at the end of anything I do in twrp. I don't recall seeing this before and was hoping someone could help me address this if necessary. All seems to be functioning but I'm just thinking i shouldn't be seeing this red notification after every process in twrp??:confused: Hoping someone can shed some light on this...thanks so much!
[Nexus 6P General] celletta:
Hi, using the first method with flashfire, will I keep my apps and data or lose everything?

Also, after flashing the new image, do you recommend to format the cache/dalvick?

Thanks
[Nexus 6P General] ^tyrant^:
anyone else having a issue with bluetooth not being turned on after rebooting the phone? I am still running 6.0.1
[Nexus 6P General] Einwod:
You really need to update. You're far behind.
[Nexus 6P General] ^tyrant^:
I am content where i am..
[Nexus 6P General] rustyself:
Pretty frustrating time with this, for whatever reason. I'm on 7,1,2 and keep getting a "software is corrupt" message after unlocking, installing TWRP, and sideloading root zip. It will not boot past the Google screen no matter how long I leave it there, and I've ended up flashing factory images several times. It's not saying it may be corrupt, it is saying it is corrupt.
[Nexus 6P General] Einwod:
Did you backup your efs partition? Restore it in twrp and you should be good again.
[Nexus 6P General] rustyself:
I don't guess I'm following you. I don't have a way to back up any partitions. I'm stock.
[Nexus 6P General] 5.1:
Hello,

How did you proceed?

Installed SuperSU zip directly after TWRP?

What SuperSU version did you install?

I don't get it either... But just in case, you can backup your EFS from TWRP > backup > EFS

It's even a good idea to backup EFS in case something goes wrong:

No baseband issue can happen sometimes for whatever reason...

Cheers...
[Nexus 6P General] rustyself:
It was the latest SuperSU. I thought, according to this guide, it has to be installed immediately after booting into recovery for the first time, because recovery worn survive a reboot according to this guide?

Yes I back EFS up. Can't do that until I have a stable, rooted phone, though. Thanks
[Nexus 6P General] 5.1:
Hey,

Just link me to the SuperSU you installed...

Was it this one by the way: https://download.chainfire.eu/1021/SuperSU/SR3-SuperSU-v2.79-SR3-20170114223742.zip

Good luck...
[Nexus 6P General] rustyself:
This is it:

UPDATE-SuperSU-v1.34.zip
[Nexus 6P General] CyberZeus1977:
Too old man! Newest is 2.79!

Inviato dal mio Nexus 6P utilizzando Tapatalk
[Nexus 6P General] rustyself:
It's the one on chainfire's front page.
[Nexus 6P General] 5.1:
Hey,

v1.34 seriously? :(

This version is really really old dude...

Use the link from the previous post. It's straight from Chainfire's server.

This one will work.

Did you clean install just before TWRP and SuperSU or is it your current setup?

I'm not sure the v1.34 will play nice with the new one as it used to install on system partition. The new SuperSU use systemless method and patch boot.img

If you have the choice, reflash factory image and start from scratch. Or install 2.79 sr3 anyway and see if that works. If not, factory reset or reflash if it still fails to boot.

Good luck...
[Nexus 6P General] rustyself:
Really appreciate the help, but I don't understand the part about where to flash this.

Do I flash recovery, and then reboot the phone, download SuperSU then reboot into recovery? Or do I just sideloading this SuperSU when I boot recovery the first time?

The guide isn't clear on this at all.
[Nexus 6P General] 5.1:
Hey,

Not sure how you are going to proceed... If you reflash factory image, let it reboot to system.

Place SuperSU 2.79 sr3 in the root of internal storage

Then boot to bootloader

fastboot flash TWRP

Boot to twrp

Install SuperSU

Reboot, done...

It will reboot 1 or 2 times, don't interrupt the process, it will boot... :good:

Let me know if you're still unsure.

Good luck...
[Nexus 6P General] rustyself:
I'll give that a try. Thanks!
[Nexus 6P General] Einwod:
If you have TWRP, then you can backup the EFS partition. You cannot be stock with a custom recovery.
[Nexus 6P General] 5.1:
Hey,

He installed SuperSU v1.34... That likely caused his issue :)

Cheers...
[Nexus 6P General] rustyself:
I don't understand, apologize in advance. I've always ran stock rooms, on every Nexus I've owned, with an unlocked bootloader and custom recovery. The 6P is different?
[Nexus 6P General] 5.1:
Hey,

So... Is your phone is fixed by the way?

Cheers...
[Nexus 6P General] rustyself:
Hi,

Won't be able to try your method til I get home today,but I will respond and let you know thanks!
[Nexus 6P General] rustyself:
yes, that did the trick! thanks!
[Nexus 6P General] Nebul0us:
help

I need help my 6p just bootloops with the dead android guy flashing really quick. Can anyone help me please?
[Nexus 6P General] jhs39:
Were you doing anything with the phone before it bootlooped?