yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] Disneyfist:
Can someone link me to the latest tools for Mac so I can unlock and root? I thought through a web search that I found the most updated ones but apparently I didn't through a quick thread search. Every time I am in the bootloader and go to unlock it with the flash unlock command, I just get the menu command options coming up on the Mac instead of the process continuing. Thanks in advance folks.

Edit- there must be something I'm missing. For one thing SuperSU is already installed(probably from my note days) since I got this phone three days ago. I go in to the bootloader with the start button in the green with options to to go to recovery, reboot bootloader and whatnot. Throw in the commands to unlock the bootloader and I get nothing. I know fastboot is "functioning" because it will throw the serial back at me for devices. But for some reason it still says device: locked.
[Nexus 6P General] hh11bbaacchh11:
Ooops. Deleted.
[Nexus 6P General] irononreverse:
After updating to NMF26F, my 6p now says it's a pixel XL. Is this... normal?
[Nexus 6P General] DroidManIc:
Hey there folks, so I just got my very first 6P and of course I'm ready to root and all that good stuff. I've been browsing the thread and I see there has been multiple reports of bootlooping/soft bricks reported in the last few days. Is there any known cause? I'm on latest 7.1.1 via OTA b4 any mods. Now i unlocked bootloader but I'm scared to proceed and end up bricked. Any advice?
[Nexus 6P General] jt1998:
Mine does not say that. Still says Nexus 6p. What rom are you on? I'm on pure nexus.
[Nexus 6P General] Badger50:
It is if you just flashed a Rom with all the Pixel mods. Like the digital high Rom perhaps? [emoji41]
[Nexus 6P General] MEAKU15:
hi all, im having some problems or im just not having any luck. the following is the instructions :

"Go here to download the Android SDK, which will give you most updated version of adb and fastboot. Scroll to the bottom of the page and find Other Download Options>SDK Tools Only, and grab the right version for your OS"

When i go to the link, i dont see other download options. i only see "get the command line tools or download android studio. So which one is it exactly? Thanks a bunch
[Nexus 6P General] SlimSnoopOS:
The latest tools are here are in the first post. Once downloaded, open the tools-MacOSX zip and run it. I have the SDK files saved on my desktop for quick access. Wherever you download it to, navigate to Tools>Android and double click this file. Update just the Android SDK Tools and Android SDK Platform-Tools. Fastboot should, "should" be able to reach your 6P now. I have it working on OSX 10.11.6. I think I had to update Java to be able to utilize the SDK.

Download the command line tools.
[Nexus 6P General] irononreverse:
I've just flashed the stock factory image.

Although thinking about it, I have activated Google assistant and I think that modifies the build prop
[Nexus 6P General] MEAKU15:
i've downloaded that. extract it, and placed it in SDK folder. After extraction, there's another folder tools. In Tools, i can't find any SDK Manager. Instead i found it under lib folder. But when i run the SDK manager, it says failed to execute tools\android.bat: The system cannot find the file specified.

