yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] Einwod:
Yep, that's the default android recovery Have you checked that all traces of root are gone with an app or other means? Rooting changes the boot partition, so maybe try flashing the boot.img from fastboot to overwrite a modified boot image.
[Nexus 6P General] archibold23:
Do you know of any other programs to check for the root besides SuperSu? I don't personally but that sounds worth a try. And flashing would factory reset the phone right?
[Nexus 6P General] tcat007:
There's a Hotspot quick tile, should work on stock rom without root. I've read many have no problems with it, but some do. Could be carrier thing.
[Nexus 6P General] Cares:
Are you on Verizon? If so, then you don't need to root if you want to tether.

The step by step guide is pretty clear. Either way...

1) Unlock bootloader

2) Update to at least version 08K

3) Flash modified boot

4) Un-encrypt your device

5) Flash TWRP

6) Flash SuperSU
[Nexus 6P General] jaythenut:
need a bit of help pc win 10 sees the 6p when on fine but when im in bootloader mode it does not see it at all any ideas

thanks
[Nexus 6P General] tvdang7:
if our device is unnlocked and rooted. We will still get the OTA updates correct?
[Nexus 6P General] aceball:
Awesome guys, thanks for letting me know about this, just assumed it would be more of the same asking for subscription for hotspot. Thank you!!!
[Nexus 6P General] IberianPrince:
Not if it's rooted unfortunately. The update process checks the whole system for modifications before installing. So if there's any changes, it'll abort the update...
[Nexus 6P General] aceball:
Are you getting the device serial number from within windows and typing "adb devices" from the folder command line?

If not, its likely your drivers. Even though it may see the 6P in explorer and when you connect it, the drivers are not working.

Follow the steps here to delete the current drivers and reinstall universal drivers, worked for me.

Can post links yet but google "android wont connect to windows adb"

The article is titled fix in three steps.

Aceball
[Nexus 6P General] tvdang7:
Can we just unroot and then reroot? As long as we get the update notification correct?
[Nexus 6P General] IberianPrince:
Yes that should be fine, as long as there's no other system modifications like busybox :thumbup:
[Nexus 6P General] troymz1:
How do i re-encrypt my data? To go flash stock and then re-do everything? Do I have to wipe data?
[Nexus 6P General] tcat007:
I just received a system update message, I assume if I hit install it probably won't since I'm now rooted, right?
[Nexus 6P General] Ketawa:
How would you unroot without flashing the stock system image? (Unless you're using the systemless root option, but you're still using a modified boot image anyway.) If you plan to root again, you might as well just download the new release from Google and use the regular upgrade/root process instead of the OTA, as well as do the due diligence to ensure SuperSu works on the new release. The OTA isn't really going to save you time.
[Nexus 6P General] IberianPrince:
Isn't there an option in SuperSU to unroot directly from the app?
[Nexus 6P General] Aridon:
So when in windows if you do

adb devices

You get a serial number.

HOwever if you go to bootloader and do:

fastboot devices

You do not?
[Nexus 6P General] case-sensitive:
boot loop!

I commited the cardinal sin of flashing twrp BEFORE I updated the phone to MDB08K --- I did read and wrote down the instructions but I mistakenly issued the fastboot commands in the wrong order. The phone is now in bootloop (I was able to power off by booting into the bootloader).

Since I did unlock the bootloader, can I fix this by flashing the factory image and start from stretch? And if so, can I flash the latest image?

Many thanks.
[Nexus 6P General] jaythenut:
I unlocked the bootloader with one of the tools but does not see device all adb is up to date
[Nexus 6P General] Heisenberg:
Just flash the latest factory images and start again.
[Nexus 6P General] byproxy:
EDIT: nm. just needed to install java.

so i'm on windows 10 and can't even get the sdk manager to start. i double click the .exe and see a very brief flash of a window but then it vanishes and nothing is open. i've also tried running it as an administrator and get the same result.

any ideas?
[Nexus 6P General] Aria.A97:
Oops sorry, I have a habit of reading threads before posting, that's why I'm here and I don't have my device yet :) But Nexus ain't Xperia, threads going too fast that I can't read'em all...

By the way I tried "platform tools" keyword and found nothing. The right keyword was "upload" :D and I found this :

However when I try "adb devices" or "fastboot devices" I recieve the error that "adb.exe" can't run due to incompatibility with 64-bit version of Windows"

Any help?

Also files in that zip had no extension, I had to manually put exe after adb and fastboot.

