yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] Forkley Billiams:
Root Checker not detecting root

I'm on Build MDB08L. I've gone through the root process once a few days ago and again today. The device is not bootlooping or anything like that. TWRP is working fine. Everything looks good except that when I run Root Checker it says no mate you're not rooted. SuperSU says there is no SU binary installed and that SusperSU cannot install it.

I have tried yelling at my phone and swearing but nothing seems to work.

What am I doing wrong?
[Nexus 6P General] Heisenberg:
Exactly which modified boot.img did you flash? And which SuperSU did you flash?
[Nexus 6P General] Forkley Billiams:
I extracted the boot.img from the angler-mdb08k-boot.zip and flashed it from \platform-tools and it's SuperSU v2.56.
[Nexus 6P General] cturbos:
Why does phone take a long time to boot?

It's rooted.
[Nexus 6P General] Heisenberg:
You flashed the wrong SuperSU, 2.56 is for the systemless method of rooting. You need to flash 2.52 instead.

What would you consider to be a long time? Mine doesn't take too long to boot up.

Sent from my Nexus 6P
[Nexus 6P General] cturbos:
Well,long is a relative term,I have S6 Edge,and there is no comparison.The nexues 6 P Takes exactly 1m,43sec.,while the Edge 6S takes about 28 seconds.

Hope this helps.
[Nexus 6P General] Badger50:
Who's in that much of a hurry? Not me. I'll take my new 6p over anything Sammy puts out anymore :)
[Nexus 6P General] cturbos:
Heisenberg

One more thing,the TWRP asks me for password,is that normal?

Thank you
[Nexus 6P General] wis3m0nkey:
Is it fastboot flashing unlock or fastboot oem unlock?
[Nexus 6P General] Heisenberg:
It is if you're encrypted.

Well the guide says fastboot flashing unlock.
[Nexus 6P General] Fentadroid:
Should we care about the "fastboot flashing unlock_critical" command instead of simply "unlock"?

source: http://www.androidpolice.com/2015/1...become-common-for-many-devices-in-the-future/
[Nexus 6P General] Heisenberg:
Just the normal unlock.
[Nexus 6P General] Fentadroid:
Ok, thanks, good to know :) So exactly as reported on page 1 and nothing more.
[Nexus 6P General] combat goofwing:
Reformatted my PC over the weekend due to a few issue not to do with this,but when installing everything SDK and drivers ,it seems to have installed adb composite interface ,rather than just adb interface ,does this matter ?
[Nexus 6P General] a1exus:
[MENTION=4153349]Heisenberg[/MENTION] - I followed "5. How To Make An EFS Backup With TWRP Recovery" step, backup went through (no errors). You mentioned process should take few minutes, in my case it only took few seconds, not sure if that's okay or not... Is there a way to test it somehow? where did it back it up too? I'd like to make a copy off my phone as well.
[Nexus 6P General] @home:
I get errors from this point onwards when flashing maually

fastboot erase cache

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

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

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

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

How come the flash all bat doesn't work in the google image?
[Nexus 6P General] cturbos:
Heisenberg

Will you please explain the encryption?I haven't done anything!!!!!

And,do you know the password?Is it what I used for my phone?

Thank you
[Nexus 6P General] Heisenberg:
A few seconds is normal, that's a typo in my guide, I'll fix it.

What errors?

Same password that you enter in Android.
[Nexus 6P General] a1exus:
Ok) What is location of "EFS Backup"? I'd like to copy it to alternative location as well.
[Nexus 6P General] adrman:
It's in the TWRP/yourdeviceid/ folder along with the rest of your TWRP backups.
[Nexus 6P General] a1exus:
[MENTION=4153349]Heisenberg[/MENTION] I wasn't paying attention and I confirmed install of SuperSU, how do I uninstall it?
[Nexus 6P General] Heisenberg:
Internal Storage/TWRP/backups/<device serial>/backup name

