yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Android Development] :
If you use your phone mostly to read:

Kernel settings:

-cpu gov : relaxed

-CPU frequency: locked on 960mhz

-put Big cores off

-io scheduler : Maple

-io readahead: 2048

Use lspeed,greenify so your phone don't keep too much things in memory and don't become too much dirty with time.

If like me you are also playing games you can create a boost profile with tasker. If you are not playing game set GPU governor to powersave and lock GPU freq on 450(animations and transitions will be sometimes weird as few animations are asking graphics).
[Nexus 5X Android Development] zurik:
Running 8.1.0 Stable and flashed the v26.
[Nexus 5X Android Development] mr.ace:
Just forgot to change that for new 8.1 base
[Nexus 5X Android Development] jugoslavpetrovic:
Maybe you could update it with proper base.

One more thing, I updated to 8.1 rom latest AICP 13.1, and I don't have the thermal threshold for the temp, see screenshot
[Nexus 5X Android Development] :
It's probably due to Android 8.1 as I have it on 8.0
[Nexus 5X Android Development] mr.ace:
Shadow kernel V2.7

New build is Up!

Changelog :

January security update

Adaptive Lowmemory killer (disabled by default)

‎Lowmemory killer updates from Motorola and CAF

‎Add wireguard support (more info here)

‎mdss drivers updates

* In thanks of new patches I think lowmemory killer keeps background apps more than before, anyway I need feedbacks

* If you want more performance you could enable Adaptive lowmomory killer but lowmemory killer triggers faster to kill apps

Download :

https://www.androidfilehost.com/?fid=962157660013069532
[Nexus 5X Android Development] derkleinebroicher:
just in order to make no mistake: coming from version 2.6, do I have to flash the boot.img from my Rom inbetween or can I update directly by flashing 2.7 over 2.6? Thanks in advance.
[Nexus 5X Android Development] :
Directly flash
[Nexus 5X Android Development] jeff.mudrick:
Android security update still showing December after flashing 2.7 (?).
[Nexus 5X Android Development] j-a-d-z:
Not for me.
[Nexus 5X Android Development] jeff.mudrick:
Weird. Flashed twice, same.
[Nexus 5X Android Development] Benjamin_L:
This is not showing kernel but rom information!
[Nexus 5X Android Development] Benjamin_L:
As this kernel does not work on lineage based Oreo roms is there anything you could do to make this work? Aicp and most likely the lineage 15.1 rom stop booting at the Google logo
[Nexus 5X Android Development] jugoslavpetrovic:
Works fine on AICP and I'm pretty sure it would work on Lineage 15.1 as well.
[Nexus 5X Android Development] Benjamin_L:
So it's a magisk issue again it seems...
[Nexus 5X Android Development] jugoslavpetrovic:
I have SuperSu
[Nexus 5X Android Development] Benjamin_L:
I know, that's why I am guessing it's magisk again :(
[Nexus 5X Android Development] *system error*:
Oops wrong thread Deleted
[Nexus 5X Android Development] j1mp492:
Works on ABC ROM with Magisk now! :good: :) Same goes for any other AnyKernel based kernel I assume.
[Nexus 5X Android Development] Benjamin_L:
Which magisk version are you using? 15.2?
[Nexus 5X Android Development] j1mp492:
Indeed. And the latest ABC ROM build (01/03) by mohican16.
[Nexus 5X Android Development] Benjamin_L:
So it's a combination of lineage based ROMs and magisk it seems what is causing the problem
[Nexus 5X Android Development] :
Yeah ABC is just 1000 times better than lineage you should try it.
[Nexus 5X Android Development] Benjamin_L:
Isn't it a modified stock image? Or was it aosp based? I don't remember.
[Nexus 5X Android Development] :
It's based on AOSP ?
[Nexus 5X Android Development] zurik:
This is magisk issue, also on Stock android has the issue that it not boot and need to force power off.
[Nexus 5X Android Development] mr.ace:
Shadow kernel V3.0

New builld is Up!

Changelog

:

Rebased from lastest 8.1 base

‎Upstream updates from CAF and Linux

Revert LMK's commits in previous version (nothing has been changed by these)

