yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] Heisenberg:
You can by flashing the factory images, but you need to make sure you wipe data in TWRP first.
[Nexus 6P General] azsl1326:
Okay, thanks! If I want to keep TWRP, I can just not flash the recovery.img, correct?
[Nexus 6P General] Heisenberg:
Yep. But it'll probably get patched so you'll most likely have to flash it again anyway.
[Nexus 6P General] azsl1326:
I noticed that both steps #10/#11 - return to stock - reference userdata.img in the factory images, but I didn't see a step to flash userdata.img. Under what circumstances would flash userdata.img?
[Nexus 6P General] Mesmurized:
It is never recommended to flash userdata.img. If necessary, format userdata or wipe with TWRP. The stock userdata.img is set for the minimum size user partition. If your phone has more memory (64GB, 128GB), it needs to be formatted to see that extra data.
[Nexus 6P General] Heisenberg:
You should never flash the userdata image. It doesn't take into consideration the storage capacity of the device and always allocates 32gb of storage. This is ok for the 32gb model, but for the 64gb and 128gb models you'll end up with much less storage capacity than you should have. If you wish to wipe your internal storage you'd use the following command instead:

fastboot format userdata
[Nexus 6P General] mobileman88:
This is really good tip. I think you should emphasize it for the newbies here. Should add into your already excellent FAQ. :) Merry Christmas
[Nexus 6P General] Heisenberg:
Yeah that's a good idea, I'm adding it now.
[Nexus 6P General] BankZZ:
Is there anyway to root without unlocking the bootloader? I really don't like the boot warning and all I want to do is adblock.
[Nexus 6P General] Heisenberg:
No there isn't.
[Nexus 6P General] ilyasking:
Thanks

Hamk ypu very much and this helpfull
[Nexus 6P General] wilflare:
just a few questions

(1) userdata image - when you do a flash-all command, does it flash that userdata image as well? (will it cause issues for 128GB phones?)

(2) systemless root and OTA - I am reading conflicting information about whether having a systemless root will allow the phone to receive, download and install OTA updates.

- I understand that the norm is no but with systemless root (and the BETA allowing for auto-boot.img patching?!), is anything changed?

(3) 2.64/2.65 SuperSU.zip - It seems like the recent two updates may result in a non-systemless root afterall. Is this the case for the Nexus 6P?

"A major change in setup is that the ZIP installer will try to detect 6.0 firmwares that can be rooted without doing a systemless install. In other words, a root that modifies only /system, but not the boot image. If this is possible, the installer will install into /system (unless you override via "echo SYSTEMLESS=true>>/data/.supersu")."

- taken from http://xdaforums.com/showpost.php?p=23427824&postcount=3

(4) is there anyway to set the time and date in TWRP?

(5) should we keep the /system as read-only when the option comes up in TWRP?
[Nexus 6P General] Heisenberg:
1. Yes it does, and yes it causes problems, that's why my instructions don't include using the flash-all batch file.

2. The boot.img is modified with systemless root, so it will interfere with OTA updates.

3. Looks that way.

4. Settings.

5. That's up to you, but if the latest SuperSU versions do indeed modify /system there's no point in leaving it read-only.
[Nexus 6P General] wilflare:
thanks so much Heisenberg - you've been a great help! just a few more questions

curiosity got the better of me - so I tried the flash-all command previously.

- Under the bootloader, it still shows 128GB. but to ensure nothing goes wrong, do I just use "fastboot format userdata"?
[Nexus 6P General] Mesmurized:
That's what I would do :)
[Nexus 6P General] Heisenberg:
Yes, you'll need to do that to access your full capacity.
[Nexus 6P General] wilflare:
thanks Heisenberg and Mesmurized!

under TWRP settings, there's still no option to set Time and Date (still 1970) - I could change the timezone though
[Nexus 6P General] spektr231:
Hey Heisenberg,

I'm attempting to root for the first time and I believe I've gotten most of the way there. I'm getting an 'error: cannot load boot.img' after putting (and renaming) the boot file into my fastboot folder. Any idea what might cause this? I've done the 'fastboot devices' command to ensure that it is registering my phone.

Thanks in advance.

---------- Post added at 04:01 AM ---------- Previous post was at 03:56 AM ----------

Also, trying to download the factory image for the 6P 6.0.1 build doesn't actually contain a zip file as far as I can tell, I keep getting a .tar file, which doesn't compute with your following instructions.
[Nexus 6P General] Heisenberg:
What is the boot.img named? Do you have file extensions turned on or off in Windows Explorer?

