yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] IlyaKol:
Tis my point...it mentions that you need Java up to date to use the SDK Manager...and then proceeds to (at least the way I read it) imply that the SDK Manager is part of the SDK file you download from the site in the OP where you select "other downloads"...which is NOT the case.

At least that's how I read it...but it's all good. We're good now, I have root and all is well in the world.
[Nexus 6P General] Heisenberg:
SDK Manager definitely IS part of the package that I mention. I'm not sure what you've done wrong but the error is on your end.
[Nexus 6P General] lrcquest:
Is there a modified boot.img for mmb29q for rooting?
[Nexus 6P General] Heisenberg:
You don't need a modified boot.img anymore, SuperSU patches it for you when you flash.
[Nexus 6P General] lrcquest:
Meaning, if iwant to update to mmb29q from mmb29m, I follow the update guide & after flashing TWRP, directly flash the supersu (for traditional root)?

Also, can the TWRP 3 be used?
[Nexus 6P General] Heisenberg:
That's right, there's a link to the SuperSU beta thread in the systemless root section of the guide. I haven't updated to the latest TWRP yet so I can't comment on that, it'd be a good idea to have a look in the TWRP thread and see if any folks are having issues with it first.
[Nexus 6P General] lrcquest:
TWRP / FlashFire installable ZIP:

Stable: http://download.chainfire.eu/supersu-stable (UPDATE-SuperSU-v2.65-20151226141550.zip)

Beta: http://download.chainfire.eu/supersu-beta (BETA-SuperSU-v2.67-20160121175247.zip)

Latest: http://download.chainfire.eu/supersu (UPDATE-SuperSU-v2.65-20151226141550.zip)

Which one of these for Traditional root?
[Nexus 6P General] Badger50:
None of them. They're all systemless versions.
[Nexus 6P General] Heisenberg:
There is no traditional root anymore, not in the old sense anyway. Just grab the latest. Why do you want traditional root? If it's for Android Pay it doesn't work anymore because they patched it. There's no advantage to traditional root any longer.
[Nexus 6P General] lrcquest:
:eek::eek:

all this hassle to flash Purenexus. Currently on stock rooted MMB29P & installed layers & xposed. Want to do a clean flash. Dont care about AP. Now my problem is that i installed layers without busybox. It seemed ok a first but i cannot uninstall it properly. So trying to flash MMB29Q factory image & root. Then go with installing the Rom afresh.
[Nexus 6P General] SlimSnoopOS:
Layers reside in the Vendor partition. Just fastboot flash the MMB29Q vendor.img, then use TWRP to install Pure Nexus. It is already pre-rooted, so no need to flash SuperSU.
[Nexus 6P General] M_Shaaban:
Do we lose root after OTA update in system-less root?
[Nexus 6P General] SlimSnoopOS:
Yes. Just root again after taking an OTA, if you get it to accept the OTA.
[Nexus 6P General] Heisenberg:
There's no need to root before flashing the ROMfor a couple of reasons:

1. It will be overwritten when you flash the room anyway.

2. Pure Nexus is pre-rooted.

Flash the vendor image to remove Layers, that's where it resides.
[Nexus 6P General] soylukral:
Hello,

Im trying to unlock te bootloader of my device. But i got problems with it. I allready checked the boxes for oem unlock and usb debugging under the setting of the device. There is a working adb connection also. But when typing fastboot flashing unlock, there doesnt happen anything. It only shows the available commands on adb. But the device doesnt react. I updated android sdk and adb version shows 1.0.31. What is going wrong? Im rooting devices since the htc hero.