msm: thermal: Reschedule if not probed (@neobuddy89 - good to see him in 3.10)

‎OOM_KILLER patches from Chromium

ext4 updates

‎boeffla Wakelock controls

‎Updated toolchain (in thanks of [MENTION=6842057]nathanchance[/MENTION]'s built-tools-gcc)

msm: mdss: save state of vsync handler (backported form PIXEL 2)

Download :

https://www.androidfilehost.com/?fid=818070582850487743
[Nexus 5X Android Development] Skittles9823:
Will magisk still give bootloops with this?
[Nexus 5X Android Development] 78jimm:
Can I flash newer version over previous version?

edit: Tried it, it works.
[Nexus 5X Android Development] mr.ace:
Should works anyway you can try yourself
[Nexus 5X Android Development] jbaumert:
I'm using Magisk 15.3 and it seems to be working fine.
[Nexus 5X Android Development] Skittles9823:
Just flashed and I booted. Good to be using Shadow again :D
[Nexus 5X Android Development] fleischbanane:
[MENTION=6998415]mr.ace[/MENTION] any plans to support LOS live display feature? I know that the franco kernel supports it and it's a really helpful feature. I tested it and it seems not to work.
[Nexus 5X Android Development] mr.ace:
sorry add support for Live display cause conflicts and some issues that i can't fix them, I'll check around for other solutions
[Nexus 5X Android Development] abolfazl.h:
Thanks for your great work.
[Nexus 5X Android Development] mr.ace:
OP is updated
[Nexus 5X Android Development] jbaumert:
Curious what got updated? The 3.0 download is from 2018-01-24.
[Nexus 5X Android Development] mr.ace:
Updated features list , Introduction and new shadow logo:D
[Nexus 5X Android Development] mr.ace:
Shadow Kernel V3.1

New Build is UP!

mainly focused on improve power efficiency!

Changelog

:

February security update

scheduler fixes

Add support for LiveDispaly (hope it works)

rcu: Mark all cpus as no-cp (Reduces UI jitters)

blu_active updates

Fix 2% battery drop

sdcardfs updates

GPU drivers fixes

binder updates from common-3.18

cpu-boost driver improvement

Download

:

https://www.androidfilehost.com/?fid=890129502657581927
[Nexus 5X Android Development] fleischbanane:
Works perfect on the latest unofficial LOS15.1 build. :good:
[Nexus 5X Android Development] TheHenkGameKing:
[MENTION=6998415]mr.ace[/MENTION] Hey, this might be a little of topic, but i would like to learn how to build your kernel from the source, could you tell me where i get started? and what i should read? Thanks you in advance.
[Nexus 5X Android Development] :
Hello,

I like to see kernel enthusiasts!

I hope you have at least few development knowledge because it will be hard but not impossible.

These links will be really good places to start :

https://xdaforums.com/android/software-hacking/reference-how-to-upstream-android-kernel-t3626913

https://xdaforums.com/android/software-hacking/reference-how-to-compile-android-kernel-t3627297

Have a nice development!
[Nexus 5X Android Development] TheHenkGameKing:
[MENTION=6657029]francos21[/MENTION] Thank you so much!
[Nexus 5X Android Development] fire7777777:
have it febraury patch?
[Nexus 5X Android Development] :
Yes but please try to read a bit more the thread next time as all is explained.
[Nexus 5X Android Development] Skittles9823:
Been on the Feb patch for quite a while.
[Nexus 5X Android Development] Benjamin_L:
Come on, it was on the last page ;)
[Nexus 5X Android Development] :
That's why I answer him anyway.
[Nexus 5X Android Development] fire7777777:
You have all reason , in the fact after I posted I see the post that say February patch and all notes , thank you for your comprensión
[Nexus 5X Android Development] kevtrysmoddin:
Just switched after using Franco can't wait to see how Shadow performs
[Nexus 5X Android Development] AntonPanos:
Tested that yesterday... Much better than before..

