yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] evanw68:
No, I mean I entered the fastboot commands from the beginning of the thread and they do nothing. The command line returns nothing
[Nexus 6P General] DJBhardwaj:
Please make sure that you have the updated command line tools (fastboot in this case). You could do that using SDK manager, to download those. And also, make sure that your 6P is connected to the PC in bootloader mode, when you execute fastboot commands. In short, fastboot only works in bootloader mode.
[Nexus 6P General] stuckmoto:
I'm also not able to get fastboot to work. ADB works and I can see the device listed, but fastboot command "fastboot devices" returns nothing. I updated via SDK manager. Totally stock 6P....
[Nexus 6P General] nathanchance:
And you are in the bootloader when you do this?
[Nexus 6P General] stuckmoto:
Pressing vol down and power...yes
[Nexus 6P General] CyberZeus1977:
Open device manager, I bet you'll find a fastboot device not working. Try update driver manually pointing to <your_android_sdk_directory>\extras\google\usb_driver and then selecting the fastboot device.

Nexus 6P with Chroma rocks!
[Nexus 6P General] stuckmoto:
THAT WAS IT!!! Thanks a million!!!
[Nexus 6P General] CyberZeus1977:
Glad you solved. Please use thanks button [emoji6]

Nexus 6P with Chroma rocks!
[Nexus 6P General] evanw68:
OK, so I took the advice that you guys put up there, and installed the drivers manually and still nothing. I checked all the drivers were there, and everything was working fine except for fastboot
[Nexus 6P General] equilateral_sq:
I downgraded from Android N by just flashing the April Marshmallow Build (Q) and not erasing anything.

Why am I stuck in a boot loop?

By the way, I am not able to use TWRP on android N. I get stuck on the intro page with the version #. Yes, I flashed the boot before flashing the recovery.
[Nexus 6P General] nathanchance:
I am pretty sure you need to wipe everything but internal storage when downgrading, did you do that?
[Nexus 6P General] DJBhardwaj:
Roll back to TWRP v3.0.0-0, and see if it (TWRP) boots.
[Nexus 6P General] daswahnsinn:
I want to thank the OP, [MENTION=4153349]Heisenberg[/MENTION], for this great write up. I haven't used adb in many years, since the Samsung Moment, and need a refresher. I will first say I tried to used the two most popular tools here on XDA but got nothing but boot loops. So I decided to give this a good. At first I couldn't get 'fastboot devices' to work while in the bootloader and then had to read the better half of this thread to get the answers I need to go forward. What held me up was the fact I wasn't paying any attention to where and what drivers I was using and where there were pointed. So a word a advance to those that have never done this, please make sure you point the device to the right folder location, I can't stress this enough.

As of now, I have the latest TWRP, 3.0.2-0, installed, with root, and a few simple lines added to the build.prop.

Thanks again to the OP and all the others who have helped out thus far on this thread.
[Nexus 6P General] Heisenberg:
Very glad that this guide helped you!
[Nexus 6P General] winxuser:
This is why I did it with Linux, so much easier.
[Nexus 6P General] daswahnsinn:
I think next time I will use Linux over windows, I keep trying to follow the easy way to later find out the path is wrong.
[Nexus 6P General] Heisenberg:
Linux is definitely easier seeing as no drivers are required. I only ever use Linux, the only reason my guides are written for Windoze is because that's what the majority of users require them for.
[Nexus 6P General] winxuser:
i only had to use windows to unlock the bootloader, other than that i use linux
[Nexus 6P General] vipercoyote:
So let me guess there is still no easy way to root the nexus 6p? any tips before I start the root process?
[Nexus 6P General] Az Biker:
Yep. Follow the OP. Step by step, what could be easier...
[Nexus 6P General] DJBhardwaj:
Like [MENTION=4670411]az_biker[/MENTION] mentioned above, that is the easiest process my friend. Startup with section #1, followed by section #2, and then #6.

Prior to the steps, please make sure to read the Prerequisites section first.
[Nexus 6P General] husamoto:
Hello.

It's possible stay with stock recovery, but unlock bootloader and root the phone with SuperSu?
[Nexus 6P General] nathanchance:
You could if you wanted to though I'm not sure why you would. Instead of running the fastboot flash command, run fastboot boot <nameofTWRPfile>.img. Then you can flash SuperSU and you will still have the stock recovery installed.
[Nexus 6P General] oscillat0r.lfo:
Hi! I just got a Nexus 6P yesterday.