Flash the system image from the factory images.
[Nexus 6P General] wis3m0nkey:
Was using older platform tools, didn't even have flashing :(.

Worked well after updating platform tools.

After flashing supersu 2.52 (beta), Does phone take very long to boot? In my case it doesn't seem to proceed and stuck at boot animation.
[Nexus 6P General] sirxdroid:
It's stuck. Did you flash the correct modified boot.img? Go through the guide again.
[Nexus 6P General] a1exus:
mbp:angler alexus$ adb pull /sdcard/TWRP/BACKUPS/
pull: building file list...
pull: /sdcard/TWRP/BACKUPS/8XV5T15A20000560/2015-11-15--13-45-52_MDB08L/recovery.log -> ./8XV5T15A20000560/2015-11-15--13-45-52_MDB08L/recovery.log
pull: /sdcard/TWRP/BACKUPS/8XV5T15A20000560/2015-11-15--13-45-52_MDB08L/efs1.emmc.win.md5 -> ./8XV5T15A20000560/2015-11-15--13-45-52_MDB08L/efs1.emmc.win.md5
pull: /sdcard/TWRP/BACKUPS/8XV5T15A20000560/2015-11-15--13-45-52_MDB08L/efs2.emmc.win.md5 -> ./8XV5T15A20000560/2015-11-15--13-45-52_MDB08L/efs2.emmc.win.md5
pull: /sdcard/TWRP/BACKUPS/8XV5T15A20000560/2015-11-15--13-45-52_MDB08L/efs2.emmc.win -> ./8XV5T15A20000560/2015-11-15--13-45-52_MDB08L/efs2.emmc.win
pull: /sdcard/TWRP/BACKUPS/8XV5T15A20000560/2015-11-15--13-45-52_MDB08L/efs1.emmc.win -> ./8XV5T15A20000560/2015-11-15--13-45-52_MDB08L/efs1.emmc.win
5 files pulled. 0 files skipped.
6390 KB/s (8409587 bytes in 1.285s)
mbp:angler alexus$

I believe Android security patch level is November, which build version: MDA89D, MDB08K, MDB08L, MDB08M?
[Nexus 6P General] Heisenberg:
Did you flash the modified boot.img? I'm guessing you didn't.

You're on MDB08L, you can see by the backup names.
[Nexus 6P General] anglerstock:
Trying to learn something nee related to this vendor.img everybody talks about. If I flash it, does it get rid of the "contact manufacturer" message I get on bootup of stock rooted phone for example? Also in few words, what is the vendor.img? What does it do and when do I need to flash it? If I flash a custom rom, should I flash vendor.img everytime?
[Nexus 6P General] Heisenberg:
I'm still unsure exactly how the vendor image functions, but I know that flashing it will not not remove the boot warning.
[Nexus 6P General] avhad444:
boot loop

i got stuck on a boot loop (section 6) how to unloop and flash supersu ....i did everything right till the end..i forgot to click the cache/dalvik & reboot ...i went straight to reboot (help anyone???)
[Nexus 6P General] Heisenberg:
Forgetting to wipe the caches actually shouldn't matter all that much. Did you flash the modified boot.img? Which one? And which SuperSU did you flash?
[Nexus 6P General] anglerstock:
I think I read on chroma's first post that if you flash his vendor it would get rid of that but not so sure. Thanks though.
[Nexus 6P General] Heisenberg:
It won't, it's the stock vendor image which I've flashed numerous times and still have the warning. There's something coded into the ROM that's meant to remove the warning, but it's hit and miss.
[Nexus 6P General] wis3m0nkey:
Thanks,

I didn't flash modified boot image.

Just flashed pure nexus pre rooted.
[Nexus 6P General] equilateral_sq:
NFC not working

I'm grateful for the guide!! 1st ever root.

I followed everything to a T except one thing.

