yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] raincoat-sama:
I did download the factory images and did the flash all but it claims there is no such directory or when i add ./ to the commands that line 18 and so forth till line 21 of fastboot is missing.

I downloaded android studio,the platform tools and all recommended installation that android studio asked,what might be the issue here?

But when i did it previously there was no rom inside,after a bit of struggle i managed to flash one and was disappointed but the trick was i needed gaaps and rom then the setup ajd system was smooth,its going well so far but i do want the option of stock just in case my phone becomes a hippie again.
[Nexus 6P General] Einwod:
You should not need to modify anything. There is a flashall.sh script or similar that will work on your Mac. That's all you need.
[Nexus 6P General] SlimSnoopOS:
Read below then apply my tips to this guide.

https://xdaforums.com/showpost.php?p=68758793&postcount=3

Edit: However, like the above user said. You shouldn't edit the flashall.sh, just execute it.
[Nexus 6P General] mobileman88:
If you have just installed the studio then you need to start a new terminal window as some commands are not in your shell path. After that just run the script
[Nexus 6P General] a1exus:
I opt-in to Android Beta Program and since then, monthly updates comes in at the end of month rather than in beginning of month (today is January 23, 2017 and I still have December 5th, 2016 update, even my Nexus 9 (w/ABP enrolled) got update) and to be honest, it really is bothers me a lot... mainly because these are security updates and I'd like to use "secure" phone at least to some extend, especially patches are out for non-beta phones, and I also considering to lock my bootloader so I can start using Android Pay...

I'm guess following are my only options:

1) should I optout from beta to cut down on wait for monthly security OTA

2) for bootloader, I know when I lock bootloader all of my /data gets wiped

.. assuming I'm going to lock bootloader, I won't be able to flash security updates on my own? Right?
[Nexus 6P General] jm511:
How update my adb

or upgrade ?
[Nexus 6P General] Einwod:
If you want to become completely stock, yes, opt out. Before, download the latest factory image and extract it to your computer. After opting out, go to bootloader screen, attach device to computer and run the flashall.bat file. When it's finished, about 10 to 15 minutes, you're back to out of the box condition. As long as you don't root, you'll get OTA updates when Google release them, at the beginning of each month. No need to relock the bootloader.
[Nexus 6P General] Lento10:
Do I need to unlock the bootloader to flash a new radio?
[Nexus 6P General] Badger50:
Shouldn't matter. Just flash it with fastboot and call it good.

Sent from me :)
[Nexus 6P General] JrSmilez:
I have done this many times and I have never been able to erase or flash the cashe. everything else works. I was just wondering if there was a reason.
[Nexus 6P General] adrman:
The command I always use is "fastboot format cache".
[Nexus 6P General] JrSmilez:
Yeah I realized I spelled it wrong. I updated fastboot. See if that fixes that and my system installation error. It says data is too big.
[Nexus 6P General] Matakor:
Is there any way to direct copy a device to a second device? E.g, apps, root, data, etc. from one 6p to another 6p? (have a replacement phone to account for dying battery in old phone, want to have a 'seamless' transition)

I'm going to attempt to use twrp to do a full recovery (minus EFS) and see if that works, but I want to know if there's a better way to accomplish this, or if my way would even work.
[Nexus 6P General] Badger50:
You could make a backup of your rom, then transfer it via PC and restore it on the new device with TWRP. Don't see why that wouldn't work.

Sent from me :)
[Nexus 6P General] Matakor:
That's the plan. In the process of downgrading from nougat on the new phone first though. :P

Also, when you say 'rom', is there anything specific to choosing rom backup, or just every option in backup minus efs?
[Nexus 6P General] Badger50:
I only backup system, data and boot. I don't touch the system or vendor images at all. You'll probably need to flash the proper vendor.img for the rom before you restore it with TWRP on the new device.

Sent from me :)
[Nexus 6P General] prithvi_007:
Help!

Hello everybody!

Thanks for making this guide Heisenberg. Excellent job m8 :D

However I'm facing an issue copying the EFS backup to my laptop. I get an 'Unspecified error' (in the alert box) while copying the .win files. I've tried the following:

-Used different cables

-Moving the files into a different directory

-FTP

-Asus File Manager's wireless transfer

-SHAREiT

-Google Drive (the upload failed)