The .tar is an archive, just like a zip, it's Linux format. You can still extract it with Windows, try 7zip or winrar.
[Nexus 6P General] spektr231:
Thanks for the quick reply. I'm trying to get back to stock after realizing that I don't have enough knowledge to really go through with this and troubleshoot future problems.

I have downloaded both 7zip and WinRAR and tried extracting with both programs but don't see anything other than a single file with the same name as the .tar archive. I can't find any of these 'bootloader-angler-angler-xx.xx.img, ◦radio-angler-angler-xx.xx.img' files.

Any idea what I'm doing wrong?

Thank you again. This has turned into a frustrating night for me!
[Nexus 6P General] Heisenberg:
Just extract that file also, it should contain everything you need. I'd recommend sticking with the root process though, you probably just had the boot.img named incorrectly, possibly due to having file extensions turned off in Windows Explorer. You could just use systemless root and then you don't have to worry about the boot.img at all.
[Nexus 6P General] spektr231:
Thank you. I tried the systemless root without luck so I then tried the traditional root. I think I have file extensions turned on... I see 'boot.img' when I look in my folder.

---------- Post added at 05:28 AM ---------- Previous post was at 05:19 AM ----------

So I just tried the systemless method again and it looks like it may have worked (downloaded root checker app and it says that it is properly installed)...

However I am trying to use wakelock detector (the reason that I wanted to root to begin with) and it keeps saying that it failed to perform this action when I click on anything. Is that an issue with this root method?

Edit: Is it possible to somehow verify if the install went correctly?
[Nexus 6P General] Heisenberg:
Yeah you would see "boot.img" if that's what you named the file though, do the other files in the folders have their extensions (.exe, .dll, etc) visible? I guess it doesn't matter if you got systemless root working. I can't speak for wakelock detector, I don't use it. You should try BetterBatteryStats instead, it's much better.
[Nexus 6P General] yass090:
I flashed the stock image a few days ago and restarted my phone for the first time since and noticed I still get the message;

“Your device software can't be checked for corruption. Please lock the bootloader.” at the beginning

How come?
[Nexus 6P General] Heisenberg:
Because your bootloader is unlocked, that's normal.
[Nexus 6P General] mobileman88:
Nothing to worry about. It's normal
[Nexus 6P General] ilyasking:
Thank

Thank you very much bro
[Nexus 6P General] spektr231:
Hey Heisenberg,

I appreciate your help yesterday. I was able to go through with the root using the systemless method after failing on the first attempt. I appreciate all of your help with this guide and through your continued support in the thread.

Thank you!
[Nexus 6P General] Heisenberg:
Awesome, glad to see you got it worked out.
[Nexus 6P General] snuffaluffigans:
Is the newest cf-auto-root compatible with the Nexus 6P? It's listed, but I'm still unsure.
[Nexus 6P General] mjbigelow1:
Thanks - FYI on #12

Hey, thanks a ton for putting this together! In a matter of four days I've rooted (systemless), flashed ElementalX then Franco and now stock on my back to ElementalX. I would never have known how to do that without this guide.

That said, just so you're aware, I followed the instructions to 12 (going back to stock without wiping user data) but it did erase everything. I followed the instructions to the letter and made sure not to touch userdata. I'm on 6P, 6.0.1. I had Franco and was going back to stock.

Thanks again!
[Nexus 6P General] yass090:
Is it always going to stay there if my phone is unrooted? or can I get rid of it
[Nexus 6P General] Heisenberg:
Root and unlocked bootloader are not the same thing. Root has absolutely nothing to do with that warning. The only thing that affects that warning is the state of your bootloader, as long as it's unlocked you'll see the warning. It's only there for a couple of seconds anyway, just live with it. I guarantee you'd regret locking your bootloader if you ever get into trouble.
[Nexus 6P General] Soulfly3:
Honestly have NO idea why that warning screen bothers ppl so much.

Do you stare at your screen while it boots up? It's like... 2 seconds.
[Nexus 6P General] th3discodancer:
just installed sdk, downloaded the files i was supposed to.

entered the first two commands to check if its working,

adb version

//returns a number

adb devices

//return

"List of attached devices

"

thats it. No device serial number, nothing. any help? And usb debugging is enabled, btw.
[Nexus 6P General] mobileman88:
You need to enable developer menu and turn on ADB before it shows anything.
[Nexus 6P General] th3discodancer:
developer options are on, thats how ive enabled usb debugging. Didnt quite follow the second part?
[Nexus 6P General] Soulfly3:
fastboot devices

