yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] Heisenberg:
No need to decrypt anymore, TWRP 2.8.7.1 is able to decrypt.

The K boot.img is compatible with the M update, so you can flash the M factory images and still use the K boot.img.
[Nexus 6P General] effraie:
Something here that I don't understand: does that new TWRP prompt for a NIP, patern or fingerprint? And if not, how secure could be that encryption?
[Nexus 6P General] PhilPan:
I'm having the similar message, but it just goes past it and boots. Is it necessary to always get this message?
[Nexus 6P General] NameNo:
The tools don't work. Downloaded only the tools and extracted to a folder, but both tools and platform folders are empty. When I run the SDK Manager.exe nothing happens. Someone knows what's the problem?

Edit: never mind just forgot to install Java.
[Nexus 6P General] rchtk:
It does.

rchtk@laptop:~$ adb shell
angler:/ $ uname -a
Linux localhost 3.10.73-ge98af56 #1 SMP PREEMPT Thu Oct 6 23:31:38 UTC 2016 aarch64
angler:/ $ getprop ro.build.version.release
7.1.1
angler:/ $ su
angler:/ # mount | grep system
/dev/block/mmcblk0p43 on /system type ext4 (ro,seclabel,noatime,data=ordered,inode_readahead_blks=8)
angler:/ # mount -o rw,remount -t auto /system
/dev/block/mmcblk0p43 on /system type ext4 (rw,seclabel,noatime,data=ordered,inode_readahead_blks=8)
angler:/ # mount -o ro,remount -t auto /system
angler:/ # mount | grep system
/dev/block/mmcblk0p43 on /system type ext4 (ro,seclabel,noatime,data=ordered,inode_readahead_blks=8)

Could it be that you lost root?

I've flashed twrp-3.0.2-3-angler.img and SR1-SuperSU-v2.78-SR1-20160915123031.zip
[Nexus 6P General] tropical cactus:
I followed the backup procedure in OP. Everything was smooth until I followed the Google assistant enabler thread which said you can replace build prop. I used rom toolbox light and rebooted. Didn't reboot. So I wiped and restored backup. The problem is everything works except the phone, YouTube, sounds and mic. What do I need to do? Can someone please advise? Thanks.
[Nexus 6P General] Einwod:
Find the 3.0.2-3 twrp and use it to restore your backup. Better to manually do the build.prop file, never trust an automated process, it could be doing anything to your device.
[Nexus 6P General] tropical cactus:
Thanks for the reply. Went over to Q&A and came across a reply by OP to someone who couldn't bootup after restore. He said uncheck vendor.img before restore. Funny how he didn't mention that here. Will save a lot of noobs like me some heartache.:p

Now all okay. I had problems unlocking bootloader with adb/fastboot. After fastboot flashing unlock, a whole series of sentences appeared in command prompt and nothing on the phone. Then I came across a suggestion to use adb minimal, which he specifically said not to use. And guess what? But for everything else I've not used adb minimal.

Just got the phone two days ago. Anyway, doing anything with rom tool box has not been a good experience for me. I'll be using twrp file manager from now onwards.

Cheers.:D
[Nexus 6P General] NameNo:
I used ES File Explorer to enable Google Assistant and everything worked fine.
[Nexus 6P General] ryujitakashima:
cant flash any rom on nexus 6p keeps turning off and rebooting just after its starts doing the flashing process any help
[Nexus 6P General] scoot0073:
Did u follow the guide on page 1 ?

And need more details than that to help
[Nexus 6P General] Andypandiiee:
Hey, so to give a back story: My phone was running Android Developer 1, and there were a few bugs so i decided to wipe 'data' on TWRP to start from scratch. I then booted, everything was good. Flashed Supersu (latest version), and when I booted, it is has been stuck on a boot loop for 30 minutes.

I have tried step 10. How To Flash The Factory Images (And Return To Stock), but it is still stuck on boot loop. I have tried using Wug kit for Nexus 6p and it still stuck on the same bootloop. It never goes to the android bootup logo, only to Google then back to the 'checking for corruption' screen.

