yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Android Development] nathanchance:
I added them to my 6P kernel's queue, I can do that here as well.

1. You need F2FS support in the ROM as well. Everything is proper in the kernel (I added all the necessary commits straight from the official repo and added the line in the fstab) so there is nothing else for me to do.

2. You should be looking at the pages scanned numbers since full scans shouldn't be done often at all.
[Nexus 5X Android Development] SlimSnoopOS:
Just giving you a link. They are referring to this post from franciscofranco about some commits that he has included in his recent 7.0 kernel:

https://plus.google.com/u/0/+FranciscoFranco1990/posts/1GfCtVT4t2S?sfc=true
[Nexus 5X Android Development] mr.ace:
your f2fs commits is different from other kernels? because f2fs working in jolla and racer with any rom. (sorry for bother you with these questions)
[Nexus 5X Android Development] nathanchance:
I don't think so but I'll check. I'll probably just remove F2FS support altogether, it's 400 patches that almost nobody uses.
[Nexus 5X Android Development] vince.lupe:
Alco, how would I go about changing target_loads for 15, 20, 25, etc.? It gives me the option to only change it once (one number - default is 30). Looks like you have a good setup, and I do have EX Kernel Manager :victory:
[Nexus 5X Android Development] Alcolawl:
What? Type those values as one big string. Eg.

90 384000:37 460800:45 etc...
[Nexus 5X Android Development] Moto G User:
I can confirm that f2fs is working for jolla's kernel but doesn't work with yours. Currently using android 7.1
[Nexus 5X Android Development] nathanchance:
I have every single commit Jolla does. I'll try something with the fstab and send you a test build. If that doesn't work, I'm just removing F2FS support and people can use other kernels.
[Nexus 5X Android Development] Moto G User:
No problem I'll test the build and check if it boots
[Nexus 5X Android Development] vince.lupe:
Alco, thank you, man :) Only problem I am having now is that, after checking on each "Apply at Boot, " whenever it reboots, the settings don't stick. Not only that - but, whenever I change ZRAM settings to match yours, it automatically disables ZRAM and won't let me turn it back on.

Is there anything I am doing wrong?
[Nexus 5X Android Development] edoardotavecchio:
The One about zram it's a known bug. You have to reboot without applying anything under zram section and see, if zram works it's fine if not you have to reflash the kernel. You can't change zram size.
[Nexus 5X Android Development] vince.lupe:
So, in other words, if I reboot without applying anything to ZRAM, and it doesn't disable itself, then I can change things in ZRAM and it will stick?
[Nexus 5X Android Development] edoardotavecchio:
Nope. You can't do anything. You can only change swappiness and choose to disable/enable zram, but once you've disabled it, to enable it, you have to disable "apply on boot" option for zRam and reboot.
[Nexus 5X Android Development] vince.lupe:
Okay, thank you, edo :) Last question is, how do I get the settings to stick if they reset after reboot?
[Nexus 5X Android Development] math.rangel:
I've tried tweaking that but with no success. And I'm reporting this on stock 7.0, I know the 7.1.1 beta is not supported
[Nexus 5X Android Development] Carach_CZ:
Is this CM 14.1 / AICP compatible? Thanks.
[Nexus 5X Android Development] pbailey212:
No, it might work, but most likely will have camera issues.
[Nexus 5X Android Development] halimhamdan:
i used it with cm14.1 nightly. all good no error occur. hope this help
[Nexus 5X Android Development] parthabhatta:
Check video recording and try to save that.
[Nexus 5X Android Development] halimhamdan:
tried even with slowmo. no issue. :)
[Nexus 5X Android Development] parthabhatta:
Good then. In 7.1.1 this kernel fails to save recorded video and it is also not officially supposed to support the same.
[Nexus 5X Android Development] luckana:
Hello guys. I kinda saw this kernel as the new thing and decided to give it a try. So far so good, seems to be on par with phasma performance wise (comparing it to phasma since no kernel has ever surpassed phasma in regards of fluidity i dont know why)