?
[Nexus 6P General] th3discodancer:
nope, nothing is working since the device isnt being recognized or read
[Nexus 6P General] SlimSnoopOS:
You wrote "entered the first two commands" and the word "command" is only used on XDA when describing something being done in adb or fastboot. It's easy to see why someone would misinterpret your post.

Edit: ugh, clearly I should read more thoroughly. Disregard.

Edit #2: Have you tried reinstalling the drivers? Or reinstalling the SDK?
[Nexus 6P General] th3discodancer:
Yes, thats what im talking about.

I installed the sdk tools, the ones listed in the first post.

opened command prompt in the platform tool windows,

entered the mentioned commands after connecting the phone(usb debuggin enabled) and the second command :

adb devices

//returns

"List of attached devices

"
[Nexus 6P General] dmeadows013:
Has anyone successfully gotten WiFi calling on T-Mobile to work while rooted?
[Nexus 6P General] janedoesmith:
Yes. On 6.0.1 rooted with 2.62-3.
[Nexus 6P General] mobileman88:
Inside developer options, there's an option for USB Debugging, turning it on allows you to use ADB
[Nexus 6P General] th3discodancer:
Sorry if im being inconspicuous, but anyway, yes, debugging is also enabled. Still nothing is returned in the adb command prompt window for "adb devices"
[Nexus 6P General] dmeadows013:
Does it work by default on 2.62-3? I haven't had any luck on 2.65
[Nexus 6P General] janedoesmith:
Yes, I just enabled the wifi calling within the settings and it has been working since. I haven't had the time to make the jump to 2.65. I guess I should wait based your experience.
[Nexus 6P General] SlimSnoopOS:
Aight, how about trying another USB port? Also, can you run those same two commands while your phone is in the bootloader mode?
[Nexus 6P General] dmeadows013:
Well I just flashed 2.62-3 and still no bueno, so I'm thinking maybe it's a kernel issue. 2.65 should be fine to update after all
[Nexus 6P General] mobileman88:
Swipe down from the top, if it is charging only, you will need to turn on "file transfer or mtp mode" in order for ADB to work. Hope this helps.
[Nexus 6P General] force70:
I have no idea why people still ask if its normal or okay...its only been mentioned like 1000 times lol.

Theres this thing called search, works great :thumbup:

Sent from my Nexus 6P, Note 5, Note 4 or Nexus 6
[Nexus 6P General] th3discodancer:
Nope, neither works.

Can't get my phone to be recognized/read by adb.

Still doesn't return any serial number, still cant get any of the device related commands to work.

following is the output that i'm getting on the adb CP window. Yes, im running this from the folder with fastboot etc, debugging has been enables, it doesnt matter what mode i connect my phone on (charging/ mtp), the output stays the same.

C:\SDK\platform-tools>adb version

Android Debug Bridge version 1.0.32

Revision 09a0d98bebce-android

C:\SDK\platform-tools>adb devices

List of devices attached

C:\SDK\platform-tools>

edit: If it helps, I'm on W8.1, Anything at all, anyone?
[Nexus 6P General] Heisenberg:
Does fastboot work? What state is your phone in when attempting these adb and fastboot commands? I wouldn't worry too much about adb, it isn't even needed for anything in this guide. You definitely need fastboot working.
[Nexus 6P General] th3discodancer:
Booted into bootloader manually(power button + volume down), entered the command "fastboot devices" in adb. No serial key is being returned.
[Nexus 6P General] Heisenberg:
What drivers do you have installed on your PC (including drivers for other phones)? Did you reboot the PC after the drivers installed? What cable are you using? Have you tried all ports?
[Nexus 6P General] th3discodancer:
I had all the necessary drivers installed.

Uninstalled SDK tools, reinstalled the entire thing, re-downloaded the drivers and its working now. Must be a bad install. Strange nonetheless.

Off to the races, now. Thank you.

EDIT:

Okay this is really weird. It was returning the serial number immediately after the re-installation. It isn't anymore (2 minutes after the reinstallation, while i was posting here). WTH. Same problem persisting again.

Tried all ports, using the A to C cable from the 6P box.

EDIT 2: I checked my device drivers in windows, ADB Interface is listed, so is Nexus 6P(thrice) but they all are said to be NOT working properly.
[Nexus 6P General] Heisenberg:
You didn't answer my other question, do you have any other drivers installed on your PC? And specifically which drivers? Do you have access to a Linux box?
[Nexus 6P General] mjbigelow1:
I'm on 2.65 with ElementalX and WiFi calling is working. I understand BusyBox may be the culprit. I removed it before I flashed 2.65 and EX.
[Nexus 6P General] avetny:
[MENTION=4153349]Heisenberg[/MENTION] love you bro !!!!

Happy Holidays !!!
[Nexus 6P General] Golf c:
I always have this issue. I have to toggle android debug and or MTP , on or off, to get it to connect right.
[Nexus 6P General] srqrob:
It really sounds like you have a driver issue. I'm not a proponent of tool kits, but the Wugresh Nexus Recovery Tool has a homepage section on verifying your drivers and there are a whole series of steps on different drivers and ones that might conflict. It might be worth installing his basic NRT and just going through the driver installation at the top of the page. It has worked for me a couple of times with driver issues. Overall I feel most are better off with adb and fastboot for the control it gives you but for this one issue it does a good job.
[Nexus 6P General] Arslankhan19:
good
[Nexus 6P General] mlin:
Hey, Heisenberg. Thanks for the write up, I reference it frequently. I wanted to mention that on the Nexus 6, doing a factory reset through the device settings menu restores the correct amount of storage for the device, even after flashing the userdata.img. I'm guessing this will work for the 6p as well and may be helpful to users who inadvertently flash the userdata.img to 64 and 128GB devices.
[Nexus 6P General] Scartozzi:
today i tried to flash twrp without rooting but every time i rebooted to go back to system the recovery was gone even following twrp's site advices(to boot into recovery just after flushing it in order to boot be patched) the only solution i've found was to flash root while in recovery for the first time...is it supposed to be like this?the recovery shouldn't have patched the boot?
[Nexus 6P General] Heisenberg:
Did you choose to leave /system read-only?
[Nexus 6P General] Scartozzi:
actually yes...should i uncheck that?
[Nexus 6P General] mlin:
Yes, if you want to keep recovery through a reboot.
[Nexus 6P General] lido:
Does this work on Windows 10? I ask because I've downloaded the zip, extracted to my new SDK folder in the C drive, and tried to open the SDK manager. When I do (as administrator), a message box pops up asking if I want to allow this app from an unknown publisher to kame changes to your PC. I click yes, the box disappears, and then....nothing....

advise?
[Nexus 6P General] Heisenberg:
Yes, TWRP needs to modify /system in order to persist.

Yes, it definitely works on in Windows 10, you most likely need to update Java.
[Nexus 6P General] lido:
Thanks for the quick reply! I'll try that
[Nexus 6P General] Scartozzi:
thanks:)
[Nexus 6P General] scoyok:
Yes, the NRT (nexus root toolkit) is very user friendly and walks you through the removal conflicting drivers and installing the new ones. You can get it by googling wugfresh nrt, and make sure it is the NRT not the BRT for the One Plus. (Can't post links yet sorry)

(thanks WugFresh)

My buddy had a very similar issue to make a long story short, we discovered an old Samsung driver was conflicting and causing the MTP/FTP to fail. If you notice in Fastboot it shows the device as a Samsung, not exactly sure why.
[Nexus 6P General] mobileman88:
Actually the USB default mode is charging only. So file transfers and adb will not work till the nose has been changed. This is the default m behavior
[Nexus 6P General] Kasc:
adb devices - works

fastboot devices - doesn't work

I'm in the bootloader, and I installed the USB driver through the SDK, but my device does not appear with fastboot -- what's going on?

i.imgur.com/MOINMKN.png
[Nexus 6P General] mobileman88:
Odd. Usually it is easier to get fast boot to work
[Nexus 6P General] lrcquest:
Had similar issues on Windows 10. Manually installed drivers by pointing to the sdk folder. Also changed the adb connection mode to ptp.
[Nexus 6P General] CollinFX45:
Thanks for the great guide to easily unlock, root and install custom recovery!

Unfortunately, the only reason I did all of this is so I could edit the mixer_paths.xml file in order to increase the headphone volume. I have been at it for hours with no success because my file system is mounted as "read only." Is there an easy way for a non-expert like myself to be able to mount the file system so that I can quickly modify that file I spoke of? Literally, this is the only reason I rooted the phone and I cannot figure out how to do it properly :(

Any help would be GREATLY appreciated!

-Collin-
[Nexus 6P General] lrcquest:
After TWRP installation, what should be ideal to do? Keep the System read only or allow modifications.

Going to do with systemless root.

Scenario 1 - later if i want to install xposed.

Scenario 2 - Ditch xposed for OTA & keep clean.
[Nexus 6P General] Heisenberg:
I believe TWRP won't persist unless you allow system modifications, not completely sure about that though. It's really up to you but I allow it.
[Nexus 6P General] Kasc:
Yep had to manually install the driver for the device! Windows 10 here too.

Can I disable 'OEM unlocking' now that my phone is unlocked or do I need to keep it on?
[Nexus 6P General] efrant:
If you are booted in Android:

Using a root file explorer (like Root Explorer or something similar), there is a little "button" to push to toggle between ro and r/w

Using a terminal emulator with root, you should be able to type: mount -o remount,rw /system

If you are booted in TWRP:

TWRP has an option to mount system r/w

Using an ADB shell with root, you should be able to type: mount -o remount,rw /system
[Nexus 6P General] CollinFX45:
I really, really appreciate the help. Cheers my friend.

-Collin-
[Nexus 6P General] Heisenberg:
Keep it on.
[Nexus 6P General] Barsky:
I'm such a dummy I accidentally did this, allowing twrp to install it's SU and then I couldn't reboot past the color android logo, same as you. Here is how I fixed it:

Went into recovery mode.

Used adb push supersu.zip /scdard.

Went to twrp install and install the file.

Rebooting, this time saying Do Not Install.

Wipes caches and rebooted fine.

Was really wanting to flash stock given I only received the phone a few hours ago :D
[Nexus 6P General] runawaybayeh:
Heisenberg,

Im going to try rooting again. Ive unlocked bootloader,installed twrp,backed up and downloaded latest beta SuperSu for systemless rooting have it in the download folder ready for install. But I notice something, and it makes reluctant to carry forward

, each time I reboot phone i get message with red triangle ' your device is corrupt, etc '

It boots fine after that, should I continue ? or start over?
[Nexus 6P General] EFEXR:
Will unlock/root/TWRP work on Stock 6.0.1?
[Nexus 6P General] Mesmurized:
Sure. Just follow the guide in post #1
[Nexus 6P General] E30Nova:
So I just got this phone today and as soon as I booted it up, it checked the software, typical for aosp/CM builds. It actually found an update, which was a first for me. I'm on 6.0.1 now, I believe it said MM29M. I've successfully unlocked the bootloader, but no matter which recovery I flash, and I've tried 2.8.7.0 through 2.8.7.2, whenever I try to reboot into recovery, I get an android laying down with a red triangle that says "no command".

Is there any way to get past this or am I stuck until things get updated?

I've tried searching the thread and I found a lot of posts with the "no command" recovery issue but I didn't see anyone actually solve it...
[Nexus 6P General] Heisenberg:
A quick search of "TWRP no command nexus 6p" using Google found many results pretty easily. Flash the recovery again, but instead of rebooting to the bootloader afterwards just select recovery and boot into it straight away. This should solve your problem.
[General Questions and Answers] arfathcse:
How to remove Sim Switcher from Notification panel .

Any mods to remove it for Samsung devices LOLLIPOP 5.1

[IMG="img"]http://xdaforums.com/attachment.php?attachmentid=3480944&stc=1&d=1444034185[/IMG]

Any idea
[General Questions and Answers] arfathcse:
Hi anyone can tell how to remove it !!
[General Questions and Answers] arfathcse:
How to remove

[IMG="fg"]http://xdaforums.com/attachment.php?attachmentid=3496140&stc=1&d=1444034309[/IMG]

1. How to remove it ? Sim1 , Sim2.... I need more space .

2. Need transparent accu weather LOLLIPOP 5.1 ..
[General Questions and Answers] arfathcse:
1. How to remove it ? Sim1 , Sim2.... I need more space .

2. Need transparent accu weather LOLLIPOP 5.1 ..
[General Questions and Answers] the_scotsman:
Closed at OP request.
[8525, TyTN, MDA Vario II, JasJam General] harry4242:
Hey,

my Hermes fell on the floor and now the camera button is not working anymore..no big deal since i hardly ever use the camera anyways...but in the rare occasions i do, i just wanted to re-map the camera to another button..which worked fine, only problem is that i can't take any pictures since i am not able to re-map the 'take picture' funktion ! can anybody help me ?

thanks
[8525, TyTN, MDA Vario II, JasJam General] hacqua:
When camera application is active, you can take pictures using the center directional button.
[8525, TyTN, MDA Vario II, JasJam General] NRGZ28:
LOL... DOH! It's not like the world comes to an end if the camera button is broken...
[8525, TyTN, MDA Vario II, JasJam General] harry4242:
Thanks hacqua,

found it out myself yesterday :-)

@NRGZ28

did somebody mention 'the end of the world' ? must've been a different thread pal..
[8525, TyTN, MDA Vario II, JasJam General] crispy78:
LOL....

My camerabutton has also a failure on it, and I used the enter-button on the keyboard, the button is much easier.

Thanks