yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] todorcim:
Good luck, I was just talking to a guy on g+, he used flashfire to flash his ota, he said it worked like a charm.
[Nexus 6P General] jesssiii:
Happened to me too after flashing the N preview. Twrp became useless. I'm guessing new security in N. Fastboot flashed back to V then restored my Dirty Unicorn nandroid. All is well.
[Nexus 6P General] t2jbird:
If I'm not successful with this I'll try and use the flashfire method.
[Nexus 6P General] todorcim:
Can you not flash ota through stock recovery?

---------- Post added at 08:21 PM ---------- Previous post was at 08:13 PM ----------

Also chainfire is saying we could flash firmware with flash fire, like mobile Odin http://xdaforums.com/general/paid-software/flashfire-t3075433
[Nexus 6P General] t2jbird:
If you're on a custom ROM don't waste time downloading the system update through the beta program ?
[Nexus 6P General] :
Has anybody tried booting TWRP 3.0.1-0? I'm stuck on the TWRP splash screen. /data is encrypted
[Nexus 6P General] jaythenut:
Yeah had no problems here just flashed in twrp and all working fine
[Nexus 6P General] :
What's your setup on you 6P?

Edit: Wait you flashed the new TWRP image in TWRP?
[Nexus 6P General] jaythenut:
Yes flashed twrp in twrp lol I'm on w build
[Nexus 6P General] :
Are you encrypted?
[Nexus 6P General] DJBhardwaj:
Decrypt your storage by flashing the modified boot.img with dm-verity disabled. Then, flash TWRP.

Everything will work :good:
[Nexus 6P General] :
I'm trying to avoid factory resetting lol
[Nexus 6P General] jaythenut:
Yea I am
[Nexus 6P General] :
Then how did you flash twrp in twrp? You can't access the data partition
[Nexus 6P General] DJBhardwaj:
If you know the password, it will be fine, just enter it. If not, there is no other choice than disabling forced encryption, and decrypting. This WILL WIPE your complete internal storage.

---------- Post added at 12:25 PM ---------- Previous post was at 12:24 PM ----------

TWRP flashes to a different parition than /data. That is why he has been able to do so. :good:
[Nexus 6P General] jaythenut:
Well my twrp everything is working fine backup restore flashing and flashing IMG
[Nexus 6P General] :
I have a pattern lock, but it prompts me for a regular password.

And I mean he can't access /data, so how did he access the TWRP img file and flash it? You can't adb sideload an image file
[Nexus 6P General] DJBhardwaj:
Oh. Then I don't think he could have done that. I read somewhere about a workaround for your situation. If I remember correctly, draw the pattern on a 1 to 9 dialer, inside your mind or on a piece of paper. It will give you the required password.

However, this was my observation from a long back. Don't know if it would still work or not.
[Nexus 6P General] :
I tried that and it didn't work. I'm going to try a regular password to see if it works
[Nexus 6P General] DJBhardwaj:
Good luck :good:

I wish, Google had just removed forced-encryption.
[Nexus 6P General] :
Tried a pin, password, and pattern; no dice :( even tried "default_password"
[Nexus 6P General] Basil 123:
Have you tried to delete /data/system/locksettings.db?
[Nexus 6P General] :
No, did that get TWRP to decrypt /data successfully on the N Preview for you?
[Nexus 6P General] DJBhardwaj:
Are you using the N Preview?
[Nexus 6P General] Mikulec:
You can use OTG flashdrive and flash an image from there.
[Nexus 6P General] :
Yes, the latest

I can flash the latest TWRP image I just can't get it to boot, it gets hung up at the splash screen. I'm stuck on 3.0.0-0 because 3.0.0-1 and 3.0.1-0 don't boot past the splash screen.

I'm trying to avoid decrypting my data partition because I'm trying to avoid a factory reset.
[Nexus 6P General] DJBhardwaj:
Well, if nothing works. The last choice would be to backup data, decrypt, and restore the backup again.
[Nexus 6P General] :
That's the easy part! My problem is I have the 128GB version, and I use this thing as an external drive of sorts and I don't really have the place to put all my files elsewhere :mad:
[Nexus 6P General] DJBhardwaj:
You're so blown away :highfive:

Last thing, pray to God :p
[Nexus 6P General] force70:
Laptop, PC, large USB drive,micro SD card, external hard drive jeez dude its not like you don't have options.I even back up my entire device (all of them) to the cloud..no hardware needed.

sent from my Nexus 6P, Note 5, Nexus 6 or Note 4

---------- Post added at 11:16 AM ---------- Previous post was at 11:14 AM ----------

That would be better yes but why people don't just decrypt when they get the device is beyond me. It saves a lot of headaches later

sent from my Nexus 6P, Note 5, Nexus 6 or Note 4
[Nexus 6P General] DJBhardwaj:
For me, I actually do it instantly after I flash a factory image.
[Nexus 6P General] casonswag:
I flashed the latest build and im trying to get twrp but evrytime i flash twrp it just hangs on the twrp screen and doesn't boot all the way up into twrp what am i doing wrong?
[Nexus 6P General] fLipz:
read here Disable Forced Encryption and Decrypt Nexus 6P by [MENTION=3998397]DJBhardwaj[/MENTION]
[Nexus 6P General] jawonder:
Try using an older version of TWRP eg. 3.0.0-0 . Then after install and setup flash the latest version. Had the same problem when i first tried to install .
[Nexus 6P General] sam razzy:
Is the OP updated with latest ???
[Nexus 6P General] justin1221:
No
[Nexus 6P General] casonswag:
I tried that one but its asking for a password idk of a password for twrp?
[Nexus 6P General] jawonder:
Sounds like you need to decrypt.
[Nexus 6P General] DJBhardwaj:
Recent builds of TWRP 3.0.0, and 3.0.1 have that issue. It is basically regarding the input box, which has issues with masked input.

You will need to use v3.0.2-0.
[Nexus 6P General] indian84:
Dude a quick question. I am running Unrooted Stock Latest N preview (56W). I fastboot flashed it. Clean install. Wiping all the data. It was not important to me. I want to install TWRP (3.0.2.0).

If my understanding is correct, Now i can just reboot into bootloader, flash modified boot image by [MENTION=5317224]Tigerstown[/MENTION] by using fastboot flash boot boot.img. Then fastboot flash recovery twrp-3.0.2-0-angler.img

I can reboot in to TWRP within bootloader UI

And to gain root, I can just flash SuperSU Beta 2.71 and reboot in to System using TWRP.

Correct?
[Nexus 6P General] DJBhardwaj:
Exactly. :good:
[Nexus 6P General] indian84:
Cheers Dude. Out of thanks for the day. :P

So will write it down.

Thanks. :)

Another one, what happens when the next preview drops? Will there be a OTA Only flashable zip? Or i need to repeat my entire exercise?

Excuse my ignorance, I am coming back to Nexus after using OnePlus One. :P
[Nexus 6P General] DJBhardwaj:
When the next one drops, you can use Flashfire app or TWRP itself, to install the system.img and vendor.img from the factory image. In case there are significant kernel changes you can just wait for some custom kernel like franco or elementalx to post an updated N kernel with changes merged from upstream.
[Nexus 6P General] indian84:
Cool. Thank you very much again.

I see you have been very helpful (and patient) for all the users. :)
[Nexus 6P General] Shaglok:
Hello.

Sorry if that was previously asked. I did a search but find anything.

I have already root installed and working (I could install busybox, for example), but some apps like adaway and textdroider don't work. It seems I need rw permissions in system, so I changed it with root browser.

But I still can't use these apps. Am I missing something?

Thanks.
[Nexus 6P General] jamaniek:
For Adaway to work you need to flash this:

https://www.androidfilehost.com/?fid=24438995911977059
[Nexus 6P General] casonswag:
I tried that one but it gets stuck a the twrp screen
[Nexus 6P General] DJBhardwaj:
Is your storage encrypted?
[Nexus 6P General] sam razzy:
Hi Bhardwaj, I see you helping many, so I hope you can help me too. I just downloaded the beta 2 preview image from Android Official Developer website. Now I'm on a custom ROM. So how do I install this ? How to install this without loosing my data ? Is anyway using latest Twrp ?
[Nexus 6P General] aSquard:
if you've updated fastboot/adb you can edit the flashall.bat file and remove "-w" from the script, then run the flashall file to update. It should flash the preview and keep your data in tact. Otherwise...

1-boot into bootloader and flash the bootloader

2-fastboot reboot-bootloader

3-flash the radio file

4-fastboot reboot-bootloader

5-you need just system.img from the N Preview zip

6-flash the system

7-flash the boot.img from the N Preview zip

8-fastboot reboot
[Nexus 6P General] sam razzy:
I'm sorry if this thing already answered.. How do I update the Fastboot/adb ? ?
[Nexus 6P General] DJBhardwaj:
Okay, so this is what you do exactly.

Now that you have downloaded the preview factory image (angler-npc56w-preview-2834ca3c.tgz), extract it.

In the extracted files, you will see a file named 'image-angler-npc56w.zip'. Extract that too.

Connect your phone to the PC while it's in bootloader mode. Open a command-prompt window and make sure to 'cd' it to the location where all the files are present. Start by entering the following commands:

Erase the partitions:

fastboot erase system
fastboot erase cache
fastboot erase vendor

Start flashing:

fastboot flash bootloader bootloader-angler-angler-03.51.img
fastboot reboot-bootloader

fastboot flash radio radio-angler-angler-03.61.img
fastboot reboot-bootloader

fastboot flash system system.img
fastboot flash cache cache.img
fastboot flash vendor vendor.img

Now, I didn't ask you to flash boot.img for a reason. Once you flash that and reboot your device, it will encrypt automatically. So to avoid that, just boot into TWRP and flash franco kernel or elementalX version of N.

This way, you will neatly update to N preview, without wiping the userdata/internal storage and maintaining the decrypted environment. If something is unclear, let us know.

---------- Post added at 12:27 AM ---------- Previous post was at 12:25 AM ----------

Start SDK manager from your SDK folder, and redownload the platform tools.
[Nexus 6P General] sam razzy:
After installing Preview 2 with Wiping user data also my device shows only 24GB ?? Wtf ??
[Nexus 6P General] Kushdawg:
In theory should work but i haven't tried it without flashing everything.
[Nexus 6P General] sam razzy:
Please help me... My Nexus Device show only 24GB Left after flashing Android N with Formating UserData
[Nexus 6P General] Kushdawg:
Just had this problem hours ago go into twrp and format data should fix it [emoji6]
[Nexus 6P General] DJBhardwaj:
As the user above mentioned, go to TWRP > Wipe > Format data, and format the storage once.

Alternatively, you can also use the following command, for when your device is connected in bootloader mode.

fastboot format userdata
[Nexus 6P General] sam razzy:
I sorted that by doing a full system format and then flashed twrp and then Formated the system and again installed Preview N with your guide from your website. Thank you ...
[Nexus 6P General] DJBhardwaj:
You didn't have to go that long for it.

Actually, the userdata.img from the factory image is suitable for the 32 GB Nexus 6P. So, your storage spaced is reduced to show the corresponding. To fix that, you either have to use the command that I mentioned above, or do a simple factory reset from the stock recovery or TWRP.

But you can avoid this situation, by not flashing the userdata.img and simply let it be. This way, all the data on your internal storage will stay intact and you could bypass the hassle of backing up the data and restoring it back to the storage.

