yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Android Development] CongestedHangman:
I'm facing automatic shut down on 5x for few days.

changed rom, changed kernel, flashed stock.

still nothing changed.

even with 60%+ battery, it automatically shutting down with no reason.
[Nexus 5X Android Development] kkjb:
Back up everything. Data partitions too. BLOD for some begins this way. One of my two that eventually died from bootloop of death started like this :(
[Nexus 5X Android Development] mr.ace:
Shadow-20190617

New build is UP!

Hey guys

Just another build compiled by gcc-8.3 from my sources

Changelog :

New CPU input boost driver ( more efficient than stock)

simple lmk (masterpiece from sultan)

and a lot of changes here and there -- too lazy list them rn ;)

Download :

https://www.androidfilehost.com/?fid=6006931924117897147
[Nexus 5X Android Development] Skittles9823:
Also I'd just like to report I'm experiencing audio pops with notification sounds through headphones with this. Slight crackling and popping after every notification or when pausing media audio.

Update only happens with my headphones.
[Nexus 5X Android Development] mr.ace:
Yeah there's some issue when go to next or previous track but it's not a big bug I'll fix it in next version
[Nexus 5X Android Development] mr.ace:
Sound quality is better or worse?

I'm using drunksauce lite it's a most balanced profile for this device
[Nexus 5X Android Development] Skittles9823:
Thanks :)

I'd say its better so far apart from the popping. I don't have ARISE right now though like I normally do so if it decreases after that I'll let you know.
[Nexus 5X Android Development] francesco totti:
Hi , i flashed shadow kernel v2.0 , and there is a problem with cpu's big cluster frequency , it's stuck at 633 mhz , and whatever i do i cant change it with apps like ex kernel manager or kernel auditor , is it a problem or its how your kernek behaves?!

------