I have other ADB and fastboot on my PC but they are totally outdated :D (but they work)

Can anybody else please upload his platform-tools please?
[Nexus 6P General] effraie:
Those platform tools are from a Linux installation, I don't know if they are cross platform
[Nexus 6P General] Einwod:
If you flash the factory images using the flashall.bat file, then it will wipe the device and have it like new out of the box. I have an app from the play store, root checker basic and it tells you if rooted or not.
[Nexus 6P General] LapanNaxela:
Since I flashed the latest update I don't seem to get any mobile data anymore, any idea on how to fix it?

EDIT: After a few hours it seems to have fixed itself
[Nexus 6P General] MrPickleFicker:
Following steps 10, return to stock. How do you reboot to TWRP and wipe the caches? In the process, do you not flash the stock recovery?

Thanks for the help!
[Nexus 6P General] Einwod:
You're quite correct. I would imagine doing the factory reset would wipe the caches anyway if it's going to wipe your userdata etc. When returning to stock, which I do occasionally, I just use the flashall.bat file within the factory images to do mine. Never had a problem........yet.
[Nexus 6P General] MrPickleFicker:
So you just follow the instructions from the Google developer site. Maybe I'll just give that a go. Thanks!
[Nexus 6P General] pymininc:
twrp stuck on splash screen

First thing, thank you for being here. This is my first post. I have read through the forums, and have not found this issue before.

i recently gave up my 6p to my niece for a week as she broke her phone and needed something to go on, as i had another to use, i wiped my 6p and gave it to her to use. after the week, i wiped same device again and reset it up the from my backup. Now, on the home screen in notification bar i have 2 layers of icons,

[IMG="homescreen"]https://photos.google.com/photo/AF1QipOeCm_HSB_MhhgXZcaS_e94CwLrLQ4NSYdeTP-Q[/IMG]

i have wiped and reset my device 4 times and it is still there.

i thot i would try to root it and see if i could get it to clear up. i follow the directions here on xda, and when i boot into recovery all i get is the splash screen for twrp. It sits there and nothing happens. I've let it sit for up to 30 min and still doesn't move beyond that screen. I am sure i'm missing something and I humbly submit myself to you all.

thanks again for being here.
[Nexus 6P General] Einwod:
Did you set developer options on and also OEM unlocking? Did you unlock the bootloader? What version of TWRP have to flashed? We need to have more info to help you.
[Nexus 6P General] pymininc:
Thank you so much for responding

Yes to setting developer options on and oem unlocking. Bootloader is unlocked. Twrp version 3.1.0-0-angler
[Nexus 6P General] Einwod:
Try the latest version of TWRP, 3.1.1-0
[Nexus 6P General] Braakie:
Can I download a boot.img anywhere with no force encrypt, I have android n 7.1.2 n2g47w, via last twrp 3.1.1.0 can not work
[Nexus 6P General] mobileman88:
I don't use tethering very often so I am not sure which release might have broken this. But with my June release I have the following behavior :

Fresh Boot No USB attached - Tethering works

Fresh boot Attached to USB - Wifi tethering shows "error"

Fresh boot USB tethering - Never works. Unable to toggle

Bluetooth tethering - Always works

Once tethering shows "error". After unplugging USB to PC, the 6P's tethering no longer can be activated until rebooted again
[Nexus 6P General] Yash Doctor:
hello guyz, i'm new on Nexus 6P i m on android o dp 3 can anyone guide me how can i get twrp on this and how can i revert back to 7.1 ?
[Nexus 6P General] Spannaa:
Factory reset via settings, flash latest 7.1 factory images, install TWRP

Detailed instructions are all in post #1
[Nexus 6P General] Oshino:
issue - erased cache for 7.1.2

Heyho guys,

I tried reflashing android 7.1.2 for my phone (no cellular connection since the normal update)