I'm willing to root it, but I have a question:

Will unlocking the bootloader make it permeable to bypassing of the anti-theft function?

I know that if you try to bypass the "Login with the last google account that logged succesfully in this device" with a locked bootloader, it makes it almost impossible to use the cellphone, but I'm not really sure that this feature will work if you flash an unpatched ROM with this bug with an unlocked bootloader.

Can anyone confirm me this please?
[Nexus 6P General] sjandroiddeveloper:
If you have an unlocked bootloader you can kiss that anti theft feature goodbye. Why, because on an unlocked bootloader anyone can erase the whole system( and data) and flash a new ROM and the device won't ask for any last logged google account thingy on first boot

Hope it helps
[Nexus 6P General] Az Biker:
While in bootloader,

"Adb version" works

"Adb devices" list is blank

"fastboot devices" shows my device

"fastboot reboot" works

I updated Google USB Driver (plus many more), same thing.

Found a few recent posts where "adb worked but not fastboot" which isn't my issue.

Thx in advance.
[Nexus 6P General] Heisenberg:
Adb version works because that command is pointing to the software on your PC, not trying to communicate with your phone. Adb will never work in bootloader mode because it isn't meant to, it's only meant to work while booted into Android or recovery.
[Nexus 6P General] mbutandola:
Would have been nice if, after unlocking the bootloader, the system asked your google account password before allowing you to proceed

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Nexus 6P General] inZillaWeTrust:
Is it possible to upgrade to the newest April security patch without a PC handy and keep my root?
[Nexus 6P General] DJBhardwaj:
Yes, you can sideload the OTA through Flashfire, or extract system.img, vendor.img from the factory image on your phone itself and flash them through TWRP. As far as root is concerned, you can simply re-flash SuperSU zip.
[Nexus 6P General] Ade5:
I dont know about you.. but this questions should be in FAQ: Will my phone be completely wiped? Will i have to reinstall all apps if i root?
[Nexus 6P General] DJBhardwaj:
Why would all the apps or any data be gone if you're trying to root? That only happens once, just when you unlock the bootloader.

You could rephrase that to - "Will my phone be completely wiped if I unlock the bootloader?".
[Nexus 6P General] Az Biker:
Thanks for clarification!

...from my NexsixP
[Nexus 6P General] hieutrinh85:
I have a question, this method works for both the US version and International Version. Now i understand the case, when certain American version phone wont allow Bootloader to be unlocked (Droid Turbo 2, LG G4 and up), etc... thus my question.

Thanks in advance.
[Nexus 6P General] SlimSnoopOS:
This guide applies to all variants of the Nexus 6P.
[Nexus 6P General] sjandroiddeveloper:
US and international version of nexus 6p differ only in certain radio bands, rest everything is same

Hence this guide is applicable for all 6P's
[Nexus 6P General] hieutrinh85:
Many thanks. :X that does help clarify the situation :) just afraid to buy a powerful monster and cannot do anything with it ( happened with my LG g4, Droid Turbo 2 )

Now i am perfectly happy with my Moto X Style, but still, been wanting a Nexus baby for a long time.

And really being charmed by this beautiful baby Huawei Nexus.
[Nexus 6P General] Einwod:
Be charmed, I dare you. This is a beast of a phone. Never regretted my move from HTC.
[Nexus 6P General] TechMillz93:
so i recently had to reflash twrp at this point in the game should i go

read only or allow modifications?

im looking to go on the N preview build soon, which i doubt that matters.
[Nexus 6P General] Heisenberg:
Allow modifications.
[Nexus 6P General] TechMillz93:
ok ive done so, now im trying to root my phone with 2.71, but when i go to storage to install it there is nothing there 0mb

and everytime i boot into twrp 3.0.0 it prompts me with decrypt pw, is that why none of my files are showing up in storage?
[Nexus 6P General] Heisenberg:
You need to use the latest version of TWRP, that's why it's in the instructions.
[Nexus 6P General] TechMillz93:
Awesome man thanks, yeah I was just wary because I didn't want to decrypt my phone as of yet
[Nexus 6P General] jamgam:
TWRP 3.0.2-0 (and 3.0.1-0 for that matter) shows 0mb for me also. I've been following the guide but can't flash anything b/c of it after I get TWRP installed
[Nexus 6P General] _MartyMan_:
Thank you, this helps me a lot! :D
[Nexus 6P General] brasewel:
Hey guys I tried unlocking my bootloader and I was able to unlock it fine. After that, I issued the command to flash TWRP which seemed to be successful as well. I then proceeded to reboot the bootloader like the instructions specified and it rebooted successfully. However, trying to boot into TWRP my phone gets stuck at the TWRP logo. Any suggestions on what to do?

