yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] DJBhardwaj:
I am in a habit, plus I don't keep much data on my 6P, so it is no issue for me.

---------- Post added at 03:48 AM ---------- Previous post was at 03:46 AM ----------

I don't understand, sorry. Make sure your device is in bootloader mode, when you execute fastboot commands, like the one i mentioned.
[Nexus 6P General] vng10:
Ohhh haha okay. thanks. My bad.

So then after running that command, you flash twrp via fastboot?
[Nexus 6P General] DJBhardwaj:
No problem. We all can be careless at times. :highfive:
[Nexus 6P General] bouchigo:
Here's a boot.img I modified for myself to remove force encryption and verity checks for the Preview 2 release if any one needs it :good:

Extract the boot.img from the zip.

File: http://www.mediafire.com/download/64cqr7ef6in5lbs/angler-npc91k-decrypted-no-checks.zip

MD5Sum (of zip file, not boot.img inside): 17767d37573bc747f0434b4aa67c6b70
[Nexus 6P General] betovanbuuren:
Thanks, will give it a try
[Nexus 6P General] trickinit:
Sorry for my lack of experience with this, but flashing it will make it so I can boot into TWRP? And I'm basically just giving up the encryption on my device, meaning it's less secure?
[Nexus 6P General] bouchigo:
Yeah, you shouldn't have any issues booting into twrp. If you are vigilant with what apps you install on your phone you shouldn't really have to worry about security, but yes, not being encrypted does make you more vulnerable if you lose your phone, or something like that...no way around that. Just like you don't want to run your kernel as Permissive, but people do it anyway :good:
[Nexus 6P General] JP_93:
So by following these steps from a custom rom I can keep twrp and flash back if necessary?
[Nexus 6P General] casonswag:
Im encrypted right now can i flash that kernel and be able to boot into twrp? Or do i still have to wipe data?
[Nexus 6P General] sikorski:
Build NPC91K is live!

I guess that we will need to decrypt again.

Any tips to upgrade keeping all my info and apps?

I am decrypted, rooted and using AdAway.

Thanks!

EDIT: Found some info some pages back, will wait for a new decrypted boot.img (hope someone makes one soon)
[Nexus 6P General] bouchigo:
You have to format data if you don't want to be encrypted. The boot image will not decrypt for you, it just doesn't force encryption if you're already decrypted.

I posted one a few posts ago, just go back a little bit.
[Nexus 6P General] trickinit:
I flashed that but still get stuck at the splash screen for TWRP. If I can't get into recovery, I can't flash SuperSU to root.
[Nexus 6P General] bouchigo:
Are you decrypted? What version of recovery are you running? I've never had any issues with twrp. I'm running the latest right now.
[Nexus 6P General] tluley51:
I'm getting "Error!" after downloading and attempting install of the OTA. Not sideloading or anything, I just enrolled in the Beta program, it downloaded and fails. Have tried twice now.

I was on dev preview one for a bit, but it was too buggy so I went back to stock 6.0.1. Not rooted or rommed
[Nexus 6P General] nadiros:
A few posts above yours, yo. :eek:
[Nexus 6P General] trickinit:
Yeah it's still showing that it's encrypted. I thought that boot would decrypt it. Maybe I misunderstood. I've tried TWRP 3.0.0 - 3.0.2.
[Nexus 6P General] casonswag:
I guess u gots to wipe the phone for it to be decrypted with that boot.img I got a lot of stuff on my phone sucks having to back everything up and restore it I'll just wait
[Nexus 6P General] bouchigo:
Yeah it's a misunderstanding [emoji106]

Look at post #731.

---------- Post added at 06:46 PM ---------- Previous post was at 06:43 PM ----------