My phone has an unlocked bootloader and has TWRP.

Any help is much appreciated. I am really losing all hope :(

p.s. whoop on page 500!
[Nexus 6P General] mobileman88:
What version of twrp are you using? You may use 3.0.2-3 or it will nuke your efs partition
[Nexus 6P General] Andypandiiee:
Hey, I can only find 3.0.2-2 on the website :\

And is there any way I can fix this through twrp? Like flashing the ROM from there?

also grats on being the 5000th comment
[Nexus 6P General] NameNo:
OP said that if you're using Nougat use the unofficial version.
[Nexus 6P General] mobileman88:
Search for unofficial twrp 3.0.2-3
[Nexus 6P General] Andypandiiee:
So after I flashed twrp 3.0.2-3, how should I proceed from here?

I tried to flash a rom and it comes up with 'Could not find 'META-INF/com/google/android/update-binary'

Any help is much appreciated!
[Nexus 6P General] scoot0073:
Try to re download the ROM maybe bad download.

But u should have the ROM/Gapps/Vendor of the ROM u want to flash on the Internal Storage then boot to TWRP and wipe system/data/cache and the go back and click install.

install ROM then Gapps then Vendor and c if it boots.
[Nexus 6P General] Andypandiiee:
If anyone is still having the issue, i fixed it by

http://xdaforums.com/nexus-6p/help/im-stuck-google-logo-stop-reboots-twrp-t3452842

BUT for the second line, he accidentally capitalised the s. so it should be:

ADB shell dd if=/dev/zero of=/dev/block/platform/soc.0/f9824900.sdhci/by-name/modemst1 bs=16384

ADB shell dd if=/dev/zero of=/dev/block/platform/soc.0/f9824900.sdhci/by-name/modemst2 bs=16384

ENJOY! :)
[Nexus 6P General] roelmmata:
HI, I would really appreciate any help

okay so i have unlocked bootloader nexus 6p that will not boot up (turns off after google screen) , I'm trying to accomplish the #2 step (flashing twrp) but my phone doesn't show up on adb devices only on fastboot devices. Only two things I can do is get into bootloader and stock recovery, since I can't boot phone I can't enable usb debugging. Is there a line i could enter to enable that through command window? Or any other solution to get twrp (nexus root toolkit will unlocked my bootlader but not install twrp)

Thanks
[Nexus 6P General] mobileman88:
Do a full return to stock steps except re locking the bootloader if it works
[Nexus 6P General] roelmmata:
Thanks for the suggestion, I was able to do every line of code successfully, but lastly I entered fastboot reboot and the phone did not pass Google screen.