I flashed twrp-3.0.2-0-angler
[Nexus 6P General] brasewel:
I was able to get my phone back by following step 10. Bootloader is now unlocked though. Not sure what happened but I had a mini heartattack there :) Afraid to try this again. I was on Android N but restored to the 6.0.1 image.
[Nexus 6P General] Heisenberg:
If you were on Android N did you also flash the modified boot.img as per the instructions?
[Nexus 6P General] brasewel:
I did not. I didn't think I needed to do that step if I wanted to flash a custom ROM immediately.
[Nexus 6P General] Heisenberg:
It's still necessary, just to get TWRP working.
[Nexus 6P General] brasewel:
Thanks, I tried it again this time flashing the boot.img and was able to get TWRP running and a custom ROM on my device.
[Nexus 6P General] Prattham:
I want to go back to stock again

I still want twrp recovery and root and don't want to wipe my internal storage what are steps i need to follow under the 11 sub topic?

Cheers ?

Sent from my Purified NexusixP

If someone helped you don't just say thanks hit the thanks button?
[Nexus 6P General] sjandroiddeveloper:
Follow whole section 11 , don't boot yet

Flash twrp , select allow modifications to system and flash SuperSU zip

Thats it
[Nexus 6P General] Heisenberg:
You can keep TWRP but you can't keep root because that'll be overwritten when you flash the system partition. You just flash SuperSU again though. Do as the member above me mentioned.
[Nexus 6P General] tarroyo:
What version of SuperSU is recommended, stable or beta? What's the difference between the two????
[Nexus 6P General] VerucaSalt:
This guide is perfect.

Thanks Heisenberg.
[Nexus 6P General] DJBhardwaj:
It is as simple as the labels. The stable version is thoroughly tested over time, and confirmed to be working on the maximum number of devices. The beta version works no differently, the results are the same. It is just being tested until the current features are finalized and the least number of bugs are reported.

All or most of us here use the latest beta for root. It has zero physical bugs, and works flawlessly.
[Nexus 6P General] theDK10:
Quick question have a new laptop here with windows 10 on it. I have adb installed and fastboot correctly as adb sees my device when its booted. The problem is when i go to bootloader fastboot doesnt return a serial number at all even though its all installed correctly. Now im already rooted and unlocked and running a custom rom but i want to return to stock and everything so i can update as i havent since jan. Any help would be greatly appreciated

EDIT: The computer isnt recognizing the phone driver when in fastboot mode and i cant update driver either. The options in bootloader are start which powers it on, reboot bootloader, recovery mode, power off, factory, BP tools, barcodes. the BP, barcode and factory just boot device?
[Nexus 6P General] matt4321:
Make sure to get the latest driver, grab it from here: http://developer.android.com/sdk/win-usb.html

then in device manager, find the device, update manually, extract zip, navigate to extracted zip, include sub folders, update.
[Nexus 6P General] 13ONK:
Lol, I installed the entire Android studio just to get the google drivers. I'm going to need to bookmark that link.
[Nexus 6P General] gspotr:
Wow. Thank you so much! :fingers-crossed::fingers-crossed::fingers-crossed:
[Nexus 6P General] mswal2846:
Recovery

Hi All,

So I had a strange thing happen and I'd like your help understanding what I did wrong.

My phone was factory reset (long story). I am running Stock with unlocked boot loader and TWRP 3.0.2.

I had made a backup about a week ago and thought, "well, heck. Instead of reinstalling everything, I'll boot into TWRP and do a restore of my backup." The backup was also Stock with unlocked boot loader and TWRP 3.0.2. I had backed up system, data, boot, and vendor.

When I rebooted the system, it hung at the "Google" screen. I let it sit there for quite awhile. Crap, right?

Ok, so now I need to do a full reinstall because it seems the TWRP Restore didn't work. So I plugged into my favorite PC and followed the directions from "11. How To Flash The Factory Images (Return To Stock But Leaving Internal Storage Intact)" and did a "fastboot reboot."

To my surprise, my backup booted up.

Now don't get me wrong, I'm thrilled that I am back to my restore! But my questions are:

What didn't I backup that I needed to backup in TWRP so the next time the restore will work?