Edit : i rebooted my devices several times and and the big cluster finally working at 1824 , dont know might be related to thermal throttling !
[Nexus 5X Android Development] Ferdimage:
Hey mate thanks for recommending that profile, I didn't know you can use preset profiles on EXkernel manager.
[Nexus 5X Android Development] edoardotavecchio:
Is anyone experiencing problems with Oreo+Magisk+Shadow kernel? It seems thst Magisk and Shadow kernel can't go on together. That's strange because they worked fine before I switched to another rom and switched back to stock oreo (the other rom was PixelROM beta, so it's 8.0 based).
[Nexus 5X Android Development] flocke000:
I had something similar happening with Magisk 13.6 and Shadow kernel on SAOSP-N 7.1.2, the boot never finished, it was always stuck in the boot screen.

I didn't have time to look into it back then, maybe I have some time later today.
[Nexus 5X Android Development] :
I'm testing your kernel since few days with Android O and I experienced some CPU overheating so I don't see any power saving using your kernel please fix this.

Thanks in advance and nice work anyway guy ?

---------- Post added at 07:35 PM ---------- Previous post was at 07:03 PM ----------

Guy it's not you I have the same problem : big cluster is set on min 633 and max 633...

Please kernel dev correct it cause it make my device overheating
[Nexus 5X Android Development] edoardotavecchio:
I'm testing another kernel and everything works fine here. As I found in previous kernel versions, there's something strange with this kernel in its connection to magisk.
[Nexus 5X Android Development] mr.ace:
There was some termal issue in previous version but all of them is fixed in current version, my device is cool even with extreme v4
[Nexus 5X Android Development] :
So it's maybe due to Android O

---------- Post added at 06:58 AM ---------- Previous post was at 06:28 AM ----------

It's a problem with the interactive governor.

Please check it.
[Nexus 5X Android Development] mr.ace:
There's no issue about interactive mybe a app cause overheat on your device
[Nexus 5X Android Development] :
Yeah you are right and the cause was 3c toolbox now I'm using ex kernel manager and I have no problems at all but wich profile do you recommand in ex kernel mgr for MAX battery?

Thanks for all your work and have a nice day ?
[Nexus 5X Android Development] mr.ace:
If you want most battery profile you should use GlassCannon but keep core_control enabled for better battery life
[Nexus 5X Android Development] zacharias.maladroit:
Bro that kernel is sexy :D

(took a look at the commits & features)

Great work !
[Nexus 5X Android Development] mr.ace:
Wait until I get out a build of EAS and you'll get more excited ( at least in GitHub;) )
[Nexus 5X Android Development] indian84:
Were you able to check why the kernel doesn't boot with Magisk?
[Nexus 5X Android Development] mr.ace:
Probably it's related to new anykernel I'm working on to fix it
[Nexus 5X Android Development] zacharias.maladroit:
Make sure to check that you can access ALL of performance,

on Xperia Z5 + Z5 Premium it wasn't the case: Youtube & Video lagging where it normally wouldn't with HMP,

also ROM-side changes might be needed
[Nexus 5X Android Development] flipflop1:
Nice work Man! But why gcc 8.3?
[Nexus 5X Android Development] jbytibidi:
Maybe the best kernel I tried. Any donation url?
[Nexus 5X Android Development] flipflop1:
That's exactly because there's no donation link that it's one of the best.
[Nexus 5X Android Development] RomyRodriguez:
for android 8 ?
[Nexus 5X Android Development] flipflop1:
Should also work on oreo as it just has the commits needed to boot pie.
[Nexus 5X Android Development] mr.ace:
Something is coming!
[Nexus 5X Android Development] Josh:
Running Shadow kernel with Aoscp Pie and rocks flawless. For me best kernel and ROM. Can't wait to flash new stuff. Cheers ?
[Nexus 5X Android Development] xevigas8:
Waiting for it. Thanks for the work!
[Nexus 5X Android Development] syedmfawad:
how is the SOT plz?
[Nexus 5X Android Development] nirogu325:
You'll get a reply with SOT specific to his usage, his apps, his configuration. You'd do yourself a favor giving the kernel a try with your usage/apps/config if you need a precise answer.
[Nexus 5X Android Development] mr.ace:
Shadow Kernel V4.0

oh hello guys, finally It's here the biggest update I've ever done yes yes we have EAS now and it's stable; also thanks to my freind for toolchain and his great feedbacks.

let's take a bief of what changed inside my kernel.

changelog:

Compiled with latest gcc-9.2.1

backported eas from marlin

Disabled sultan's custom drivers (slmk, input_boost_driver)

Enabled f2fs and

Upstream lz4 and zram fixes -- Improved zram operations by 2X

memory allocation improved to reduce overheads of subsystem driver

CVE fixes

Download:

https://www.androidfilehost.com/?fid=1899786940962587977
[Nexus 5X Android Development] Josh:
Anyone experience battery drain on latest build?! Clean flashed with AOSCP 5/30 build ,BitGapps, and Magisk 19.4 canary. No logs,just installed Better battery stats so will see. Everything turned off,sync, Bluetooth, location just wi fi and data.
[Nexus 5X Android Development] mr.ace:
Hmm that could be cuz of the new eas scheduler, I can bring a hmp release tho
[Nexus 5X Android Development] Josh:
It drains very fast
[Nexus 5X Android Development] Josh:
Thanks [MENTION=6998415]mr.ace[/MENTION]
[Nexus 5X Android Development] mr.ace:
Not really fast for me
[Nexus 5X Android Development] Josh:
Drains like American pump oil in Saudi Arabia lol?
[Nexus 5X Android Development] mr.ace:
L O L
[Nexus 5X Android Development] JenniferA:
There is something weird with that file.

Within the downloaded file "Shadow-V4.0.zip" there is a compressed archive (a zip file without the .zip extension) called "Shadow-20190916-2313-schedutil" which is a flashable zip (if you add the .zip extension).

So naturally I tried both and the "Shadow-20190916-2313-schedutil" seems a lot better than the original Shadow-V4.0 in terms of battery life.
[Nexus 5X Android Development] mr.ace:
For those that has bad power consumption with last version try this hmp version

https://www.androidfilehost.com/?fid=1899786940962588568
[Nexus 5X Android Development] mr.ace:
Wut

How I made that mistake it's crazy

Yeah that's schedutil zip I was experiment with it, it was slow and that's why I didn't include it into final release

Do you sure it's better?
[Nexus 5X Android Development] kkjb:
I was wondering why file size was larger than boot partition. But flashed and reverted. I had no sleep speed stepping on either core.
[Nexus 5X Android Development] JenniferA:
It's very fast and looking at the rate freq's return to idle it seems to do very well.

I'm on PixelExperience 08-23.

Edit: I'll report back after I've used it for a full day.
[Nexus 5X Android Development] Josh:
I zip it and boot time is faster than previous 2 builds and yes, it's faster. Will see tommorow about battery life. Thanks for your work ?
[Nexus 5X Android Development] fusion809:
Wrong thread, would delete if I could

Oops wrong thread
[Nexus 5X Android Development] JenniferA:
Happens to the best of us. :)
[Nexus 5X Android Development] Josh:
Any thoughts about latest builds of kernels ?! Which one you guys use- schedutil or HMP version and on which ROM?!
[Nexus 5X Android Development] kkjb:
Pixel Experience Plus pie, i like eas and schedul so tried First 4.0... then hmp... then rename zip in the original file for eas and schedul...