thanks in advance
[Nexus 6P General] Heisenberg:
Your fastboot is outdated, use SDK Manager to update the platform-tools package.
[Nexus 6P General] soylukral:
Its allready updated to version 23.1.
[Nexus 6P General] Heisenberg:
If your adb version is 1.0.31 then it's out of date, it needs to be 1.0.32 or above.
[Nexus 6P General] js2shanks:
Thank you!
[Nexus 6P General] ridobe:
I am really stuck. I've unlocked many devices on linux. I am absolutely up to date on the SDK. I've gone so far as to deleted my 4+ year copy and start over. Nothing. Allow OEM unlock and MTP are both on. I would really appreciate some help.
[Nexus 6P General] dmarden:
Another option, for clarity, if you don't want to lose encryption...

Just let TWRP install the outdated su. Then there is nothing stopping you from installing the latest SuperSU apk and letting it update the su binary directly.

Only mentioning because some people have trouble with adb sideload.
[Nexus 6P General] henryxdam@gmail.com:
I am having the same problem. Trying to go back to stock and try again, but I cant get an ADB connection. Phone keeps saying "Connect USB Data Cable".

OEM unlocked, USb debugging on, the phone has remembered the computer. I have trired ptp and mtp with no luck! Two computers too!
[Nexus 6P General] mcnob:
Corruption warning?

Does this method present the "Device Corrupt" warning that I was getting after rooting my Nexus6 on Marshmallow??

After updating to 6.0 final, I rooted it with the modified boot method and I now get the warning every time I reboot it but it still boots fine anyway.

So, will I end up with this on my 6P too or can I avoid it?

Ta.
[Nexus 6P General] Heisenberg:
As far as I know there's no way to avoid that warning.
[Nexus 6P General] Simer03:
I cant seem to unlock my bootloader.... the command does not work for me, idk why. Im no Nexus noob... :/
[Nexus 6P General] Aridon:
Try this tool kit

http://xdaforums.com/nexus-6p/orig-development/tool-skipsoft-android-toolkit-nexus-6p-t3234159

You can download the angler tgz file, extract the .tar and you can try and use that program to connect and reflash to stock if you get stuck and are having issues going back to stock via commands prompt. Just follow the directions to flash back it will walk you through it step by step.

---------- Post added at 10:12 PM ---------- Previous post was at 10:09 PM ----------

Did you forget to enable oem unlock in developer options and usb debugging? When you connect via usb make sure you can see the device when you do adb devices. You can also make sure that the device is remembered by toggling PTP and making sure you remember the device you're allowing (your pc). Then try to see if you can find the device through adb.

You can also try a reboot and a different usb port. Driver reinstall.

Good luck.
[Nexus 6P General] Simer03:
I have a mac and i did try OEM unlock in dev options and usb debugging is on as well. ADB gets recognized and so does fastboot devices.... basically when i type the flashing command, my terminal brings up all the options of commands for the terminal...it's so weird
[Nexus 6P General] Simer03:
my terminal acts as if fastboot flashing unlock just does not exist. The phone gets recognized in ADB and fastboot no problems at all but it doesnt accept that command for some damn reason. I am so confused
[Nexus 6P General] Heisenberg:
How did you install adb/fastboot? Is it up to date?
[Nexus 6P General] Simer03:
i think i updated it a few months ago... I have no idea what else to do as ive never experienced this but i dont get why the fastboot oem unlock option was taken out goddamn it
[Nexus 6P General] Ketawa:
I followed the instructions in the OP exactly and had no problems attaining root on my Nexus 6P delivered today. I restored my user apps with Titanium Backup. Thanks!
[Nexus 6P General] Simer03:
I give up... I cant figure this out at all. This is so weird and i've never experienced this problem before on a nexus

edit: GOT IT! never mind! phew im an idiot
[Nexus 6P General] dinofan01:
I'm having the same problem. what was your solution?
[Nexus 6P General] Heisenberg:
Please post what you did to fix the problem you were facing, it'll potentially help others in the same boat.
[Nexus 6P General] belair56:
Yes please. Rooted every Nexus starting with the G1. And I'm in the same situation. Device recognized in adb and fastboot but won't unlock.
[Nexus 6P General] ridobe:
I would love to know.
[Nexus 6P General] Simer03:
I basically just deleted my current adb and fast boot folders and downloaded them again and it seemed to work

Basically just followed these steps again

http://xdaforums.com/showthread.php?t=1917237
[Nexus 6P General] ridobe:
Well, damn. I've already done this. On two computers. Everything works but the unlock command. I'm on the verge of giving up myself.
[Nexus 6P General] soylukral:
I got it working now. Thanks for your help! I was looking in the wrong folder.
[Nexus 6P General] kristiangmez:
I d like to know how to get an Ota on systemless root. I have also Twrp and Exkernel. Just got a small Otra ( 12 mg ). Can I take it ? If not. How should I do it? Thanks !
[Nexus 6P General] Heisenberg:
Please read the FAQ, it's there for a reason. No, you can't take the OTA. You need to update by flashing the factory images, then you can flash root and your mods again afterwards.
[Nexus 6P General] TwiggieSmalls:
Can you link me to the update guide you elude to in this post? Thanks! :)
[Nexus 6P General] Heisenberg:
What do you mean? You're posting in the thread.
[Nexus 6P General] jesssiii:
FYI, TWRP 3.0.0.0 works great. And I was able to use it to flash the stock system, boot, and vendor images as well. Sweet.
[Nexus 6P General] mobileman88:
You mean it flashed. IMG files now? Not just zip files?
[Nexus 6P General] jesssiii:
Yes, navigate to where the images are and choose "image"in twrp install.
[Nexus 6P General] Heisenberg:
TWRP has been able to flash image files for a while. Go to the Install menu, in the bottom right corner you can select to switch to install images.
[Nexus 6P General] mobileman88:
Thanks heisenberg. Never knew it after all this while. Been using either fastboot or command-line
[Nexus 6P General] brockkk:
Is there a proper way to unroot after doing the systenless root? Or just choose uninstall from superuser settings?
[Nexus 6P General] lrcquest:
Thanks [MENTION=4153349]Heisenberg[/MENTION] & [MENTION=3576831]SlimSnoopOS[/MENTION]
[Nexus 6P General] SlimSnoopOS:
Happy to help!

If you have made no changes to /system, choosing uninstall in SuperSU should be enough. You should flash stock recovery to be able to accept a future OTA.

If you have made any changes to /system, then use section 11 of this guide.
[Nexus 6P General] cesar2k:
Hey, the flashing unlock command still doesn't work for me.

I am trying to ring k run the process with Ubuntu and just updated the sdk tools.

Any idea what might be causing my issues?

Cheers
[Nexus 6P General] KnightGalahad:
How would this work for mac? (Don't hate me it's just easier)

I have the fastboot folder on my desktop with all necessary files from when I rooted/unlocked bootloader my bacon.

Cheers,

KnightGalahad
[Nexus 6P General] SlimSnoopOS:
Just open Terminal and write the commands like so.
[Nexus 6P General] Heisenberg:
Please be more specific, what happens when you issue the command?
[Nexus 6P General] asj0422:
Question: if i'm on a custom rom, i.e. cyanogenmod, do i still have to update the bootloader/radio/vendor/etc? (if yes, i'd just do that the normal way through fastboot, right?)
[Nexus 6P General] mahalocat:
Does ADB 1.0.32 include the updated Fastboot (Flashing Unlock) commands?

Or do I need to update to 1.0.35?

Thanks in advance.
[Nexus 6P General] Heisenberg:
1.0.32 and above.
[Nexus 6P General] mahalocat:
ok-

adb version

Android Debug Bridge version 1.0.32

adb reboot-bootloader

fastboot devices

483723..... fastboot

fastboot flashing unlock

this just returns the list of commands available in fastboot. sigh

OEM unlock is selected in dev options.

any advice?
[Nexus 6P General] thloe:
Hello Heisenberg,

thanks for your great guide!!

I´ve one question about systemless root. When i change from a custom rom to another one then always flash su systemless or is this stored in system so i don´t have to do this anymore. Sorry my english is not the best.

Thanks in advanced
[Nexus 6P General] Heisenberg:
It's partially stored in the system partition and partially stored in the data partition. When flashing a ROM you need to wipe properly first, which means you need to wipe system, data, cache, and dalvik cache. This means your root is wiped and you'd need to flash SuperSU again (after flashing your ROM zip). However, many ROMs come pre-rooted and SuperSU is flashed automatically during the ROM install, meaning you don't need to do it yourself. Just check in the first post of a ROM thread before you flash it to find out. If it's pre-rooted there's no need to flash SuperSU, if it isn't pre-rooted you need to flash it yourself.
[Nexus 6P General] thloe:
Thanks for your answer! And sorry for one more question.

I know from my last phone (OPO) the way:

1) Nandroid

2)Fullwipe

3) Flash Rom (when coming from another)

4) Flash Gapps

5) Flash SU (not systemless)

I think this is the

old

method - is this the right way for the Nexus 6P too for e.g. Nexus Pure?

thanks!!
[Nexus 6P General] Heisenberg:
It's still the same method, regardless of whether it's traditional or systemless root. In this case though you don't need to flash SuperSU because Pure Nexus is pre-rooted. So:

1) Nandroid

2) Full wipe

3) Flash Rom

4) Flash Gapps
[Nexus 6P General] ridobe:
What os?
[Nexus 6P General] fcsager:
I found that for fastboot to be used in Linux, you need to run it as root.

This is fastboot listing devices on my Linux box. Notice how it reports the device serial number when run as root.

deported1@TARDIS1968:~/Downloads/android-sdk-linux/platform-tools$ ./fastboot devices -l
no permissions fastboot usb:1-8
deported1@TARDIS1968:~/Downloads/android-sdk-linux/platform-tools$ sudo ./fastboot devices -l
[sudo] password for deported1:
5VT5T15C11000834 fastboot usb:1-8
deported1@TARDIS1968:~/Downloads/android-sdk-linux/platform-tools$

Run this command in the terminal while in the folder where you have fastboot:

$ sudo ./fastboot flashing unlock

To flash a recovery image file:

$ sudo ./fastboot flash recovery /path/to/recovery/image/file.img

To reboot the bootloader:

$ sudo ./fastboot reboot bootloader

Hope this helps.
[Nexus 6P General] mahalocat:
ubuntu 14.04 LTS
[Nexus 6P General] ridobe:
Good, then I can help. I'm assuming you downloaded the SDK as the OP suggests. Do you have it in a local directory? That is probably your problem. Chances are your $PATH is set to use your distributions version first, skipping your downloaded version. In your terminal type:

which adb

and it will tell you which one is being used. Likely /usr/bin or /usr/sbin instead of your fresh local version. The distribution versions tend to lag behind. Now, if that is confirmed you can do one of two things: reorder your $PATH to make it use your local version or simply:

./fastboot flashing unlock

in terminal to force it to use the local version. Of course, you'll have to actually be in that folder to do it.

Hope this helps.
[Nexus 6P General] KhouryKhaos:
Will this work with the February security update? I currently HAVE build number MMB29P. I'm working during if I should use the first root method now, or update and then root.

Thank you
[Nexus 6P General] mahalocat:
Thanks - Will give a whirl when I get back home tonight. Appreciate the advice!
[Nexus 6P General] SlimSnoopOS:
Yes, you can use this guide to root MMB29Q.
[Nexus 6P General] KhouryKhaos:
My phone says MMB29P. I'm assuming that makes a difference for the second method since the letters don't align, but it should be okay for the first method?
[Nexus 6P General] SlimSnoopOS:
Yup.

If you want traditional system root, there's an MMB29Q boot.img in http://xdaforums.com/showthread.php?t=3306684 this thread that you can install prior to flashing SuperSU.
[Nexus 6P General] iakeco:
Does anyone know what is the easiest way to get android pay to work. I want to use it 10 times to get that free chromecast from Google
[Nexus 6P General] Heisenberg:
Is this question in relation to this guide? Android Pay won't work with root anymore.
[Nexus 6P General] iakeco:
No its not about this guide. All that I wanted to know is if I have to go back to stock to use android pay. And if I do have to go back to stock, what is the easiest way
[Nexus 6P General] Heisenberg:
Yes, you must be stock (no root) to use Android Pay. Unlocked bootloader is ok, and custom recovery is ok though. As for the other question, you could read the guide to answer that.

It's probably best to post questions in threads that relate to what you're asking, or there's a dedicated Q&A thread here:

http://xdaforums.com/nexus-6p/help/qa-noob-friendly-qa-help-thread-t3206934
[Nexus 6P General] wietse1988:
My phone is decrypted, but I want to encrypt it again. I've tried it once through settings, security, encryption. But it didn't work, it was rebooting very long, then I did hold the power button to reboot it again, it booted fine, but it was still decrypted.

So how to decrypt the phone again without data loss.
[Nexus 6P General] ridobe:
You interrupted the process. Encrypting takes a long time. Do it again and let it sit.
[Nexus 6P General] wietse1988:
I did let it sit for 3 hours, but it wasn't showing any encryption process. I did read somewhere that this way didn't work for the 6p. So I wondered if there is another way.
[Nexus 6P General] Heisenberg:
You're extremely lucky you didn't corrupt and lose all of your data by interrupting it like that, it can take quite a long time, just let it go until it's finished.
[Nexus 6P General] wietse1988:
I did make a backup on my pc, just in case ;) But I did wait over 3 hours, without something about encryption to show upp. I did do it on my nexus 6 a while a go. And it showed a screen it was encrypting. It didn't show up here. And with the nexus 6,it was finished within an hour. So I'm not sure what goes wrong here.
[Nexus 6P General] wietse1988:
I did give it another try, it was finished now within 10 minutes. Thanks for your time.
[Nexus 6P General] mobileman88:
I understand the encryption process could take 2 hours of so if you have the 128gb device. How long did you wait?
[Nexus 6P General] wietse1988:
I have the 32 gb version. But it only did take 10 minutes.
[Nexus 6P General] ^tyrant^:
I have a question that is not related to unlocking or rooting, but i think since everyone in here uses the 6p that this is the place to ask.

when ever i get a txt or any type of notification the screen will wake for the initial notification, then it will go back to sleep, if i do not touch the phone the screen will awake again just showing a black screen with the notifications and it will do this again about a minute later it does this like 3 times.

I asked my friend with a 5x if his does it and he says no, so my guess is that i turned something on not knowing what it was and i can not figure what it might have been.
[Nexus 6P General] SlimSnoopOS:
Sounds like Ambient Display, which can be toggled in Settings/Display
[Nexus 6P General] ridobe:
Did you get this figured out?
[Nexus 6P General] ^tyrant^:
Ill disable that and see if that was it or not.

Thanks
[Nexus 6P General] TeriusPR:
Stuckkk!!!!! Help

I have a big problem and is that after installing twrp and entering in recovery mode when I'm going to flash the superSU folder I have the folder in my computer and I have to transfer it BUT my computer does not recognizes my phone in MTP Mode so I cannot do nothing, I tried to turn it on to try it with the system on but it is stuck now in a bootloop. Im preety much stuck, any remedies or solutions? IM REALLY WORRIED :(
[Nexus 6P General] mobileman88:
Have you tried file transfer mode other than mtp mode?
[Nexus 6P General] subhjvlz:
Transfer in recovery itself
[Nexus 6P General] mahalocat:
Not yet. I had ADB 1.0.32 but it wasn't working.

So Downloaded the SDK and unpacked.

Now stuck are getting the Unity GUI to Execute the "android.sh" file. Keeps opening in an editor program.....

Thoughts?
[Nexus 6P General] onyez:
need help

i have tried flashing the february OTA security update that i got from this link : https://gist.github.com/jduck/3ea03fb3ec1a55544842 on my nexus 6p but it keeps saying that its not a boot image. someone please help me out. i'm confused
[Nexus 6P General] Heisenberg:
Judging by your other posts about this in different sections and threads, you can't because you're rootired and have TWRP installed, and you've been told this. It doesn't matter how many times you ask the answer will always be the same: you can't flash an OTA if you're modified. Did you read the guide or the FAQ here before posting this? The answer is easy to find.
[Nexus 6P General] winsome:
Is there any way to root without flashing modified boot image and custom recovery?

I'm already unlocked!
[Nexus 6P General] Heisenberg:
You don't need a modified boot.img, the latest beta SuperSU patches the boot.img for you. You definitely need a custom recovery though, why wouldn't you want TWRP anyway?
[Nexus 6P General] ridobe:
./Android.sh should do it. And, since its local, you don't need sudo.
[Nexus 6P General] ky87:
Hi I'm also having a fastboot connection problem. ADB connection is ok, but nothing shows up when I type fastboot devices. Installed lastest version of platform-tools as well. Help please??
[Nexus 6P General] Heisenberg:
Seems like a driver issue to me. Which drivers are you using?
[Nexus 6P General] ky87:
I installed the USB driver package that came with SDK manager.
[Nexus 6P General] Heisenberg:
Have you rebooted the PC since installing the drivers? Do you have any other phone drivers or software on your PC? What OS are you using?
[Nexus 6P General] ky87:
Yes I've rebooted my PC, running on Windows 10. I have connected previous phones to this PC before (Galaxy Nexus and Galaxy S4, perhaps that is the issue?
[Nexus 6P General] Heisenberg:
Possibly, other drivers can interfere sometimes. Remove all other drivers, reboot PC, and try again.
[Nexus 6P General] EstherTakumi:
Can I just root? And not follow the rest?:confused:
[Nexus 6P General] onyez:
i know i'm a noob and all, but i used systemless root and i tried to follow the 10th instruction on the first page
[Nexus 6P General] Heisenberg:
The prerequisites are at the top of each section.
[Nexus 6P General] Heisenberg:
If you follow the instructions as they're written you shouldn't have any issues.
[Nexus 6P General] EstherTakumi:
So, if I just only want to root, I just need to follow the step until step 4 rite?

Thank you!
[Nexus 6P General] onyez:
thats why i'm asking, can i just flash the OTA update alone to get the security update and if yes, what image should i flash from the downloaded OTA
[Nexus 6P General] Heisenberg:
That's right.

No, as you've already been told you can't flash an OTA while you have root. You have to flash the factory images to update addas per the instructions in this guide.
[Nexus 6P General] winsome:
I thought rooting could be accomplished by adb/fastboot commands without custom recovery!

While I'm unlocked now does installing TWRP recovery factory reset my N6P or am I past that step after unlocking the bootloader?

Another thing regarding OTA uodates:

Can I receive OTA while I'm unlocked at the moment or is it the root/TWRP that prevents OTA's?

Thanks in advance
[Nexus 6P General] Heisenberg:
No, you definitely need a custom recovery installed to root. The only operation that wipes your phone is unlocking the bootloader, so you're past that. You can receive OTA updates with an unlocked bootloader but you must have the stock recovery installed.
[Nexus 6P General] winsome:
Thanks a bunch, Heisenberg.
[Nexus 6P General] hustletron:
Is MMB29Q the latest February patch? Is there a better way to find that information out without having to ask? :D
[Nexus 6P General] Mesmurized:
Do you have the link where factory images are downloaded?
[Nexus 6P General] hustletron:
Check the first like 3 posts or so, it's there.
[Nexus 6P General] Heisenberg:
Yes it is. They list them all on the download page for the factory images, it's easy to see which is the latest by looking there.

I link to the download page several times in the guide. Or you can check my index (link in my signature).