It will be like that no matter what boot image you use. If you want to be decrypted you have to format data, and then flash a boot image that doesn't force encryption, there's no way around that.
[Nexus 6P General] casonswag:
All i want is to be able to boot into twrp thats the main thing i dont wanna be unencrypted though i dont really care too much about that
[Nexus 6P General] kenshiroSG24:
Haha yeah blatantly!!! Enjoy, I'm downloading it now [emoji3]
[Nexus 6P General] BakedTator:
Can't use twrp or root...if im encrypted, it prompts for my pin, I enter it and it just never decrypts...if I'm not using encryption, it just hangs on the twrp splash screen...I'm flashing the images in twrp and tried flashing the newest SuperSU with it but I don't have root

Any help with these issues would be greatly appreciated
[Nexus 6P General] DDHBanger:
Are there any layers that okay nicely on N preview? I tried Grounge but the colours were all over the place.
[Nexus 6P General] bouchigo:
It sounds like you're still encrypted. If you don't format data, and you were initially encrypted, then you will stay encrypted no matter what else you do.
[Nexus 6P General] DJBhardwaj:
TWRP is having a great deal of issues with N right now. Lets wait until TWRP comes up with a solution.
[Nexus 6P General] jaythenut:
So fastboot this install twrp and all should be good is that right
[Nexus 6P General] DJBhardwaj:
http://xdaforums.com/showpost.php?p=66348997&postcount=302

Reboot into bootloader

Connect your 6P to the PC.

fastboot flash boot boot.img

Once that is done, wipe the userdata.

fastboot format userdata

Finally reboot, and your device will be decrypted.

fastboot reboot
[Nexus 6P General] ilia1985:
You can root and install zip while encrypted through twrp simply by using sideload from PC. Just Google adb sideload
[Nexus 6P General] Basil 123:
Updated fine. Still unencrypted and data intact.

Camera app "can't connect" deleted camera cache and data, rebooted but nogo.

Any suggestions guys?

Thanks

Baz
[Nexus 6P General] DJBhardwaj:
What Google Camera version do you have?
[Nexus 6P General] Michael in ATL:
I continue to like what I see in N, but still have lag developing once I have opened a few apps. Poor memory management?
[Nexus 6P General] steviemch:
Haven't had many problems after updating, other than a few apps that did work, not working anymore (Adaway and Terminal Emulator). I also don't have the new folder icon look, so I'll probably clean flash everything again today.
[Nexus 6P General] ilia1985:
Adaway works if you install/flash in recovery it's systemless patch first
[Nexus 6P General] steviemch:
Thank you, totally forgot about that. I'm in the process of backing everything up for a clean flash anyway, there's a few little niggles I want to eliminate.
[Nexus 6P General] elreydenj:
No need to clean flash. If you dont have the new folders it is because you have the google app beta. You must roll back to the regular google app by leaving the beta test and uninstalling updates. Then you will have the new look....
[Nexus 6P General] steviemch:
That was strange actually as I'd unenrolled from the beta app last week. It seemed to take effect on my N7 but not my 6p..... Just uninstalled updates to the app and indeed, I have the new folder look.

Edit: Just realised I probably never even attempted uninstalling updates on my 6p before...... It's been one of those days.
[Nexus 6P General] DJBhardwaj:
Concerning me too. Only 4-5 third party apps installed, of which I haven't even started FB and Messenger. Already 1.9 GB used. Lets see what results pop up when custom kernels like EX and FK come out.
[Nexus 6P General] jcrutchvt10:
Anyone successfully achieved full root? Didn't get a full root with previous CF method.
[Nexus 6P General] DJBhardwaj:
Just flashed SuperSU 2.71, and tried EX Kernel Manager. Properly granted permissions to the app.
[Nexus 6P General] bmg1001:
Seems like Preview 2 is buggier than Preview 1. I used 1 as a Daily perfectly, but with 2 I've experienced hiccups with Camera and Clock. Camera says it can't connect but if I minimize and reload it, it works, and I flat out had to delete Clock using TWRP and install from Google Play.
[Nexus 6P General] ilia1985:
No issues here with either. Clean flash with decrypted boot image and rooted using latest supersu
[Nexus 6P General] bmg1001:
Same here. Besides those two apps everything else has been nice and smooth, and so far, neither have crashed so I think it's good now.
[Nexus 6P General] x.0ni.x:
Well guys I'm kinda screwed. My computer took a crap on me this morning and i don't have access tona computer to flash the latest preview. Can someone help me with being able to flash this in the latest TWRP. I've seen other members mention flashing it but can't find a guide on the instructions steps to flash in custom recovery. Please help. I'm not worried about losing data as everything i have is backed up. Just wanna use this preview and retain custom recovery and have a rooted N preview. If someone could gimme a link for instructions or pm me instructions I'd greatly appreciate it. Please PM as i don't want this clogging up the thread.
[Nexus 6P General] DJBhardwaj:
Yes you can do that.