How did this scenario work? I would have expected that by following all the steps in Item 11 I would have wiped everything clean.

Please let me know where I've gone astray.
[Nexus 6P General] Heisenberg:
I'm not sure why your backup didn't restore correctly. But when you followed the instructions in section 11 did you go into TWRP and wipe data?
[Nexus 6P General] mswal2846:
Your suspicion is correct, I missed this step: "Boot into TWRP recovery and enter the wipe menu, select advanced wipe, check only the data box and swipe to wipe." Ok, so that explains question 2 (which in this instance, helped quite a bit!). But I really need to find out about what's going on with question 1. I'll go try the TWRP forum.

Thanks, Heisenberg!
[Nexus 6P General] Heisenberg:
Yeah, sorry I can't help with why the restore wouldn't boot in the first place. But, because you didn't wipe data during the image flashing that data from the backup (that had just been restored) simply coupled with the fresh system image and gave the impression that your restore had worked.
[Nexus 6P General] macinmac:
Hello.

Believe me or not, but coming from an iPhone and seeing all these options to root my Nexus 6P makes think: " why would I root this phone, with all the options around?"

Having a jailbreak was extremely simple, was just a simple jailbreak, for all the devices and thats it, but now..five or more options to root the Nexus, one with SU or something like that, then WuG's option and so on..

Allow me to say I'm sorry for this post, but I am completely in the cloud !!

Why would I have to chose an option between all these tools? What are the pro and con?

Why would someone would choose three programs and tools to root an phone, instead of one tool that does it all?

If my post will annoy someone then can be easily removed, but I can assure you that the whole day I've been reading posts, and threads, and tutorials, and youtube videos, and now its almost 8 PM ( Italy time), and I still don't know where to start from. Or maybe I should just use the phone as it is, and forget about everything else.

Every help will count, even to bring critique to my (probably) dumb post, but I need your help, YES, I need your help, and it will be deeply appreciated.

Thank You.
[Nexus 6P General] Einwod:
The instructions in the first posts are totally safe to follow. It's a simple process as long as you read carefully each step. The device is excellent on it's own without root etc, however when you unlock bootloader and root, then begin with customisations, you'll understand what all the fuss is about. Take yourself a few hours and go for it.
[Nexus 6P General] Heisenberg:
If you're talking about all the different toolkits that are available, they all achieve the exact same thing. There's really only one way to root the device, but since this is a development site there are several developers who are honing their skills by creating these toolkits. In short, they're different toolkits but they all do the same thing.

Anyway, as someone who is new to unlocking/rooting I wouldn't suggest you use a toolkit. There is a certain level of knowledge required when you're modifying your phone, you need a good understanding of how to use fastboot, a toolkit will bypass this learning which isn't good for you. This guide will teach you how to do things manually.

But the real question is this: do you need to unlock and root? The device is very good without doing any of this, unlocking and rooting will allow more control over your phone and will allow you to customise it, but it will also make it more vulnerable to damage if you don't know what you're doing.
[Nexus 6P General] mistermojorizin:
I just flashed TWRP 3.0.2. It didn't ask me if I want to modify system as it says it would in the guide. I notice there is a "mount" section which has a checkbox for system and another checkbox for "mount system as read only." Do I need to check either of those or mount anything else? I just want to flash zips, make and restore backups. the usual. Thanks in advance.
[Nexus 6P General] Heisenberg:
I don't think the newer versions ask that question anymore, don't worry about mounting anything manually.
[Nexus 6P General] tarroyo:
This is traditional root correct? After successfully using this guide I'm unsure if it's systemless or not.
[Nexus 6P General] Az Biker:
Open SuperSu and see if "install as system app" is greyed out. If it is, then you're system root/traditional. If it's selectable, you're systemless root.

...from my NexsixP
[Nexus 6P General] nathanchance:
Partially right. That is the correct setting to look for; however, it will actually be grayed out on both versions. But right below it, it will either say "SuperSU is already a system app" on system root or "Not currently possible in systemless mode" on systemless root.
[Nexus 6P General] niebloomj:
Weird. I did a system root but mine says not currently possible in systemless mode.
[Nexus 6P General] nathanchance:
What do you mean you did a system root? How did you try and force it and on what firmware?
[Nexus 6P General] niebloomj:
I mean I did a traditional root. I flashed SuperSU. Is that systemless?
[Nexus 6P General] madggod88:
Hi!

I'd like to know, does goggle backup and restore work if your device is unlocked? And I don't know how to check current backups and stuff, so I can't check it without wiping all data.

Thanks
[Nexus 6P General] nathanchance:
Yeah SuperSU 2.64+ and above will attempt to root via system first then fallback to systemless root if that isn't possible.
[Nexus 6P General] mswal2846:
Yes, Google backup/restore will work if your bootloader is unlocked. It also works if you're rooted. And if you're on a custom ROM, as long as you specify so when you setup GAPPS.
[Nexus 6P General] madggod88:
The reason I asked you - last time I ve rooted my phone I decided to lock it back and then after every boot I ve been receiving the message that says that my phone is corrupted, and from that moment my phone hasn't been backuped till I wipe to factory state. So just to be sure that everything is backing up)

And what about can I somehow check the state or the date or anything about my google backup? Searched about it but cant find anything but how to set it.

Thanks in advance
[Nexus 6P General] mswal2846:
I have an unlocked Bootloader. I get that same message (and will until/if I relock the boot loader). I know for a fact that Google is backing up my apps. Just this weekend, I had to do a factory reset and all the apps got restored (note that this doesn't not necessary restore all of the data and settings for the apps. It just gets the apps re-installed).

But you need to opt for this. You get that option when you first time powered up the phone. You can probably confirm in Settings, but I'm not sure which one off the top of my head.
[Nexus 6P General] Einwod:
You need to go into the Google drive app itself. Go to settings/backup and reset. Make sure Back up my data is checked. Also you can check which files and on what date they were last backed up by going to manage backup.
[Nexus 6P General] Heisenberg:
As Nathan said it's most likely systemless. But why is it worrying you? Systemless root still achieves the same result as traditional root.
[Nexus 6P General] niebloomj:
I just though I knew what I did to my device haha. Also, I thought systemless didn't break android pay, which doesn't work on my phone anymore.
[Nexus 6P General] Heisenberg:
I don't know much about Android Pay and how you get it working, but I believe only certain ROMs have it working properly. I could be wrong about that though.
[Nexus 6P General] vagenrider:
guys,everytime i try the unlock command getting this..
[Nexus 6P General] 13ONK:
Looks like you're running an outdated fastboot.
[Nexus 6P General] Heisenberg:
Your fastboot is outdated. Open SDK Manager from wherever you have the Android SDK installed and update the platform-tools package.

PS. There's an FAQ just under the guide for a reason.
[Nexus 6P General] vagenrider:
really epic fast and clear help...unlocked... thanks! :D
[Nexus 6P General] Heisenberg:
All good :)
[Nexus 6P General] tadjx2:
Alright I did some searching and I couldn't find anything relevant to this error I'm getting.

C:\Users\dagma\Downloads\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools>fastboot flash bootloader C:\angler\images\bootloader-angler-angler-03.51.img
target reported max download size of 494927872 bytes
sending 'bootloader' (3526 KB)...
OKAY [ 0.109s]
writing 'bootloader'...
FAILED (remote: partition table doesn't exist)
finished. total time: 0.145s

It looks like I messed it up pretty bad. Started out as a soft brick and would stay at the moving shapes that turn into android but would never load. This happened after I successfully unlocked the bootloader and loaded TWRP on there. Then I tried to load the SuperSU beta on there but forgot to make a backup first and after I rebooted the brick occured. I then follow Section 9 of this guide to load the stock files on here but that is what I get on the first step. I've never had this happen before so if you need more info than provided let me know. Thanks
[Nexus 6P General] Einwod:
Hi there.

Why have such a long and convuluted line: C:\Users\dagma\Downloads\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools>fastboot flash bootloader C:\angler\images\bootloader-angler-angler-03.51.img ???

Simply place the boot image in the fastboot folder and then: fastboot flash radio radio-angler-angler-03.62.img

That is the correct command for the 3.62 image.
[Nexus 6P General] tadjx2:
I was just following the guide so there wouldn't be any room for error. I was flashing the bootloader in that line and the radio that unpackaged when I downloaded everything was 03.61 and the bootloader was 03.51. I thought the problem was more than that because its saying "FAILED (remote: partition table doesn't exist)" like the storage is formatted wrong or something.
[Nexus 6P General] Einwod:
The question now is, did you get it to flash correctly?
[Nexus 6P General] tadjx2:
No, I can't get past the first step because I get the "FAILED (remote: partition table doesn't exist)"