4.0 fast, but cpu speeds for my needs need to cycle more and use sleep and lower speeds until actual touch events.

hmp better sleep but still (in my opinion) touch events slower.

eas liked speed stepping, touch events slowest, but appears if I continue will play with this one more.

Now the bad news I was able to TWRP complete backup / restore of phone (before any flashing of these kernels) Able to return restore and flash the other kernel options.....

until eas schedul, appears a boot overwrite, failed. Wiped everything, Partition failure? Factory flash all and reinstall Pixel Experence...

...Waiting for others feedback before I try again too :)
[Nexus 5X Android Development] JenniferA:
Intermediate report:

Stable as a rock, no problems what so ever.

Turned off wq power saving to improve speed.

4.5 hours of sceen on, 30 minutes of phonecalls, 30 minutes youtube, 1 hour tapatalk, 1 hour chrome and the rest on random apps (like Expressen, a Swedish newspaper)

I'll report back after another day of testing.
[Nexus 5X Android Development] shhnedo:
Flashed the regular V4 on my 23082019 Pixel Experience Plus - wiped caches, flashed kernel, flashed magisk, rebooted. No battery drain, absolutely normal charging, 3h SOT with about 1.5-2 days of battery life. I say it works great.
[Nexus 5X Android Development] aqvyx:
is it gonna be updated for Q?
[Nexus 5X Android Development] mr.ace:
We don't have to update it for q, even the stock kernel should be fine.
[Nexus 5X Android Development] JenniferA:
Problem is that AnyKernel doesn't work with Q yet, the init files are located in system which makes for a very weird behaviour.

I tested it on the PixelExperience 10 Beta and the result was that it reboots to bootloader after first boot.

osmOsis gave a reply in the PixelExperience thread where I also quoted another one of his replies regarding this issue.
[Nexus 5X Android Development] Josh:
Fellow's which build you use and how it works?! Any recommendations after few days using?! And ofc on which ROM! Thanks in advance! [MENTION=6998415]mr.ace[/MENTION] any thoughts?!
[Nexus 5X Android Development] JenniferA:
Well, I'm no fellow :D but I'm still on the shedutil build and it works great, PE 08-28.
[Nexus 5X Android Development] Josh:
My apologies miss JenniferA ;)
[Nexus 5X Android Development] mr.ace:
I don't know myself,very busy right now but I will switch to schedutil if it's actually better
[Nexus 5X Android Development] derkleinebroicher:
When switching between the different versions, should I flash the default boot.img of my ROM in between?
[Nexus 5X Android Development] JenniferA:
No worries. :)