Download the Factory Image on your device: http://developer.android.com/preview/download.html

Extract it using a archieve app (look for it on Play Store).

What you need is - system.img, vendor.img, and boot.img

Once you have them extracted, boot into TWRP.

Go to Install, and switch to Install Image mode.

Select the system.img file, and select System as the targeted partition.

Do the same for vendor.img (vendor partition), and boot.img (boot partition).

Optional: Wipe cache

When all done, reboot.

Alternatively, you can also opt for sideloading the OTA, or installing it through Flashfire app (in case your device is rooted).

OTAs could be found here: http://developer.android.com/intl/es/preview/download-ota.html

Don't worry about the thread. It is meant for this. I've PM'ed you as well.
[Nexus 6P General] jawonder:
Google is now providing zip files for preview two, so less work to do when installing http://www.droid-life.com/2016/04/1...eviews/?utm_source=dlvr.it&utm_medium=twitter
[Nexus 6P General] x.0ni.x:
I'm looking for the easiest method possible her good sir. I've downloaded the ota already but. If flashing the 3 specified images is easiest without me losing root and or losing twrp I'm all in. Also I'm unencrypted. And wanna keep it that way. So would flashing the modified unencrypted boot.img be my best bet to retain root and twrp along side the stock vendor and system image be my best bet? I also wanted to flash a custom N kernel should i flash after 3 images are flashed and after first boot?
[Nexus 6P General] steviemch:
Yes, flash the modified boot img rather than the stock one.
[Nexus 6P General] DJBhardwaj:
Go for the modified boot.img, I have the link here: http://xdaforums.com/showpost.php?p=66348997&postcount=302

Credits go to Tigerstown of course.

Since you're not performing any procedures to recovery partition, TWRP will still be there. And when the custom kernel you want comes to support the latest preview, you can just flash it over, as a normal procedure.
[Nexus 6P General] x.0ni.x:
Now this what I've missed about xda. Actual help without belittling. Thank you so much. I'm unziping the factory tgz image file now. So wish me luck I'll let you know how this goes. And again thank you.

---------- Post added at 05:39 PM ---------- Previous post was at 05:37 PM ----------