Also, you're welcome and it's good to know that you got it work.
[Nexus 6P General] sam razzy:
Seriously ? May be that was the issue. The second time after formating I didn't flash the user data image. May be that's the reason it didn't happen again. I thought formating the system solved it. Lol.. :D Thanks.. I followed your steps from your website. Your website is pretty neat. Thank u
[Nexus 6P General] DJBhardwaj:
Thank you again for all your appreciation. :good::highfive:
[Nexus 6P General] diomark:
any news of updates? I'm surprised the april security updates came out for the normal release before we get a new version to play with..
[Nexus 6P General] DJBhardwaj:
None yet. But we may see it soon.
[Nexus 6P General] dex2grigg:
Waiting...........
[Nexus 6P General] Basil 123:
It'd be a nice thing if someone could unzip and host just the needed bits when the update finally drops......
[Nexus 6P General] sam razzy:
I installed Marshamallow back but it says vendor image is out of date ? Any Idea ?
[Nexus 6P General] force70:
Edit: Never mind, no point some people never learn lol

sent from my Nexus 6P, Note 5, Nexus 6 or Note 4
[Nexus 6P General] sn0warmy:
Seriously? :rolleyes: This has been asked/answered at least 50 times in this thread. Read.
[Nexus 6P General] DJBhardwaj:
Just flash the corresponding vendor. You might have mistaken somewhere.
[Nexus 6P General] casonswag:
Yes
[Nexus 6P General] DJBhardwaj:
Disable forced encryption, then decrypt and try again.
[Nexus 6P General] casonswag:
Aaah thats too much work have to backup everything and restore everything is there any other way or can i decrypt and stay decrypted or something
[Nexus 6P General] DJBhardwaj:
No other way to decrypt. Flashing the modified boot.img will indeed disable forced encryption, but decrypting will only occur if you do a factory reset.
[Nexus 6P General] Degenerator9000:
Really excited to try the new build out
[Nexus 6P General] sn0warmy:
What new build? The NPC56W build is still the latest one available.
[Nexus 6P General] DJBhardwaj:
He meant the upcoming build ;)
[Nexus 6P General] Degenerator9000:
Yehh my bad

I realized this could be confusing after re-reading it

---------- Post added at 10:48 PM ---------- Previous post was at 10:44 PM ----------

Really just can't wait until N is finalized

My weekend run with W made me fall in love instantly, the new notification system is god-tier and it just looks so nice

