yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Android Development] HTC_Phone:
Got it all working. First clean flash didn't work, second time around did. All good and already looking good on the ROM. Great work! :good:
[Nexus 6P Android Development] :
7.1.2 on F2FS procedure

Here is exactly what to do to run SAOSP 7.1.2 on F2FS.

Each step and order is important.

If you need urls of those files, just ask.

Why use F2FS over EXT4 ?

Procedure if you come from EXT4

Flash twrp-3.1.0-7-angler-f2fs-20170311 (adb)

Flash bootloader-angler-03.67 (adb)

Flash radio-angler-03.81 (adb)

Boot into TWRP

Wipe : system, data, cache, and dalvik cache in Wipe > Advanced Wipe.

Format Data (The option where you have to type YES)

USB transfer onto your phone all ZIPs

Flash vendor_N2G47H (Install / Images / Vendor Image)

Flash saosp_angler-ota-4-9-17

Flash Mini_Dynamic_GApps-7.1.x-20170404

Flash flash-angler-20170403-1810

Reboot & complete setup wizard without setting any screen security (pattern/PIN lock/fingerprint)

Boot into TWRP

Backup data & move backup to your computer

Wipe data & cache in Wipe > Advanced Wipe.

Change file system on Data & Cache to F2FS in Wipe > Advanced Wipe.

Reboot TWRP

Go to settings and check "Use rm -rf instead of formatting"

Move backup to phone

Go to Restore data, check MD5 & restore it

Reboot TWRP to make sure that the partitions are still f2fs

Reboot system (this one can take a while)

Flash any other MODS needed (Magisk, SuperSU, Viper4Arise...)

Reboot

Procedure if you already are on F2FS

Flash twrp-3.1.0-7-angler-f2fs-20170311 (adb)

Flash bootloader-angler-03.67 (adb)

Flash radio-angler-03.81 (adb)

Boot into TWRP

Wipe : system, data, cache, and dalvik cache in Wipe > Advanced Wipe.

USB transfer onto your phone all ZIPs

Flash vendor_N2G47H (Install / Images / Vendor Image)

Flash saosp_angler-ota-4-9-17

Flash Mini_Dynamic_GApps-7.1.x-20170404

Flash flash-angler-20170403-1810

Reboot & complete setup wizard

Flash any other MODS needed (Magisk, SuperSU, Viper4Arise...)

Reboot

Thanks for your work [MENTION=4770534]snak3ater[/MENTION] :good:
[Nexus 6P Android Development] king_david43:
I don't think you have to do this if you already have f2fs up and running from a previous rom.
[Nexus 6P Android Development] :
You're right, this guide is for people coming from EXT4 rom or stock

guys already on F2FS roms know what to do ;)

i'll update the post with both procedures
[Nexus 6P Android Development] snak3ater:
Pushed new update

saosp_angler-ota-4-09-17.zip

For now flash the Gapps package linked below. Working good with 7.1.2 based builds.

Mini_Dynamic_GApps-7.1.x-20170404.zip

Flash latest vendor N2G47H .

Major changelog is in OP.

For detailed changelog..Check 'About phone' settings.
[Nexus 6P Android Development] pa.pn2:
Is this different to the one in your afh folder?
[Nexus 6P Android Development] snak3ater:
Yes it's different than the 8th April build
[Nexus 6P Android Development] Kaherdin:
Ok, since you wrote such a great tutorial (like in the old xda-days) I wonder if you might want to link to "flash-angler-20170403-1810"-file?

PEACE?
[Nexus 6P Android Development] forumcr:
Here you are

https://xdaforums.com/nexus-6p/development/kernel-ninja-kernel-v1-0-t3437247

http://nchancellor.net/Downloads/Kernels/flash-angler-20170403-1810.zip
[Nexus 6P Android Development] snak3ater:
So any issues found in latest build?

Need feedback ?
[Nexus 6P Android Development] Donric13:
Works flawless and smooth. No problem after a clean flash with custom dynamic gapps (kantjer) and latest TBO. The quitness in this thread means everything okay and nothing to report..... Flashed it with flash kernel and magisk (using f2fs) . Thanks to the dev! Great work as always.
[Nexus 6P Android Development] victorwalter:
Dirty flash on april 08th build so far so good :good:
[Nexus 6P Android Development] HiM@L:
gonna flash over the weekend.

how does new dashboard look?

screenshots time.

update: saw in OP. looks good.
[Nexus 6P Android Development] urphonesux:
Where is the pulse settings in the latest build. I really love pulse
[Nexus 6P Android Development] HikingMoose:
This doesn't have pulse. It kinda looks cool, but it's mostly and aesthetic waste of coding lol. We're keeping this ROM light and smooth with just the most useful to everyone features.
[Nexus 6P Android Development] urphonesux:
Ahh no worries. I've installed muviz but honestly pulse seemed more accurate. My phone is my media center in the car so that is the only reason why I am noticing it. I was going to start playing with navbar buttons today but I flashed first thing this morning and now im seeing that they are gone as well. I can definitely say that the new build feels very stable and I thank you guys for your work. I tried to dirty flash it at first but android phone kept crashing. I figured it was because I had arise Deuteronomy installed though and went ahead and wiped everything. Now I have arise and Dolby installed with a million profiles lol, magisk running and passing safety net, and I've set everything up the way I like it. 112 apps in all. I need to figure out how to get titanium backup working again now :eek:
[Nexus 6P Android Development] :
Just a weird thing for me, i think it's Gapps related, not ROM, because i already experienced that on Pure Nexus a few months ago.

The weird thing is each time i turn ON location (High accuracy) via toggle or settings, i'm getting the "Improve Location accuracy" popup (and have to "accept")

The popup : http://i.imgur.com/3pqW7Fg.png

I haven't this bug on SAOSP march 12 version / Gapps feb 15, but it's back on my current build (SAOSP april 9 / Gapps april 04)

If someone can help with that...

Maybe it's a setting i set or not set (ex: at the end of setup wizard, i untick everything)
[Nexus 6P Android Development] kyzn:
Minor annoyances mostly.

1. Google Assistant was crashing during setup. I was able to enroll voice after a reboot. Clean flash and used recommended GApps linked.

2. Forced encryption after flashing the ROM. Maybe I should've flashed ElementalX with the ROM instead of letting it boot first.

3. Phone wasn't registering any of my taps or gestures or swipes. I was stuck staring at my desktop for a couple of minutes. A reboot fixed the issue.
[Nexus 6P Android Development] musashiken:
Oops. Scrap what I said. I'm still on the April 8th version.
[Nexus 6P Android Development] HikingMoose:
Navbar tuneables are under system settings in the pre-7.1.2 builds, so check in there. (You know the whole "hold the gear icon until it unlocks system UI tuner" thing).
[Nexus 6P Android Development] godelsproof:
Please Let me confirm.

Is saosp_angler-ota-4-9-17.zip work f2fs data/cache?

I dirty flashed over saosp 0312 f2fs data/cache,

clean flash with factory reset,

both boot problem

(dirty:google logo then reboot,clean:endless boot animation).

I know,more information(log,etc.) is need.

Sorry but Just let me cofirm latest build work f2fs or not.

Thanks for advance.
[Nexus 6P Android Development] forumcr:
I am running latest build with f2fs data/cache without any issue
[Nexus 6P Android Development] :
Yes it works ?

if you have any issues, clean flash
[Nexus 6P Android Development] Donric13:
Did you flash another kernel like flash kernel? I don't know if stock kernel in this rom supports f2fs. I am using flash kernel which officially supports f2fs.
[Nexus 6P Android Development] pa.pn2:
After the new update Titanium backup doesn't load up anymore.anyone else?it just hangs

If u need any logs let me know
[Nexus 6P Android Development] arq7203:
Titanium backup works just fine here.
[Nexus 6P Android Development] pa.pn2:
Which gapps do you use?magisk or supersu?worked for me before in build 08/04
[Nexus 6P Android Development] arq7203:
I'm using "Mini_Dynamic_GApps-7.1.x-20170404" and supersu 2.79-SR4.
[Nexus 6P Android Development] ecsnead69:
Do you have a link for SuperSU SR4?
[Nexus 6P Android Development] arq7203:
Here
[Nexus 6P Android Development] :
you should consider using Magisk (open source, "hide" mode...) instead of SuperSU (proprietary solution own by a Chinese Corp...)

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
[Nexus 6P Android Development] Sheetzie03:
Hey [MENTION=4770534]snak3ater[/MENTION] thank you! Was waiting for this because I couldn't find anything else I wanted to run but your work. Appreciate it man.

And a side note, tried f2fs for a 2nd time as i tried it the 1st time, and imo, was mostly hype. So I was getting reamed in another thread about saying this exact this about f2fs, as if that specific feature belonged to them or they developed it. So I said let me try one more time, even tho what i already believe is its 'mostly' hype and placebo. Better read/write speeds, that's the only thing that's measurable. Everything else? personal interpretation. And in my personal interpretation, Not worth it. So yeah, back to ext4 and running perfect, identical to the prior f2fs I tried for a 2nd time.

Again snake, thank you man, for everything you've done and keeping this going, I think its about time for a dono!
[Nexus 6P Android Development] ApoelEllhnwn:
Magisk doesn't pass SafetyNet. Any help??
[Nexus 6P Android Development] pa.pn2:
Did u activate magisk hide in settings?
[Nexus 6P Android Development] :
i think the improvment is minor, but not placebo

take a look at this post from a known xda contributor here

it's not personal feeling, it's benchmark

Why use F2FS over EXT4 ?
[Nexus 6P Android Development] ApoelEllhnwn:
Yes everything that i must do i do. But no pass SafetyNet
[Nexus 6P Android Development] mrjake1970:
turn off usb debugging in developer options.. i am passing fine..
[Nexus 6P Android Development] ApoelEllhnwn:
It's turn off
[Nexus 6P Android Development] pa.pn2:
Did a clean flash after my Titanium probs.

Now safetynet doesn't pass for me either and i cant set my fingerprint lock anymore.lol
[Nexus 6P Android Development] Balino:
Latest version is working perfectly. Battery life seems better as well . Thank you for the update...
[Nexus 6P Android Development] mrjake1970:
may want to clean flash again.. i came from SASOP 7.1.1..

i clean flashed (wiped system, data, cache, dalvik) twice..

flashed vendor, then rom, and recommended gapps.. booted and set up gapps..

reboot to recovery, flashed 4/3 version of "flash" kernel, and then magisk 11.0...

booted to homescreen, shut off usb debugging.. waited for magisk app to restore..

went to magisk app, turned off hide, then turned it back on..it prompted me to download updated version 12..

updated automatically, rebooted, and everything works..

been on this for about 24 hours now.. no bugs that i can find... everything running smooth and normal..

i restored some data and apps from TiBu and it works fine for me.. im not having problems with titanium like some of you.. restored apps and data i selected perfectly..not sure why some are having problems..
[Nexus 6P Android Development] ApoelEllhnwn:
I clean flash latest update with modded opengapps and flash magisk 12 and franco r50

Edit: It's ok now i clear "Clear repo cache" on MagiskManager and now SafetyNet passed
[Nexus 6P Android Development] gavincm11:
Quick Question

First off, thank you very much for the great guide. I am sure I have done something wrong, or messed it up somehow. When I try to flash the GApps file, it comes up with an error that it does not have 25. When I attempt to reload recovery and try again, either the system partition or the data partition has changed back to ext4. I know that it is kind of a vague problem, but do you have any idea what I am doing wrong? Thank you in advance.
[Nexus 6P Android Development] HiM@L:
are u using the right gapps.

https://www.androidfilehost.com/?fid=457095661767152279
[Nexus 6P Android Development] gavincm11:
Yes sir, that is the GApps I am using. I get the error that reads:

mount: failed to mount /dev/block/platform/soc.0/f9824900.sdhci/by-name/system at /system: Invalid Argument

unmount of /system failed; no such volume

if that helps you help me at all. I know I have backed everything up correctly, and wiped, formatted and done the list of instructions three times now. It is when I go to install the update and GApps that I run into the issue.

EDIT:

Figured out I shouldn't format /System to F2FS. Causes bootloops. Does anyone know if it is a full NANDROID backup that is done, moved to the computer and eventually restored?
[Nexus 6P Android Development] HikingMoose:
I've spent 2 weekends trying to get f2fs to boot, and it hasn't booted once yet. I always have to fastboot stock, because anything less has tons of issues. You'll ever need to wipe your card most likely...

It's funny how stuff on your sd card can prevent a phone from booting. But I also spent almost 2 hours trying to get the 7.1.2 build of this to boot lady night. Nothing worked, and I tried 30 different combinations. Then this morning I banged up my card and did a full factory data wipe (the one that wipes your card), and it booted first try.
[Nexus 6P Android Development] gavincm11:
I got the April update to load no problem on ext4. I can't get F2FS to boot no matter what I do. I have wiped and formatted so many times today I lost track.
[Nexus 6P Android Development] HikingMoose:
I think some phones just can't run it. No idea why there's such a hardware difference, when they're all supposed to be identical. But this is not the only instance of two 6Ps side by side and one being able to do things the other can't...
[Nexus 6P Android Development] HikingMoose:
Ok, after a day on 7.1.2, I'm so fed up with Google always finding ways to take steps backwards. They're very good at it. Why do they always remove features when they​ release new builds?

I've been having issues with web browsers​ on 7.1.2. they freeze up and pin my CPU cores at their max speeds. So I tried a couple others, and when I went into settings to wipe the app data and uninstall - there's no option to wipe data anymore. So all of those times even an app misbehaves and the first thing you do is wipe is data to see if it fixes it - now you can't! At least not within the settings of the ROM, you'd been Titanium Backup or something similar. WTF Google. Get your heads out of your butts.

(They remove useful features every time they make a new version).
[Nexus 6P Android Development] HiM@L:
I am in stock 7.1.2 now and i can see the setting to wipe, if that's what you mean.

check screenshot.
[Nexus 6P Android Development] HikingMoose:
That "manage space" is completely different. Click on it. It will offer you a bunch of things it can supposedly wipe, but if you choose them all, and wipe everything it allows, it still shows that the app data as being used there. The old version of "Clear Data" cleared the data and cache for the app, and returned them to 0.00. When I went to wipe my browser and delete it, it didn't show 0.00, it showed 7.8X mb still.

However, NOW I just went back in to get a screenshot myself, and - the "Clear ata" button is back. I'm beyond confused. I can't even find an app that has that "manage space" option now. Seriously, what on earth is going on. Can you go back into Apps and see if you still have "Manage Space" or has yours also switched to "Clear Data?"

Side note, I'm going to redownload the ROM and clean flash again for the 3rd time. Because I don't understand why browsers are so slow to load and freeze up all the time now. It's likely one of 3 things; the Flash kernel; 7.1.2 code; or the SAOSP build. But I don't think it's Snak3ater's build because his work is always so impeccable, and I also don't think it's the Flash kernel, but I'll clean flash and not use a custom kernel and try browsing. If it's still slow, I'm going to roll back to 7.1.1 for stability.
[Nexus 6P Android Development] HiM@L:
here you go:
[Nexus 6P Android Development] HikingMoose:
So bizarre. I had nothing of the sort. I had a list of things it could clear with check boxes. No buttons like that. I'm going to flash it again right now with different dynamic gapps.
[Nexus 6P Android Development] HiM@L:
are u on same chrome version as me ?
[Nexus 6P Android Development] HikingMoose:
I don't actually stopped using Chrome a couple months ago. I've been using CM Browser, and Opera beta. I've also used Apus some, and Dolphin. They all vary in their performance depending on their updates. One will be phenomenal, then it will get updated, and suck. So I try others until I find a good one, then it gets updated, and sucks too. lol But on 7.1.2 I tried 5 browsers and they all froze if I clicked an image in website I frequent.
[Nexus 6P Android Development] Mrcactuseater:
I finally got the 6P and I got it up and running with F2FS, SAOSP-N 7.1.2 and Flash kernel all going! However I'm noticing that the phone is randomly shutting off at different percentages, once yesterday at 50% and today at 24%. Is there any way to reduce or find a way to stop then?
[Nexus 6P Android Development] diddly3000:
Sounds like a bad battery
[Nexus 6P Android Development] king_david43:
I think there is a lawsuit being filed against Google about these early shutdowns and bootloop issues
[Nexus 6P Android Development] Mrcactuseater:
Might just replace the battery and hope for the best.
[Nexus 6P Android Development] HikingMoose:
How is 7.1.2 running for the rest of you guys?
[Nexus 6P Android Development] sforzandos:
Like 7.1.1 but with fingerprint swipe. Everything works well, even substratum.
[Nexus 6P Android Development] HikingMoose:
No issues with web browsers? What gapps did you use? The one's linked have been down since they release of this 7.1.2 build. So I have had to try others. I have a TON of issues with web browsers. They are super laggy and frustrating. They force my CPU to remain maxed out a the highest clocks, and certain webpages don't work at all. I've clean installed 3 times. Just flashed Nitrogen - same issue. I'm wondering if it's gapps. But I've used two sets of those too.
[Nexus 6P Android Development] igylan:
Working great for me so far with 7.1.2. I use the gapps on the DU thread on DevsBase. No problem with browser, using Chrome beta, Fingerswipe or battery shutdown and my 6p is almost 2 years old.
[Nexus 6P Android Development] sforzandos:
Nope no problems on my end. I dirty flashed though. The only change I've done was to use chrome stable (also my only browser) for webview implementation. Sent you a pm.
[Nexus 6P Android Development] HikingMoose:
Any chance it could be my 7.1.1 bootloader? I doubt you all have updated your bootloaders... But that's the last thing I can think of.
[Nexus 6P Android Development] :
[MENTION=4141782]HikingMoose[/MENTION]

My 7.1.2 is running as well as my 7.1.1 build, no problem with web browsing, i'm using Chrome Beta (as always) and a rock solid adblocking hosts file which helps loading webpage quickly

Everythning is up to date on my device (bootloader, radio....), if not on yours ? update everything

Fingerprint gesture works flawlessly (up and down) !!!

I personally wait for updated Dynamic Gapps for 7.1.2 builds from Beans, i think gapps from DU is just a patch 7.1.1 for wizard, not so sure about this package
[Nexus 6P Android Development] HikingMoose:
Fastbooted 7.1.2 stock and booted. Then rebooted to bootloader, and flashed recovery, and booted to recovery. Then I put the ROM, several gapps packages, and the flash kernel on the phone and flashed them. Booted up. Downloaded firefox, and....it still lagged, and froze, and gave me the pop-up I've been getting of an unresponsive script, something by google. I think google is doing something sneaky to try to force people to use their browser to help them track and log your every keystroke. I tried AOSP webview and chrome. So I've decided I'll just have to unwillingly use Google again.

I guess it's not a big deal to have to use chrome, I just really like being able to choose my browser. I don't think it's right that they can do things to prevent people using competitor's apps.

Edit: I spoke too soon. Chrome is freezing up and lagging as well. What is the deal with these "unresponsive scripts" that keep freezing up browsers? A lot of website are fine, I've only seen it on 3, bur one of those is a website I frequent almost daily. Would it be the website that is allowing these scripts, or is something google is doing (they always say it's a google script, not matter which browser)?
[Nexus 6P Android Development] :
Beans released it, i'm gonna clean flash SAOSP with it

https://plus.google.com/communities/106779856550530107480

https://xdaforums.com/android/software/gapps-dynamic-gapps-t3487192

---------- Post added at 10:33 AM ---------- Previous post was at 10:30 AM ----------

On what sites are you lagging?
[Nexus 6P Android Development] ecsnead69:
Anyone using Android Auto with the latest build?
[Nexus 6P Android Development] Kaherdin:
It worked with 711 build, but now it says it's not available in my country (Sweden)
[Nexus 6P Android Development] HikingMoose:
Several. The other night pepboys wouldn't work, I couldn't search for a part. There's another site which is mostly galleries of pictures that always load very fast, but since upgrading, it crashes and loads very slow. I'm just deal with it for now, and hope a fix comes out for the browsers.

The crappy part is that 7.1.2 actually feels noticeably smoother on everything except browsing the web. I've attached a screenshot showing a new things it's doing. It's really laggy right now, and I tried clicking on a link on Yahoo. The screenshot is the result.
[Nexus 6P Android Development] :
strange... i've just browsed yahoo.com and didn't noticed any lag or render problems

did you try chrome BETA or DEV or CANARY? just to see if there're some differences ?
[Nexus 6P Android Development] HikingMoose:
Yes I've tried chrome beta, never heard of the others. This will be my last post about it in here, I don't want to clutter the thread with of topic stuff. It's not the ROM, it seems to be new scripts that are on some web pages.

Yahoo is typically fine, but it screwed up and froze that once and had upside down text - truly bizarre, never seen anything like that before (that's not what I've been experiencing with the Google scripts that are causing the hangups). I'll go browse for other people that are having sudden issues with web browsing.
[Nexus 6P Android Development] Ovrclck:
Dirty flashed latest update. Running smooth. Thank you!!
[Nexus 6P Android Development] Mrcactuseater:
For those in here that use f2fs like myself, do you notice a performance improvement or battery life difference in comparison to ext4? When I got my 6P, I instantly formatted to f2fs and never bothered with ext4 and I'm getting mediocre battery. Just curious to what other people see.

I'm using the latest SAOSP-N, Hellscore and Magisk.
[Nexus 6P Android Development] HikingMoose:
You've got it to stick for that long? My phone won't even come close to booting with f2fs, so I can't help you. But that's remarkable that it's never reverted itself.
[Nexus 6P Android Development] Mrcactuseater:
Yes yes I used [MENTION=5196311]flash[/MENTION]'s twrp and followed the guide a couple pages back!
[Nexus 6P Android Development] Lawlrus:
You shouldn't see a difference in battery life from what I gathered, f2fs offers faster file transfer and for some people, they notice smoother performance with scrolling and such, this is not noticed by everyone though.

Battery life should be the same on both afaik
[Nexus 6P Android Development] HikingMoose:
HELLO...HELlo......Hello........hello.

Quiet in these parts. I thought some bugs were going to be introduced to give us something to troubleshoot? Haha
[Nexus 6P Android Development] longview41:
[MENTION=4770534]snak3ater[/MENTION] hasn't even had time to update the thread title from March to April, let alone introduce bugs.

:p