Once I flashed TWRP 2.8.7.2 and launched it, I was met with the offer to mount something and/or give password (can't remember now). I ignored it and attempted to make a nandroid backup. It failed.

I then read the note about the older angler TWRP zips that needed you to decrypt the userdata. I formatted the userdata and was then able to make the nandroid and efs backups just fine. I was never asked for a password or to mount anything again when going back in to install SuperSU.
[Nexus 6P General] steviemch:
The user isn't talking about the boot warning we've all got, but another error message to "contact your manufacturer" which is removed if you flash the correct vendor img. I just pointed someone else to a post with a flashable vendor img. who confirmed the error message was removed after flashing.

steviemch
[Nexus 6P General] osensei1907:
Thanks to the guide I quickly rooted and started to use root apps on my phone successfully. But I have some questions about "after root".

I installed various roms to my previous phone but I want to keep this one original. Yet, there will be updates that I'm going to miss because of being root user. How can I keep my android updated, what steps should I take after this guide?

Also where can I learn about more useful tools that requires root?
[Nexus 6P General] Heisenberg:
TWRP was asking for your password that you enter when you boot into Android.

Ahh, thankyou.

See the FAQ in the second post for information on how to take updates. Just look online for articles on useful root apps.
[Nexus 6P General] jairusz:
I had the same problem but somehow it fixed itself. I'm not sure if it's flashing the modified boot.img and then the recovery or restarting the bootloader after flashing the recovery from the command prompt instead of the phone but that's what I did and now it boots TWRP instead of the stock recovery.
[Nexus 6P General] equilateral_sq:
Sorry I didn't use the forum correctly. It asked me for a subject and my question went there. I see now it has not displayed

I was wondering how my NFC stopped working.
[Nexus 6P General] VanGolfer:
Hi: I am a beginner and read all these pages to do my home work before rooting. But still have some questions:

1, I am on MDB08L can I use MDB08M boot img? Or I have to flash the factory M image over L so that I can get MDB08M ?

2, Section 9. How To Flash The Factory Images (And Return To Stock): is this step return to un-root as well?

3, Right now I just want to root and run stock ROM, so the steps should be (section 6):

Unlock bootloader - Fastboot

Flash recovery(TWRP) - Fastboot

Flash modified boot.img - Fastboot ( I am on MDB08L, can I use MDB08M boot img, or just use MDB08K? )

Flash SuperSU - Recovery

4, For the future update from Google, OTA or full image, I have go thru the root process every time, right?

Thank you!
[Nexus 6P General] Heisenberg:
1. Yes. This question is answered in the guide and in the FAQ.

2. Yes.

3. Those steps are correct.

4. You'll need to flash the modified boot.img, TWRP, and SuperSU again each time.
[Nexus 6P General] Heisenberg:
I'm really not sure, I haven't encountered any problems with NFC. I can only suggest you flash the factory images to return to stock and start from scratch.
[Nexus 6P General] VanGolfer:
Hi Heisenberg: is it possible to backup the data before unlock and restore it after root on the same ROM, use the tools such as Lx Multi Tool, etc. these on your tool index list?
[Nexus 6P General] equilateral_sq:
Will do! Do we already know the consequences of encrypting the user data partition while rooted? That's will be my revision since I am not encrypted now. PS s in a donation
[Nexus 6P General] Heisenberg:
As far as I know any tool will require either root or an unlocked bootloader (or both).

You shouldn't have any problems encrypting while rooted, but I haven't tested that myself so I can't guarantee it. There's no need for a donation, I appreciate them very much but please don't feel obliged to do so.
[Nexus 6P General] @home:
I don't remember what the error where, I managed to flash using other methods but all I wanted to do was to root & keep stock recovery.

Can someone tell me....How come the flash all bat doesn't work in the google image?
[Nexus 6P General] :
Okay somewhat tricky question... When you modify the /system files with mods, do you backup that specific file so when you want to flash an update you just replace the modified one?

Because some mods don't really have an uninstall option.
[Nexus 6P General] Heisenberg:
Probably not much point as you'd need to flash the system.img prior to taking the update anyway, this will overwrite your current /system partition.
[Nexus 6P General] :
Well I'm glad to hear that then. I remember you told me the update will just not install if I don't remove mods from /system...?
[Nexus 6P General] Heisenberg:
That's right, and that's why part of the instructions are to flash the system.img.
[Nexus 6P General] :
Because the new system IMG will just overwrite the old one (with mods in it) and so no bother to uninstall them.
[Nexus 6P General] efrant:
ADB has a native backup function that works without root and without an unlocked bootloader.

You can also have a look at Helium in the Play Store (https://play.google.com/store/apps/details?id=com.koushikdutta.backup). It is based on ADB backup, but more user-friendly.

Either of those options will allow you to backup your apps and app data before you unlock your bootloader, and restore after.
[Nexus 6P General] Heisenberg:
I've used Helium before but I found that it wasn't very reliable, I can't quite remember what the exact problem was but it was enough for me to not recommend it to anyone.
[Nexus 6P General] steviemch:
The flash-all.bat command worked for me no problem, I factory flashed the MDB08M build the moment I bought the phone.

steviemch
[Nexus 6P General] @home:
When I used the flash all bat I got errors like no image file present. I have no idea why as I downloaded it from Google images.
[Nexus 6P General] Heisenberg:
Updated 2015/11/17!

Added:

10. How To Take An OTA Update If You Have Root
[Nexus 6P General] EvanVanVan:
Does following your instructions to take an OTA if you have root, force encryption again? I'm assuming no since you don't format data (or even wipe userdata as you mentioned).

Thanks

edit: jw, since you are flashing a stock boot.img...
[Nexus 6P General] Heisenberg:
It will force encryption because you're flashing the stock boot.img.
[Nexus 6P General] EvanVanVan:
Ah, ok, I missed the note...

How To Decrypt Your Data Partition
[B]This is no longer necessary as long as you use TWRP 2.8.7.1 or newer[/B]

Thanks
[Nexus 6P General] mattchoo:
Hi, I've been trying to find this answer in this thread, but couldn't find it.

Now that there is a system less root and Android Pay will continue to work, are there any downsides to rooting now?
[Nexus 6P General] Heisenberg:
There are always downsides to rooting. If you don't know what you're doing, you can really mess up your phone. If you download apps from anywhere other than the Play Store (or one of the very few other safe places) you run the risk of installing malware on a rooted device, which can be catastrophic. Some banking apps won't work with root. The list goes on and on. But, if you know what you're doing you can be perfectly safe.

PS. Your question really had nothing to do with the guide and should have been posted in the 6P q&a thread. I answered it anyway, but for future reference only questions that relate directly to this guide and undertaking the processes within it actually belong here.
[Nexus 6P General] thefiverivers:
I just wanted to say thanks for this awesome guide. It was detailed and contained everything that I needed to know to get unlocked, rooted, etc. I had a few questions that were promptly answered by searching the thread and everything went smoothly. Guides like this are great!
[Nexus 6P General] :
cant unlock bootloader

I have followed the information but I cant get the bootloader on my 6P to unlock

if I use the fastboot oem unlock I get a FAILED msg

if I use the fastboot flashing unlock I just get a list of commands that fastboot uses

I am stuck if anyone can help me please. ever other phone I have form the nexus 4 5 and 6 and my 2 nexus 7 all are unlocked using custom roms and this 6P has got me stumped
[Nexus 6P General] Badger50:
Many have had the same issue. Looks like it's resolved by updating your drivers and possibly SDK.
[Nexus 6P General] gregk232:
No way to get just root without unlocking bootloader, custom recovery, and wiping your data?
[Nexus 6P General] Badger50:
Nope! You have to have a custom recovery to install SU, and an unlocked bootloader to get a custom recovery.
[Nexus 6P General] @home:
If you're on the MDA89D build you must update to at least the MDB08K build first (see section 8 for details on flashing the factory images to update). If you're on the MDB08K build or higher you can proceed

Download SuperSU to your phone, we'll come back to this in a minute. It must be SuperSU BETA 2.50 or above.

Go to this thread and download the appropriate boot.img (angler-mdb08k-boot.zip). The modified K boot.img is compatible with the K, L and M builds. Or if you're on the M build you can use a modified M boot.img provided by [MENTION=3355398]mrRobinson[/MENTION] here

Extract the zip and place the file in your fastboot folder (this is where fastboot.exe is located on your PC).

Boot into the bootloader and connect it to your PC via usb cable.

Open a command prompt from within your fastboot folder (shift + right click, select open command prompt here), and enter the following commands:

Code:

fastboot flash boot boot.img<<<<I have done this

Once the flash has finished you can use the volume keys to scroll and power key to select the Reboot Bootloader option.

Boot into TWRP recovery and enter the install menu.<<<When I get to here It boot in to stock recovery no TWRP, What did I do wrong?

Navigate to where you have SuperSU stored on your internal storage and select it.

Swipe to install.

Once you've installed SuperSU you'll have an option to wipe cache/dalvik and an option to reboot system. Wipe the cache/dalvik, hit the back button, and hit the reboot system button. That's it.
[Nexus 6P General] Stephen:
Do a search for my posts in this thread. I uploaded an updated fastboot.exe that allows you to run the fastboot flashing unlock command. Download it and replace it with yours. You'll be good to go.
[Nexus 6P General] @home:
How about my post, which bit I do wrong, thanks
[Nexus 6P General] :
got it done

Got it Rooted and working great thanks for all the help :)
[Nexus 6P General] psxan8:
I've managed to get root without permanently flashing a custom recovery. I unlocked the bootloader, flashed modified M boot.img and then with the nexus root toolkit temporarily booted to TWRP and flashed superSU. So after rooting I still have stock recovery.
[Nexus 6P General] gregk232:
Did it wipe your device? I just want root access to run better battery stats for now.
[Nexus 6P General] psxan8:
I unlocked the bootloader as soon as I got the device so I don't remember if it wiped it but the rest of the prossess will definitely not wipe your phone. I've had this phone for 2 weeks now with an unlocked bootloader but rooted it just today.
[Nexus 6P General] akarol:
Followed your guide to a T. However, after flashing the boot.img and rebooting bootloader. I get a "no command" screen when I attempt to reboot into recovery mode. I installed the TWRP recover and did all the backups as you instructed. No idea what's going on.
[Nexus 6P General] tele_jas:
In step 9, returning to stock, I get all the way to the "Flash system.img" command and it fails every time.

Here's the error I get:

I've returned one 6P back to stock using these steps with no problems, but this one has got me stumped?

[UPDATE]

I tried one last thing, the Android SkipSoft ToolKit... and for some reason that let me flash the system image. I also flashed the vendor image that way and relocked the bootloader, but for some reason, the vendor image didn't take. So I had to unlock my 6P again, reflash the vendor image via fastboot and relock it again. After that, it's all stock again!

Probably a Win10 issue if I had to guess? Thank you for this guide!
[Nexus 6P General] madmuthertrucker:
I did it! Unlock, rooted, custom recovery! I was skeered. Thanks Heisenburg for getting me off of the toolkits.
[Nexus 6P General] @home:
Any help on this?
[Nexus 6P General] Heisenberg:
I really don't know, how many times have you attempted it?
[Nexus 6P General] @home:
I had a go twice & got the same result, It boots in to stock recovery no sign ot TWRP to flash SU.

All I want to do root a stock rom I don't want to install a custom recovery.
[Nexus 6P General] DDHBanger:
I keep getting the error Vendor image may be out of date. I'm on MDB08M build. Should I have flashed MR Robinson's M modded image instead f the K version?
[Nexus 6P General] Heisenberg:
Use this command instead:

fastboot boot twrp-2.8.7.2-angler.img

This will live-boot the recovery instead of installing it, then you can flash SuperSU.

Try flashing the MDB08M vendor.img with fastboot.
[Nexus 6P General] f_5_V_e_R:
hi,

can you share the guide if i use macbook? :)
[Nexus 6P General] runninman20107:
No mountable file system?