Another piece of info. The phone only allows me to enter bootloader when I plug into charger and wait for charging screen, but as soon I unplug my phone (even if I'm already in bootloader) my phone turns off completely. When off it won't turn on when pressing power & - volume.

EDIT &$&$&$&

I went into stock recovery and wiped phone 2 or 3 times and my phone finally booted up again to the actual set up screen! However I've learned something new, the phone will only stay on if I'm plugged into charger, and as soon as it's unplugged it turns off. Any other suggestions?
[Nexus 6P General] matraca:
hi, can anyone tell me how to unlock bootloader and root on linux mint, I have been searching with no concrete answer. I downloaded fastboot and adb with the software manager and adb recognizes my phone and fastboot does as well, but it just shows "waiting for device" when issuing the "fastboot flashing unlock" command and nothing happens. maybe my problem is that I installed adb and fastboot from the software manager and not from the official page, It seems like everyone has a different way of installing adb and being new to linux it is confusing to me.

This is my first time messing with adb, any help is appreciated, thank you
[Nexus 6P General] Kortxero:
Have you enabled "OEM Unlocking" in the Developer Options?
[Nexus 6P General] scoot0073:
I use Linux Mint also and I am able to do anything that I could do Window$.

Linux works great bc I never had to install any kind of drivers. I did install Fastboot and ADB from the Linux updater. Linux Mint is the best way to go when it comes to rooting and everything else. Honestly I haven't used window$ since 6.0.1.
[Nexus 6P General] matraca:
yes, I forgot to mention that I am on the latest beta NPF10C

---------- Post added at 01:10 PM ---------- Previous post was at 01:08 PM ----------

How did you do it? I think my problem is the adb installation
[Nexus 6P General] scoot0073:
I opened the package manager and searched for Android and Fastboot and ADB came up and I checked each one to install and the best thing is u never have to worry about drivers ,?
[Nexus 6P General] matraca:
That is exactly what I did, I wonder what the problem is...
[Nexus 6P General] scoot0073:
When u put the phone in Bootloader mode and open a terminal and type fastboot devices it doesn't show the Nexus ?

Also do u got USB debugging enabled in settings developer options ?
[Nexus 6P General] hh11bbaacchh11:
Hey. I want to sell my Nexus 6P. Can I wipe the internal storage and then flash a custom rom?
[Nexus 6P General] kyzn:
Yes to both. Although, shouldn't flashing a custom ROM be be buyer's choice?
[Nexus 6P General] hh11bbaacchh11:
The buyer wants the Pure Nexus. Will wiping the internal storage have any issues?
[Nexus 6P General] scoot0073:
If u having to ask that question.. then I don't think u should be flashing a ROM. U might be better off letting the buyer do that.

But yes u can wipe the Internal Storage with no issues
[Nexus 6P General] hh11bbaacchh11:
I just wanted to make sure. He wanted me to do it for him. Thanks for your responses.
[Nexus 6P General] tropical cactus:
I tried to update to 7.1.1 using the update new build guide. I got as far as system.img. Halfway through it said data too large Failed. Wouldn't boot as expected. Went back to bootloader and for some reason no fastboot. Waiting for device. Heart attack. After a couple of attempts to start and booting into bootloader, finally device showed. Now backup restored. Whew.

So how is this actually done? Anybody? Thanks.
[Nexus 6P General] pamplona!:
Tools> Android SDK Tools, Android SDK Platform-tools

Extras> Android Support Library, Google USB Driver

I dont see an option for "Android Support Library" under extras. Is "Android Support Repository" the same thing (under 'extras')?

Thanks.
[Nexus 6P General] scoot0073:
Did u check the MD5 checksum?

Might been a corrupt download
[Nexus 6P General] pamplona!:
it appears the android support library is obsolete so i'm wondering what i should be doing instead?

thanks in advance.
[Nexus 6P General] SlimSnoopOS:
Make sure your fastboot is updated. Also, make sure you have free space on the computer so that when it unpacks the system.img, it's not taking longer than it should to unpack and flash.

On OSX, I see it here: Extras > Google USB driver
[Nexus 6P General] tropical cactus:
Hi, thanks for the suggestions. My fast boot is up to date, 1.3.0.2. I store my SDK files in D:/ and fast boot from there. There is 49.5 GB free.
[Nexus 6P General] SlimSnoopOS:
Couple suggestions, update your platform tools. Try flashing now. Reboot the computer (to free up ram) and try again. Also post a screenshot of your fastboot after both attempts if it fails. Lastly, are you certain that your are using the Angler factory image?
[Nexus 6P General] stants225:
My phone is not rooted at the moment, but the bootloader is unlocked. Can I use the restore to stock section of your guide to downgrade my phone from android 7 to 6?
[Nexus 6P General] mobileman88:
Yes. You can do that. Get the full 6 factory image and restore all the partitions except for user data
[Nexus 6P General] tropical cactus:
Thanks. I'll try soon. I got the 7.1.1 via beta tester program but I've gone back to 7.0. I like arise Leviticus 1.3. Unfortunately, neither viper nor Dolby works on 7.1.1, even after adding .bak in audio configuration and installing drivers. No problem on 7.0. Cheers.
[Nexus 6P General] hh11bbaacchh11:
Does the SR3 release of SuperSU compatible with 7.0?
[Nexus 6P General] mobileman88:
Yup. Works very well indeed
[Nexus 6P General] o-o:
This part is mentioned in the OP but not in the flashing instructions of the couple ROMs I've looked at, is it still needed?

I'm on stock 7.1.1
[Nexus 6P General] SlimSnoopOS:
Yes, when moving between different OSes or security updates. Flashing vendor.img monthly is required for the duration of your ownership of this device.
[Nexus 6P General] ravenfan81:
I purchased a used 6p and the bootloader was unlocked. Im trying to relock it, and have run through the prerequisites section but cant get passed the 3rd check 'fastboot devices'. I get nothing other than a new command line.

I know nothing about rooting, etc...

any suggestions? thanks!
[Nexus 6P General] leon0602:
downgrade to MM

Hi all

is there a way to downgrade (battery life is horrible on Nougat for me) to MM?

I have tried yesterday with regular heisenberg procedure without wipe but my Nexus stuck on google logo. I don't think the problem is wipe related cause my phone just stuck on logo, then I flash Nougat again, my phone start but I get continuos crash so I have to wipe, luckly I could save (using TWRP) my internal data. Thanks for your answer
[Nexus 6P General] angle409:
I downgraded to MM too. So stable now and great battery life. You need to wipe data though through twrp. Dirty flashing will have issues.
[Nexus 6P General] leon0602:
So I can flash with heisenberg procedure normally (I mean point 9), I just have to wipe system and data that's right?
[Nexus 6P General] chengweiv5:
the unofficial TWRP recovery not found

idlekernel.com seems gone as It can not be reached now and from google cached pages I found that it was saying that it will gone soon like below.

idlekernel-will-be-gone-soon

idlekernel.com/IDLEKERNEL-WILL-BE-GONE-SOON(sorry, I didn't been allowed to post url currently)

this domain is expiring and i'm not really interested in continuing to pay for it or this server for that matter. some content will be moved to build.nethunter.com this ...

However, I didn't found the unofficial TWRP 3.0.2-3 at build.nethunter.com, so anyone know where can I find it?

I'm trying to follow this thread to root my Nexus 6P with android 7.1.1, the latest android build as this thread suggests

> Always update your phone to the latest build available before starting the unlocking/rooting process. This guide is always current/correct as per the requirements of the most recent build available.
[Nexus 6P General] Tinchoska:
guys, root is compatible on 7.1? build npf10c
[Nexus 6P General] Badger50:
Yep. Just flash it in your TWRP recovery [emoji106]
[Nexus 6P General] shamps:
Hi Guys.

i have a nexus 6p, locked bootloader, running the NBD90X build.

I have enabled OEM unlock option in Developer options and USB debugging.

In fastboot I am able to find my device using the "Fastboot devices" command.

I seem to have an issue trying to unlock the bootloader, the phone detects fine but i get the follwing message in command line prompt on giving the "fastboot flashing unlock" command.

C:\Android>fastboot flashing unlock

usage: fastboot [ ]

commands:

update reflash device from update.zip

flashall flash boot, system, vendor and if fou

nd,

recovery

flash [ ] write a file to a flash partition

erase erase a flash partition

format[:[][:[]] format a flash partition.

Can override the fs type and/or

size the bootloader reports.

getvar display a bootloader variable

boot [ [ ] ] download and boot kernel

flash:raw boot [ [ ] ] 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 specify device serial number

or path to device port

-l with "devices", lists device paths

-p specify product name

-c override kernel commandline

-i specify a custom USB vendor id

-b specify a custom kernel base address.

default: 0x10000000

-n specify the nand page size.

default: 2048

-S [K|M|G] automatically sparse files greater

than size. 0 to disable

Sorry for copy pasting the entire thing here. As far as i can tell its telling the index and the format of all the options available. What am i doing wrong. would appreciate any help i can get.

Also the down load link for unofficial "twrp-3.0.2-3-angler" provided in the OP seems to be broken, is there any alternative download link.

Thanks in advance!!
[Nexus 6P General] CyberZeus1977:
Your platform tools are outdated. Update them.

Sent from my interstellar 6P!
[Nexus 6P General] shamps:
Thanks for the response. I will update them and revert!!
[Nexus 6P General] mobileman88:
7.0.0 (NBD91K, Nov 2016) has dropped. Will try to test if it roots ok.
[Nexus 6P General] RaceFaceXC:
anyone with twrp 3.0.2-3? A mirror of the twrp hosted? Bueller?
[Nexus 6P General] shamps:
+1
[Nexus 6P General] mobileman88:
https://www.dropbox.com/s/24gvr63cpg879rk/twrp-3.0.2-3-angler.img?dl=0

---------- Post added at 02:01 PM ---------- Previous post was at 02:00 PM ----------

I just posted it above
[Nexus 6P General] shamps:
Thanks for posting it!!
[Nexus 6P General] dratsablive:
TWRP will not stick unless you root after booting to TWRP recovery. Otherwise standard recovery will overwrite on boot.
[Nexus 6P General] mohsin.android:
Link to TWRP 3.0.2-3 in OP is not working. Anyone has any alternative link ?
[Nexus 6P General] Einwod:
Here you go
[Nexus 6P General] fftorettol:
So, unlocking my bootloader will format all data on my device? Is that right?! :confused:
[Nexus 6P General] Einwod:
Correct.
[Nexus 6P General] fftorettol:
Is there anyway to do backup of app data? Ofcourse without root... That's crazy haha.. If you want to do full backup, you need to root.. And If you root, you lose all of your data.. :laugh:
[Nexus 6P General] Einwod:
There's no way that I know of to backup app data. Only thing you can do is backup all your pictures, music etc to your computer and the you can copy it back when you have unlocked. I doubt you could copy everything and simply replace it when you unlock, but you never know. Good luck.
[Nexus 6P General] fftorettol:
Allright thanks Einwod! :good:
[Nexus 6P General] coco1476:
Edit: deleted by myself
[Nexus 6P General] mohsin.android:
Thanks.
[Nexus 6P General] kipue:
Hello all,

I've been trying to relock my device for resale.

I went through all the flashing of stock stuff, and tried "fastboot flashing lock", but the command window then shows me the list of available commands in fastboot, like it cannot understand the command.

I tried in Win10 and Ubuntu.

Anything I'm doing wrong on my end?

EDIT: NVM, got it :D (update fastboot)
[Nexus 6P General] SlimSnoopOS:
Make sure you remove your account from within Android. The buyer will be locked out of the phone if you fail to do this due to Factory Reset Protection. FRP requires the previous account for sign in after performing a factory reset.
[Nexus 6P General] pitflyer:
I have been following section 9 to update my stock rooted ROM to the latest Nexus updates every month, one step I wonder if is necessary is after I finish the fastboot flash of the downloaded images (including the stock recovery), do I need to boot into the system, and then reboot again before I install TWRP and SuperSU? Or can I just immediately flash TWRP again and boot directly into recovery/re-install SuperSU *before* I boot the newly upgraded phone?
[Nexus 6P General] scoot0073:
Huh..I didn't know about this..Glad I read your reply.

So what u saying is to sign out of your Google account b4 Factory resetting the phone ?

Settings/Accounts/Google ?
[Nexus 6P General] mobileman88:
Normally those is what I do. To have a working twrp after the first bout. I will go to fast blog and flash twrp then not into twrp to flash root. If not the twrp well be disabled after nothing a non rooted kernel. Works every time
[Nexus 6P General] Einwod:
Damned predictive text. ????????
[Nexus 6P General] fftorettol:
I can't flash twrp-3.0.2-3-angler.img on my Nexus 6P. I've just unlocked the bootloader, and I'm using android version 7.1.1. So, I have to use twrp-3.0.2-3. I downloaded it from here (link). Then I rebotted my phone into bootloader and typed that command in cmd:

fastboot flash recovery twrp-3.0.2-3-angler.img

And that's the output:

target reported max download size of 494927872 bytes
sending 'recovery' (16896 KB)...
OKAY [ 0.387s]
writing 'recovery'...
OKAY [ 0.245s]
finished. total time: 0.634s

Seems to success, but after restarting the bootloader, nothing changes. Can anyone help me?
[Nexus 6P General] Einwod:
Once back in bootloader, you have to toggle the volume switch to reach recovery, then press power to select it.
[Nexus 6P General] fftorettol:
Yeah sure.. Thank you! I feel so dumb now :laugh: :eek:
[Nexus 6P General] zer0se7en:
Is there a minimal Fastboot and ADB for Mac? Cannot seem to find one. The ADT Bundle that I have been using since my old Nexus 5 always gives error msg "Data too large". (It did worked on my Nexus 6P upto all 6.0.1 updates. the problem started from Android 7.0)

To what I have read way back, whenever this error msg appears, it means I have to update my Fastboot and ADB files on Mac.

Could anyone help me out? Thanks in advance.
[Nexus 6P General] BigChow:
fastboot flashing unlock

first off.. the title of the post should say fastboot flashing lock... not unlock

trying to relock the bootloader, following step 10 of the guide I can complete everything up to fastboot flashing lock without a problem. When I try to run the last command to lock the bootloader my command prompt just returns a list of stuff I believe is a help menu for fastboot commands. Please help.

searching through some other posts saying to update to latest SDK I did so (grabbed: android-sdk_r24.4.1-linux.tgz)

also I'm on Linux so I tried "sudo apt-get install android-tools-adb android-tools-fastboot" and it return that android-tools-adb & android-tools-fastboot are already the newest versions.
[Nexus 6P General] Einwod:
You need to update your fastboot. Why do you want to lock the bootloader anyway?
[Nexus 6P General] leon0602:
install and root developer preview 7.1.1

Hi all

I hope it has'n't been asked a billion time.

Can I use the standard heisenberg procedure to upgrade to 7.1.1, flash recovery twrp and root? Better to wipe data and system?

Thanks for your kindly answer :)
[Nexus 6P General] dratsablive:
Standard backup from settings backs up app data to Google
[Nexus 6P General] scoot0073:
Yes once u install 7.1.1 then flash TWRP and flash SuperSU.

And I would recommend using TWRP 3.0.2.3
[Nexus 6P General] leon0602:
just a little OT but maybe helpful: any significative improvement? and, most of all: how is the battery life? It's horrible in 7.0
[Nexus 6P General] Jammol:
It varies from user to user. The general consensus is that it's better.
[Nexus 6P General] scoot0073:
Honestly I've never experienced any bad battery drain.ive had nothing but positive experiences with battery life.

6.0.1/7.0/7.1.1 have all been good to me.

But there are others that have had bad experiences also..

So Honestly it's a question that nobody can give a answer to. You jus gonna have to make the jump and see for yourself.
[Nexus 6P General] SlimSnoopOS:
No clue about minimal fastboot/adb, however the 98 MB SDK tools download in the first post works for OSX.
[Nexus 6P General] sirxdroid:
On Mac, if you use Homebrew (which I think you should) easiest thing to do is:

brew install android-platform-tools
[Nexus 6P General] leon0602:
I'm going to give to 7.1 a chance :D:D:D
[Nexus 6P General] tuffluck:
Random question but I noticed my small SSD that drive C: occupies is getting very full. I saw that my SDK folder is over 15 GB. Can I just copy and paste my SDK folder to my backup drive and expect it to work properly if I need it later on down the road? I'm trying to avoid deleting it and then re-installing everything, and I wasn't sure if it will ONLY work properly in drive C: or if I can move it to another. Thanks!
[Nexus 6P General] Einwod:
Are you sure you're on the correct thread? [GUIDE] Unlock/Root/Flash for Nexus 6P