I ended up going back to marshmallow though because too many apps I rely on weren't rebuilt for N
[Nexus 6P General] Fanaticalism:
Anyone here with the April security patch who enrolled and received the OTA?
[Nexus 6P General] trevorcobb:
No April security patch here yet. :(
[Nexus 6P General] matheus_sc:
Android n dont have this, will be a first beta release in this month
[Nexus 6P General] d3rutat:
Hi. Is anyone running Android N with twrp 3.0.2-0? If so, can twrp decrypt an encrypted Nexus 6P?

Thanks
[Nexus 6P General] DJBhardwaj:
Actually he meant to ask whether anyone here received the N Preview OTA on Marshmallow MCH19Q.
[Nexus 6P General] kenshiroSG24:
Either that or he was talking about the April beta release for N which should be due on the 17th.
[Nexus 6P General] Nasty_z:
17? How do your know that?
[Nexus 6P General] kenshiroSG24:
Because the latest was released on the 17th last month and so it will probably be monthly increments.

---------- Post added at 06:54 PM ---------- Previous post was at 06:53 PM ----------

http://www.androidauthority.com/android-7-0-update-679175/
[Nexus 6P General] Fanaticalism:
This!
[Nexus 6P General] sn0warmy:
Just because the last update happened to drop on the 17th of March, which was just 8 days after the initial release, doesn't mean the next update will "probably" be on April 17th. Google has given us no indication as to the dates of the updates. Saying that it will fall on the 17th is just baseless speculation.

It could drop any day, including today, for all we know.
[Nexus 6P General] kenshiroSG24:
Possibly but since the official updates for all Nexus phones have been on a monthly basis, this is why almost every website and forum are predicting the same for the preview. Would be a bonus if it's earlier but just need to wait and see.
[Nexus 6P General] Mikulec:
Just check the beta website, they stated that the updates will be released in 4-6 weeks.
[Nexus 6P General] abokamel:
I really can't get TWRP to work on my N6P , it freezes on TWRP logo forever!, any idea how to fix that?

Sent from my Nexus 6P
[Nexus 6P General] Michael in ATL:
What version of TWRP? You need v3.0.2 due to encryption, typically.
[Nexus 6P General] aayushshah96:
Hey, I'm running the preview build 2 in my 6p. Yesterday all of a sudden my phone rebooted and got stuck on the boot animation screen. I'm running on a fully stock build with bootloader locked and OEM unlock option in developer settings disabled so I can't flash any image.

I tried a factory reset from stock recovery but it still gets stuck on the boot animation screen. Please tell me what should I do. Will ADB sideload work for me if I've got the latest image already installed on my phone?

Edit: Is it applicable for warranty? Everything's stock and the N preview was installed via OTA
[Nexus 6P General] kk12002:
hi.. I'm running w build. I've noticed core 4 5 6 7 shows stopped always in cpu z. is this an issue? not sure if it was the same in M build. I've checked it running benchmark and unzipping files.. still shows stopped any solution? should I worry?
[Nexus 6P General] abokamel:
I have 3.0.0-2.img
[Nexus 6P General] JonasVFC:
i've the same problem (stuck in th twrp logo on init)
[Nexus 6P General] DJBhardwaj:
Try v3.0.2-0, and not 3.0.0-2.
[Nexus 6P General] lawtq:
Anyone tried the latest NPC91K yet?
[Nexus 6P General] jamaniek:
Downloading now ?
[Nexus 6P General] pablotiss:
OTA link

Does anyone have link to the April N preview for N6P? Thanks!!!!
[Nexus 6P General] KnifeSkills:
http://developer.android.com/preview/download.html
[Nexus 6P General] Tylog:
New Baseband 03.62

Bootloader is the same
[Nexus 6P General] jamaniek:
New folder icon ?
[Nexus 6P General] ReapinDevil:
I'm on Pure Nexus.How do I flash the new preview?

Thanks
[Nexus 6P General] dex2grigg:
Update for iPhone 2g only
[Nexus 6P General] jackpollard:
:laugh::laugh::laugh:

Funniest thing I heard all day!
[Nexus 6P General] pablotiss:
OTA link

For anyone trying to get zip (I removed http as it didn't let me use links): developer.android.com/intl/es/preview/download-ota.html
[Nexus 6P General] jlvlawrence:
By using fast boot.
[Nexus 6P General] ReapinDevil:
Can we flash the preview without losing data?

Thanks
[Nexus 6P General] troon95:
Hi, I tried the preview some time ago and rolled back to MM after some time, but now I would like to try the second preview.

The thing is that I opt in for the beta program, but I don't receive any OTA even when searching for updates manually.

Any solution besides manually flashing the image via fastboot?

Thanks.

PS: I'm on stock build MHC19Q and I have a locked bootloader.
[Nexus 6P General] Arzee08:
Yes but you will need to wait for decrypted boot.img first. What i do is extract the system image.zip from the .tgz file, open the image zip and delete boot.IMG and replace it with the decrypted one also delete recovery and user data zips, then use flashfire to flash.

So in simple

Extract system image.zip

Open it

Delete:

Boot.img

Recovery.img

Data.img

Insert decrypted boot.img

Then flash with flashfire
[Nexus 6P General] steviemch:
The questions you've been asking can all easily be found by using the search function, either on XDA or Google. E.g, I searched "flash Android n preview without losing data" with Google and found this article, after filtering for the past month only:

http://www.makeuseof.com/tag/everything-need-know-android-n/

That's just one example. I'm not posting this to be rude or condescending, but it's expected on xda that you do a full search before asking questions (especially if it's not an official Q&A thread).
[Nexus 6P General] swimdude1120:
I like the new look of the folders. Hope it sticks through.
[Nexus 6P General] ReapinDevil:
Thank you so much.

And I will search how much ever I can before posting. :)
[Nexus 6P General] Michael in ATL:
Android N Guides