Holy vrap almost missed this post!!
[Nexus 6P General] DJBhardwaj:
That's the forum spirit. Glad to help, and no need for thank you (s) or the Thanks button. Just do let us know how this went. Good luck. :cool:
[Nexus 6P General] x.0ni.x:
I am so lost at this point. I went the b1 archive app you suggested and it shows no files. So i downloaded andro zip it showed the files i extracted the tgz file into a separate folder and all it shows is a large text file. Idk what I'm doing wrong here. So i down loaded the OTA zip file and was going to try it that way but I'm afraid I'll brick this thing and i have no computer to restore it if i do. I'm on dirty unicorns atm moment should i wipe my device and flash a stock marshmallow ROM before flashing the N OTA zip with the flashfire app? Sorry. This is just a lil frustrating. Trying not to lose root here or encrypt my device. I miss easier flashing days. :(
[Nexus 6P General] DJBhardwaj:
So you're actually stuck at extracting the files?

May be you can try ZArchiver: https://play.google.com/store/apps/details?id=ru.zdevs.zarchiver

Root may not stay, but you can get that just by re-flashing SuperSU v2.71. About encryption, I don't think you need to worry, since you're going to flash the modified boot.img, so your device must stay decrypted.
[Nexus 6P General] kk12002:
definitely buggier than before. plus battery is worse than before.. can anybody report battery stats
[Nexus 6P General] x.0ni.x:
YES YES YEEEEESSS!!! THERE WE GO!!! Up and booted!! Vision settings ehhhh????time to play. Thanks again!! Annnnd no data lossage sweeet!!
[Nexus 6P General] BakedTator:
Use naptime from the play store to reduce battery drain while the screen is off...make life good
[Nexus 6P General] DJBhardwaj:
Good to know. :highfive:

Cheers on the latest preview.
[Nexus 6P General] iamnotkurtcobain:
Can someone post the new Google Keyboard from the new N Preview Build?

Gesendet von meinem SM-G930F mit Tapatalk
[Nexus 6P General] senthilrameshjv:
Hi.. Anyone rooted dev preview 2. Are you guys able to restore using Titanium backup.. Mine just hangs.. Ppl said to change kernel to permissive. I'm using stock kernel rooted via cf auto root. When I set setenforce 0,device reboots and goes back to safe mode.can someone help?
[Nexus 6P General] casonswag:
Yea tbu not working here either :(
[Nexus 6P General] tungsifu:
Been running stock beta program since start, and I must say v2 is much smoother and less bugs...
[Nexus 6P General] DJBhardwaj:
--- Quote Removed - Sorry ---​

I believe many of you may have read this wonderful article. It explains lot, about why root apps may malfunction with Android N Preview. For those who haven't read already, please read.

http://www.xda-developers.com/android-n-testers-heres-why-your-root-apps-keep-failing/
[Nexus 6P General] tungsifu:
I'm not rooted on my 6p...
[Nexus 6P General] DJBhardwaj:
Oh, I am so sorry. I wanted to make a quick reply, and I think I mistakenly quoted you. My bad, sorry.
[Nexus 6P General] Kocai:
Settings app keeps FC every time I press on one of the details on Battery (other than Screen). Is anyone else experiencing the same issue?
[Nexus 6P General] DJBhardwaj:
Yes. Same here with me.
[Nexus 6P General] bigmew2:
What do you mean when you say you fastboot flashed back to V?

---------- Post added at 12:48 AM ---------- Previous post was at 12:41 AM ----------

What do you mean when you say you fastboot flashed back to V?
[Nexus 6P General] bouchigo:
Twrp working fine for me on N. You need a modified boot image that doesn't enforce encryption.
[Nexus 6P General] bgboii:
Where did you find the modified boot.IMG. or which one did you use?
[Nexus 6P General] jaythenut:
yeah need a link for that :D
[Nexus 6P General] bouchigo:
I modified it myself.
[Nexus 6P General] bgboii:
Do you think you can share it on here?
[Nexus 6P General] shiv.maneyapanda:
I was on stock rom and rooted. I opted for the beta test program and got the OTA. The update was downloaded and guess what- the update was installed via TRWP :) All working fine and smooth now. No root though. I think i can live without root for a while :) Peace :)
[Nexus 6P General] bouchigo:
You're going to have to format /data since you're already encrypted.

File: https://www.dropbox.com/s/2wd95tc4hwuta66/boot.img?dl=0
[Nexus 6P General] CitySlicka:
Make a back up of current setup, go back to complete stock everything and accept update. Unenroll device from beta program when finished testing, reroot device and restore backup.
[Nexus 6P General] bgboii:
Damn really? That's what I didn't wanna do.
[Nexus 6P General] 220volt:
Can you flash systemless root with twrp if you use this boot.img?