I don't have time to test performance in depth but for now performs very nice, for everyday use. This kernel will be my new main kernel ? . Keep up the good work!
[Nexus 5X Android Development] BarackMitzvah:
Deleted.
[Nexus 5X Android Development] edoardotavecchio:
that thing mr.ace called "dmesg log" is that "kernel logcat" you're looking for.
[Nexus 5X Android Development] BarackMitzvah:
Awesome, than my assumption was correct. At work at the moment, so I can't research it too much until I'm at home, if I have a working ADB setup, can I run it via that? Or is there a simpler solution?
[Nexus 5X Android Development] edoardotavecchio:
Sorry, I'm not an expert about it so I can't help you as much as you need but, If I remember right, there's an ADB command for taking the dmesg. I don't know if there are simpler way, maybe using some apps or simply a copy/paste of dsmeg file.
[Nexus 5X Android Development] mr.ace:
in EX kernel manager go to tools section and you'll find "Current kernel log(dmesg)" in save Logs
[Nexus 5X Android Development] mr.ace:
Shadow Kernel 1.2

New build is Up!

Changelog :

Andoid DP4 update

Upstream Linux and CAF patches

Toolchain update

Update wlan driver to LA.BF64.1.2.3_rb1.15 thanks to @jollaman999

mdss vsync patches from CAF (reduce UI sluggish)

ext4 update

Workqueue fixes

Binder fixes from Motorola

Add additional mpm interrupts for power save purpose

memory function optimizations

Downloads :

https://www.androidfilehost.com/?fid=889764386195923541
[Nexus 5X Android Development] BarackMitzvah:
Sorry for the delay, here's the last_kmesg you asked for. It's on your latest kernel right following the aux no longer outputting.

http://s000.tinyupload.com/index.php?file_id=04570315489357891597

Hope that helps!
[Nexus 5X Android Development] mr.ace:
I can't download it, this show 0.00mg and please give me dmesg (test AUX before send dmesg log)
[Nexus 5X Android Development] Topse:
I have no probs with my AUX.

Maybe its ROM related
[Nexus 5X Android Development] Ferdimage:
Dont know if its just me but v1.1 had a better idle,sleep battery drain.

Or maybe some of my apps have updated and are the cause.
[Nexus 5X Android Development] mr.ace:
I'm working on some PM/SLEEP patches that could improve it if everything goes well I'll include them in next version:cool:
[Nexus 5X Android Development] :
How do you reduce screen display power consumption ?!
[Nexus 5X Android Development] mr.ace:
This commit can reduce display power

https://github.com/mortezadadgar/shadow/commit/cc1d391c31f6ccdfaa1d43dcad57321302a390ad
[Nexus 5X Android Development] :
Thanks I'm downloading your kernel to try this.
[Nexus 5X Android Development] mr.ace:
For those that like to see my job for 8.0.0 It's ready on my source but there's some new things that I need more time to test them, so probably you'll see new version tomorrow
[Nexus 5X Android Development] mr.ace:
Shadow Kernel 2.0

Bumped to 2.0 since too many things changed in this version at least i feel very good with new rebase

Changelog :

Rebased from Android oero

Upstream updates from Linux

Thermal driver fixes