-adb pull (adb pull /sdcard/Download/CVH7N16516000217/2017-01-25--13-33-55_N4F26I/efs1.emmc.win C:\Users\Prithvi\Desktop and it returned open failed : Permission denied)

Interestingly I faced the similar issue while copying the Nandroid backup. Even there the .win files were causing issues (they were 300+ MBs, this EFS one is of hardly 4MBs). However I solved the problem there by copying one file at a time.

Any help is appreciated. TIA (Yes I'm new).
[Nexus 6P General] Matakor:
I have just flashed all those, so this should work. Will let you know as soon as I make the proper backup then. :P
[Nexus 6P General] Einwod:
Use file explorer in twrp to transfer the files to your PC.
[Nexus 6P General] prithvi_007:
Can you please elaborate a little? I know how to move files within the device using TWRP's file manager but not how to move them into a PC.
[Nexus 6P General] Matakor:
That worked surprisingly well. Had to re-flash supersu for root and my xposed framework. It was essentially seamless. :D

---------- Post added at 04:07 PM ---------- Previous post was at 04:01 PM ----------

Hmm.. I do seem unable to get cellular networking working though.

---------- Post added at 04:09 PM ---------- Previous post was at 04:07 PM ----------

Nvm the cell net. Rebooting fixed.
[Nexus 6P General] Badger50:
Nice! Glad it worked out for you [emoji106]

Sent from me :)
[Nexus 6P General] Matakor:
Almost 100%. Fingerprint scanner is borked. Seems to be an extremely common issue. 'Fingerprint enrollment did not work. Try again or use another finger.' Of course, trying again does nothing, as this pops up immediately on entering the fingerprint app.
[Nexus 6P General] Badger50:
I'm sure you tried the wipe dalvik and cache wipe already. Might have to clean flash a rom and see if that works. Did the rom you restored already have fingerprint security on it?

Sent from me :)
[Nexus 6P General] Matakor:
No, apparently this is a common issue because of hardware 'ident' issue between old fingerprint scanner and the new one. I'm looking around for solution. I took into account the 'lockscreen' issue and haven't had that issue. Only thing that's currently a problem is the scanner.
[Nexus 6P General] Einwod:
Simply connect to your PC and move the files using Explorer on the PC. Drag and drop off the device.
[Nexus 6P General] SlimSnoopOS:
Read post #236 and on, from the following link. It's stickied at the top of this general section:

https://xdaforums.com/showthread.php?t=3245070
[Nexus 6P General] prithvi_007:
Umm...I've already mentioned that it didn't work. If it had worked why would I be still here? :)

Anyways thanks I solved the issue by using OTG.
[Nexus 6P General] Pwnr1337:
I went through 15 pages before I broke down and decided to ask for help on my simple problem:

I'm trying to unlock my bootloader. Adb finds my device no problem, but fastboot doesn't find anything. I get some type of udev error and a link to the Android/sdk page. Followed instructions there (just added a .rules file for the rules.d in udev) doesn't seem to have an effect...

Android 7.1.1

Build N4F26I

Kubuntu 16.10
[Nexus 6P General] Einwod:
ADB will work while the OS is running, I.E. your device is switched on. Fastboot works from the bootloader screen, before the device is on in the OS. Hope this helps.
[Nexus 6P General] Pwnr1337:
Yea I tried using 'adb reboot bootloader' and the manual power and volume method. For some reason it just won't find it with 'fastboot devices'. I even disabled the phone lock during the process.
[Nexus 6P General] mswal2846:
Yea, try:

1. Boot into the bootloader

2. THEN plug your phone into your PC via USB (or unplug your phone from your PC then plug it back in)

3. Then try fastboot commands