I wanted to ask someone who has fiddled with settings to tell me some fine adjustments. I am now on chill governor for both clusters, maple i/o, readahead 512kb
[Nexus 5X Android Development] halimhamdan:
maple i/o, intellactive on lil cluster and chill for big. also check alcolawl personal tweak. i took the hotplug n cpu boost setup from him. oh btw my profile is glassfish. so far SOT 4hrs on tupac's stock. :)
[Nexus 5X Android Development] tassos_chry:
I think glassfish is made and supposed to be used with the interactive governor.
[Nexus 5X Android Development] perrocaliente:
That is correct
[Nexus 5X Android Development] halimhamdan:
damn didnt know that ._. hawktail then?
[Nexus 5X Android Development] Midomad:
All are for interactive ;)
[Nexus 5X Android Development] nathanchance:
There is no profile for chill. Though it's not really necessary since it is already pretty optimized. In fact, Glassfish wasn't even applied since you weren't using interactive so nothing will change.
[Nexus 5X Android Development] halimhamdan:
Thanks flash! ill change to interactive then :D
[Nexus 5X Android Development] g3minII:
I flashed your kernel on the updated PureNexus Rom 11/16/16 but in the info it still says PureNexus kernel.

I know flashing it was successful and it feels like your kernel because everything is snappy but I'm not sure

Edited: Never mind. I've wipe system and reflash the rom and gapps. Now everything is fine[emoji6]
[Nexus 5X Android Development] nathanchance:
I would recommend checking out the collaborative effort of [MENTION=2489052]NYCHitman1[/MENTION] and [MENTION=4752299]Alcolawl[/MENTION], DrunkSauce. Looking over the numbers, it should perform very well here :D
[Nexus 5X Android Development] NYCHitman1:
It certainly, certainly does. :D
[Nexus 5X Android Development] ulxerker:
sorry for the late response, but the deep sleep issue seems to be related with zram. if its enabled deep sleep works as expected, if its disabled the phone won't go into deep sleep.

dunno if its related in general but at least in my case it is, and it only happens with Flash Kernel.
[Nexus 5X Android Development] peltus:
Does flash kernel support init.d scripts?

I have cpu governor script in su/su.d with permissions set to 755 but it isn't executed at boot.

Any idea what I'm doing wrong?

Running latest PN ROM / flash kernel / supersu systemless.
[Nexus 5X Android Development] Midomad:
I noticed the same thing with drunksauce profile.
[Nexus 5X Android Development] bbgun7:
on purenexus I think you have to make a system/etc/init.d folder yourself, this kernel doesn't add any sort of init.d support, it depends on your rom
[Nexus 5X Android Development] peltus:
That doesn't seem to work either for me. Thanks anyway for your time. Since it's not kernel supported I'll ask in the interactive governor thread for further assistance.
[Nexus 5X Android Development] Sinistersky:
This wont work on 7.1 right?
[Nexus 5X Android Development] nathanchance:
AOSP 7.1: probably

DP 7.1.1: probably not
[Nexus 5X Android Development] Sinistersky:
When 7.1 or 7.1.1 comes out of DP, you think you will update it or not?
[Nexus 5X Android Development] nathanchance:
Absolutely.
[Nexus 5X Android Development] kojak1989:
this kernel supports kcal ?
[Nexus 5X Android Development] nathanchance:
Yes, it's notated in the OP
[Nexus 5X Android Development] kojak1989:
UKSM on or off and what does it do? because in your kernel default is off but most of the people recommended it on.
[Nexus 5X Android Development] nokiagye:
On for no battery drain
[Nexus 5X Android Development] Alcolawl:
Google "UKSM Android" and learn what it is. lol.

I had it enabled at first and it didn't do much. I think it saved me like 2 MB of RAM after a day or so of use. I decided it wasn't worth the extra CPU cycles so I disabled it. Has not made a difference as far as battery drain goes, I get less than 1% idle drain overnight as it is.
[Nexus 5X Android Development] mr.ace:
The Flash should change uksm to ksm because this can't save memory very well
[Nexus 5X Android Development] nathanchance:
What? UKSM is a better version of KSM...
[Nexus 5X Android Development] nathanchance:
Also not to mention these are my stats on the 6P over a day
[Nexus 5X Android Development] mr.ace:
305MB!!!!! is very high,even on full gov and 100% CPU just save 5MB memory for me
[Nexus 5X Android Development] nders:
How do u see memory saved? My screen doesn't show that.
[Nexus 5X Android Development] kojak1989:
[MENTION=6842057]The Flash[/MENTION]