What am i doing wrong???
[Nexus 6P General] Disneyfist:
Alright, new problem. was about to flash Pure nexus, had the boot loader unlocked, rooted and such. Went into twrp to start the flashing. And because I wasn't paying the strictest attention, I ended up wiping EVERYthing on my phone to include the rom zip, gaps, and my NANDROID. So basically, all I have right now is a phone that I can boot in to the bootloader, and recovery. And since it has been a hot minute since I have done this, can someone walk me through what I can do to push the files to my phone so that I can boot in to the rom and make a nandroid? Sorry if this seems kind of trivial and remedial to you guys, but i've been trying to figure it out, and nothing doing(mainly because i haven't slept yet, just got off of work where my hours are 6p to 6a). I would REALLY aappreeciate a solution fellas. Thanks.
[Nexus 6P General] Einwod:
You've wiped everything. I suggest downloading the factory images and flash them. This will return you to stock. All on your device has been wiped, there's no recovery. When you have flashed the factory image then you can think about a custom ROM.
[Nexus 6P General] Disneyfist:
I still would like to know how to get the files on to my phone in the first place. All I can do is get in to the boot loader, and get in to the recovery. There's no OS on the phone. That's the problem. And there's no point in flashing back to stock if I'm going to flash a custom rom anyway, it's just extra steps to go to the same result. So, since TWRP is still functioning on my phone and I'm not stuck in a boot loop(yet), I would really appreciate it if someone could give me steps just to push the necessary files to my phone whilst in the bootloader or while in twrp.
[Nexus 6P General] Einwod:
Transfer the Rom, vendor and gapps packages to your internal storage using twrp file manager when connected to PC. Then flash normally.
[Nexus 6P General] Disneyfist:
I'm on a mac, but I know the commands are similar. But my phone isn't recognized by the machine when it's in recovery and I don't know why. I don't really know if it's recognized when it's in the boot loader. I throw ./fastboot devices and it gives me *serial number* fastboot. But if I go in to recovery, I don't think I can do anything. And I've updated the tools twice from a previous post in this thread unless I'm just flat out doing it wrong.

Can I flash them from fastboot? Or push the files from fastboot?
[Nexus 6P General] hh11bbaacchh11:
Any idea if the newest trwp is working? Twrp 3.0.3-0
[Nexus 6P General] SlimSnoopOS:
No, in the Tools folder, double click on "Android." For me, terminal now opens up and executes a series of commands, then the SDK Manager displays in another window.

Flash TWRP if it's not installed. Boot into TWRP and type "./adb devices." Your serial number should display. Then type this file path, which is case sensitive, to the zip you want to transfer:

./adb push /path/to/rom/zip /sdcard/Download

Edit: Didn't realize I left out the path end point for the rom zip. The first path is the file destination on your computer, second path is where you want it to transfer to your phone. I also can't get adb push to work with TWRP and OSX so it may not work for you.

Edit #2: False alarm. adb push works on official TWRP. The modified TWRP I was using wasn't working with adb commands.
[Nexus 6P General] Einwod:
It's working here. Why would they publish it if it wasn't working?
[Nexus 6P General] hh11bbaacchh11:
Well, the 3.0.2-2 has a bug and we were advised to used the unofficial 3.0.2-3. I was just making sure if the 3.0.3-0 has ironed out the kinks already.
[Nexus 6P General] MEAKU15:
Thanks a bunch. I got it to work now.
[Nexus 6P General] SlimSnoopOS:
My pleasure. Mind if I ask, which version of OSX are you using?

Edit: I think I am mistaking you for another user installing this on OSX. So disregard if this doesn't apply to you.
[Nexus 6P General] Homeboy76:
New TWRP

So do we use 3.0.3-0 (Official) or 3.0.2-3 (Unofficial)?

The OP still refers to 3.0.2-3 (Unofficial)

2. Please note... and 14. Please note... .
[Nexus 6P General] Einwod:
The official version works fine and without problems for me. Plus, it's a version higher.
[Nexus 6P General] etreuz:
I need to lock the bootloader, follow section 11 of the guide but when I try to flash the system image get this error

error: cannot load C:\angler\images\system.img

I try the comand to lock the boot loader and give me some options, like w:erase userdata u:do not first erase and other more.

Just need to lock the bootloader for get the OTAS...
[Nexus 6P General] Einwod:
Not necessary to lock bootloader to get OTA.
[Nexus 6P General] etreuz:
The system is corrupted, is necessary to lock the bootloader for get the OTAS do you know how to lock the bootloader??
[Nexus 6P General] Jeff_3:
System UI has Stopped & Black Screen after returning to stock

I followed How To Flash The Factory Images (And Return To Stock). I didn't factory reset the phone for the first step. But I followed everything else. My phone boots up to a black screen with "System UI has stopped." I was wondering if anyone has had this issue or knows a solution for this.

Thank you all and happy holidays.
[Nexus 6P General] SlimSnoopOS:
Update your fastboot and sdk tools, reboot then try again.

Factory reset then reflash the factory image.
[Nexus 6P General] Jeff_3:
The issue is that recovery mode does not work. I get sent back to boot up. I go into fast boot mode then I select recovery and get the Android with red triangle, press volume up and power button but get sent to boot up screen.
[Nexus 6P General] Einwod:
It is not necessary to lock the bootloader to take OTA updates. If your system is corrupted as you say, simply flash the factory image to get back to stock. With the latest image, there's no need to OTA until the next security patch in January.

---------- Post added at 06:35 AM ---------- Previous post was at 06:31 AM ----------

That's the stock recovery. If you want to flash roms or root, you need a custom recovery like twrp.
[Nexus 6P General] Jeff_3:
Yes, I understand that. TWRP was on my phone but now its gone because i was trying to get back to fully stock. My bootloader is still unlocked. In addition, my computer no longer recognizes my Nexus 6P as device or android bootloader interface. Everytime i bootup, my phone has a blackscreen with "System UI has stopped" and i cant get get through it, it keeps reappearing. I doubt usb debugging is enabled since i followed all the instructions to get back to stock, except factory resetting in the first step.
[Nexus 6P General] Einwod:
Why do you insist on having a locked bootloader? It's not necessary. Update your USB/device drivers thru device manager on your computer. Then download the factory image, extract it and run the flashall.bat file. Try fastboot devices from the fastboot screen. It should show the serial number of the device.
[Nexus 6P General] Jeff_3:
Fixed It

Luckily my computer recognized my phone as adb bootloader interface when it was booted up. Thererfore, i entered fastboot mode, flashed twrp, rebooted bootloader, selected recovery , if you let phone boots up completely the stock rom will patch the custom recovery (TWRP), which means you would have to reinstall it again. I then went ahead and selected WIPE (in TWRP) and selected factory reset

I rebooted system and its works.

Luckily my bootloader was unlocked the whole time

ChristmasMiracle

---------- Post added at 09:30 PM ---------- Previous post was at 09:29 PM ----------

I never said I wanted to lock my bootloader, that was a different member that said that. I fixed my issue, in my recent reply.
[Nexus 6P General] Einwod:
Sorry, my mistake. Glad you're sorted. Merry Christmas.
[Nexus 6P General] hustletron:
Is there a mirror for TWRP unofficial 3.0.2-3 build ? The one in the how to post appears to not be working currently.

EDIT: Found it :D http://xdaforums.com/nexus-6p/general/recovery-twrp-3-0-2-3-unofficial-touch-t3516951
[Nexus 6P General] sirxdroid:
There's also an official 3.0.3-0 now. Does that not work well?

https://dl.twrp.me/angler/
[Nexus 6P General] jhs39:
The dev for Cortex ROM advised users to stay on 3.0.2-3 because the official one doesn't install all the parts of his ROM properly. It's possible some other custom ROMs are having an issue as well.
[Nexus 6P General] sfino89:
Gah I'm going crazy. I'm on a Mac (first problem right ther). I just used Homebrew to install android-platform-tools, a success. But the next steps are confusing me.

Do I run the commands as normal from this to unlock?

And then for flashing twrp, where do I place the twrp file on the mac and what command do I use to flash it?
[Nexus 6P General] ipmanwck:
I also have a Mac book Pro but wouldn't ever consider using it for this stuff. It's bad enough it won't read my AVCHD files. I hate it. Cannot wait to get rid of it. Stupid apple.
[Nexus 6P General] zer0se7en:
The only time I had a problem using a Mac for these types of flashing stuff was when I did not update ADB and Fastboot files. After an update, worked flawlessly again.
[Nexus 6P General] sfino89:
Turned out to be super easy, I used this guide along with a Mac guide for rooting a Oneplus for how to flash twrp properly, pretty smooth process all round
[Nexus 6P General] ipmanwck:
Please post a link for the Mac guide.
[Nexus 6P General] sfino89:
https://forums.oneplus.net/threads/...tall-custom-recovery-root-macbook-pro.279125/

This is the link, but I didn't use much from this, just to get a basic understanding of how it worked with mac instead of windows.

I think I should write up exactly the steps I used to root my 6P using a Mac and HomeBrew. Since I couldn't find anything anywhere on the web for a simple guide for Mac users/noobs like me. I'm going to try it with a Nexus 5 soon too to see how I go. If I write that up should I post in here or make a new thread? It would be my first ever guide type of thing
[Nexus 6P General] jenkies:
I followed step 10 to return my nexus 6p to stock from 7.1.1 cortex rom. After reboot I see a few problems, 1. I get this error: android.process.acore has stopped. 2. I can's access all notification settings from notification bar. 3. The home button doesn't work. 4. I still have to use my pattern unlock everytime I start the phone. I tried to factory reset from settings and all I got was a dead android that said something like "no command/command error". Anyone have any info to offer?
[Nexus 6P General] Einwod:
Did you format the data partition to remove everything from your previous rom? Wiping data in twrp is not the same.
[Nexus 6P General] jenkies:
I resolved the issue, I missed the fastboot userdata format and fastboot flashing lock steps. All is well now, thanks for the quick response.
[Nexus 6P General] jhs39:
The instructions for number 10 are ridiculous. If you want to return completely to stock the only command you need is flash-all.bat, like it says on the Google Factory Images website. Flashing everything separately only makes it more likely you will miss something and have a problem.
[Nexus 6P General] jenkies:
OK, cool. I'll remember that if I run into this again.
[Nexus 6P General] Einwod:
Agreed. The step about not flashing the data is no longer valid and should be removed from the posts altogether.
[Nexus 6P General] Heisenberg:
The flash-all.bat doesn't work 100% of the time. Plus, I've written this guide in this manner so people are able to become confident with using fastboot. It isn't just about achieving the result, it's about learning something and growing one's knowledge and confidence during the process.
[Nexus 6P General] Heisenberg:
You're right about the userdata information in this guide. I'm going to remove it, just need to find some time to actually get it done.
[Nexus 6P General] mobileman88:
Not sure if anyone encountered this. My adb was working fine the last 12 months for my 6p. Today mysteriously it stopped working and is not listed in my windows control panel at all
[Nexus 6P General] rchtk:
Windows is a mystery...
[Nexus 6P General] Faexer:
ok, i messed up,

may so help please,

i unlocked bootlocker, installed twrp and made a backup, like without lockscreen security. it completed. Then i tried to restore in that backup and now it stucks in booting up. damn!

i can start in bootloader. is there a possibility to flash a rom from pc?
[Nexus 6P General] CyberZeus1977:
Did you restore EFS partitions?

Sent from my interstellar 6P
[Nexus 6P General] Faexer:
If i should have done that by clicking efs in twrp while creating a backup, I'm afraid i didn't...

Could i restore like this?

https://developers.google.com/android/images
[Nexus 6P General] mobileman88:
If you had restored a bad efs backup, the only way is to recover it by wiping it out.

Boot your 6P into TWRP recovery.

Enter the commands:

ADB shell dd if=/dev/zero of=/dev/block/platform/soc.0/f9824900.sdhci/by-name/modemst1 bs=16384

ADB Shell dd if=/dev/zero of=/dev/block/platform/soc.0/f9824900.sdhci/by-name/modemst2 bs=16384

Then reboot back to system. You should have the efs re-generated and good to go.
[Nexus 6P General] Faexer:
Think i didn't restore a efs backup, cause i didn't choose it in by clicking.
[Nexus 6P General] mobileman88:
Ok. Reflash all the following from one of the factory images and you should be good to go.

- Fastboot flash

* bootloader

* radio

* boot

* system

* cache

* vendor

- Boot into TWRP

* wipe data

* wipe cache/dalvik

Reboot. You should be all fresh.
[Nexus 6P General] Faexer:
Sorry for asking that, but should i flash these by command window, or how?

damn it, last time i was active in rooting an so on was with my htc m7...
[Nexus 6P General] CyberZeus1977:
On command window. Be sure to have latest platform tools.

Sent from my interstellar 6P
[Nexus 6P General] Faexer:
i do have,

so i gol like:

fastboot flash bootloader; enter

fastboot flash radio; enter

... and so on?
[Nexus 6P General] mobileman88:
yes, in command window

fastboot flash bootloader bootloader-image.file.name

fastboot reboot

fastboot flash radio radio-image.file.name

fastboot reboot

fastboot flash boot boot.img

fastboot erase cache

fastboot flash cache cache.img

fastboot flash boot boot.img

fastboot flash system system.img

fastboot flash vendor vendor.img

fastboot flash recovery twrp-image.filename

Boot into recovery on the phone

Do all the wipes of data/dalvik/cache/art

Reboot and Profit
[Nexus 6P General] Faexer:
thank you both so much!
[Nexus 6P General] jhs39:
TWRP seems to do that a lot lately. Did you use version 3.0.3-0?
[Nexus 6P General] Faexer:
Yes I actually downloaded it yesterday, newest version. Thank you!
[Nexus 6P General] jhs39:
Actually I wasn't recommending 3.0.3-0. I ended up going back to 3.0.2-3. I was just curious which version you were using. Some people are having problems with 3.0.3-0 while others have reported that it works fine for them. It probably depends on your setup. Sorry for the misunderstanding.
[Nexus 6P General] Faexer:
Im sure that I've messed up with creating a backup cause I checked the wrong boxes. I made new ones yesterday, but to be honest, I didn't even check them. No misunderstanding in my mind, was just thankful for your help!
[Nexus 6P General] DrunkFuX666:
Hey guys i needed some help. im on 100% stock android 7.0, NBD91V with a LOCKED bootloader. Due to being on stupid Verizon, i havent gotten the OTA 7.1.1 update, and im not willing to wait any longer. I know i can flash the update without unlocking the bootloader OR doing a factory reset on the phone, just not completely sure how to go about it to prevent losing any data. Can anyone guide me a bit...?? I did read in various places people saying despite the update not being for verizon, they have flashed and its working fine.
[Nexus 6P General] jt1998:
backup EVERYTHING possible in case it all goes wrong. backup to external SD card via USB OTG or to your PC. I also use titanium backup to backup everything and store that on your pc/ext SD card as you may lose internal storage during a complete update. Just be careful. I also try to backup as much as possible in the cloud to google drive, dropbox etc, just in case...like texts, pics, etc.

Good luck.
[Nexus 6P General] DrunkFuX666:
Thanks for that, im good on the backing up front and know it can go wrong, i was asking more on the lines of what the process would be, which number in guide would be most suitable for what im trying to do in terms of adb commands etc...
[Nexus 6P General] rchtk:
You can sideload the full OTA, step 13.
[Nexus 6P General] mobileman88:
For your info, the Jan update has dropped. There are 2

7.1.1 (N4F26I, Jan 2017)

7.1.1 (N4F26J, Jan 2017)
[Nexus 6P General] CyberZeus1977:
I'm on NMF26F stock with TWRP and SuperSu, can I upgrade to N4F26J following step #9?

Thanks!

Sent from my interstellar 6P
[Nexus 6P General] DrunkFuX666:
Hmmm... good to know. Would you know what the difference is between the 2?? Also, seems it doesnt say anything next to them about *Except Verizon, so would that mean we may finally get the 7.1.1 OTA??
[Nexus 6P General] mobileman88:
I know one is Jan 1 and one is Jan 5 patch level. Other than that, you'd need to refer to the changelogs released from Google at https://source.android.com/security/bulletin/2017-01-01.html
[Nexus 6P General] Einwod:
The latest has a new radio image that apparently fixes the Verizon issues of late. Enjoy.
[Nexus 6P General] mobileman88:
Great to hear. Have not fully digested the details
[Nexus 6P General] zer0se7en:
Will the recent TWRP and SuperSU still work with latest update? Has anyone tried? TIA
[Nexus 6P General] Badger50:
I had no issues with 2.79sr1 or TWRP 3.0.3-0 with the new update. They're only security patches and bug fixes after all [emoji106]

Sent from me :)
[Nexus 6P General] g_oral:
first post needs to be updated:

"Go here to download the Android SDK, which will give you most updated version of adb and fastboot. Scroll to the bottom of the page and find Other Download Options>SDK Tools Only, and grab the right version for your OS."

when i unip the file i've downloaded there is sdk menager.exe in "\tools\lib" directory but when i execute it the error appears:

"failed to execute tools\android.bat"
[Nexus 6P General] zer0se7en:
Thanks, man. Updated and rooted. I used 2.79sr2. ?
[Nexus 6P General] redduc900:
Download Android SDK 24.4.1 from Techspot here...

http://www.techspot.com/downloads/5425-android-sdk.html

... then extract the *.zip as you did previously to the C:\SDK directory, first deleting those files and folders that you extracted from the tools_r25.2.3-windows.zip file. The SDK Manager will be located in the "C:\SDK\android-sdk_r24.4.1-windows\android-sdk-windows" directory. With the SDK Manager open, install the following packages...

Tools> Android SDK Tools, Android SDK Platform-tools

Extras> Android Support Library, Google USB Driver

And don't forget to add a user variable in Windows, w/ a variable of ADB and a variable path of ;C:\SDK\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools. Also add a system PATH variable of C:\SDK\android-sdk_r24.4.1-windows\android-sdk-windows\platform-tools
[Nexus 6P General] Heisenberg:
Updated 2017/01/06!