The pc doesn't always see the phone if you were initially plugged in prior to the reboot into bootloader.
[Nexus 6P General] Pwnr1337:
Believe me I tried all that during the few hours I spent scouring the internet looking for a similar issue and solution. I'm not at my house at the moment or I could get the exact error message it gave me. I don't have to run fastboot in sudo or something crazy do I?
[Nexus 6P General] mswal2846:
Sounds like you're on a Linux machine (I am too). When this has happened to me, I've had to update the fastboot tool I would recommend downloading the version in the OP. I think it will then work for you.
[Nexus 6P General] Pwnr1337:
I just found something on the Ubuntu forum. Apparently someone had the same issue I have. They could use sudo and directly target the usb(I had to go somewhere before I got that deep into trouble shooting it) The curious part about the whole thing is they used the Google idVendor... I used the Huawei one because it's technically the manufacturer. Guess I'll try that in a few when I get home and see.
[Nexus 6P General] raincoat-sama:
I tried running the script and it comes back with line 17 to line 23 of fastboot are apparently missing,should i add some fastboot to the unzipped image's folder?
[Nexus 6P General] rchtk:
I use debian and I can tell you that stable version is too old while unstable (Sid) version is OK. As much as I don't like and never had to, I suggest installing latest SDK from Google website (it's self contained so it won't interfere with anything). Make sure your command references the latest SDK (./adb rather than adb). Permissions should be handled by an udev rule so that you can run it as any user (the rule is created by packaged adb)
[Nexus 6P General] dwh2o13:
Just purchased Huawei Google Nexus 6P H1511 64GB Smartphone Unlocked. Looking forward to using the phone and this seems to be the thread to follow as I will eventually want to unlock the boot loader and gain root, and perhaps flash custom ROM. Coming form a Motorola device(Droid Turbo) and have been reading a LOT of this thread. I have a couple of questions before the phone arrives next week. It ships with Android 6.0 MM. and I was just wanting any advice on how to proceed with best set up/starting point before beginning to Mod this device.

1. I assume I will be getting OTA update notifications pretty quickly. From what I've read the phone has been updated to Nougat. Any suggestions on whether it is better to stay on 6.0 or update to latest OS relative to unlocking, flashing TWRP, and gaining Root. Or does it not matter? Seems certain versions of TWRP and Super Su are suggested dependent on what OS your running. I see in the OP it suggests always updating to the latest build so maybe that answers my question. Still reading and learning at this point. Thanks in advance for any advice.

2. I have a an adb/fastboot folder functional for my work with my Motorola device. Is it recommended to start with a fresh SDK environment by downloading the latest platform tools for Windows and Google USB drivers for Windows using the links in the OP? After download of latest platform tools and install of Google USB drivers, Can I assume No need to follow older method for installing adb/fastboot so long as I get the appropriate responses from the adb version command and adb/fastboot devices commands?

3. I am certainly open to any other prerequisites you might be able to offer straight out of the box now that I"m a bit late to the party.

Thanks Everyone!
[Nexus 6P General] NPOA556:
Unless you want to run Xposed, I see no reason not to take the OTA to Nougat right away. Xposed is not yet compatible with Nougat, so if you want Xposed you must stay on MM.

I strongly suggest you get the latest from Google using the links in the OP. I frequently see people on this forum having issues with adb & fastboot that end up being the result of out-of-date drivers.
[Nexus 6P General] nhatminhng:
Finished rooting and updating ROM. Thanks for such a detailed guideline.
[Nexus 6P General] mobileman88:
Noticed that N4F26O has an older version of the radio. It's now 3.78 instead of 3.79 which was in N4F26J
[Nexus 6P General] v12xke:
That's because N4F26J and N4F26K are intended for Verizon users and thus the different radio v03.79. N4F26I and N4F26O (v03.78) are intended for all others. Many non-Verizon users are also using the v03.79 radio and it's working well.
[Nexus 6P General] mobileman88:
Thanks. Shall try it.
[Nexus 6P General] MitNasty:
Ive been using a custom ROM for about a year now. I never update it, so I decided its better if I switch back to stock build with OTAs. If i follow step #9 will I recieve OTA's, or do I need to follow step #10 or #11 in order to recieve OTAs in the future? Thx in advance, this is an amazing community with tons of helpful people.
[Nexus 6P General] ekambs:
Thanks a lot I sent my 6P to huawei and they accepted to repair with the warranty and I got it after one week . I lost everything and also the IMEI has changed, but I have my beautiful back :D:D:)
[Nexus 6P General] Einwod:
Mine was repaired also, they fitted a new motherboard, so my IMEI changed also.
[Nexus 6P General] suikerchiller:
Hi guys,

Want to do the Feb 2017 security path on a rooted device (running 7.1.1 - jan 2017 patch). Just went through the guidelines and the easiest/quickest way seems to be to flash the new images via fastboot (Section 9 Guideline). Unzipped the full OTA (N4F26O), but got a bit worried because of all the similarly named images (bootloader.xxxx) that are inside the folder.

Should I flash every image that's inside the folder? And also ignore all the other file formats?

Many thanks in advance!
[Nexus 6P General] Einwod:
Do you mean OTA on the device or the Google factory image? If factory image, if you use flashall.bat, then you will update to stock with the latest security patches, but your device will be in OOTB condition. OR, follow the instructions, but don't flash the userdata image. If you want to keep your internal storage intact, follow section 11.
[Nexus 6P General] v12xke:
#9. You don't need to wipe your userdata but I recommend backing up to PC first. You can follow the guide, or grab the latest full stock image from Google, extract all the files into one folder, and then edit the flash-all.bat to remove the -w switch (Erase userdata and cache). Save, and then run the batch file.... or flash each manually. Main thing to note is coming from a custom rom you want to fully erase or format system, data, and cache.
[Nexus 6P General] ekambs:
Yes, they did the same for me as well. Thanks again for all advices that you all gave me.:cool:
[Nexus 6P General] DeathStroke:
Hello Everyone here

I was trying to lock LTE band 40 on my 6p running 7.1.1 using this app https://play.google.com/store/apps/details?id=net.cellmapper.nexus5xand6pfieldtestmode

I didn't find any option to lock band 40 but accidentally enabled LTE band 41 and my device rebooted automatically. Now the problem is I'm not receiving any LTE signal while 2g/3g/H/H+ are working fine. I don't have any EFS or twrp backup.

I tried flashing full stock firmware 7.1.1, MM without any positive results. In settings i have set network mode to LTE only using *#*#4636#*#* code but something is messed up and now LTE isn't working. Any help would be much appreciated.

Thanks.
[Nexus 6P General] suikerchiller:
I mean the full OTA image from: https://developers.google.com/android/ota

The objective here is to update the latest patch while keeping my device rooted with current apps and user data intact. Understand that I probably need to flash custom recovery & SU afterwards again.

The instructions in Step 9 are a bit confusing since they refer to a factory image. The amount and type of images in the OTA mentioned above differ substantially from the factory image content. Any idea how I should proceed? Can also list the exact files in the OTA folder if that helps. Let me know, thx!!
[Nexus 6P General] Einwod:
Are you on stock Android? I think that's what these images are for, not for custom roms.
[Nexus 6P General] suikerchiller:
Yes, I'm running stock Android. Should still be possible to patch manually though.. Right?
[Nexus 6P General] Einwod:
I imagine so. If it doesn't patch right, just download the factory images and don't flash the userdata.img. That should keep your internal info intact. Follow post #2 section 13.
[Nexus 6P General] adrman:
Use the factory images from here You're attempting to use the full OTA image, not the full FACTORY image. The OTA will not work via fastboot, but you can use stock recovery and flash it with adb sideload. However, it won't flash unless you're completely stock, no root.
[Nexus 6P General] ekambs:
Hi everyone , is anybody know how to proceed to chose another language for the OS when Google assistant is running English? Thanks for your help:)
[Nexus 6P General] dwh2o13:
Just recently picked up new Huawei Nexus 6P and running it on VZW. Here i s my current set up: Completely stock: 6.0.1 (see attachment) I was hoping to get some feedback/advice on a couple of questions.

1. Am I correct in my research that you can now run 7.1.1 on this phone/vzw? Seemed at one time images were available for all except VZW?

2. I'm currently sitting on an Android 7.0 OTA notification but have seen quite a few concerns regarding the battery in this version. With that in mind I just thought maybe if I'm wanting to move to Nougat, I might as well move to the latest version if possible. I've read some posts that claim the battery is much improved in 7.1.1 compared to 7.0 and that some radio issues for vzw have also been addressed. True??

3. Hoping to have read the op correctly in assuming I can update to any later OTA as long as I'm currently on stock w/o any mods... I haven't even unlocked the boot loader at this point. I Forget the referenced post number in the op, but I believe in my situation I could side load the OTA.. I just want to be very cautious to do everything correctly.... so if I could humbly ask for some experienced advice on how to proceed it would be greatly appreciated. Drivers and adb/fastboot environment are good to go so I want to thank all that can assist in advance...
[Nexus 6P General] Einwod:
Just do it. Let the update proceed as normal.
[Nexus 6P General] dwh2o13:
Thanks.. For some reason, I had it in my head that the 7.1.1 OTA for VZW had not yet been available. :o
[Nexus 6P General] elorensun:
I need help please,

I got the Nexus 6P on android 7

I unlocked my bootloader, I downloaded the last TWRP in the same folder has the adb.exe , I downloaded SuperSu on my phone.

When I do the step :

C:\Users\xxx\Downloads\platform-tools-latest-windows\platform-tools>fastboot flash recovery twrp-3.0.3-0-angler.img
target reported max download size of 494927872 bytes
sending 'recovery' (16960 KB)...
OKAY [ 0.387s]
writing 'recovery'...
OKAY [ 0.253s]
finished. total time: 0.646s

C:\Users\xxx\Downloads\platform-tools-latest-windows\platform-tools>fastboot reboot
rebooting...

finished. total time: 0.021s

And when I select reboot bootloaded ... I can't boot into TWRP.

What I miss ?
[Nexus 6P General] Einwod:
When you are on the bootloader screen, use the volume keys to change the menu until you get recovery. Press the power button and you should be taken to TWRP. Then flash the Supersu.zip file you have. If you cannot get to recovery, what is shown on your screen?
[Nexus 6P General] jt1998:
in the first page under how to install custom recovery -

"On Nougat you need to flash SuperSU after booting into TWRP otherwise TWRP won't stick (see section 6)."

flash supersu!
[Nexus 6P General] elorensun:
I did what you said and It's worked !!!! thanks you very very much , that was my mistake !!!

---------- Post added at 05:19 PM ---------- Previous post was at 05:10 PM ----------

last noob question, for a security reason do I need to lock my bootloader after getting root ?
[Nexus 6P General] Spannaa:
NO!

From the last paragraph of section 1 (How To Unlock Your Bootloader) in the first post:
[Nexus 6P General] nexuskhairil:
Hello. First of all, I'm totally new to Android just came off from iOS for years and i decided to chose Android over iOS because of specification, customization and much more. So i wanted to root my new Nexus 6P (Bought at 21/12/2016) due to poor battery life. Currently running on Nougat 7.1.1. So can anyone suggest me whether should i go with the tutorial on this page or just go with the Wugfresh Nexus Toolkit?

Second question:- Is there any possibilities to brick our device when rooting? What should i do after rooting and what not should i do?

Third:- Can i relock the bootloader just in case i want to unroot my device due to warranty purposes?

Fourth:- I heard that Ressurection Remix ROM is the best ROM for Nexus 6P for customization and much more. For the battery life, many YouTube reviewer suggest to use Elementalx Kernel. Is that good for me? I want a great battery life, good performance when playing high graphic games such as Vainglory, Clash Royale etc and last but not least is customization.

Hoping that anyone could guide me. Thanks!
[Nexus 6P General] Einwod:
Welcome to Android.

I would personally leave the toolkits alone, completely. If they bork your device, you'll need to find a way to "unbork" it and a toolkit will be of no help whatsoever. Read this forum from the start, all you need is there and it will also get you used to the commands that are used for both fastboot and ADB. Then, if you bork your device, at least you will know what part actually DID the borking. The guide is simple and very easy to follow.

Bricking is possible at any stage of modding. Just follow the instructions and you will be alright. If it doesn't go as planned, don't panic and ask for help after using the search function here. Most problems have been dealt with and answered.

After rooting, DO NOT RELOCK the bootloader. You should not relock it until the device is completely stock. If you do lock it without being completely stock, then you will have problems.

ElementalX kernel is very good, as are, I'm sure, many other kernels. You really need to play around with them yourself, to see what is best for your particular setup.

Everyone has their own personal favourite ROMs for their respective devices. I found Pure Nexus first, when I got my 6P and have never used anything else apart from stock. It's really up to you.

Enjoy Android.
[Nexus 6P General] Badger50:
1. Read the entire first post on rooting, flashing, etc..etc..

2. You will not brick while rooting. Again, read the entire first post.

3. Yes, you can relock the bootloader if you want to sell or return it.

4. RR is a great rom for sure. There are very many good ones out there, but best is in the beauty of the beholder.

5. Welcome to android [emoji106]

Sent from me :)
[Nexus 6P General] nexuskhairil:
Wooo! I never thought that i could get a reply. I've been asking many people at facebook group such as Nexus 6P Malaysia User because i lived in Malaysia. I'm going to give a try tomorrow and follow all the steps in this forum. Will update if anything went wrong. Thank you and respect! ?