Can you write some settings for UKSM for Nexus 5X with your kernel because i have only 2mb.

---------- Post added at 02:54 PM ---------- Previous post was at 02:54 PM ----------

EXKM :)
[Nexus 5X Android Development] kojak1989:
Recently I have uploaded profile DrunkSauce and managers CPU changed on impulse and ironactive, but after the restart the phone back the original, is this normal? Do I have to select the option apply on boot?
[Nexus 5X Android Development] joetheshmo:
Yes. Without apply on boot settings the kernel boots up with the stock settings
[Nexus 5X Android Development] kojak1989:
With this profile somewhere else in EXKM I have something set up at the start?
[Nexus 5X Android Development] mr.ace:
[MENTION=6842057]The Flash[/MENTION] can you fix uksm for nexus5x? this really don't work properly ☹️☹️☹️
[Nexus 5X Android Development] ulxerker:
enable apply on boot in EXKM governor settings after loading drunksauce profile.
[Nexus 5X Android Development] kojak1989:
Schedule I/O zen or maple?
[Nexus 5X Android Development] TW1ST3D1NS4N3:
Maple
[Nexus 5X Android Development] kojak1989:
Something like this?
[Nexus 5X Android Development] Alcolawl:
Yes. Also cpu boost options and governor options.
[Nexus 5X Android Development] kojak1989:
Thank you.
[Nexus 5X Android Development] kojak1989:
And here are god too yes ?
[Nexus 5X Android Development] Alcolawl:
Yes. Make sure you apply the governor options. I don't know how that translates in Russian or whatever, but you MUST apply the governor options on boot as well. It's the first option under "CPU Governor (Big cluster)".

Now, lets keep the conversation in this thread on topic. If you have any other questions, PM me. I'll answer at some point. Biggest party night of the year here in the states and it's beer:30.
[Nexus 5X Android Development] bukojoe:
Have you made a test build? I can test it also... I tried your kernel on CM 14.1 with f2fs formatted data and cache partitions. Its just stuck in boot animation. Works fine with jolla 10.2.
[Nexus 5X Android Development] nathanchance:
http://nchancellor.net/Kernels/bullhead/7.0/Tests/FLASH-N5X-1.4-F2FS.zip
[Nexus 5X Android Development] bukojoe:
This booted properly! Will try it out now. Thanks!!

Edit: It seems that it did not flash the first time i flashed it because when I rebooted, the kernel was still listed as jolla. I reflashed your kernel in twrp but then it got stuck in the bootanimation again upon rebooting...
[Nexus 5X Android Development] Alcolawl:
You should always dirty flash your ROM when switching kernels.
[Nexus 5X Android Development] kojak1989:
Double tap 2 wake doesnt work properly because i must tap a few times on screen to wake.Maybe its Linked with DrunkSauce gov profile?

Edit: I changed gov profile with the same effect and swipe 2 wake (in right) seems to doesnt work too.
[Nexus 5X Android Development] nathanchance:
Update!

This update should fix the issues with Gallery on CM 14.1 and other ROMs like Uber. I also added some patches from upstream to fix small issues as well as support for FK Updater's performance profiles. Let me know how it goes!

Download FLASH 1.5 for Nougat 7.0/7.1: Main | Mirror

Changelog: (also on Github)

Fixes for sdcardfs on certain ROMs like CM 14.1

Upstream patches from CAF and Linux

Allow big cluster to be boosted without a task on it

UKSM improvements

Add exFAT driver

Detect when kernel is flashed on an unsupported Android version

Add support for FK Updater's performance profiles
[Nexus 5X Android Development] nathanchance:
Special update!