Skickat från min Nexus 6P via Tapatalk
[Nexus 6P General] bouchigo:
No, neither method works... systemless or regular system root.... but you can use twrp to make backups, etc.
[Nexus 6P General] 220volt:
Ok thanks.

I think I will wait to try N preview when is possible to root.

Skickat från min Nexus 6P via Tapatalk
[Nexus 6P General] bouchigo:
You'll probably have to wait a while. I don't think chainfire is going to drop everything he's doing to get root going on N, if it's even possible.
[Nexus 6P General] JamieD81:
This root works.

http://xdaforums.com/android/software-hacking/wip-selinux-capable-superuser-t3216394
[Nexus 6P General] iron maiden:
Hello very thanks I flasing fastboot

regards

Hello root working in N? thanks

regards
[Nexus 6P General] bouchigo:
I don't really want to run my kernel in permissive mode, but I guess it's the only way right now. I'll probably just go back to Marshmallow as N is still very beta, and not too much special about it at the moment.
[Nexus 6P General] bgboii:
Which one did you use?
[Nexus 6P General] kenbrownstone:
Su-eng is what I used.Thought that is the one he said.Couldn't get busybox to work.Maybe it's because it's in permissive.Ive got to find the difference in enforcing and permissive.
[Nexus 6P General] mrhizzo:
How to revert back to the Android Marshmallow?
[Nexus 6P General] bouchigo:
Check out this thread, particularly post #7. You can apply it just long enough to restore with TiBu, then restore the original logd file...or simply leave it alone since permissive won't survive a reboot unless you run a script in /su/su.d to make it persist even after rebooting.
[Nexus 6P General] abhipc:
Anyone here with the K build but still the old style folders?

I was very keen to see the new look of folders but despite being on the latest build I still can't see it!
[Nexus 6P General] steviemch:
I did have the same problem on flashing K, turned out I had the beta version of the Google app, unenrolling from the beta programme and then uninstalling updates gave me the new folder style.
[Nexus 6P General] abhipc:
Yup that solved if for me too... Thanks mate!
[Nexus 6P General] Michael in ATL:
I cannot get stock or 3rd party camera apps to connect to camera on 6P. Strangely enough, they work on N6 with N Preview. Wiped caches in TWRP, but no effect on target. Any suggestions?
[Nexus 6P General] jaythenut:
Just got a Google update the app what they done to my folders there gone back
[Nexus 6P General] DJBhardwaj:
Roll out of Google app beta. Go to Settings > Apps > Google app and uninstall the updates.
[Nexus 6P General] jaythenut:
I uninstalled the update now lost my setup lol
[Nexus 6P General] DJBhardwaj:
So what's the situation right now?
[Nexus 6P General] jaythenut:
Well got old folders still and lost my setup so all sucks now lol
[Nexus 6P General] DJBhardwaj:
Oh.. haha. Words of wisdom - "Sometimes we need to loose something precious, to gain something priceless". :laugh: :good:
[Nexus 6P General] jaythenut:
Lol true but going to flash SuperSU tonight so clean slate and start again
[Nexus 6P General] steviemch:
Am I being dense or has the ability to set lockscreen wallpaper been in the preview since the beginning? Literally just noticed it, so I'm assuming it's a new (and welcome) feature considering its been on most roms I've used as standard?
[Nexus 6P General] DJBhardwaj:
Nice find! :good:
[Nexus 6P General] Michael in ATL:
Mate, I've been here for 5-6 years, and there are many helpful (and some NOT so helpful) folks here. That said, you're tops in my list. Between your helpful attitude plus kindness/patience, and all the great info on your site, you deserve these accolades and more. I'm grateful, and you are an Android :angel: !
[Nexus 6P General] steviemch:
I know! About bloody time!
[Nexus 6P General] force70:
I agree, DJ should be given RC status in my opinion.

Sent from my Note 5 or Nexus 6P
[Nexus 6P General] DJBhardwaj:
Fortunately, I had it till a few months ago, but the title was removed due to my inactivity at the forums (had my graduation and intern-ship lined up). It is good to be back, especially around with users like you and Michael. Thank you :)

