yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Android Development] Lughnasadh:
No stutters on YouTube for me with Test3. Nice job :good:
[Nexus 5X Android Development] zurik:
I tried Test 4 build and it seems that shutters and some lag on video appeared again, so, I moved to test 3 build
[Nexus 5X Android Development] jugoslavpetrovic:
[MENTION=6998415]mr.ace[/MENTION] is it possible to get the Spectrum Kernel Đamager support in this kernel?
[Nexus 5X Android Development] mr.ace:
No
[Nexus 5X Android Development] mr.ace:
TEST BUILD : https://www.androidfilehost.com/?fid=746010030569968115

_Dynamic fsync

_Sultan's input boost

_Some fixes

More details on the stable release
[Nexus 5X Android Development] :
Mohican added some features to his kernel in his last build so it will be interesting that you take a look to.

He also add a simple api to get screen state at anytime who looks interesting too.
[Nexus 5X Android Development] mr.ace:
What? Could you check my source before say something?

I have all he has plus some fixes that you can check on the github
[Nexus 5X Android Development] :
Yeah sorry I'm learning computing at university actually so I sometimes don't have enough knowledge, I was only informing you.

Furthermore I tested ABC before and it's more laggy than using lineage os and shadow.

So thank you for your job and sorry for being (not willingly) insulting.
[Nexus 5X Android Development] jugoslavpetrovic:
This one runs great on my side.
[Nexus 5X Android Development] Lughnasadh:
Same here. Running great.
[Nexus 5X Android Development] mr.ace:
Look like sultan's input boost works good I will include it for next version
[Nexus 5X Android Development] Doomkopf:
Sorry that I ask, but I found no information about it ^^ What is Sultan's Input Boost? What does it do?
[Nexus 5X Android Development] poondog:
There's a new CPU input boost driver in v3.3. It controls the CPU boosting when theres an interaction (such as touching the screen)

https://github.com/mortezadadgar/bullhead/commits/8.1.0-shadow/drivers/cpufreq/cpu_input_boost.c
[Nexus 5X Android Development] zacharias.maladroit:
Hi [MENTION=6998415]mr.ace[/MENTION] ,

how's the EAS test going for you ?

(posting a few questions to "get" how other devs plan their EAS kernels)

Are you using the mentioned cpu_input_boost driver for smoothing out the UI upon input & fingerprint reader usage on that EAS kernel ? (so having a substitute for cpu-boost), is it working fine with EAS ?

What Hotplug mechanism are you using ? If none - via which mechanism are you forcing to keep all cores plugged by default ?

Is the CPU scaling working for you properly with the cpufreq scheduler ? For me it currently is leading to a very abysmal performance where the cores linger around the lowest frequencies (~ 384, 400, 600 MHz) and it's really stuttery :cyclops:

Are the CPUs/cores able to unleash the full potential when it's needed (e.g. during gaming or watching HD videos) so that it's smooth ? If yes, how did you solve that issue and via which commits ?

I'm currently in the process of gathering info to understand on how to tackle each of the issues in the most optimal way (thermal, hotplug, EAS & scaling, UI smoothness & boosting, etc.)

Thanks
[Nexus 5X Android Development] mr.ace:
hey,

There's no point for CPU boot on EAS so I just tried it in shadow branch and works actually good

I don't have any hotpluging in my kernel all is stock

For me EAS scale up freq well but it's not very battery friendly yet. I'm trying to backport from malin
[Nexus 5X Android Development] zacharias.maladroit:
Thanks for you quick answer :)

Yeah, there's really no point since last time I tried it out the kernel wouldn't even boot for me :eek:

Last time I tried - it worked somewhat well but had some performance issues (e.g. full load),

also there's limitations when using Stock ROMs from what I saw, that cannot be modified, when relying on msm_performance or other means to get full performance (or at least hotplug), etc. - e.g. for camera usage (on Xperia Z5).

In my last attempt I took commits from https://github.com/rachanta/racer-n5x/commits , Elite kernel (angler) and upstream [probably marlin as well].

What was the regressions you encountered with 7.x Toolchain ?

Battery runtime ? stability ?

I does seem to offer better performance on my side though
[Nexus 5X Android Development] mr.ace:
There's no performance or power regressions on newer gccs I just got headache to fix gcc-7 warnings
[Nexus 5X Android Development] :
Input boost won't stay disabled, any idea why?
[Nexus 5X Android Development] zacharias.maladroit:
Since you're aware of

the kernel/cpu/idle, cpu-idle, kernel/sched/idle related handing

in the kernel,

you might be interested in the recent upstream changes that offer 10-15% of power savings by optimization of the idle loop:

https://lkml.org/lkml/2018/4/11/337

https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/

https://www.phoronix.com/scan.php?page=news_item&px=Idle-Loop-Ordering-4.17-Power

https://www.phoronix.com/scan.php?page=article&item=linux-417-power&num=1

I haven't taken an in-depth look how much backporting it would involve and/or work,

these are interesting changes nevertheless :good:
[Nexus 5X Android Development] Doomkopf:
Hey, does this kernel support busybox? And if no, why not? :D
[Nexus 5X Android Development] zurik:
If you're using magisk, download "Busybox for Android NDK" from Magisk Manager and you should be fine!
[Nexus 5X Android Development] Doomkopf:
Yea I already got that, but still ty ^^ but still this kernel has to support it, in order for it to work right, doesn't it? :D
[Nexus 5X Android Development] mr.ace:
TEST BUILD : https://www.androidfilehost.com/?fid=746010030569971083

small changelog :

_fix input boost driver bug

_rcu fixes

_cpuidle fixes
[Nexus 5X Android Development] Lughnasadh:
Definitely feels a little snappier with CPU Boost frequencies set at 1248000 768000 rather than Test 5 at 960000 960000 :good:
[Nexus 5X Android Development] :
Thanks for fixing input boost so quickly !
[Nexus 5X Android Development] jugoslavpetrovic:
Test6 very fluid. I don't know about battery yet. Thanks.
[Nexus 5X Android Development] nowster:
No kernel has to do anything to support busybox versus toybox.
[Nexus 5X Android Development] jugoslavpetrovic:
I might be wrong but it seems to me that it might drain a bit more then test5 during sleep. Others are welcome to confirm or debunk. It's just a general seems like, no any battery stats or something.
[Nexus 5X Android Development] Lughnasadh:
I often take BBS dumps to see how the phone is doing while sleeping overnight. The last one I took for Test 5 I had an idle rate of .7%/hr. This morning, if I remember correctly, is was .74%/hr with Test 6. So I'm not seeing any real difference with Test 6. Hope this helps :good:
[Nexus 5X Android Development] Josh:
Latest test 6 with Pixel 2 ROM . Nice but feel little lags here and there. Which ROM you guys use!?
[Nexus 5X Android Development] Lughnasadh:
I'm currently on RR but switch between RR, AICP and ABC. Peformance-wise, I would rate them as ABC>RR>AICP, in my experience.
[Nexus 5X Android Development] Josh:
I dont like LOS ROM and I agree that ABC is pretty stable. One of best ROM around.
[Nexus 5X Android Development] jugoslavpetrovic:
AICP, it has everything I need even more of features. Pretty satisfied with it.
[Nexus 5X Android Development] mr.ace:
Thank you all for feedbacks also I noticed more active battery drain on test6 so I have reverted all changes in test6 for stable release.
[Nexus 5X Android Development] milouk:
[MENTION=6998415]mr.ace[/MENTION],

Im building my own custom kernel from source and i managed to upstream it to 3.10.108 but i have an issue with Live Display not working while in Automatic mode. Have you figured out a fix? If yes can you point me to the relevant commits?

Thanks
[Nexus 5X Android Development] BearOfXDA:
Is this oreo only?
[Nexus 5X Android Development] :
Franco kernel is having issues too but ace figured out how to fix it.
[Nexus 5X Android Development] milouk:
Never mind! I fixed it. Actually in automatic mode there was a tint but it was much less than in the "Night mode" . I cherry picked come commits and now its fine. I dont wlknoa whether it were the commits or i should have waited some more time for the full tint but now its fine
[Nexus 5X Android Development] mr.ace:
Shadow Kernel V3.4

New Build is UP!

sorry for delay I was a bit busy

It's pretty big update;)

Changelog :

May security update

Tweak deadline and set it default ( now default on android P )

Reverted some useless patches

Upstream fixes from CAF and linux

ext4 fixes

Enable wifi bonding to improve internet speed

Disable skb net fragment to reduce memory usage

Dynamic fsync

sultanxda's cpu_input_boot

sdcardfs fixes from common-3.18

Download :

https://www.androidfilehost.com/?fid=674106145207486659
[Nexus 5X Android Development] jugoslavpetrovic:
I see both thermal are enabled, is that how it is supposed to be? Also deadline as io?
[Nexus 5X Android Development] mr.ace:
Do you mean msm_thermal and core_control? For me the first in enabled and the second is disabled

And deadline is now default as i have mentioned
[Nexus 5X Android Development] jugoslavpetrovic:
Oh, ok. Thanks
[Nexus 5X Android Development] derkleinebroicher:
In my case, it's the opposite. msm_thermal off and core_control on by default :confused:. I don't use a governor profile or something like that. Just flashed your kernel and that's it.
[Nexus 5X Android Development] mr.ace:
It's OK
[Nexus 5X Android Development] jugoslavpetrovic:
In my case too, but I had both enabled cuz I set the wrong script firstly and after I realized and replaced. So now its only core control thermal enabled as it is by default from kernel.
[Nexus 5X Android Development] fire7777777:
Is it anykernel ?
[Nexus 5X Android Development] eurochild:
Anyone having video stutters in youtube after a while in fullscreen in latest version ?

(I'm on unofficial aosp extended rom)
[Nexus 5X Android Development] j-a-d-z:
Had some with newest YouTube Vanced 13.18.54 but after reset to prior version 13.16.55 they are gone I think.

Maybe it's a YouTube (Vanced) problem?
[Nexus 5X Android Development] mr.ace:
Shadow Kernel V3.4-rc

New build is UP!

Upstream fixes from CAF and Linux (check github for more details)

Upstream IRQ fixes

Disabled ksm by default - I need full cpu power

Reduced screen on latency

Disabled sultanxda's cpu boost - It's buggy under certain circumstances
[Nexus 5X Android Development] :
Thanks a lot !!!

It's the best kernel for this device, I'm getting a very good battery with very good performances.

Is there any way to offer you a coffee for your great job?
[Nexus 5X Android Development] mr.ace:
No Thanks

I'm just making kernel for hobby:D
[Nexus 5X Android Development] Razer2333:
Thanks for the update .. It's smooth ..

P.s : Haji damet garm hamin farmoon boro ?❤
[Nexus 5X Android Development] jugoslavpetrovic:
[MENTION=6998415]mr.ace[/MENTION] I think your name is familiar to me since before this kernel. Have you been active for hammerhead threads somewhere? Or maybe some governors...
[Nexus 5X Android Development] :
Why color control settings are getting automaticaly disabled after a while?

I'm using ex kernel manager(paid version so not cracked).

Edit: happening after unlocking.

Rom: latest lineage os

Root : latest magisk beta
[Nexus 5X Android Development] Josh:
Amazing job on latest release smooth and fast with P2ROM. Congrats!
[Nexus 5X Android Development] jugoslavpetrovic:
Thermal throtling threshold missing with latest?
[Nexus 5X Android Development] :
Same problem for me.

---------- Post added at 08:30 AM ---------- Previous post was at 08:14 AM ----------

RGB values disabling after screen off seems to be related to your kernel as I have the same problem with franco manager and ex kernel manager.
[Nexus 5X Android Development] amitabhk15:
Can I use this kernel on my Nexus 5 with lineage 15.1?
[Nexus 5X Android Development] jugoslavpetrovic:
No. It's for Nexus 5X
[Nexus 5X Android Development] amitabhk15:
Then which kernel should I use for Nexus 5 with lineage 15.1?
[Nexus 5X Android Development] zurik:
Go to Nexus 5 XDA forum and you will find. This forum is only for 5X
[Nexus 5X Android Development] jugoslavpetrovic:
You can start with EiementalX, it's safe and stable. But, please make sure you know what you are doing anyway. Be patient and learn, don't jump into fire so quick. Learn about bootloader unlocking for N5, flashing TWRP for N5, custom roms for N5, custom kernels for N5, rooting N5. It's all mostly device specific.

MOST IMPORTANT

LEARN ABOUT BOOTLOOPS AND SOFTBRICKS, ALSO HARDBRICKS

AND HOW TO SOLVE THAT.
[Nexus 5X Android Development] :
Why are you not using Uber toolchain?
[Nexus 5X Android Development] mr.ace:
lol yeah search for HBOOSTER in n5 thread

Checkout out here https://github.com/mortezadadgar/bullhead/commit/e4cdecf8e5a98fa5df766d418bc57c2f529e890f
[Nexus 5X Android Development] fire7777777:
Why in the RC version I can't set the temperature of thermal control ?
[Nexus 5X Android Development] :
Look at this : https://github.com/mortezadadgar/bullhead/commit/e4cdecf8e5a98fa5df766d418bc57c2f529e890f
[Nexus 5X Android Development] fire7777777:
can you make a version less of this commit ? i use a thermal to 42 C for avoid bootloop ..
[Nexus 5X Android Development] :
Sorry I'm not the developper :/
[Nexus 5X Android Development] mr.ace:
Shadow Kernel V3.5

New build is UP!

Just give a brief of what changed!

Changelog :

Compiled with latest gcc-7.3.1 and warning fixes

June security updates

Add back thermal sysfs node

Updated random driver

memory leak fixes

Bug fixes

Download :

https://www.androidfilehost.com/?fid=674106145207491649
[Nexus 5X Android Development] Seyaru:
Thanks for new version i really like your kernel but i have a question about performance i know this is relative in some facts but since a time ago my 5X have really bad performance i dont know what make this happen, i appreciate if you have some ideas about this. Thanks
[Nexus 5X Android Development] mr.ace:
using thermal throttling mode and a appropriate interactive profile like GhostPepper should improve performance

But if it's related to my kernel just let me know I'll appreciate that
[Nexus 5X Android Development] Omegapsy:
Had to pop in and let you know that your kernel with the AICP ROM has effectively resurrected my 5x. This is by far the best stable, feature rich, and comprehensive kernel I've used. Fantastic performance and fantastic battery management.

[MENTION=1917665]Seyaru[/MENTION] Depending on the type of slowdown, you could be experiencing bottlenecks due to the RAM limitations of the device. 2GB still works, but isn't the best by any standard on the market today by any means.
[Nexus 5X Android Development] mr.ace:
Thanks

I'm always keeps this kernel up to date from upstream/caf

Now i've rebased kernel and removed all ****ty codes and so there will be a new test build in the coming days;)
[Nexus 5X Android Development] mr.ace:
Sorry guys for delay,I'll push a new version with Jul patches tomorrow
[Nexus 5X Android Development] N3utro:
Thank you very much mr.ace for this kernel! My nexus 5x using pixelROM is so much faster with it!
[Nexus 5X Android Development] mr.ace:
Shadow Kernel V3.6

New Build is UP!

Changelog :

July security patches

Updated toolchain

Increased zram size to 1GB by default

Improved zram routine

Rebased and reverted random 4.1 / ext4 / devfreq patches as they just caused power consumption

Fixed all memory leak by kmemleak scan

Fixes here and there

Download :

https://www.androidfilehost.com/?fid=5862345805528047966
[Nexus 5X Android Development] paolocorpo:
thanks a lot for your update !
[Nexus 5X Android Development] Jonas_Sand:
New update runs very good. As always [emoji111]️

Sendt fra min Nexus 5X med Tapatalk
[Nexus 5X Android Development] mr.ace:
TEST BUILD :

backported random from 3.18

ext4 upstream fixes

Add back CAF devfreq fixes

New sultanxda API to improve performance/battery

https://www.androidfilehost.com/?fid=5862345805528058373
[Nexus 5X Android Development] mr.ace:
Hi everyone,

For those who looking for next version, already I'm working on backport some interesting stuff from 3.18

They actually could make this phone much more efficient

And so probably it will be released tomorrow
[Nexus 5X Android Development] kkjb:
Excellent, this is my back up dd, and since I use AOSiP with stock Zest kernel finding another up to date 3.18 would be nice to compare Batt life. My old battery device low power mode is important and Project Fi with WiFi/cellular data switching I need all the power savings I can get with low awake time or faster CPU speed/pwr draw.
[Nexus 5X Android Development] mr.ace:
Shadow Kernel V3.7

New build is Up!

First all sorry for not released last month security update

It's not easy to do anything when you're busy with something else

As always we have a list which describe everything has been changed and what i did

Mainly worked out to improve performance but it doesn't mean we'll lose power

Changelog :

August security patches

Compiled by latest GCC 8.2.1 also fixed all related warnings (it's the most important part, we should not take them lightly)

Backported random driver from 3.18 ( fixed entropy depelation * and improved performance)

Fixed some memory leak

Updated lz4 algorithm

Improved screen-on-latency by elevate touchscreen to highest priority

Disabled some useless configs (like debugging features)

Improved memory allocations

First app launch are faster (boost all cores to max freq for 500ms)

lmk/oom fixes

Download :

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

Hopefully enjoy ;)
[Nexus 5X Android Development] paolocorpo:
Thanks a lot as usual for your update
[Nexus 5X Android Development] kkjb:
Thank you for your work. Now I see more and different Governors to experiment with. Life to new / old Toy :)
[Nexus 5X Android Development] 78jimm:
May i Ask what new governers?
[Nexus 5X Android Development] mr.ace:
Oops

I bricked something in the last release, thermal threshold is not working correctly:(

3.8 will be released tommorow to fix this bug
[Nexus 5X Android Development] mr.ace:
Shadow Kernel V3.8

New build is Up!

Changelog :

Reduced power-usage when screen is off

Upstream ext4 fixes

BUG fixes

Download :

https://www.androidfilehost.com/?fid=1322778262904000922
[Nexus 5X Android Development] karandpr:
Thread reopened [MENTION=6998415]mr.ace[/MENTION]

-XDA Staff
[Nexus 5X Android Development] mr.ace:
The new kernel will be up in one or two days.
[Nexus 5X Android Development] mr.ace:
Shadow-20190318

New Build is UP!

It's the build I'm using as a daily driver. it doesn't have much features like before (feature list has been updated)

If you feel like "Oh! Somethings is wrong!" just let me know I'll be in touch

Also the builds won't be versioned as like before. And this means you get the latest changes from my source faster!;)

Download :

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

Hope you guys enjoy!
[Nexus 5X Android Development] imknown:
Hi, thx for your hard-working. :highfive: :D

And I stuck at the bootanimation for 5min.

The ROM is AEX 6.4.and the last bootable kernel is latest Zest before flashing Shadow.

Already wipe cache and dalvik cache.
[Nexus 5X Android Development] mosta00:
+1 stock on "Google " boot logo...
[Nexus 5X Android Development] j-a-d-z:
Both of you: have you flashed the stock kernel (boot.img) of your rom (and magisk if it was installed) before updating to shadow kernel?

New shadow kernel works excellent here on my stock 8.1 rom.
[Nexus 5X Android Development] mosta00:
I already did this. I pass "Google bootlogo" this time, starting bootanimation and then restart on bootlogo again and again..:rolleyes: Android 9 over here
[Nexus 5X Android Development] mr.ace:
It looks someone here has bootloop issue since everything in aoscp is OK for me so I think there's nothing I could do about this, It seems like is related to custom kernel they have.
[Nexus 5X Android Development] zaibansari20:
On which P rom have you tested!!
[Nexus 5X Android Development] mr.ace:
Your CypherOS build
[Nexus 5X Android Development] zaibansari20:
I'll flash and test the kernel

Report if any issue occurs
[Nexus 5X Android Development] Victor Cassiano:
when I gave the kernel flash it did not start the device, it was just restarting.
[Nexus 5X Android Development] LazerL0rd:
The source doesn't seem to be updated, hope you do soon. If you're busy, no worries, just do it when you're free please.

I'm excited to see the changes :P.
[Nexus 5X Android Development] kkjb:
Pixel experience build flashed fine. Thank you for your work and time. Nice to see choices with pie :)
[Nexus 5X Android Development] KochoCho:
Verry niiice baby!