After I download TWRP on my macbook pro i get a warning that there is no mountable file system when I try to open it. Any ideas?
[Nexus 6P General] Alawiz:
How do i decrypt my nexus 6p? I have the latest TWRP and rooted but when i go to settings and check the ecryption it still encrypted. Any help?

Edit: nvm i just formated the data and it was decrypted.
[Nexus 6P General] Heisenberg:
So, this guide was featured in a video by TK on the XDA Portal:

http://www.xda-developers.com/how-to-root-the-nexus-6p-and-install-twrp-recovery-xda-tv/
[Nexus 6P General] paniro187:
i returned back to stock. how do i just have root i want to keep the stock recovery stock rom and just have root
[Nexus 6P General] Heisenberg:
You'll still need to flash the modified boot.img as per the instructions. Instead of flashing TWRP you can live-boot it with this command:

fastboot boot twrp-2.8.7.2-angler.img

(Assuming that it's TWRP 2.8.7.2 that you have downloaded)

The phone will boot into TWRP non-permanently and you can flash SuperSU.
[Nexus 6P General] paniro187:
last question . can i lock the bootloader back up after i flash supersu. i hate the warning on rebot
[Nexus 6P General] Heisenberg:
You can if you want to, but be mindful that locking/unlocking the bootloader each time wipes the phone. It's probably better off just to deal with the warning, I recommend leaving it unlocked because if you run into trouble in future and need to flash the factory images to revive your phone you'll be forced to unlock again. You may not have access to your data at the time to back it up beforehand.
[Nexus 6P General] @home:
I did this & now I have root, Finally i have a close all apps Yay.

Thanks for your help.
[Nexus 6P General] DonnieDoezoe:
I accidentaly accepted the supersup from twrp, now the boot hangs in an error that my device is corrupt...

Help :(

---------- Post added at 05:58 PM ---------- Previous post was at 05:41 PM ----------

just flashed the boot.img

pfff almost cried, had some bad experiences with my hard bricked G3
[Nexus 6P General] sirxdroid:
You need to flash the correct system.img for the build your phone is running.
[Nexus 6P General] ylexot:
When that happened to me, I just flashed the entire stock image except the recovery.
[Nexus 6P General] Heisenberg:
You really only needed to flash the system image.
[Nexus 6P General] volcs0:
Thank you so, so much. That could not have been easier.
[Nexus 6P General] goddammit:
Hello. I've screwed up - I followed a tutorial similar to the "6. How To Root Your Stock Rom", but I flashed the version of SuperSU by an accident - did what the warning at the bottom said not to do. Now my phone wouldn't boot, just shows the black screen and four symbol animation that comes after google logo indefinitely. There's one more thing - I'm on MDA89D and that tutorial never mentioned changing it. How can I fix this? Thanks in advance.
[Nexus 6P General] Heisenberg:
Flash the MDB08M factory images without flashing recovery or wiping userdata (details in section 9). Then you can follow the instructions in section 6 to root.
[Nexus 6P General] Jill McAuliffe:
Thanks Man Ready to work!
[Nexus 6P General] goddammit:
Thanks, I did exactly as you suggested, but when I'm trying to install the SuperSU 2.56 - I'm getting an error - "E: Could not find "META-INF/com/google/android/update-binary' in the zip file". What could be wrong here?

EDIT: Sorry, ignore that, there was a problem with the zip, everything is fine. Thanks again.
[Nexus 6P General] Heisenberg:
Did you mean to flash that specific version of SuperSU? That's the systemless root version.