---------- Post added at 05:21 PM ---------- Previous post was at 05:19 PM ----------

Always.
[Nexus 5X Android Development] aqvyx:
when trying to play games little cores are at 960mhz, GPU at 180-300mhz and big cores almost never active except sometimes one at 600mhz
[Nexus 5X Android Development] Josh:
For those who want to use other kernels, ask your kernel developers to early mount /system.

Here's the reference commit: https://github.com/lakgarg/flipflop-1/commit/902859b750c9f1e67ac45150ea6ad6cdb55161d9

Thanks,

Lakshay.

Above is the words from dev.

Stock kernel has some soft reboots on PE 10 so will see what will Lakshay do in future. I've catch some logs for him.
[Nexus 5X Android Development] xevigas8:
Hi guys,

After doing some trials, the best combo for me is PixelExperience (Android 9), this kernel (but the build from 20190617), I/O and TCP deadline+htcp and OfficalGlasscannon governor. With this I get 3h of SOT with normal use from 0700 to 2300 (wifi, 4G, calls, social media, Chrome...).

Thanks for the work OP!
[Nexus 5X Android Development] JenniferA:
Which version? The schedutil version works great on 3D games.
[Nexus 5X Android Development] Josh:
[MENTION=10132733]JenniferA[/MENTION] you are still on PE ROM ?! How it rocks with Shadow so far?!
[Nexus 5X Android Development] JenniferA:
Yeah, still on PE Pie.

Stable as a rock, great performance and between 3.5-4.5 hours of screen on time.

Skickat från min Nexus 5X via Tapatalk
[Nexus 5X Android Development] JenniferA:
Now running PE with my kernel.

This is so fast and 4.5 hours of use is the low end.

With the addition of dynammic frequency we get boost where needed and push to finish ( basically employ all you have to finish the task so all can get back to idle) along with the idea of running tasks only from little regardless of origination or callbacks is working is working as it should.

This one is the end all break all of our device and it works. This also means we can push APEX to realtime, it means we can compile with my headers in newer roms (_98 and 10_whatever) and we can probably just update some other things too since i enabled it in the kernel.

Did disable RWX though and you can thank me later because this was the reason why we could have 500 megs fee space and swap would still not do much even in the current configuration.

Best policy right now is no swap or physical swap, using actual physical memory for swap is stupid, it's defective and it's a bad idea all around.
[Nexus 5X Android Development] zurik:
Tried this version and the earpiece volume is low enough. Running latest Stock Oreo December build.
[Nexus 5X Android Development] syedmfawad:
Are we referring to zram? Do we need to disable zram?
[Nexus 5X Android Development] aqvyx:
latest
[Nexus 5X Android Development] Josh:
So girls and guys what's the thoughts about builds of kernel- version 4.0,schedutil and third in overall terms of battery and performance. In your opinion which is rhe best. I'm on Nexus Rom 10. Thanks
[Nexus 5X Android Development] mr.ace:
I'm gonna ditch EAS in the next version.literally the EAS code base I provided is fine, the EM table Google'd made for our phone doesn't account for big_cluster frequencies power cost accurately.

FYI the new rebase has ALOT fixes from upstream linux and has slimmed down for production builds(removed extra debug crap)
[Nexus 5X Android Development] JenniferA:
That's great, then I can continue with my development on the other end and there will be two great but very different kernels for the NX5.

You did a lot of great work on it for me to build on though, really great work and I'll keep the "based on Shadow" in there because if not for you I might never even have attempted the full upgrade.
[Nexus 5X Android Development] jbytibidi:
Does this kernel work with the latest PE version ten ?
[Nexus 5X Android Development] nam2346c@c@:
I hope this kernel will have updates for Android 10
[Nexus 5X Android Development] mr.ace:
Shadow-09072331

here's the latest kernel compiled with gcc 10, for changelog you check the github source

Download: https://www.androidfilehost.com/?fid=8889791610682932661
[Nexus 5X Android Development] chopoLet:
Thank you :good:
[Nexus 5X Android Development] Tianjingbaozi2:
hello, dev. i heard you work on msm-4.4 for nexus5, any news about this kernel or Rom chatgourp?
[Nexus 5X Android Development] Punkiderma:
Hello! I flashed this, everything smooth but it brokes live display, it is just for me? I'm on nexus rom.

Thanks!
[Nexus 5X Android Development] kalashnikov6468:
Greeting from 2023 :D

After a long time searching for a kernel for my Nexus 5x, I finally found a kernel that supports Android Q.

-Overall everything is good, the battery life is significantly better than the original kernel but after I tested the antutu benchmark, its cpu and gpu scores are about 300 points lower.
[Nexus 5X Android Development] mr.ace:
What I should change in Rom? You talk about custom power-hal?
[Nexus 5X Android Development] zacharias.maladroit:
Yes, custom power hal

perhaps you can work together with [MENTION=6126659]PDesire[/MENTION] on this (Z5 Premium),

afaik he's still working on the EAS part of his kernel.

I'm mostly currently focusing on HMP and other components of the kernel
[Nexus 5X Android Development] indian84:
Great. Hopefully I should be able to run your kernel soon.
[Nexus 5X Android Development] mr.ace:
All is fine for me maybe it's issue just for those that are encrypted
[Nexus 5X Android Development] edoardotavecchio:
I think that too. The only thing that changed since I was using Shadow before in device encryption.
[Nexus 5X Android Development] flocke000:
Yeah this may be it, I am encrypted as well and it won't work.
[Nexus 5X Android Development] Skittles9823:
Ive no idea why it isn't working for others but I pass SN perfectly fine.
[Nexus 5X Android Development] jugoslavpetrovic:
Thanks for the kernel.

Im confused just a bit... Is it for Android 8.0.0?
[Nexus 5X Android Development] Nicktheprofessor:
It should work for Nougat as well as Oreo, there are no breakages that I see in the code since 5.1.1 that would make a kernel incompatible with an older ROM (between 4.4.4 and 5.1 there is but not since then).
[Nexus 5X Android Development] jugoslavpetrovic:
I just saw some words on encryption. I dont want my device encrypted. Is it forced encryption on this kernel?

---------- Post added at 22:53 ---------- Previous post was at 22:25 ----------

@mr.ace does this kernel force encryption?
[Nexus 5X Android Development] Nicktheprofessor:
No, it does not enforce encryption but it MIGHT have problems with encryption and magisk.
[Nexus 5X Android Development] jugoslavpetrovic:
Thanks again. So I should not have problems if prefer not encrypted phone?
[Nexus 5X Android Development] Nicktheprofessor:
No, you won't have any problems with that.
[Nexus 5X Android Development] buffer overflow:
I just installed this kernel on Nougat custom rom encrypted, SuperSU and "wait" to get if will have problems. Btw, what is State notifier & State notifier debugging ? I have some thoughts but i want to be sure. :laugh:
[Nexus 5X Android Development] Nicktheprofessor:
SuperSU should probably work fine, it's Magisk and Oreo that won't work.

State Notifier is a hook to drivers to go to sleep on panel off and State Notifier debug is the debugging module for that.

You do realize that I'm not the maintainer of this kernel nor do I have anything to do with its development?

I'm working on another level entirely.
[Nexus 5X Android Development] buffer overflow:
[MENTION=7732448]Nicktheprofessor[/MENTION] Yes, i know you are not the developer/maintainer but this answer is enough for me. ?
[Nexus 5X Android Development] Nicktheprofessor:
Well, I wouldn't have answered if I didn't know what I was talking about so you can trust that if I do reply I do know what I'm talking about. ;)

I'm mainly a Linux kernel maintainer and only develop for Android when others haven't already made what I want.

Good devs for this device, apart from going up in versions (I'm working on that) there is nothing more I could do.
[Nexus 5X Android Development] flocke000:
Just to clarify (so it won't be overlooked), its not just Oreo. I tried it with encrypted and Magisk on Lollipop and it failed to boot as well.
[Nexus 5X Android Development] mr.ace:
Shadow Kernel 2.1

Changelog :

toolchain update to gcc7.2.1

magisk compatibility fixes

some fixes here and there

Downloads :

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

* A few note on EAS : I got a stable EAS kernel but didn't find much benefit since it's very bad in performance but it's not end for me, I'm still working for a more stable one.;)
[Nexus 5X Android Development] motionat:
Thanks for this update. Though there are no mirrors found on AFH. Might there be an alternative download link for this? Really looking forward to this great Kernel.
[Nexus 5X Android Development] zurik:
Trying now

---------- Post added at 19:59 ---------- Previous post was at 19:37 ----------

I noticed when I play music, the bass is not too much noticable. It's just like when I play some tracks that have heavy bass and the iPad reduces it.
[Nexus 5X Android Development] kojak1989:
use different music player and headphones for example i use Poweramp and Panasonic RP-HJE125E-K and music is great!

---------- Post added at 19:07 ---------- Previous post was at 19:02 ----------

Can someone confirm that this kernel is compatible with 7.1.2 ?
[Nexus 5X Android Development] zurik:
I mean the bass is compressed a lot. The possitive is that is no distortion in sound. I mean on the phone loudspeakers. In Bluetooth speaker Harman Kardon Esquire sound great. I prefer Play music mostly.
[Nexus 5X Android Development] Skittles9823:
Its compatible on 7.1.2 thats what I run.

Ive never had decent bass on loud speaker but on my headphones along with my ARISE setup I get some filthy bass :good:
[Nexus 5X Android Development] kojak1989:
Then use Bluetooth Speaker by JBL ?
[Nexus 5X Android Development] Skittles9823:
No need. My Sound Magic e10c does a fantastic job and I dont play music aloud too often.
[Nexus 5X Android Development] kojak1989:
I use Earson 160 and it's enough for me but JBL sound incredible and in my country is very expensive.
[Nexus 5X Android Development] zurik:
I know that this device dont have decent loudspeakers . I use MusicFX for EQ and I'm fine with that. It's ok.
[Nexus 5X Android Development] flocke000:
Thank you for the update. I just tried it and this version fixes my boot problem.

It now works with my encrypted phone and Magisk without problem.
[Nexus 5X Android Development] anazhd:
Stock 8.0.0, Magisk, Encrypted. It's working. Currently testing the performance.
[Nexus 5X Android Development] jugoslavpetrovic:
Thanks for bringing one more kernel to our beloved Bullhead.

But, it seems lagish and slow a lot. Very noticeable. Is that how it supposed to be?
[Nexus 5X Android Development] zurik:
I noticed that with Oreo today as I flashed. The fingerprint recognize a bit slow, I remember this slow from Jolla Kernel.

Anyway, thanks to Dev for his hard work to give us his kernel.
[Nexus 5X Android Development] mr.ace:
Maybe it's related to new custom lmk value I'll drop them in a new test version
[Nexus 5X Android Development] mr.ace:
This kernel have same finger print commits as Jolla just let me know how it works in test build
[Nexus 5X Android Development] jugoslavpetrovic:
[MENTION=6998415]mr.ace[/MENTION] I have noticed in latest franco as well as in shadow kernel kms brought back and on, also zram increased to 1gb and swapiness set to 100. Im no developer ir engineer, but my own idea about that is that both things consume battery as its more work for compression and decompression for zram tasks and extra work for kms for searching those pages.

That's just how I understand.

Can you advice on that?

Maybe that's why it get slower due to extra work.
[Nexus 5X Android Development] mr.ace:
TEST BUILD : https://www.androidfilehost.com/?fid=745425885120759368

* Revert back swapiness 60 and zram usage to 512mb

* Revert all finger print patches