Same stuff as above but for the 7.1.1 Developer Preview ;)

Download FLASH 2.0-rc1 for Nougat 7.1.1: Main | Mirror

Changelog: (also on Github)

Same as 1.5 but with DP source as a base
[Nexus 5X Android Development] kevtrysmoddin:
Can't wait to try this thanks for the great work on your kernel
[Nexus 5X Android Development] Midomad:
[MENTION=6842057]The Flash[/MENTION]

Last version 2.0 is OC by defaut?
[Nexus 5X Android Development] nathanchance:
It shouldn't be.
[Nexus 5X Android Development] kevtrysmoddin:
Running like a dream on dp2
[Nexus 5X Android Development] Sinistersky:
There is a God.
[Nexus 5X Android Development] tassos_chry:
I doubt that. He is just called Nathan
[Nexus 5X Android Development] vampire36:
[MENTION=6842057]The Flash[/MENTION]: Great work as always. Works perfect on DP2. Like the franco profile default secret ;)
[Nexus 5X Android Development] crian:
Which Franco profile?
[Nexus 5X Android Development] edoardotavecchio:
What's better choice from zswap or zram? I've seen today the possibility to activate zram and I don't know which one could be the best.
[Nexus 5X Android Development] vampire36:
default interactive settings if u see are from franco !
[Nexus 5X Android Development] Alcolawl:
I'd kind of like to hear the dev's opinion on this. I've done a lot of reading on the two and how they compare to one another but it's usually on a linux forum somewhere talking about desktop applications and not so much mobile or solid state applications. (@The Flash)

On an unrelated note, just flashed v1.5 and re-enabled UKSM after reading about the improvements made to it. I've had it enabled less than an hour and it's saved 63 MB already. :good:
[Nexus 5X Android Development] nathanchance:
So on our devices in my testing, zswap actually works with zram since they share the same memory allocator, zsmalloc. On desktops, you only want to have one or the other enabled. It will basically compress pages to your swap partition so that it can save some space. I've had both enabled since I brought them into the kernel and had no issues with it.
[Nexus 5X Android Development] edoardotavecchio:
I was in the same situation. I've read a lot of things about zswap and zram but they we're talking about a General use of them in Linux kernels, so I'd like to have an opnion of an expert, as you said, the developer. By the way, which type of governor are you using for uksm? I'm actually using full but I'd like to have a suggestion by someone else that's using uksm to optimize more.

Edit: In governor profiles' thread I've read that you changed zram size. How did you do it? By modifying it through exkm app I get an error (zram gets automatically disabled since I reflash the kernel)

Thanks, so I'll activate it too.
[Nexus 5X Android Development] kojak1989:
for better battery life backlight dimmer on or off ?
[Nexus 5X Android Development] edoardotavecchio:
It should be on but don't expect any big improvement.
[Nexus 5X Android Development] Alcolawl:
Yeah I had it set to 256 MB in other kernels but with Flash it seems like it's hardcoded to be 512 MB. So either it's enabled and at 512 or disabled.
[Nexus 5X Android Development] kojak1989:
After installing the latest version and turned UKSM and zswap, I think I have improved efficiency :)
[Nexus 5X Android Development] crian:
The Kernel performs well with fku and the profiles. Thanks for that.
[Nexus 5X Android Development] nathanchance:
Flash noted that there was a patch that caused that issue that he reverted but I never found it. He said that EXKM should handle resizing fine. I'll try to make a note to look into it but I have swappiness at 15, zram shouldn't fill up quick.
[Nexus 5X Android Development] titodadro:
Hi, I am on DP2 stock , have flashed 2.0 rc1 with flashfire, i´ve noticed an active drain with screen off , tried to reinstall with flasfire and twrp too, all wipes everytime. I dont now what im doing wrong.

The last part of the graphic is on stock kernel again, with no battery drain
[Nexus 5X Android Development] crian:
I have no screen off drain. You should run the kernel a few days to get better results after a clean flash.
[Nexus 5X Android Development] lol4topnz:
Hello. Nice work, but gestures sweep2sleep (left to right) dont work, right to left works well. And zram indicator always get 0 mb used. EXKM app, 7.1.1 dp2.
[Nexus 5X Android Development] rmead01:
Only issue I'm having with this kernel is whether I should run default settings or drunksauce. Thanks for the great work!
[Nexus 5X Android Development] kevtrysmoddin:
Try both I.e. try a few days with stock settings then a few days with drunk sauce see which works best for you
[Nexus 5X Android Development] titodadro:
Ihave flashed kernel again, now everything its ok . thanks dev great job like always:good:
[Nexus 5X Android Development] woundman:
Just wanted to say thank you for such a fast and stable kernel. I'm running stock with cache and data formatted as F2FS. Zero issues and my read/write speeds are: 185/117. Definitely noticable! Thank you!
[Nexus 5X Android Development] Sid_Sun:
Hey, I've a few questions:

For Devs:

What's the version I should be using if I'm on Nougat 7.1?

Does this have Touchboost enabled by default?

For Users:

What's the SoT you guys get?

How's battery like and performance?

Are you guys tweaking anything for better results?
[Nexus 5X Android Development] nathanchance:
1. 1.5

2. Touchboost doesn't exist here.
[Nexus 5X Android Development] Sid_Sun:
:good: :good: Perfection.
[Nexus 5X Android Development] Sinistersky:
Is there a point in converting to F2FS? Do apps open faster or what?
[Nexus 5X Android Development] Psychofrantics:
Yeah, they are. By 0.03 milli seconds. JK
[Nexus 5X Android Development] Benik3:
Search for DrunkSauce ;)
[Nexus 5X Android Development] ulxerker:
... or governor profiles HawkTail, GlassFish or FairPark. you can find them all here. if you have further questions concerning those profiles please ask in that thread.
[Nexus 5X Android Development] AndroidDeveloperLB:
I'm probably missing something here, but after flashing this kernel, I can't find how to customize it.

I just want to enable the double-tap-to-wake feature...
[Nexus 5X Android Development] rmead01:
Only thing I noticed with fku is I dont have the ability to set changes to the sound config. Not sure why.
[Nexus 5X Android Development] ulxerker:
for that you need a kernel manager, i.e. EXKM (elementalx kernel manager).
[Nexus 5X Android Development] AndroidDeveloperLB:
why not ask when flashing?

Anyway, since I got weird camera issues (most of what is seen is dark), I've flashed ElementalX kernel.
[Nexus 5X Android Development] joetheshmo:
Ask what when flashing? Your dark camera could be from vendor mismatch
[Nexus 5X Android Development] ulxerker:
he meant settings in an Aroma installer like EX.
[Nexus 5X Android Development] AndroidDeveloperLB:
Exactly, and I have no idea about the camera. The vendor is supposed to be fine, as I didn't see the warning dialog on boot, no?
[Nexus 5X Android Development] SlimSnoopOS:
Ex 4.0 is for Android 7.1.1. Ex 3.0x is for 7.0 and can be used on 7.1 Nougat. Supposing you have the proper vendor installed (open /vendor/build.prop with a file explorer) your kernel choice is the problem.

7.0 and 7.0 kernels are not interchangeable with 7.1.1.
[Nexus 5X Android Development] AndroidDeveloperLB:
ElementalX wasn't the problematic kernel. "Flash" was (or at least is seemed this way).
[Nexus 5X Android Development] TW1ST3D1NS4N3:
Really? :confused: I've been running FLASH on stock 7.1.1 Dev Preview and have no issues....
[Nexus 5X Android Development] rmead01:
Same. 7.1.1 DP2 no issues whatsoever. It's not the kernel.
[Nexus 5X Android Development] titodadro:
+1 :good:
[Nexus 5X Android Development] AndroidDeveloperLB:
I think you are both correct.

I have no idea why it occurred.

I tried now on a different rom, called "xenon HD", and I flashed this kernel and didn't see the issue. Maybe the flashing was incorrect in order, so the rom has a problem with its own kernel.

Anyway, how can I enable double-tap-to-wake feature?