Revert LA.BF64.1.2.3_rb1.15 wlan driver( just add a extra delay for every updates and there's not too much benefit )

Increase vm_swappiness to 100 and zram usage to 1GB

custom lmk minfree value from Franco kernel

Downloads :

https://www.androidfilehost.com/?fid=673368273298981246
[Nexus 5X Android Development] wilq1337:
is it ok to flash v2.0 over 7.1.2? or is it for oreo only?
[Nexus 5X Android Development] mr.ace:
I didn't test it on 7.1.2 but should works
[Nexus 5X Android Development] Skittles9823:
Can confirm. Running it on DU 11.7 now. Are there any audio enhancements in this. I can definitely hear a change.

---------- Post added at 09:36 AM ---------- Previous post was at 09:28 AM ----------

Also what's a recommended CPU profile for this kernel?
[Nexus 5X Android Development] fire7777777:
Yea seriously , after a few hours of testing , it is really a good kernel
[Nexus 5X Android Development] Skittles9823:
So good I build it into personal roms now :good:
[Nexus 5X Android Development] :
Could you please share you du roms ?
[Nexus 5X Android Development] mr.ace:
Oh gcc-4.9! while we have gcc-7.2.1 why don't use that?

And which branch you compiled?
[Nexus 5X Android Development] Skittles9823:
Oops. I did the 8.1.0 branch. Which one is your current one? The rebase or upstream?

Edit: actually looked at commit history and its rebase. Alright. I'll reclone and use that :)

---------- Post added at 01:19 PM ---------- Previous post was at 01:12 PM ----------

As for this. As I'm sure you know, DU isn't allowed on XDA. I'm only a new rom builder so if I do end up sharing, it'll be on Telegram and I won't be able to give any decent support if anything happens to your device. The builds I make are for personal use and include substratum commits for rootless and Andromeda-less theming too. Maybe at some point, I'll make a telegram group for it (I've already asked Alex if I can share my unofficial builds and he said yes, as long as I don't ask for donations btw). Can't make any promises though.
[Nexus 5X Android Development] :
Is there anyone who is sharing a du ROM on a website, can you give my links as this ROM was best and I miss it
[Nexus 5X Android Development] Skittles9823:
I'm not willing to share my build publically. Shoot me a pm though and I'll link you. Just don't share it I don't suddenly want a user base to look after lol. I haven't built with the 7.2.1 GCC kernel either but the old one still runs fine enough that I didn't notice xD
[Nexus 5X Android Development] 78jimm:
Just upload your builds on DU G+ in unofficial. And post that you wont provide any support at all and it is all at the user's risk.

I miss DU on my bullhead.
[Nexus 5X Android Development] Skittles9823:
Hmm yea I'll probably end up doing that.
[Nexus 5X Android Development] NurKeinNeid:
Could you please share your local manifest? Maybe on GitHub?
[Nexus 5X Android Development] Skittles9823:
I have the dt on GitHub (its Mohicans ABC one) I also use his vendor. I'm pretty new to this but eventually I'll make my own. As for the manifest I use the one from the DU repo.
[Nexus 5X Android Development] :
If you decide to start unofficial support, I'd love you forever... Or at least until my Bullhead passes away. ;)
[Nexus 5X Android Development] Skittles9823:
I've kinda hi-jacked the thread it seems. Apologies for that Ace.
[Nexus 5X Android Development] dr.nunu:
Sorry for the lame question but what is the best app that can I use to fine tune the kernel?
[Nexus 5X Android Development] Ferdimage:
Kernel Auditor is free
[Nexus 5X Android Development] :
Best is ex kernel manager.
[Nexus 5X Android Development] fire7777777:
How to work wq_power_sawing ?
[Nexus 5X Android Development] mr.ace:
Shadow Kernel V3.2

New Build is UP!

Changelog :

March security update

LMK fixes

Reduced overall power consumption

Revert rcu no-cb (3.10 isn't applicable to have it enabled)

BUG fixes

Download :

https://www.androidfilehost.com/?fid=962187416754467092
[Nexus 5X Android Development] mr.ace:
Workqueue Power Saving : https://cateee.net/lkddb/web-lkddb/WQ_POWER_EFFICIENT_DEFAULT.html
[Nexus 5X Android Development] :
Thanks a lot for your hard work!
[Nexus 5X Android Development] Doomkopf:
Hey man,

I have to say, since I upgraded to LOS 15.1, I've used some kernels, and this is the best by far. I love the features, but I have a few requests, which I'd highly suggest you to focus on:

- Change default read-ahead-value to that size is way more fitting for the Nexus 5X. With that set as default, the boot will also be faster, because the new read-ahead-value provides way more speed and is also already activated at boot.

- Install Kernel by Aroma Installer in Recovery; To customize the kernel was more and individually, everything gets set in the kernel before the boot is finished and since that, helps to speed up the boot, even better than Third-Party-Software (Kernel Adiutor,...).

- Real F2FS-Support: I'm not totally sure about this, but I don't think, that F2FS is Wirkung properly. Correct me if I am wrong ^^ But if I'm right, you could ask "Jolla", the developer of the Nexus 5X-Kernel "Jolla-Kernel, which fully supports F2FS

Hope this wasn't too much brother haha, I'm a perfectionist
[Nexus 5X Android Development] mr.ace:
Hey,

_ readahead isn't problem as I tuned it to 4096 during boot and after the boot it will return to default value. Anyway keep readahead at 128kb is more reasonable and increase that cuz performance degradations

_ it doesn't make sense for me

_ what do you mean actually? "Real F2FS support"? You say F2FS isn't working properly? If it's right i will push new update for fix that
[Nexus 5X Android Development] jugoslavpetrovic:
I agree. Or if possible to have some separate script file where could be set those values as rachanta had it for Racer kernel.
[Nexus 5X Android Development] Ferdimage:
Hey OP is there a particular governor profile you are using/recommend with this kernel?
[Nexus 5X Android Development] :
All are good , it depends on your usage , if you want more performance choose blu_active but if you want more battery choose relaxed.

Anyway this guide will help you :

https://xdaforums.com/general/general/ref-to-date-guide-cpu-governors-o-t3048957
[Nexus 5X Android Development] Ferdimage:
Thanks, sorry I should of mentioned it was EXkernel app.

Profiles like Glassfish etc.
[Nexus 5X Android Development] :
Personnaly I don't use any of them as they are all based on interactive governor and I think that other governors are more powerful.
[Nexus 5X Android Development] Benjamin_L:
Glasscannon works fine for me
[Nexus 5X Android Development] Lughnasadh:
I like Butterfly for performance, Heimdall for a balance of performance and battery, and Glassfish for battery.
[Nexus 5X Android Development] milouk:
My personal choice is Ghostpepper. Its smooth and has good performance/battery balance
[Nexus 5X Android Development] jugoslavpetrovic:
Anything else, like touchboost amd input boost, thermal msm or cores or both?
[Nexus 5X Android Development] milouk:
Performance = Touchboost enabled

Battery = Touchboost disabled
[Nexus 5X Android Development] Lughnasadh:
I would stick with core_control and not msm-thermal.
[Nexus 5X Android Development] jugoslavpetrovic:
Thanks. And for which reason is that?
[Nexus 5X Android Development] Lughnasadh:
I think it can be best explained in the OP of this thread by Razerless.

https://xdaforums.com/nexus-5x/general/thermal-throttling-temp-performance-test-t3388559
[Nexus 5X Android Development] Doomkopf:
Hey man,

- I didn't know that, that's very good. But I think it's a bit overkill, 2048kb during boot is enough, i think. But that's very good.

- Didn't know that you tuned it, then it's okay ^^

- As I said, I don't know. I don't know how to convert to it, because there is no button for me in twrp recovery. Can you help me?
[Nexus 5X Android Development] zurik:
The kernel makes framedrops for some reason. Running RR latest build.
[Nexus 5X Android Development] mr.ace:
Check out Jolla's twrp
[Nexus 5X Android Development] mr.ace:
You mean UI framedrops? I have same issue even in the stock kernel anyway I'll make a test build tonight and you will tell how that works
[Nexus 5X Android Development] zurik:
Yes, UI framedrops, and it feels slow. In on every ROM I noticed this.
[Nexus 5X Android Development] mr.ace:
Try this one https://www.androidfilehost.com/?fid=890129502657593006
[Nexus 5X Android Development] zurik:
I will try it in 1 hour
[Nexus 5X Android Development] WishMi:
I installed it just last night on latest RR, but till now it feel way better/faster then ABC or EX kernel.

So that's a big"thank you"from my side!
[Nexus 5X Android Development] fire7777777:
can you add in the next update , overclock and underclock like elementalX ?
[Nexus 5X Android Development] :
There's not reason to underclock this device as lower frequencies are running on the same voltage.
[Nexus 5X Android Development] zurik:
This build still have some minor framedrops but it's a way better from 3.2

Edit: Still the annoying UI framedrops are present.

Edit 2: Livedisplay is the issue there with framedrops. The test build works like a charm
[Nexus 5X Android Development] mr.ace:
Yeah I will make some changes in live display, probably will be fix your issues
[Nexus 5X Android Development] mr.ace:
Hey everyone,Today I have rebased kernel to fix some underlying issues [MENTION=6013428]AFK269[/MENTION] mentioned earlier so now (at least for me) I think it's smoother.

Try new base and give me feedback

https://www.androidfilehost.com/?fid=890129502657594478

Note : As ramdisk is updated so clean flash it.
[Nexus 5X Android Development] zurik:
Thank you for the update. It's smooth, very nice. When the Night Light (On supported ROMs like Pixel² ROM) it's decrease the performance but it not affect the whole performance of the phone.
[Nexus 5X Android Development] WishMi:
Thank you, I love your kernel. But how do I clean flash a kernel?
[Nexus 5X Android Development] zurik:
By flashing the kernel that came with ROM and then the Shadow-test2.
[Nexus 5X Android Development] :
And to flash the kernel that came with rom just reflash ROM and after root ans kernel (not gapps).
[Nexus 5X Android Development] jugoslavpetrovic:
I always extract boot.img from the zip of the ROM and when switching kernels I flash that boot.img first which is the default kernel of that rom, then I flash supersu and then whatever custom kernel. That way you don't need to flash the whole rom again and gapps stay untouched.
[Nexus 5X Android Development] fire7777777:
april update ??
[Nexus 5X Android Development] :
Guy it will come for sure, be relax as devs generally hate when users ask for eta.
[Nexus 5X Android Development] fire7777777:
Ahah I'm you right
[Nexus 5X Android Development] mr.ace:
Shadow Kernel V3.3

New Build is UP!

Changelog :

April security update

Rebased and fixed all bugs

Linaro-4.9 toolchain (I didn't see any regression in downgrade to 4.9 so why not use it as it's more stable)

Updated anykernel

Upstream updates from CAF and Linux

Disable ksm when suspended

misc scheduler fixes

Disable PM_SYNC_BEFORE_SUSPEND (to reduce suspend power consumption)

USB driver fixes form CAF

Download :

https://www.androidfilehost.com/?fid=890129502657595737
[Nexus 5X Android Development] Yaznas:
Definitely my preferred kernel! Thanks
[Nexus 5X Android Development] milouk:
Dear [MENTION=6998415]mr.ace[/MENTION] ive been following your kernel for quite some time now. You have been doing a very good and detailed work. Quality developer! Keep up the good work!
[Nexus 5X Android Development] j-a-d-z:
I have a weird problem with all versions higher than 3.2 (the last 2 test versions and also 3.3). When I watch YouTube videos in 1080p and while it plays I touch the screen the video stutters. Don't know if it has to do with some touchboost settings or so. Back to 3.2 or other kernels -> all OK.

Stock n5x 8.1 march and also april update.
[Nexus 5X Android Development] mr.ace:
Thers's no such issue for me
[Nexus 5X Android Development] wilq1337:
i also have the same problem, using latest RR, stutters even when video is not on full screen
[Nexus 5X Android Development] zurik:
Same here, also on Instagram videos
[Nexus 5X Android Development] mr.ace:
Oh sorry guys probably I know what caused instability in the video driver, I will make a test build.
[Nexus 5X Android Development] mr.ace:
TEST BUILD : https://www.androidfilehost.com/?fid=818070582850505765

Give feedbacks
[Nexus 5X Android Development] j-a-d-z:
For me it's the same with test build 3: frame drops / stuttering in YouTube videos when swiping over the screen while the video is playing.
[Nexus 5X Android Development] mr.ace:
Can anybody here give me more feedback for test build 3?
[Nexus 5X Android Development] j-a-d-z:
Got my pm? Don't know if it was correct sent in XDA labs app.
[Nexus 5X Android Development] mr.ace:
Yeah I just need more feedback

Actually I didn't see any sutters in that YouTube video.
[Nexus 5X Android Development] wilq1337:
I flashed new test build and used it for atleast 30mins, i dont see any stutters anymore, not on PiP nor fullscreen. Thanks for super fast feedback and fixing it, you rock man!
[Nexus 5X Android Development] jugoslavpetrovic:
Test3, works fine, I am not sure it could even v3.3 as well but wasn't testing. Maybe its from rom or network.