Instructions for installing adb/fastboot have been updated:
[Nexus 6P General] ekambs:
Hi everyone I really need your help for my Nexux 6p. I bought it from a man that tell me the problem happen when he received update and after reboot the phone wont boot. It can not boot into the system and even can not go to the recovery, and the only thing it can do now it is the google logo that go and back.

1- can not access the os

2- can not access the recovery

Is anyone has an idee to solve this issue, thanks a lot .
[Nexus 6P General] Badger50:
I would fastboot the flash-all.sh file from the latest factory image and see if that gets you going. Got nothing to loose since it's not booting anyway. This procedure will wipe your phone of all it's data. If that doesn't work.....then your probably Borked! [emoji50]

Sent from me :)
[Nexus 6P General] rchtk:
Why have you bought a phone that doesn't boot? :D

Not much I hope..
[Nexus 6P General] jt1998:
I believe he was hoping that he could get it working as maybe the original owner wasn't aware how to fix a soft brick, etc. If he gets it fixed, it's a great buy/investment!!
[Nexus 6P General] ekambs:
Thanks Badger50, I ll keep searching and waiting up on you.

Rchtk...mdr it was a bit cheaper and I had the same phone I solve the same problem at that time when I was able to boot into recovery. But now I have tried almost all procedure ( with factory images) in fastboot with the terminal command it is saying fail. When I tried (fastboot flashing unlock) unlock not allowed, I was a strange answer newer seen this before. So hooe the best futur for my 6p. Thanks a lot.

---------- Post added at 11:01 PM ---------- Previous post was at 10:58 PM ----------

Exactly??