The device chills all the time with this kernel!
[Nexus 5X Android Development] nirogu325:
[MENTION=6998415]mr.ace[/MENTION] - one quick question: does your kernel have stock LED animations or "breathing" animations? Just asking cuz I searched, read and found no reference but I personally like stock animation.
[Nexus 5X Android Development] mr.ace:
It has stock LED animations
[Nexus 5X Android Development] Hamburml:
Stuck in bootloop, use pixelexperience rom :(
[Nexus 5X Android Development] jbytibidi:
What is the difference between the pie and the pie-new branches ?
[Nexus 5X Android Development] mr.ace:
pie-new is newer:laugh: and has fixes for encryption issue pixel experience users reported.
[Nexus 5X Android Development] nirogu325:
Thanks. Flashed and bootlooped no matter what I do on latest Lineage (Oreo). Flashing stock/another kernel fixes it.
[Nexus 5X Android Development] jbytibidi:
What is the recommended stable branch to use for pie ?
[Nexus 5X Android Development] mr.ace:
Master branch

Also the new update come today
[Nexus 5X Android Development] flipflop1:
Looks like a nice update and you finally switched to GCC (with all warnings fixed,nice!), why this change, I thought you were a linaro fan?

PS: I wouldn't add the 2% battery fix, because as said by franco, it's not actually working.
[Nexus 5X Android Development] mr.ace:
Actually 2% battery fix is working, Franco might be wrong

I'm not switched to gcc I chose ARM GNU-A since arm taken gcc-8 toolchain responsibility from linaro and its toolchain are based of linaro
[Nexus 5X Android Development] mr.ace:
Shadow-20190501

New build is UP!

After a lot of rebase and testing it's the last stable build. enjoy ;)

Changelog:

Bump to GCC 8.3

CVE fixes

Upstream ext4 fixes

scheduler fixes

Download :

https://www.androidfilehost.com/?fid=1395089523397956768
[Nexus 5X Android Development] Josh:
[MENTION=6998415]mr.ace[/MENTION] flashed latest build 20190501 on AOSIP Pie with ZEST stock kernel with Magisk 19.0 and stuck in bootloop. No logs sorry. I'll try flash it from scratch without Magisk.
[Nexus 5X Android Development] j-a-d-z:
Same on my N5X with latest AOSIP.
[Nexus 5X Android Development] mr.ace:
encrypted?
[Nexus 5X Android Development] Josh:
Decrypted. Flashed on latest AquariOS with pico gapps without Magisk and works well so far. Tried flash on latest official Aosip with pico and got bootloop.
[Nexus 5X Android Development] j-a-d-z:
My N5X with same BL on AOSIP is encrypted.
[Nexus 5X Android Development] flipflop1:
Aosip is the problem, don't blame the kernel, just use another rom or try to see what's wrong with aosip dev.
[Nexus 5X Android Development] j-a-d-z:
I don't try to blame the kernel but try to help. Last version of shadow kernel (20190318) works with AOSIP, new version does not (boot logo animation forever). So what logs or other things can I provide to help?
[Nexus 5X Android Development] flipflop1:
Now you are helpful by giving informations.

If it's a bootloop (so if you see the bootanimation), you can take a logcat with adb, there's a xda thread about that if you don't know how.
[Nexus 5X Android Development] jbytibidi:
Many commit in the Master branch :) What new ? What is the status?

Thanks
[Nexus 5X Android Development] mr.ace:
My laptop is broken and it take times to repaired

sorry :(
[Nexus 5X Android Development] N3utro:
Thank you for the may update works perfectly.