Now, back to topic, since we don't want a moderator to issue an infraction to either one of us, right?

EDIT: Sorry, I am out of Thanks for today. :rolleyes:

EDIT #2: I just submitted another application for RC, and got reinstated. :) Thank you all.
[Nexus 6P General] vng10:
I still cant seem to get Adaway to copy the host files. it says "Copy Failed". Any suggestions?
[Nexus 6P General] ilia1985:
Yes, Google "adaway xda" go to the thread, download and flash systemles patch. And it will work :)
[Nexus 6P General] BartLuke94:
Just a question.

If i flash the new preview, twrp and elementalx (is it possible? i did this with the old preview), i'll be able to flash the next previews without wipes?
[Nexus 6P General] DJBhardwaj:
Just make sure that you flash the EX kernel version that supports the latest preview. And you will be able to flash next previews, by flashing the new preview's image files through TWRP.
[Nexus 6P General] BartLuke94:
Ok thank you!

So, can i flash the latest preview with fastboot, flash the latest twrp, the right EX version, and i'm fine right?
[Nexus 6P General] DJBhardwaj:
Do you want to preserve the data on the internal storage, or not? Do tell me so that I can point out the exact steps.
[Nexus 6P General] BartLuke94:
Well, if it's possible, it would be nice to preserve it!
[Nexus 6P General] DJBhardwaj:
Okay, so you will need to download the Preview factory image.

Next, you extract all the files and connect your 6P to the PC using USB cable.

Since we don't want to touch the internal storage (/data parition), we will not be using userdata.img. We will also be avoiding the boot.img (kernel), since it will encrypt the device, and we don't want that. You just need three specific files, the system.img, vendor.img, and modified boot.img (that has forced-encryption disabled). For convenience, delete userdata.img, boot.img, cache.img, and recovery.img.

You can grab the modified boot.img from here: https://drive.google.com/file/d/0B4yuQy7Zn1WSVVJSbWpGaU1sTlU/view?usp=drivesdk

Flash using the following commands:

fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash boot boot.img
[Nexus 6P General] BartLuke94:
Thank you very much.

Now i'm on pure nexus with EX kernel (with MM version), and not on the android preview anymore.

Will this work?
[Nexus 6P General] DJBhardwaj:
Prior to the commands mentioned above, you will have to add a few more just before them:

fastboot format system
fastboot format vendor
fastboot format boot

It is advised to delete cache while updating, reduces the chances of any wierd issues afterwards. For that enter this:

fastboot format cache

Once the above it done, you will need to go ahead with the commands mentioned in my previous post.

When all is done, you can flash any supported N Preview custom kernel of your choice through TWRP.
[Nexus 6P General] BartLuke94:
Ok, so:

fastboot format system
fastboot format vendor
fastboot format boot

Then

fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash boot boot.img

Then kernel through TWRP and i'm done?

Last question: for the root?
[Nexus 6P General] e753:
Hi! I'm on pure nexus.

I downloaded the factory image and the boot.img unencripted.

How do u suggest me to install the factory image? by fastboot? How can I root it?

Thank you!
[Nexus 6P General] Milly7:
Follow the instructions just provided above your post.
[Nexus 6P General] DJBhardwaj:
Exactly! For root, you just need to flash SuperSU v2.71 through TWRP: https://download.chainfire.eu/932/SuperSU/BETA-SuperSU-v2.71-20160331103524.zip
[Nexus 6P General] BartLuke94:
Ok, did all your steps, but when i try to enter in recovery, i'm stucked in the TWRP logo.

Any idea?
[Nexus 6P General] DJBhardwaj:
Try switching to TWRP v3.0.0-0.
[Nexus 6P General] BartLuke94:
I've just tried and it's all fine!

Thank you :)
[Nexus 6P General] DJBhardwaj:
You're welcome. :highfive: