yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] Badger50:
Bootloader is reporting Samsung eMMC 64gb, but android is only showing 24.17GB usable storage.. so weird?

Huh??......why would it report that it's Samsung? I'm far from any kind of tech genius, but that just seems odd to me.:-\
[Nexus 6P General] airmark:
It says Samsung on mine too (32GB model). Why is it odd? It's like BIOS detecting the hard drives make/model on a PC.
[Nexus 6P General] Badger50:
Ah...gotchya. Again I'm no tech genius. Was just curious is all :)
[Nexus 6P General] Born<ICs:
.

Read the change log on TWRP OP thread regarding 2fs.........

http://xdaforums.com/nexus-6p/orig-development/recovery-twrp-2-8-7-0-touch-recovery-t3234976

---------- Post added at 07:00 AM ---------- Previous post was at 06:49 AM ----------

TWRP?
[Nexus 6P General] efrant:
When flashing the factory images, you should never flash the userdata image - it serves no purpose really. Replace "fastboot flash userdata userdata.img" with "fastboot format userdata". This has been the case on all Nexus devices that have had multiple size storage. The factory userdata image provided is for the smallest memory size.

EDIT: to get access to your full storage, format using fastboot (as mentioned above) or format using TWRP, or factory reset using stock recovery, or expand the partition size using TWRP (if it supports it in the advanced wipe menu).
[Nexus 6P General] ridobe:
I haven't had time to do this until this morning. This did indeed work for me FINALLY. I really have no idea why the $PATH wasn't set. I have been using the same location for years. I want to thank all of you for your help.

edit: Oh, and I meant to say sudo is definitely not necessary.
[Nexus 6P General] Abra_Cadabra:
Nevermind. Sorted.
[Nexus 6P General] tcat007:
Just want to make sure adb is seeing device properly. My command prompt returns:

It sees the device but not sure about other, and "unauthorized".

C:\Users\Tom\AppData\Local\Android\sdk1\platform-tools>adb devices

List of devices attached

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

84B5T15A09001815 unauthorized
[Nexus 6P General] xda4ck:
Have you enabled USB debugging from settings menu ?
[Nexus 6P General] tcat007:
Yes. It returned the correct serial number, so I think I'm alright, but wasn't sure if "unauthorized" was OK. Tried again, had to "authorize" (message on 6P which I didn't notice first time), got this:

C:\Users\Tom\AppData\Local\Android\sdk1\platform-tools>adb version

Android Debug Bridge version 1.0.32

Revision eac51f2bb6a8-android

C:\Users\Tom\AppData\Local\Android\sdk1\platform-tools>adb devices

List of devices attached

84B5T15A09001815 device

Looks good to go.
[Nexus 6P General] Aridon:
Yup you're good to go.
[Nexus 6P General] tcat007:
Use the boot.img in the 1st or 2nd post of the op linked thread? Is su 2.56 OK to use? (I like to go with latest if I'm going to do this).
[Nexus 6P General] Badger50:
It's the 2nd one. The O8K build as was stated in the OP. And then use the SU that it recommends.
[Nexus 6P General] Badger50:
And then the boot.img is the angler one on the top part of Chainfires thread.
[Nexus 6P General] tcat007:
OK, just wanted to make sure it was angler-mdb08k-boot.zip from that 1st post and not angler-mdb08k-boot-systemless.zip from the second post (in chain fires thread). He has su 2.56 in his 2nd post too.
[Nexus 6P General] Badger50:
No worries. The bottom ones are beta tests. Which means, things may not go very well at this point!
[Nexus 6P General] Heisenberg:
From what I recall, yes you do need to decrypt for Android N developer previews. I thought I added that info to the TWRP section of the guide, I guess I didn't yet.
[Nexus 6P General] tarroyo:
You can flash the factory images via flashfire with twrp recovery using this method, remember to follow the steps to the tee

https://youtu.be/cvs0JQswTWw
[Nexus 6P General] ArmStrongDickPunch:
So the files from the stock rom I flash, system, vendor, cache? Right? Should I flash boot and modem too? And is it safe to select inject root like he did I'm video? Thanks just double checking so I don't mess anything up haha (should I undo my layers theme before doing this too?)
[Nexus 6P General] gamestar21:
Had issues getting adb interface but after that it took a few minutes and i was all set on windows 10 and nexus 6p build mtc19t
[Nexus 6P General] DJBhardwaj:
Yes. System, Vendor, and Cache partition files are what needs to be flashed.

While updating the firmware, it is a good practise to update the bootloader and modem/radio too. However, in case of Radio, the results may vary. If the outcome is good, then stick to the latest radio, if not, roll back to the previous radio version.

As for root, you can simply flash the SuperSU root package through TWRP or FlashFire.

And, please do not confuse boot.img with the bootloader image file. Both are different.
[Nexus 6P General] tarroyo:
Yes, Do everything exactly like shown in the video. I would undo layers as well seeing as how this is a stock ROM. Inject root that's a MUST I skipped that step before and had to reflash TWRP.

If you're more familiar with adb, you might wanna try his other method

https://youtu.be/rEHz9LIfCWw

Either way you'll be flashing the latest image using both methods.
[Nexus 6P General] CyberZeus1977:
Stock supports layers natively

Nexus 6P with Chroma rocks!
[Nexus 6P General] i9100gcap:
stuck while doing nandroid backup using twrp

Hi all,

I was in the process of rooting my new nexus 6p and was following all the instruction to the T but while doing nandroid back up i accidentally checked boxes data,system,system image,vendor and vendor image and swiped to back up. Now my phone is stuck at "Simulation Partition" part of the process and there is neither any progress nor i am able to cancel the process or go back to twrp home page. How do i solve this problem? have i bricked my phone :(? do i wait till the the battery drains out? Please help.

Thanks in advance
[Nexus 6P General] adrman:
Try holding down the power button for 30 seconds or so until the device reboots. Once you're booted into Android, check your TWRP folder and see if there were any bad backup files generated that you need to delete.
[Nexus 6P General] Heisenberg:
You're not bricked. You can safely force a reboot while creating a backup, just not while restoring one. Reboot your phone, and as the other member said, delete any backup files that were created.

PS. I see you asked the same question in another thread. Please don't do that, duplicate posts aren't allowed.
[Nexus 6P General] i9100gcap:
Thanks a lot for the reply. I did as you instructed and all is ok :)

Sorry for the duplicate post, as i was browsing the forum for any solution i realised that i might have posted my question in the wrong thread. Anyway this wont happen again. Cheers
[Nexus 6P General] Registerforwhat:
Thanks so much you nailed it. Updated the driver by pointing it to the android folder will all the goodies and it found it.
[Nexus 6P General] tarroyo:
Does it matter where you get the vendor img from? Whether it be ota images or factory images????
[Nexus 6P General] nathanchance:
I'd recommend the factory images.
[Nexus 6P General] mobileman88:
Mtc19v has dropped. For those who might be interested
[Nexus 6P General] StormCell:
Little Help Please!!!!

Followed all instructions. After rebooting got a message saying phone may be corrupted and not function properly. I let it continue booting. It's been booting now for 15 minutes with the little circles. Nothing else is happening. Please...help....
[Nexus 6P General] Heisenberg:
Followed what instructions? You're gonna need to be more specific than that.
[Nexus 6P General] StormCell:
Sorry, I followed the instructions in the first post.

I went into TWRP figuring if I did a wipe the might help. Ha, wrong. Now I get a message saying I have no OS. Frack me. There's no boot image on the phone. I think I must have done something ass backwards. It's been a while since I've done this and researched it a lot again. Didn't think I was an idiot. But I guess I am. How can I get an OS onto my phone. I'm not a programmer so don't understand a lot of compuslang, but I do understand adb, command prompt and the like. I read somewhere a minute ago I may be able to use my USB C memory stick and load a ROM onto that then somehow use TWRP to install it? Thanks.
[Nexus 6P General] Heisenberg:
I see you're also asking the same question here:

http://xdaforums.com/showpost.php?p=67204668&postcount=4

Please don't create duplicate posts, it isn't allowed, only post about each topic in one place.

Exactly what have you done? The first post contains many instructions, instructions that achieve different results.

Anyway, you can just flash the factory images with fastboot to get the phone booting again (instructions in post #2 of this thread). Or if you just connect your phone to your PC while booted into TWRP you should be able to copy a ROM file across, just make sure MTP is enabled (in the mount menu I believe).
[Nexus 6P General] StormCell:
Hey Heisenberg,

Sorry, I'm a little confused with what I'm supposed to do. Didn't mean to post twice, will only post here now.

I honestly don't know of what I've done at this point. I do have the latest TWRP installed. I can boot into it...but that's all. I've never used TWRP before, only ROM Manager and Clockworkmod. I have the Verizon version of the 6p. I've never FUBARED this bad before.

Can you please tell me what I should do?

Thanks a lot.
[Nexus 6P General] Heisenberg:
My first piece of advice is to ditch ROM Manager. What you do next will depend on what result you want.

Do you want to run a custom ROM? If so, download the ROM (and appropriate gapps package and vendor image) to your PC. Boot your phone into TWRP, enter the Mount menu and make sure you have MTP enabled. Connect your phone to your PC while booted into TWRP and it should show up as a drive on your PC, then you can copy the ROM, gapps, and vendor image to the phone. Once you have those files on your phone you can follow the instructions in section 7 (post #2) to install the ROM.

Or do you want to run the stock ROM? If so just follow the instructions in section 11 (post #2) to flash the factory images with fastboot. This will returm your phone to a stock state.
[Nexus 6P General] StormCell:
I MTP'd over PureNexus, GAPPS, and vendor image (still don't know what that means). Flashed everything exactly as Heisenberg instructed. Yes, finally. Booted into ROM. Haven't put in SIM card but hopefully radios work.

I want to thank everyone who took the time to respond to an 'old' newbie. Now I can help someone else sometime.

Why should I forgo ROM Manager? Is it out of date? What about Franco Kernel app? I'd like to overclock a bit, but I'm a little gun shy now.

Again, thank you.
[Nexus 6P General] StormCell:
Yeah, now I'm back to the State of Confusion. My bootloader is unlocked, that is verified. I have TWRP. I flashed PureNexus, GAPPS, and vendor image. Phone booted, yaaah! But Root Checker says I don't have Root?! I'm enclosing photos. Superuser was installed by me thru Play Store. I DID flash Beta SU 2.66
[Nexus 6P General] StormCell:
Can only seem to attach 1 photo at a time.
[Nexus 6P General] StormCell:
Ok, so reflashed BETA SU 2.66. NOW it shows I have Root, although there is no SU app on my phone. Man, I really did everything bass ackwards. Talk about a learning experience.

Now let's see if I can screw up my phone flashing a Kernel. Any suggestions?
[Nexus 6P General] Heisenberg:
The SuperSU app doesn't show up in the app drawer, it's in the settings menu, check there.
[Nexus 6P General] SlimSnoopOS:
Info about vendor.img

http://xdaforums.com/showthread.php?t=3291853

Rom Manager hasn't been updated in two years. IDK if you'll find many using that but maybe they are? You can find Franco in the Original Dev section, however I don't mess with OC so you'll want another's opinion there.
[Nexus 6P General] kenikh:
Root checker can't be working right. I just ran it and it said root isn't properly configured. Whatever. I can flash whatever i need now.
[Nexus 6P General] .xxx.:
Sometimes it depends on the Android version and root checker compatibility issues. It should work perfectly if each step from the op has been followed.
[Nexus 6P General] kenikh:
As far as I know, I followed every step.
[Nexus 6P General] .xxx.:
Is other apps working with root? Like titanium backup or some explorers that require root like es explorer or solid explorer?
[Nexus 6P General] kenikh:
Never mind...my bootloader is unlocked but haven't flashed TWRP or SuperSU yet. Duh. Been so long since I rooted a device, I forgot.
[Nexus 6P General] RMassa01:
Duplicate apps

First time rooting and installing custom ROM. Got everything working now, but found i have duplicate apps. Not sure if I did something wrong or is this normal and what ones do I delete or disable?

Phone for example 1 copy

Version 2.21

Com.android.dialer

Copy 2

Version 2.5.12 rc9

Com.google.android.dialer

I have a few apps. Contacts and calculator and 1 or 2 more

What is the next step to correct this
[Nexus 6P General] Heisenberg:
What ROM did you install? What gapps did you install? Did you wipe properly (system, data, cache, dalvik cache) before flashing?
[Nexus 6P General] RMassa01:
.

Most recent pure Nexus, most recent apps, and image

Used the most current stable supersu. Followed instructions you posted. Made sure to wipe everything. I currently can't get to my laptop but if you need the exact files I'll get them tomorrow at work.

One copy has option to disable app and the other had the option to delete.

Thank you very much for the quick response :)
[Nexus 6P General] Heisenberg:
It's most likely due to the gapps that you flashed, I'm guessing it didn't remove the existing apps that it was duplicating.
[Nexus 6P General] nathanchance:
I am guessing that you restored data from Google, which in turn most likely brought down the Google Dialer (the second package), Contacts, and Calculator, in contrast to the AOSP Dialer, Contacts, and Calculator that are included with all custom ROMs. You will just need to uninstall one of the two (the Google ones really don't have any extra features from the normal ones).
[Nexus 6P General] RMassa01:
OK so it's safe to delete the extra ones that have the option to uninstall the (Google) copy?
[Nexus 6P General] nathanchance:
Yes, it should be.
[Nexus 6P General] mobileman88:
Would it be possible for me to restore the TWRP backup of a particular 6P to another 6P assuming that bootloader, rom, radio are all the same versions? restore system, boot and data but not EFS?
[Nexus 6P General] logic88:
I've read that you can restore a back to another device except there's one huge problem. The fingerprint sensor will not work after you restore another device's backup.
[Nexus 6P General] nackio17:
Hi, I need help with an issue with ADB. ADB doesn't recognise my 6P, as it shows Unauthorised, I have tried switching on and off debugging, and mostly everything... I have also tried putting the phone in MTP or in PTP or in only charge... Anything... I finally rooted it with Nexus Root Toolkit, but I want to change things an do backups via ADB as I have always done. Would you mind helping me? I have tried everything... it took me all the day to root it, just for this :(

PS: I have downloaded ADB via SDK (I have also tried a lot of different tools to see if it could work with them), and I have the drivers, also via SDK.

Thanks
[Nexus 6P General] logic88:
Did you authorize your computer when you connected via USB?

http://i.stack.imgur.com/MPh73.png
[Nexus 6P General] nackio17:
That is the problem, there is no notification for me to do that, I haven't seen that popup... Is there any way to force that it appears?

Edit: might be a problem of my computer as with other phone I have the same issue
[Nexus 6P General] mobileman88:
Thanks man. Will read a bit more before doing it. Will have 2 6P devices for these couple of days before i send the one with the faulty screen in.
[Nexus 6P General] nackio17:
I have tried other program that also requires RSA authentification, which is MobileGo, and I can't see that RSA either... What can I do?

Could be a problem of windows 10? If it could be, how could I solve it?
[Nexus 6P General] nackio17:
Sorry about this, but I need help... I don't have more ideas. I have a virtual machine with w7 and adb works there, why on my main w10 it doesnt?
[Nexus 6P General] dark3bod:
does sideloading full image with ADB wipes internal storage?
[Nexus 6P General] SlimSnoopOS:
Nope.
[Nexus 6P General] logic88:
Here's a thread from a user who restored from one 6P to another 6P.

http://xdaforums.com/nexus-6p/help/nandroid-backup-6p-to-6p-extra-storage-t3371249

---------- Post added at 04:37 PM ---------- Previous post was at 04:36 PM ----------

Is the VM on the same machine? Have you tried switching drivers?
[Nexus 6P General] nackio17:
The VM is on the same machine, the main machine is W10 and the VM is W7. Which is the better way to choose what drivers I uninstall so I can install them again? (I think you are saying that with 'switching') Thanks a lot for the answer!!!
[Nexus 6P General] mobileman88:
Noticed the same exact issue with them after trying each of the combinations below twice.

Fingerprint reader will not work no matter what. This needs further research.

Seems like this is quite true. Once fingerprints have been used, even deleting/disabling it does not seem to allow the restored backup to configure finger prints again. I have 2 sets of 6P. Let's say A & B.

1. Backup A with Fingerprint and restore to B

Result : Fail

Delete Locksettings

Result : Able to unlock and set pattern lock but setting fingerprint will always not be able to register new fingers, use current fingers or delete earlier registered fingers

2. Backup A without Fingerprint and restore to B

Result : Fail

Delete Locksettings

Result : Able to unlock and set pattern lock but setting fingerprint will always not be able to register new fingers at all

3. Backup A without any security of pattern lock or Fingerprint and restore to B

Result : Fail

Delete Locksettings

Result : Able to unlock and set pattern lock but setting fingerprint will always not be able to register new fingers although it says no fingers registered. Keeps saying "Unable to complete registration".

Seems like as what a few other members have encountered. all TWRP restores to a new device will result in the fingerprint reader being totally useless. Will have to do restores with Titanium Backup on a newly setup 6P till someone figures this out.
[Nexus 6P General] smallthings:
question about guide

In the first post, it references

I don't see "Android Support Library" as an option. Is it supposed to be "Android Support Repository"?

Much thanks for this guide.
[Nexus 6P General] logic88:
I just installed a fresh copy of Win 10 Insider on a spare machine and it was able to trigger a debug request using the standard Microsoft MTP drivers (from 2006!) so it's odd that it's not working on your system.

You can always try Koush's universal driver.

http://www.koushikdutta.com/post/universal-adb-driver
[Nexus 6P General] nackio17:
Thanks again for replying [MENTION=2131593]logic88[/MENTION], really appreciate this. I have installed Koush's Universal Driver but it still gives me the "unauthorized" message... I don't know what is the problem, I'm really upset about this, should have been working since the begining but I can't make it work yet... If you think about other option, would be awesome.

PS: for a clean install of the drivers I have used USB Deview.

Thanks a lot
[Nexus 6P General] hamzaintrouble:
Hi,

I have been searching for two days now how to get past ERROR 7 in TWRP but for the love of everything i have not been able to move on. I have reset the phone. locked and unlocked it again, installed different versions of TWRP. I've followed this guide over and over and it always gets stuck at ERROR 7.

More background: I'm trying to install Paranoid Android and i have flashed the correct vendor image as well. And it's not just with Paranoid even honestly. I tried to flash CyanogenMod as well and still get the ERROR 7.

I did use the Nexus Root Toolkit before but i stopped using that after i read Heisenberg say not to use it. Might that affect this?

Any help and insight would be appreciated.
[Nexus 6P General] greyhd:
OA is based on the May vendor, did you wipe everything before flashing?
[Nexus 6P General] hamzaintrouble:
Yes i did. I'm currently flashing everything from scratch for the May release.

Update: I went back to stock and everything and flashed TWRP again and tried to flash PA again but it still got ERROR 7.
[Nexus 6P General] greyhd:
Try a different Rom. Try Pure Nexus or the May Krexus build.
[Nexus 6P General] hamzaintrouble:
Pure Nexus Flashed successfully. No issue whatsoever. I flashed the vendor image and everything as they instruct. What would that mean?
[Nexus 6P General] nowbo:
Hi,

Last one week I suffered for which one is good rom for Nexus 6p.

Here your point:

1. You already done every thing and may be download every files you need.

2. After go to recovery mode. Just do advance wipe except internal storage. Then set beck one step.. Do the factory reset.

3. Now select Paranoid Rom zip file then flash. Wait to complete this.

4. Now select BaNkS_Dynamic_GApps_6.x.x zip file then flash.

5. Now flash the vendor image file.

6. After complete this go back to wipe option. And wipe again only dalvik and cache.

7. Reboot your device and...

Hope you will not get any error.

This process i use on my nexus 6p device.

Thank you.
[Nexus 6P General] hamzaintrouble:
I just tried this after you posted and it didn't work. Still got ERROR 7
[Nexus 6P General] nowbo:
Please check you message.
[Nexus 6P General] Heisenberg:
What's the full filename of the zip that's giving you error 7 when trying to flash?
[Nexus 6P General] Heisenberg:
Please don't conduct troubleshooting via PM, it's of no use to the community if it's hidden in an inbox.
[Nexus 6P General] hamzaintrouble:
I have tried to flash the following, getting ERROR 7:

pa_angler-6.0-20160606-signed

Slim-angler-6.0.1.alpha.0.1-WEEKLY-20160614-2004

cm-13.0-20160616-NIGHTLY-angler
[Nexus 6P General] nowbo:
Hi,

You just need to flash only 2 (two files)

1. pa_angler-6.0-20160606-signed

2. BaNkS_Dynamic_GApps_6.x.x_6-7-16_23-51

then wipe Dalvik and cache. \

after that reboot.

Please try this only..

Thanks
[Nexus 6P General] Heisenberg:
And they all give error 7? Are you sure you're wiping properly (system, data, cache, dalvik cache) before flashing? Are you checking the md5 of the zip after downloading to ensure no corruption has occurred during the download?
[Nexus 6P General] Heisenberg:
You're not properly understanding what he's saying. No offense, but the advice you're giving isn't correct and you're not asking the right questions to solve the problem.
[Nexus 6P General] hamzaintrouble:
Yes. Yes, I wiped them multiples times. I also did the wipe and reboot into recovery. I did not check the md5, because i didn't know what it was before you posted this and i looked it up. I checked them for the roms i have been flashing and the md5 checks out for both the "pa_angler-6.0-20160606-signed" and "Slim-angler-6.0.1.alpha.0.1-WEEKLY-20160614-2004", but i cant find where the md5 for Cyanogenmod is.
[Nexus 6P General] nowbo:
May be you are right. I'm already done this process and as you ask him about wiping properly is the right question.

After wipe all with out internal storage, I have also do factory reset then install new rom... You may understand what I'm try to say.

Thank you.
[Nexus 6P General] Heisenberg:
Ok, as far as I can tell you're doing everything correctly. Are you able to try flashing again and get a screenshot (or a photo) of the install log up to the point where you get error 7? Also, what version of TWRP are you using?