http://www.droidorigin.com/install-android-n-developer-preview/ is also a great resource. He's awesome.
[Nexus 6P General] steviemch:
Personally, I'd advise clean flashing and wiping everything coming from PureNexus, to Android N. You may or may not have problems, so if you go ahead, back up in recovery for an easy restore.

Check out this thread, which has basically everything you need to know:

http://xdaforums.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928 :good:
[Nexus 6P General] nadiros:
Why couldn't we simply use the decrypted boot.img from the previous release? I'm sure it hasn't changed that much. That's what I'll be doing. I flash a custom kernel over it anyways. .
[Nexus 6P General] Arzee08:
Feel free to try and give feedback on your experience
[Nexus 6P General] sn0warmy:
I bet you've never been so happy to be wrong in your life! :laugh:

It's a good day for us Nexus users. Flashing the latest build now. :highfive:
[Nexus 6P General] bamfsig45:
That's my plan. If it fails just reflash the release, Or latest M img
[Nexus 6P General] aSquard:
I tried and it sits at the boot screen (did not flash a custom kernel though)... perhaps I'll try that next?
[Nexus 6P General] DJBhardwaj:
So far so good.

It is smooth

Multi-window is better

Recent cards now has a Clear ALL button on the top left.

Developer options > Convert to file encryption

A bit of graphical glitch while setting up WhatsApp.

Burst mode in Google Camera is working again.

:good:

---------- Post added at 02:22 AM ---------- Previous post was at 02:16 AM ----------

Please do not flash the boot.img from the previous build. The Kernel does have some new changes, specially when Vulkan (New 3D Graphics API) has been incorporated.
[Nexus 6P General] aSquard:
I just reverted back to the previous Preview build. I'll wait for a decrypted boot.img in the meantime :)
[Nexus 6P General] nadiros:
There's this option too for those who are brave :cowboy:

http://xdaforums.com/android/software-hacking/fix-fed-patcher-v8-forceencrypt-disable-t3234422

Found it posted in another thread.
[Nexus 6P General] DJBhardwaj:
Didn't work for me.

Someone else also tried?

EDIT: Wait, I forgot to format userdata after flashing the mod.

EDIT #2: Still didn't work. :rolleyes:
[Nexus 6P General] The Zel:
Did you find any bug?
[Nexus 6P General] DJBhardwaj:
Graphical glitch as I stated. Other than that, nothing for now. Will stick to it for a few more hours and see if there are other issues.
[Nexus 6P General] The Zel:
Thanks for replying! What about smoothness?
[Nexus 6P General] DJBhardwaj:
I would not say much about that, right now, but I did notice improvements while I switch between apps, and scrolling too.. Currently the device has no apps installed. Would Install a few more apps and check the stability and smoothness with a properly setup phone.
[Nexus 6P General] The Zel:
Sure thing. Please let us know how it's working for you
[Nexus 6P General] :
Is it just me or Android System WebView is disabled on both preview 1 and 2, I have tried enabling it manually but no luck
[Nexus 6P General] DJBhardwaj:
It is disabled for all. Google might be setting up something new.
[Nexus 6P General] trickinit:
I'm having the same problem and I'm on 3.0.2-0.
[Nexus 6P General] casonswag:
how do we root this if we cant get into twrp?
[Nexus 6P General] DJBhardwaj:
Flash latest SuperSU Beta: http://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
[Nexus 6P General] casonswag:
dont u gotta flash that in twrp i cant get past the twrp screen to flash anything?
[Nexus 6P General] DJBhardwaj:
Format userdata from bootloader, using the following command:

fastboot format userdata

It will boot then :good:
[Nexus 6P General] casonswag:
i was trying to avoid wiping all the data
[Nexus 6P General] DJBhardwaj:
Get used to it :good:
[Nexus 6P General] casonswag:
u shouldnt have to keep wiping the phone completely
[Nexus 6P General] vng10:
What's the best way to get the USB Debugging popup window to show up when trying to run the fastboot command? I cant get it to be recognized, it just says <waiting for any device>