yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] MblaZe7run:
15 second installer worked on my laptop, I'll proceed with that installation. Thanks man, I'll be sure to ask again if I get too hung up beyond my own troubleshooting. Cheers :highfive:
[Nexus 6P General] Heisenberg:
No worries, glad to see you got it working :highfive:
[Nexus 6P General] spuri78:
Hey,

I've been meaning to ask this question for a long time. When I download and extract the latest factory image, I only get one file instead of several files (e.g bootloader, radio etc). Why is that? The file was downloaded via Internet download manager and the program that was used to extract the downloaded file winrar v5.30.

EDIT: problem was the download program. sorry for the bother.
[Nexus 6P General] nextelbuddy:
EDIT I see you got it working sorry about that.
[Nexus 6P General] zextek:
Google Nexus launcher

Thanks to this great guide, I have my Nexus 6p machine working perfectly with root. I have been installing the monthly security updates and I have no problems. I just installed the Google Nexus launcher and I like it. My question is will the presence of this new launcher interfere with installing the August security update?
[Nexus 6P General] Jammol:
No it should not. It's running as it's own stand alone launcher. You still have access to the regular GEL.
[Nexus 6P General] DrSeussFreak:
Just updated to the latest patch, was trying to reinstall TWRP, but it keeps failing.

c:\Android\platform-tools>fastboot flash reovery C:\Android\_root\_Tools\twrp-3.0.2-0-angler.img
target reported max download size of 494927872 bytes
sending 'reovery' (16932 KB)...
OKAY [ 0.438s]
writing 'reovery'...
FAILED (remote: Permission denied!)
finished. total time: 0.454s

Thoughts?
[Nexus 6P General] SlimSnoopOS:
"recovery" is spelled with a "c"
[Nexus 6P General] CyberZeus1977:
You miss a c in recovery

Nexus 6P with Chroma rocks!
[Nexus 6P General] DrSeussFreak:
Since when?

Thanks, haha, I can never see my own spelling errors :)
[Nexus 6P General] Heisenberg:
I think you might be wrong about that. In order to get all features working it must be installed as a system app which means the /system partition has been modified, this will cause an OTA to fail.
[Nexus 6P General] zextek:
I flashed the Google Nexus launcher using TWRP so it was installed as a system file. I have restored a nandroid backup so now I'm back on the Google Now launcher.

Now I'm having a problem with connecting to my laptop. USB debugging is turned on but it doesn't seem to be recognized as being able to transfer data. If I select photos the 6p is recognized but I can't transfer files that way. Any ideas on this problem?
[Nexus 6P General] Heisenberg:
I really don't know. Windows is freaking awful so I refuse to use it. I can only suggest checking your drivers or ditching that POS operating system altogether lol.
[Nexus 6P General] Jammol:
Well yes that's if he installed it into system. I didn't know there was a flashable of it though as the one I installed was just the apk as the usual apps we download. The best question for him is if he flashed a zip or merely installed the apk like I did.

Edit: Nevermind, he already answered that.

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

Did you try a different USB port? You may have to fully remove the drivers and try installing them again. I second that Windows is the worst when it comes to USB drivers. When you get it working again, stick to using only one specific port for your phone. I have found that using different ones begin to cause windows to refuse the connection.
[Nexus 6P General] zextek:
Yeah, I know what you mean about Microsoft. I'm not really happy with them either.

I figured out what was wrong with connecting to the laptop. In Settings and Developers options there is a place for USB debugging. If it is turned on then you can't connect which sounds counterintuitive to me.
[Nexus 6P General] Kappalante:
I NEED HELP PLS

On step 10, when i enter the code "fastboot flash system C:\angler\images\system.img" it returns an error saying:

FAILED(data transfer failure(too many links))

What do I do now??
[Nexus 6P General] Jammol:
That's weird. You should still be able to connect with mtp features working. That USB debugging option is there for ADB/Fastboot.

Edit: Just checked. I am able to perform file transfers and such while USB debugging is on.

Maybe Heisenberg can fill in and help with that one. Glad it's working now though.
[Nexus 6P General] DJBhardwaj:
Try unplugging the device, and re-plugging to a different port.
[Nexus 6P General] Xewyph:
Hi all, i post here because i have a problem.

I just can't root my Nexus 6P. Nexus Root Toolkit isn't working with it, because at a moment it says "waiting for your device" and nothing appen...

So i tried to do it manually, but i can't. TWRP is doin some incredible poop.

So i needed to uncrypt, using "format userdata". I flash the boot.img, the recovery, i reboot the bootloader using the Cmd Prompt, and then i go into recovery. Twrp is here, working, and viewing my 25gb, so it's not encrypted. Where it become horrible, it's when i boot my phone. I have to do the Google Setup, i put a security PIN on boot, etc... and then i go to the settings, enable Devs, enable USB debuging, and i reboot in bootloader. BUT ! when i go in the recovery, it says "no command". I just can't get out of that "no command" of Doom. So i can't flash SuperSU.

I also tried to do the setup first, and then flash the recovery, but when it asks the password, even if i put the correct one, it's showing the loading bar, and, nothing appen...

I'm running on Android N Developper Preview 5...

EDIT : Yes, my bootloader is unlocked. It also shows me the horrible warning message.

Please help me :c

EDIT 2 : I maybe won. Using CT auto Root ! I'll edit if TWRP work
[Nexus 6P General] oldman_58:
try

cd C:\angler\images

fastboot flash system system.img

I don;t think fastboot likes looking downstream for files.
[Nexus 6P General] barturblits:
When you see 'no command' press power + vol up to get to recovery, could take a couple if tries. No worry. After flashing recovery through fastboot, boot directly to recovery and power+vol up. Then give twrp access to modify system etc by sliding. This makes twrp persistent. Otherwise backup factory recovery will be restored by bootloader at boot. Now you should have adb and the ability to flash zips.

Also check your encryption, nexus is encrypted by default with a zero key. Twrp does not ask for a pwd in this case. No password does not mean no encryption.

Don't forget to make a safe backup of efs partition. Vital for unbrick.
[Nexus 6P General] Xewyph:
I finally got it to work ! I used CF auto root, worked like a charm, and then i installed TWRP ! I'll just have to wait for Xposed :)

Envoyé de mon Nexus 6P en utilisant Tapatalk
[Nexus 6P General] basisforbart:
I have read through the last 20 pages and used search but to no avail. My wife is getting her Nexus 6p in the mail this afternoon. Am I able to just download the most recent security update or do I need to install each previous version? Thanks in advance.
[Nexus 6P General] barturblits:
You can do the incremental updates in serie through ota or flash the latest as a whole with flashboot. What you prefer.
[Nexus 6P General] Clark Joseph Kent:
Yo OP! I bricked my N6P using your methods here......................

:laugh: Kidding Great "HTG", I used this thread, just last night, when my 6P came in, good to go! Thank you Sir!
[Nexus 6P General] Einwod:
Why not just switch the phone on and check for updates? Any that are available will update you to the latest stock version. After that, unlock and flash whatever you choose. Couldn't be more simple. Enjoy your Nexus 6P.
[Nexus 6P General] Heisenberg:
Glad the guide was helpful for you! Now no more heart attack inducing posts :silly:
[Nexus 6P General] AreOh:
The past updates have gone smoothly, last night I connected my phone and when typing adb devices my phone wasn't found. First thing that came to mind was fastboot must need an update, sure enough there were packages that needed updating. After that and trying again the phone still isn't recognized. How does that happen?
[Nexus 6P General] Heisenberg:
Are you booted into Android while trying the "adb devices" command?
[Nexus 6P General] AreOh:
Yes. In bootloader mode.
[Nexus 6P General] Einwod:
In bootloader mode you use fastboot commands. Adb commands are used when in Android system.
[Nexus 6P General] AreOh:
You know what, I feel so silly now. I was definitely entering the wrong command. Thank you.
[Nexus 6P General] Savetheknot:
Dumb question here...

What do I wipe to flash a previous recovery?
[Nexus 6P General] CyberZeus1977:
Nothing. Flash recovery and it will overwrite the installed one.

Nexus 6P with Chroma rocks!
[Nexus 6P General] ariefabuzaky:
Basic question to ,, how to i decrypt using TWRP ?'with full guide please .. Thanksss
[Nexus 6P General] barturblits:
Decrypt backups or decrypt encrypted partitions?

Decryption of partitions is automatic when booting into twrp. Just enter pw when asked.
[Nexus 6P General] Heisenberg:
Do you mean decrypt permanently?
[Nexus 6P General] ariefabuzaky:
Decrypt encrypted partitions
[Nexus 6P General] Heisenberg:
Permanently or only while in TWRP so TWRP can access the partitions?
[Nexus 6P General] ariefabuzaky:
IDK if there is decrypt permanently cz iam new in nexus community,

I saw your no.3 guide, you say its not all necessary if we have latest TWRP installed.

Before that we must using android SDK and fastboot erase user data to decrypt it.

---------- Post added at 01:38 PM ---------- Previous post was at 01:37 PM ----------

Yes i mean Permanently dev .. Thanks for make me clear
[Nexus 6P General] Heisenberg:
You don't need to decrypt at all, TWRP can decrypt and access your partitions on the fly.
[Nexus 6P General] jesssiii:
Unless you're using nougat, right?

Nexus 6P
[Nexus 6P General] thegios:
Hi, haven't had a Nexus in ages (only Samsung during last year's so was using dedicated app to flash) so am a little confused. I installed twrp and rooted. I also installed FlashFire. I understand that if I do not make any changes to the system (no Xposed for example) in case of a new ota I have two options to update without losing data: side load with adb and then reflash twrp and su, or use FlashFire that will also keep root.

What if I make system changes like installing Xposed or other? I'm a little lost here.

Thanks
[Nexus 6P General] Heisenberg:
I might be wrong but I believe Flashfire will even update if you have modified system. I don't use it so i can't confirm that, I'll let someone else with more knowledge of it confirm.
[Nexus 6P General] thegios:
OK thanks, while waiting for an answer, what if I modify system and would like to upgrade manually with adb and still keep data? Would point 9 in OT suffice?
[Nexus 6P General] Heisenberg:
Yep, section 9 will allow you to do that.
[Nexus 6P General] thegios:
After updating (either manually or with flashfire) do I lose all the system changes? For example something like this:

http://xdaforums.com/nexus-6p/general/boost-headset-volume-t3237661

Or maybe Xposed: do I need to reinstall it again and reapply modifications?
[Nexus 6P General] Heisenberg:
Yes, updating with you'll need to install any modification again. Not sure about Flashfire.
[Nexus 6P General] NBAPwns:
Extras> Android Support Library, Google USB Driver

I don't have this in extras when i try to install SDK, can someone help me asap? just got the 6p today wanting to root this baby
[Nexus 6P General] Heisenberg:
Don't worry about it, it isn't essential.
[Nexus 6P General] NBAPwns:
delete

---------- Post added at 04:06 AM ---------- Previous post was at 03:52 AM ----------

EDIT: got it working. lol
[Nexus 6P General] maxtheax:
I have the proper USB drivers installed (Google USB ones from SDK manager), and adb will detect my deivce, but then when I go into the bootloader and do "fastboot devices," it doesn't see my phone...After a few Google searches and some attempted troubleshooting, I'm stumped. What should I do?

EDIT: I scrolled back a handful of pages and saw a guy with a similar problem. When you suggested he try 15 second adb/fastboot, it worked. Same situation here, no idea why though.
[Nexus 6P General] Einwod:
Make sure you have the latest version of fastboot.exe. Check in device manager that you can see your device and the drivers are correctly installed.
[Nexus 6P General] maxtheax:
Sorry, I made a ninja edit while you must've already been replying.

On a separate note though, where is my fastboot folder if I installed 15 second adb/fastboot? Since I installed it system-wide does that mean I can place the TWRP zip anywhere system-wide?
[Nexus 6P General] Heisenberg:
I have no idea where it creates your fastboot folder but you definitely need to have anything you're flashing within that specific folder. Try searching "fastboot.exe" in Windows and you should be able to find it.
[Nexus 6P General] Einwod:
Mine resides here: C:\adb
[Nexus 6P General] maxtheax:
[IMG="fastboot.exe search"]http://image.prntscr.com/image/cba9d2077d0a48c18eba72768af5d02f.png[/IMG]

Alternatively, I could just put it in every folder :laugh:
[Nexus 6P General] Einwod:
Being system wide means you can open a command prompt from any location and the fastboot command should work, regardless of what folder it resides in.
[Nexus 6P General] maxtheax:
Yea, I was saying that I could put the twrp file in every folder where there's a fastboot.exe located.
[Nexus 6P General] Einwod:
Just open the command prompt from the folder where you saved TWRP and you're good to go.
[Nexus 6P General] Savetheknot:
I installed Dirty Unicorns ROM and ran it for a while. Then I wanted to make sure my Stock ROM was up-to-date so i went into recovery and flashed the backup I made before flashing DU. Now I want to go back to DU but I am stuck at the TWRP flash screen. How can I fix this so i can flash my backup of DU?
[Nexus 6P General] SlimSnoopOS:
Which OS are you using: Marshmallow or Android N? It sounds like you're using Android N with an encrypted phone.
[Nexus 6P General] Savetheknot:
DU was 6.0. I know I decrypted before flashing it from stock. When going back to stock I went to Android N. Will I have to decrypt again?

---------- Post added at 08:37 PM ---------- Previous post was at 08:32 PM ----------

I decrypted stock (Android N), flashed DU (6.0), then restored to stock Android N. Will I need to decrypt again?
[Nexus 6P General] SlimSnoopOS:
You may have done so but TWRP freezing indicates that you were encrypted at some point again. Yes, you will have to fastboot format userdata again.

Alternatively, follow the guide below to access TWRP temporarily. This will not erase your internal storage. You will need a computer to do this:

http://xdaforums.com/showthread.php?t=3410906
[Nexus 6P General] beartek:
Installing Security updates pushed from google?

How do I keep my rooted Nexus 6P rooted and still stay secure with the security updates? Every time I get a notice from the system like today it said again that i should reboot and install the August security updates. I reboot, and TWRP i/f comes up and not knowing which choice is right, I just choose reboot>system and it restarts and works but I have a funny feeling the security update wasn't applied...
[Nexus 6P General] SlimSnoopOS:
Follow section 9 of this guide. Do not flash recovery.img unless you want stock recovery. Them go from bootloader directly into TWRP and flash SuperSU.
[Nexus 6P General] Flapjack:
....and that is why we have the "PATH" variable. Learn how to use it and your life will be forever changed:

http://betanews.com/2015/11/23/windows-10-finally-adds-a-new-path-editor/
[Nexus 6P General] Dhanabalan:
hello guys,

I'm in full stock (latest) with locked boot loader. If i want to flash android N stock image then boot loader need to be unlocked?
[Nexus 6P General] Heisenberg:
If you want to flash it with fastboot, yes.
[Nexus 6P General] Danielpalmquist@gmail.com:
Help please

Working on rooting Nexus 6P with Google's the newest Android operating system - Android Nougat (version 7.0).

I've been caught up in a boot loop and currently researching a solution though I can easily erase everything and begin all over again; I've attempted this procedure several times now so I'm reaching out to other developers at this time to figure a successful method.

I have Android Studio 2.1.3 and latest SDKs, and factory image 6.0.1 (MTC19X)from Google Nexus Files for Developers

I used ADB/Fastboot and flashed TWRP 3.0.2 and Cyanogenmod's version 13 release (not nightly updated nightly) to assure stability.

I'm able to access recovery mode and flash everything including SuperSU 2.7.6 but when I try normal boot it is stuck 'Boot looping'... Here is the device info:

BL: angler - 03.58

Baseband angler -03.72

Product/Variant: Angler-VN2

CPU MSM8994 0x20001.

TWRP recovery didn't prompt for a pattern unlock so I figured I didn't need ElementalX for the kernel to unlock forced decryption.

Did I need ElementalX? I saw in a video that you need to be rooted to even apply that anyways so you tell me...

What I have done now is erased these:

_________________________________________________________

# Start (Sector) End(Sector) Size: Code: Name:

34 | 344064 | 409599 | 32.0M | 0700 | boot

35 | 409600 | 475135 | 32.0M | 0700 | recovery

36 | 475136 | 606207 | 64.0M | 0700 | oem

37 | 606208 | 1015807 | 200M | 0700 | vendor

38 | 1015808 | 1220607 | 100M | 0700 | cache

43 | 1225704 | 7517159 | 3072M | 0700 | system

44 | 7517160 | 61071326 | 25.5G | 0700 | userdata

_________________________________________________________

I need to get this working and would really like to root this so please if you can be any help let me know what you know. Thanks.
[Nexus 6P General] Droid_Nut:
With N supposedly coming out on 8/22 Monday, I was wondering what I would need to do to upgrade without hosing my phone. I have TWRP, Root, and Xposed on the stock MM Rom. A simple walk through would be nice.

TIA
[Nexus 6P General] Heisenberg:
You need to wipe data, there's no way around that. Just follow the instructions in section 11.
[Nexus 6P General] brasewel:
I have a custom rooted M Rom as well. Will I have to go back to complete stock if I want to get android N? Would hate to lose TWRP and some of my backups I made using it.
[Nexus 6P General] Heisenberg:
Yes, you need to wipe first. Losing TWRP isn't a big deal, you just flash it again which takes a whole minute. You won't lose any backups because you don't need to wipe the internal storage.
[Nexus 6P General] 3ddfknmontana:
So wipe everything exept internal storage, flash vendor radio etc, then flash rom and gapps?
[Nexus 6P General] Droid_Nut:
Can we do OTA after we wipe data?
[Nexus 6P General] Heisenberg:
No because you'll still have system modifications, you need to be 100% stock.
[Nexus 6P General] BaronKrause:
If I was always flashing stock images, with just TWRP/Root, I should just be able to full unroot and flash N through fastboot without user data wipe like I do every month with Google's normal stock monthly updates right?
[Nexus 6P General] 89titanium:
Don't see Android 7.0 stock image up yet. The guide could use some updating once the release is official. Should I flash Nougat right away? Is SuperSU/TWRP compatable yet?
[Nexus 6P General] bagarwa:
Preparing for N

Preparing my device for flashing the final Nougat factory images today.

I have Nexus 6P, Stock Android 6.0.1 August, SuperSu v2.76, franco kernel r27, Xposed v86.

This is what I will do, (my questions in royalblue) -

Boot into TWRP and make a nandroid backup. Boot, Data, System, Vendor.

Factory reset the device from TWRP. I am hoping it won't delete Pictures / Music / TiBu backup files etc, right?

Extract the N factory image zip and flash bootloader, radio, boot, system, vendor; manually, one by one.

Will twrp-3.0.2-0-angler.img still work on Android N as recovery?

I don't want to encrypt my storage. So, is there a modified boot img / SuperSu for N yet, that disables the force-encrypt flag of the stock boot img?
[Nexus 6P General] Droid_Nut:
Has anyone tried Flashfire by CF?

https://www.youtube.com/watch?v=ED6N4DJTaU4&feature=youtu.be

http://xdaforums.com/general/paid-software/flashfire-t3075433
[Nexus 6P General] thegios:
I will for the first time as soon as N is out.

Am rooted but have not made any system modification, so flashing ora with flash fire should be straightforward
[Nexus 6P General] tarroyo:
I rooted a couple months back using this guide, Reading thru Section 3 it says

'How To Decrypt Your Data Partition

This is no longer necessary as long as you use TWRP 2.8.7.1 or newer, unless you are using the Android N developer preview, in which case you must decrypt.'

Going thru settings/security under encryption I see encrypt phone encrypted. Wasn't the method in this guide supposed to decrypt???? Or are there certain roms (dirty unicorns is the one I'm running) that reenable encryption???
[Nexus 6P General] iosonofrancesco:
tried Flashfire but lost root and recovery, i was encrypted so now i have to wait the new TRWP because the current one hangs on boot.
[Nexus 6P General] Heisenberg:
Yes.

The guide will be updated. We'll know more once it's released.

1. Don't use factory reset in TWRP, go into the advanced wipe menu and manually select the partitions to wipe.

2. It should. Whether we need to decrypt and use a modified boot.img is unknown, but likely.

3. There's a thread for modified boot.img's that do this in our general section.

The ROM itself doesn't enabled encryption, it's the kernel within the ROM. But yes, there are kernels that will force encryption again.
[Nexus 6P General] SlimSnoopOS:
LOL ninja'd by a minute.

Either

1) Flash a custom rom and gapps in TWRP and see if it boots. If not, proceed to step 2.

2) Factory reset in recovery or "fastboot format userdata" (this will erase your entire phone...all of it) then fastboot flash each partition (section 10). If it still fails to boot, you may have dysfunctional phone.

Correct.

Up to you. No, TWRP is not yet compatible.

2) Correct, same as always.

4) Nope. Unless you are decrypted, which you state in your next question.

5) Not yet. Soon though.

DU does not force encryption but yes there are certain roms that do force encryption. Clearly, you were encrypted again at some point if you did not flash a modified boot.img, SuperSU, or a custom rom after fastboot format userdata. Piece of advice, check out the fstab for your rom's Github and read line #8 for userdata. Encryptable means it will not force encryption. "forceencrypt" means it will encrypt on boot. Here is DU's Github for example, click on fstab.angler and you can see what I am referring to.
[Nexus 6P General] 3ddfknmontana:
Custom rom to stock nougat?
[Nexus 6P General] Heisenberg:
Section 11.
[Nexus 6P General] Skid71:
I'm in quite the pickle here.

I'm trying to flash factory images.

When typing the command "adb devices", it lists the serial number, however, next to that it says "unauthorized".

When trying the command "adb reboot bootloader", I get a message that says something to the effect of, vendor unauthorized.

I believe the vendor image is V, but not 100% certain.

Can anyone help?

Very much appreciated.

Jeff
[Nexus 6P General] Heisenberg:
Do you have usb debugging turned on in Developer Options?
[Nexus 6P General] Skid71:
It's been so long since using the pc to flash... I didn't tap yes on the phone when asked if I approved usb debugging.

Heisenberg,

Long story short... I get the "No SIM" message. I have flashed the factory images and now on setup I'm getting the "Insert SIM" message on the screen. Do you think I have borked my EFS partition? If so, can you point me to a resource in which I can attempt to fix it? Extremely foolish of me not to make an EFS backup with TWRP.

I was hoping it was a vendor issue.

I just flashed the "F" factory images.

Sincere thanks for your time and assistance.

Jeff
[Nexus 6P General] Heisenberg:
The only way I know to fix your EFS partition is by using a backup. There might be other methods but I'm unaware of them.