EDIT: it seems it's enabled by default, but it's a bit harder to trigger for some reason.
[Nexus 5X Android Development] vampire36:
Yes flash the 2.0rc1 version...
[Nexus 5X Android Development] Benik3:
I recommend DrunkSauce. It use Impulse + Ironactive.

It's pretty good balanced (smooth like butter but great battery life)
[Nexus 5X Android Development] KnalRob:
You can add whatever profile you want (put in ElementelX folder on sd card) https://www.androidfilehost.com/?fid=313042859668275562

Remove the txt extension as it is not possible to post files in afh without an extension.
[Nexus 5X Android Development] Sinistersky:
Don't do that with drunksauce. EX Kernel manager doesnt execute it properly on this kernel. You have tu use the su.d folder for it to work properly, otherwise you will get battery drains
[Nexus 5X Android Development] KnalRob:
Ah ok, has to be su.d folder or init.d fine too?
[Nexus 5X Android Development] Midomad:
[MENTION=4752299]Alcolawl[/MENTION]

Do you confirm that?
[Nexus 5X Android Development] Alcolawl:
Dude, what? Please stop spreading misinformation. How does applying a profile to EXKM suddenly lead to battery drain?

No. In fact, I can confirm exactly the opposite. using the DrunkSauce profile, all settings apply perfectly.

---------- Post added at 10:39 AM ---------- Previous post was at 10:36 AM ----------

You can use the profile just fine. I should know; I made it.
[Nexus 5X Android Development] Sinistersky:
They dont for me. Works better when applied through su.d folder rather than exkernel manager. Got less frequency jumps
[Nexus 5X Android Development] nokiagye:
How y enable thru Su.d?
[Nexus 5X Android Development] jerethi:
Will this kernel work properly with a CM-based ROM?
[Nexus 5X Android Development] TW1ST3D1NS4N3:
Read the OP. It has you're answer.

---------- Post added at 06:33 PM ---------- Previous post was at 06:33 PM ----------

Yes. Read the OP.
[Nexus 5X Android Development] Midomad:
Final 7.1.1 images are out https://developers.google.com/android/images
[Nexus 5X Android Development] bbgun7:
you don't need to lower the big minimum, it uses the same amount of power on 633 and below, so you only are restricting performance without boosting battery
[Nexus 5X Android Development] nathanchance:
Update!

Standard security update with a few small patches here and there, nothing too fancy. THIS IS ONLY FOR 7.1.1! 7.0 is EOL, I will no longer be updating it. Either update to 7.1.1 or don't flash this. Also make sure if you are on a custom ROM that they are using 7.1.1 blobs/vendor image otherwise you will have bugs (which I will not listen to). Please be smart about this.

Download FLASH 2.0 for Nougat 7.1.1: Main | Mirror

Changelog: (also on Github)

Updated for the December security patch

Merged some Pixel security patches

Updated AnyKernel

New toolchain (Uber 6.2.1 with some Linaro opts)
[Nexus 5X Android Development] elrosid:
The vendor that used by certain 7.1.1 ROMs should be the new one? Or it can be flash over november patch?
[Nexus 5X Android Development] :
hello nathan, have you integrated the power-saving commits of Franco in his kernel? :)
[Nexus 5X Android Development] ulxerker:
no, as the release notes state version 7.1.1 and it's vendor (released in December) is required. if you're on a November build Flash kernel 2.0 in not compatible.
[Nexus 5X Android Development] zurik:
Flash -Kernel V2.0 had already the Dirty Cow Patch applied?
[Nexus 5X Android Development] sigurd_LU:
Yes.
[Nexus 5X Android Development] ulxerker:
yeah, since a few versions ago.

gia sou! :)
[Nexus 5X Android Development] SlimSnoopOS:
Does Sweep2Sleep Right work for anyone? I'm using NMF26F, EXKM, and have tried Flash 2.0 three times in between three fastboot flashes of system, boot, and SuperSU. Only Sweep2Sleep Left seems to work for me.
[Nexus 5X Android Development] nathanchance:
I had Dirty Cow patched the day the fix was available.