but I accidentally (well unnecessary != dont do it) erased my cache and (as i had no cache.img in my folders (downloaded from developers.google.com/android/images , the latest one for angler) i just did the rest of the steps, but after i came to the step to wipe my cache in twrp it shows in red that it couldnt find the cache, I didnt boot yet and I'm unsure what to do now exactly to save correct this mistake
[Nexus 6P General] SlimSnoopOS:
Download the latest 7.1.1 image and flash that cache.img onto your phone.
[Nexus 6P General] Oshino:
only the cache.img? Should i redo the steps that came after the "cache flashing" or keep it at that, wipe the usual caches in twrp and reboot?
[Nexus 6P General] mobileman88:
Only the cache.img will do as the new images do not contain this file.
[Nexus 6P General] khixiiii:
Little gudence

Hi,

i just bought nexus 6P , its bootloader was unlocked already so i decided to flash it again with stock rom or any other ,i saw this thread and tried to get the files i have android studioa and drivers (platform tools ) stock rom as well but can u guide me the comands and procedure by power shell coz every one is talking about cmd by shift+right click but acording to latest drivers it opens power shell and adb devices comand dont work there so how should i start...!

so in powershell adb devices are not recognized little help so i can start to flash it already

thanks:fingers-crossed:
[Nexus 6P General] Spannaa:
ADB works fine for me with Windows PowerShell
[Nexus 6P General] khixiiii:
Little gudence

and i said i need little guidance ...!

this is what it shows when i type adb devices

adb : The term 'adb' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the

spelling of the name, or if a path was included, verify that the path is correct and try again.

At line:1 char:1

+ adb devices

+ ~~~

+ CategoryInfo : ObjectNotFound: (adb:String) [], CommandNotFoundException

+ FullyQualifiedErrorId : CommandNotFoundException

---------- Post added at 05:45 PM ---------- Previous post was at 05:39 PM ----------

just downloaded adb tools again and installed working now thanks

---------- Post added at 06:26 PM ---------- Previous post was at 05:45 PM ----------

:( in boot loop now :D now help me coz comands were not working so i doubble clicked the flash all file in files and its stuck on colours google logo
[Nexus 6P General] Einwod:
How long? Sometimes needs 15 minutes to boot from fresh start. Have patience.
[Nexus 6P General] pizza_pablo:
I'm new to the 6P, from Moto X Pure

I unlocked bootloader and rebooted and it went thru unlocked bootloader warning and boot logo, twice before starting.

I flashed TWRP 3.1.1-0, did a backup and then flashed SuperSU v2.79-SR3 and it went thru unlocked bootloader warning and boot logo, twice before starting.

Is this normal?
[Nexus 6P General] Badger50:
Yes, that is normal behavior after you flash SU.
[Nexus 6P General] pizza_pablo:
And when unlocking bootloader also?
[Nexus 6P General] Badger50:
If you unlocked the bootloader and then flashed SU then yes. It's been so long since I unlocked mine that I honestly don't remember if it does that or not without flashing root.
[Nexus 6P General] pizza_pablo:
No, I meant the first boot after unlocking the bootloader and not flashing anything, but not a big deal. It just caught me off guard and I wanted to ensure nothing was amiss.

Thanks!
[Nexus 6P General] ffejy462:
Yes. It's normal after flashing supersu. It did it on my mxpe and now on this nexus 6p. I believe (someone correct me if I'm wrong) it's from patching the boot.img. I didn't reboot after unlocking however. I flashed twrp directly afterwards, then did what you did (I formatted data and flashed the most recent supersu are the differences).
[Nexus 6P General] churchey360:
When returning to stock is the userdata.img not present in android 7.1.2?
[Nexus 6P General] Einwod:
How can your userdata be in a Google factory image?
[Nexus 6P General] churchey360:
Idk it just said it was part of the restore option in the OP so I thought it was missing because I didn't have the file lol
[Nexus 6P General] Einwod:
Yes, I see that now. Just use the flashall.bat file to return to stock.
[Nexus 6P General] churchey360:
Yeah i don't actually have any plans to back stock anytime soon lol i was just actually leaving stock and wanted to make sure i had everything setup correctly for when i do have to go back stock for something.. I'll try that when the time comes tho i personally like flashing it one by one because i just got used to it from when i had my nexus 5x
[Nexus 6P General] ben_ro:
bootloop trouble

Hi everyone,

I posted this in another thread a few minutes ago thinking I was posting to this one (I'm very new) so hopefully someone here will be able to help me!

My nexus 6p has been rooted for a couple of months now, and I decided that I didn't have the free time to flash all the updates over manually so I wanted to remove the root. As I was enrolled in the beta program and had the beta version of Android O, I un-enrolled and reverted back to 7.1.2. I then followed the steps in section 11 of the guide, I was unable to boot into the twrp recovery mode, so I tried section 10 of the guide with success. Afterwards, I locked the bootloader. At this point I got stuck in the bootloop with the google logo on the screen, I tried following the instructions in section 13 after unlocking the bootloader with fastboot to no avail (got the message no devices/emulators detected). I then relocked the bootloader and tried again and it appeared to be working but after a couple of minutes it returned the error:

Warning: No file_contextsThis package is for "angler" devices; this is a " ".

E:Error in /sideload/package.zip

(Status 7)

Installation aborted.

I have tried using the "Wipe data/factory reset" feature within the stock recovery mode to no avail.

Any help will be greatly appreciated as this is my main (and only) phone which I had hoped to get at least another year out of!

-ben_ro
[Nexus 6P General] ffejy462:
I'm under the impression that you can boot into the bootloader since you said that your could access stock recovery. I'm also assuming that fastboot works.

If so, unlocking the bootloader, flashing stock firmware, then relocking should work. However unlocking (and perhaps locking) will wipe your data.

If I was in your situation I would unlock the bootloader, flash twrp recovery, boot into twrp from bootloader, make a backup of your data that you want, transfer the data to a pc, then boot back into bootloader from twrp.

Flash stock firmware per instructions from Google. ( https://developers.google.com/android/images. ).

Relock bootloader.

Reboot
[Nexus 6P General] ben_ro:
Worked great, thanks so much for the help! I was really getting scared that I may have no way to bring my beloved nexus back.
[Nexus 6P General] giosaxda:
Hi guys,

I'm getting this screen after entering password do decrypt into TWRP. Is that red text normal?

Thanks.
[Nexus 6P General] nathanchance:
Yes because at that point, you hadn't decrypted so TWRP couldn't mount the storage.
[Nexus 6P General] abhixec:
section 4 there is a typo : "boor" -> "boot"
[Nexus 6P General] cheesechocolate:
Hi. I was trying to go back to complete stock following guide 10 but entered a recovery boot loop. It didn't flash recovery.img

I anyways didn't wanna remove TWRP so I flashed everything except the stock recovery. I just wanted a fresh start with everything clean but having TWRP.

I'm stuck on the colorful android boot animation screen.

Update - Booted into TWRP and did a simple factory reset (wiped data/cache/dalvik) and was able to boot normally into stock android.
[Nexus 6P General] swooperstar:
I've been rooted for a long time, doing manual updates, and I think I'm over it. I want to be able to use the google wallet and I am not really into updating manually anymore. If I follow step 11 will I still have all my apps? Does step 11 unroot? It looks like a couple people recently had trouble unrooting. Will I have bootloop problems too? I really don't want to go all the way back to stock, it takes forever to get set up again.
[Nexus 6P General] ffejy462:
If you're on a rooted stock rom, there's no need to wipe data. You'll obviously need to uninstall your root apps. Basically: download newest version, extract, turn off lockscreen security, wipe cache and Dalvik in twrp, boot to bootloader from twrp, flash per Google factory images page instructions, (no need to wipe data), reboot. At this point, it should be totally stock, but with your apps still in place. Personally, I'd make a twrp backup just in case you need to go back for any reason.
[Nexus 6P General] Spannaa:
If you're on any rom other than stock, you need to wipe data which will remove all of your apps and settings.

If you follow step #11 everything except your internal storage will be wiped - you'll have a clean, stock, unrooted rom.
[Nexus 6P General] juniorhaven:
Hi. I'm new here. I just got a nexus 6p from someone. It came with twrp recovery, but thats all. Not rooted. I want to restore it back to normal, factory. I followed the steps on first page on this post. I tried step 10 and 11. nothing worked for me. Any other solutions. Anything easy to understand?
[Nexus 6P General] ffejy462:
Use the guide to setup adb/fastboot on your computer. Download the latest factory image from the google developer site. Extract the file. Flash per Google instructions.

https://developers.google.com/android/images
[Nexus 6P General] juniorhaven:
I had downloaded that already. I'll do my best to follow. I appreciate the help. Thanks
[Nexus 6P General] juniorhaven:
Don't know why it is not working for me. Now is it easier to root while only having twrp, or is it easier just to remove twrp?

If it is easier to remove, then I will keep searching for ways on how to do so.

Appreciate any advice.
[Nexus 6P General] pizza_pablo:
Rooting is the last step, by installing SuperSU (or now magisk) via TWRP.

What is not working?

Have you watched any YouTube videos, showing how to use Fastboot?

That's what I did. Much easier to grasp than just by reading.
[Nexus 6P General] ffejy462:
What is not working? I was under the impression that you were returning to stock. Now you're talking root... Wish is your goal exactly?
[Nexus 6P General] juniorhaven:
I'm ultimately looking to remove twrp. I was not successful. I had to download many different files as my computer did not have them installed. I followed some videos but the weren't much help. Plus they had everything lined up. Didn't help that most did not speak well. I tried using cmd to run the process but it doesn't recognize the commands. I seen an app flashifly and thought about using that, but not sure if that will work.

So now I'm thinking if I cannot remove it, is it more of a pain to complete the rooting process or not bad at all. Stuck in a delema
[Nexus 6P General] pizza_pablo:
TWRP is removed by installing the stock recovery, in fastboot.

If you wish to return to stock, installing the entire factory image, with fastboot, will do that and remove TWRP.
[Nexus 6P General] juniorhaven:
I downloaded the latest file from Google. Plus other components my computer needed to help with process. But the cmd prompt did not work to complete process. I'm so close.
[Nexus 6P General] ffejy462:
You need to get adb/fastboot working on your pc before anything else. The guide in the op works fine.
[Nexus 6P General] juniorhaven:
Exactly what I did. And tried a few times. Even removed what I downloaded and started over. Got adb fastboot. I followed instructions. But certain parts did not work as my computer was missing files. So I got the nesessary files and tried adb and fastboot again. Still getting error message that command is not recognize. I entered the correct path. Just doesn't make sense
[Nexus 6P General] SlimSnoopOS:
Follow the instructions again. Each time you run into an error, take a screenshot and post it here for us to evaluate. That's the best way to proceed.
[Nexus 6P General] juniorhaven:
Ah. Didn't think of that. Ok. Will do. Thank you
[Nexus 6P General] ffejy462:
When the phone is connected, file transfer is selected rather than charging, and you enter

adb devices

What is the output?

It should have your serial number (don't post it)...
[Nexus 6P General] pizza_pablo:
Ensure that spaces between "words" in the commands are correctly entered. One missing or added space will result in an error.
[Nexus 6P General] scottysize:
First, I promise I read the entire opening page to this. However, I didn't see a doesn't work with... Now, I might have missed it. It might be in the 585 pages of the thread. But would someone please answer me 1 question:

I want to purchase a Nexus 6P from Swappa expressly for rooting. Is there a software version that I cannot root using this wonderful guide? IE: Can I root "Running stock Android 7.1.2"
[Nexus 6P General] SlimSnoopOS:
Root can be successfully installed on Marshmallow through Android 8.0 developer preview 4 on this device.
[Nexus 6P General] mobileman88:
You can root all versions of this device on all versions of android. It is what this device is built for. One thing to take note of. This device is almost 2 years old. Most units out there will have batteries which are failing. I highly encourage you to get the battery changed
[Nexus 6P General] pgriffith:
Can't Root N2G48B

Hi all,

I can't seem to root the latest N2G48B Build on my 6P, I also can't get recovery to stick past a boot into the OS, I've had no issues with all past builds.

Steps taken

1. Flash latest TWRP 3.1.1 via fastboot command, can reboot the phone into TWRP fine as many times as I please, recovery sticks.

2. Once in recovery I flash SuperSU, I've tried latest 2.82 stable and 2.82 SR1

Seems to finish ok, there is one failure visible;

- Calling user ramdisk patch script

--- Failure, aborting (not sure if that is normal or bad?)

3. Wipe cache/dalvik

4. Reboot System

5. Once system is booted, system is not rooted.

6. Try rebooting back in to TWRP Recovery and it is gone, have to reflash via fastboot.

Anyone have any ideas ?

Cheers

EDIT: Fixed it, for anyone wondering what it was, this post is what fixed it for me. I had installed Magisk sometime ago but uninstalled it soon after.

https://xdaforums.com/showpost.php?p=69425335&postcount=7759
[Nexus 6P General] Einwod:
Try Magisk. Easier by far.
[Nexus 6P General] mobileman88:
August update has been released. Works well so far.

Google Assistant now works without the Pixel mod.
[Nexus 6P General] somesortofthing:
What if I want to start off by rooting with Magisk? It's just as simple as flashing a magisk zip instead of a supersu zip in the root guide, right?
[Nexus 6P General] Einwod:
Correct. The current version is v13.3.
[Nexus 6P General] g_oral:
Hi,

i have problem. I was on Android O but due to battery drainage i wanted to roll back to 7.1.

so i had stock android O with locked bootloader.

1. i unlocked bootloader

2. i was doing everything as it is in Heisenber Guide in first post: "10. How To Flash The Factory Images (Return To Stock)"

3. Now i have bootloop when android starts. the message appears: "Unfortunately the process com.android.phone has stopped" and again android is starting and again this message.

what can i do?