yashsingh1/xdaforums huggingface dataset:
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] sublimaze:
Any possibility of a version that can be flashed via fastboot? Or maybe a link to a guide showing how to convert to a flashable img? Thanks
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
No sorry, the kernel will only be available via flashable AK3 installer zip.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] momojuro:
@eng.stk

I would like to ask you if it would be possible for me to use your kernel source as a base for a possible kernel project I would like to compile for the Pixel 4a? I will be a new owner soon. :)
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Chrisnetika:
While using this kernel I tried to use an external DAC I received earlier today to use with USB Audio Player Pro and it kept freezing and rebooting my phone everytime I tried play something.Contrary I tried to use a stock kernel and same thing, however I used HolyDragon Kernel and it works perfect! the issue is.. I like this kernel.Any way you can get DACs working with this kernel?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] bobbarker2:
Which DAC just curious?

And in regards to your question, have to find what the other kernel did that allows the DAC to work, where stock/spark don't.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Chrisnetika:
Ifi xDSD, works perfect with HolyDragons but freezes and reboots on sparks and stock.One of the devs from UAPP told me it's because of a kernel bug in latest ota's that causing it and because of that they removed pixel 4a as compatible however with holydragon kernel it's fine.I already tried asking in their post what changes/fixes they did to fix that glitch and allow DACs to work.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
If something on the latest sourcedrop maybe it is yet to be updated and doesn't show the behavior.

I don't have any of that hardware so it's something I can't test myself.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] momojuro:
It would be useful if you could provide logs (thanks to @Sultanxda for providing the instructions). When the reboot occurs, grab the console-ramoops located at:

/sys/fs/pstore/console-ramoops-0
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
blu_spark_r86 release (A11)

New build is up!

You can use FKM download kernel feature, just import the link bellow in the app :highfive:

FKM download config: HERE

Changelog:

Keep in mind: I will give no active support for custom ROMs (including stock based ones).

I am mostly interested on debugging stuff in stock ROM (with logs and reproducible steps to replicate the issue).

No mirrors please

Don't forget to hit thanks, it's free :)
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Chrisnetika:
will give this a shot and let you know if it works with my dac unit
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Chrisnetika:
works for me so far! nice job :) and signal is preserved for mqa so great! You figured it out and thank you.If I come across any issues I will report it.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
Awesome, enjoy mate :)
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Chrisnetika:
Appreciate it, I edited it in my last comment but I will put it again here since you replied before I edit it haha if I come across any issue will report it.Unlike the HolyDragon kernel I notice this kernel my phone doesn't get hot as much and everything runs smooth so keep up the good work.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] bobbarker2:
yay for zstd. Thanks for your contribution.

Any thoughts on using ThinLTO? :devilish:

Also quick question, you have TWRP support in OP but this kernel is for A11 only and afaik TWRP doesn't work with 11 yet. Unless there is an unofficlal build/hacky way of getting TWRP on the device?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Buddhaog:
I love your kernels blu ran them for years. Just got the pixel 5 and I've seen some unified device trees for the pixel 4a 5G and pixel 5. I'm very tempted to flash it and see if it works . Any idea if they are the same?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
I'm not afan of LTO in any form, to much time consuming building to little gains.

Even ThinLTO takes lot's of cache space and on my tests final result is meh.

I don't work on TWRP stuff atm, since autoflash kernel apps serves my needs.

Welcome mate.

No, different trees, this is for 4a only.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] bobbarker2:
@eng.stk would you recommend using zstd for ZRAM or sticking with lz4? https://github.com/facebook/zstd#benchmarks but there's the question of versions/parameters etc. Seems like lz4 is still the winner as a max of +0.7 compression ratio doesn't seem like it's worth 4x less speed decompressing.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
I would not, zstd takes some computational power to get going. It's better suited for static stuff like compressing kernel images and similar.

For zram lz4 and lzo-rle have better results, there's some arm patches to make it more efficient.

I would like to have zstd kernel and ramdisk support for the pixels, but the bootloader seems to not like it. But it's still better than OP devices, not even support lz4.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Makishima:
Great work with the kernel, works perfectly. I was wondering about something, might be totally uninformed on my part, but it's been ages since I've tinkered with kernels on my previous devices (last time was on Galaxy SII...). Well, I saw on FKM that it recommends underclocking the CPU and GPU for better battery life. Coming from a Xiaomi with incredible battery life, this is one of my concerns so I wanted to ask you whether you think this is a good idea, or perhaps there is something else I could do to increase it. Thank you very much for your work!
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] bobbarker2:
Ty for the indepth explaination. After doing some more digging I came to the same conclusion as you. Good to know my conclusion and your recommendation are the same. Keep up the good work, for me this is the best kernels for this device. Especially when it comes to idle drain. Other kernels were at 1.5%, yours is 0.5%.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] bobbarker2:
I've always been a little bit leery of the suggestions FKM provides. They seem very generic and not device or vendor specifc.

With that said I don't think underclocking is a feature on this kernel so the point is moot.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Makishima:
I see, thank you.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
blu_spark_r97 release (A11)

New build is up!

You can use FKM download kernel feature, just import the link bellow in the app :highfive:

FKM download config: HERE

Changelog:

Keep in mind: I will give no active support for custom ROMs (including stock based ones).

I am mostly interested on debugging stuff in stock ROM (with logs and reproducible steps to replicate the issue).

No mirrors please

Don't forget to hit thanks, it's free :)
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] mindyabiznis:
@eng.stk morning mate thanks for the update.

Do I just enable all the "apply on boot" buttons in fkm? Or are they already set.

I only ask because minimum CPU Freq. Was set to 652 and 576 respectively not 300.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
300 is not the default, leave as it is.

You don't need to change anything on FKM.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] mindyabiznis:
Cheers mate, thanks for the response
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] bobbarker2:
Edit: Nevermind :)

Thanks for the update!
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] mindyabiznis:
Just wondering if this works with advanced charging controller magisk module, I've tested the switches that stop and resume charging at a set % but it reported none of them work.

Have also tried setting it up and seeing if it works but it does not
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
You just answered your own question 😇
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] mindyabiznis:
Ha brilliant
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Meth0d:
advanced charging controller used to work with this kernel some builds ago, but stopped recently.

I am not 100% sure if it is android security patch related or just kernel related.

I have tried a lot of acca builds but can't get it to work.

Guess I'll have to wear down my battery now :/
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] mindyabiznis:
Yeah, see normally I'm not too concerned but I was planning on keeping this phone for a few years so wanted to get the most out of the battery.

Besides that, all I can do now is use a 1amp charger for overnight charging in the hope of low amps and temp adding whatever it can to the lifetime of the battery.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
Charging is totally stock, I never had anything related to that in the kernel.

Google already has inteligent charging stuff in place.

Now if you don't really want wear ont he battery, don't use fast charge.

High power and temperature are the main issues there.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Meth0d:
Well the google stuff is not intelligent at all, it's better then nothing but far from acc.

Yes using low currents is important but more so to not fully charge 100% every time.

Also acc can pause to keep ur temps down.

I have no idear what's causing acc to not work anymore, i can just say it stopped one or two month ago and i didn't change anything besides updating kernel, store apps and the android security patches ofc.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
Google stuff is more than enough, specially for people that charge overnight. It learns your habits and doses and cuts off when needed.

Temperature measures and protections have been in place since decades, nothing new.

Even if you have all the cares in the world, batteries go bye bye in a couple years, depending in charge cycles and how much and how fast current has been pushed to it, because of chemical deplition. Temperatures agravate it.

Batteries have not the fully capacity available beforehand and having a small current charging to 100 (which is almost zero) will not have neither the doom (on) or the miracle (off) thay people imagine.

I have devices with all that crap available and I don't notice anything very different from ones that don't.

As long you don't keep your device pluged in for months in a row and you allow normal charge and discharge cycles, battery will last fine.

I'll use whatever is in stock kernel and there's no changes from Google on it that I know off.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] mindyabiznis:
Does this Google optimised stuff carry over into custom roms like LOS? I know the adaptive charging isn't ported.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] buckket:
Just wanted to let you know that it’s working fine on my Pixel 4a.

I'm using:

Magisk 22.1

ACC v2020.10.15

r97 Kernel

Charging switch is:

/sys/kernel/debug/google_charger/chg_suspend 0 1
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] mindyabiznis:
Ah man you're a superstar thanks for letting me know.

EDIT: so I've put that switch in as a custom switch with values 0 and 1 but it's still charging way past the % I set. I'm using the AccA interface as it's easier than terminal. Are you using the same setup?

And I cannot seem to see the v2020.10.15 in the list all there is available is 10.28 10.24 10.8 and 10.1 in the v2020 list.

2nd edit: so I managed to get it semi working with v2020.10.24 problem is it stops charging at set % and then maybe 10-15 seconds later it starts again at low ma like 400ma then pops up to 1000ma and then stops again and just repeats over and over, so it is working, kind of but with that stopping and starting the % slowly goes above what I set it too.

I don't suppose you could post screenshots of exactly what you have setup that works for you could you?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] buckket:
I’m using AccA as well which I got from F-Droid, it has the aforementioned ACC version included.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] d33dvb:
Is this compatible with lineage os 18.1?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
Yep, running it atm 👍
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] d33dvb:
Thanks man!
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] moist_line:
Does this improve battery life? Mine is pretty bad...
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
blu_spark_r105 release (A11)

New build is up!

You can use FKM download kernel feature, just import the link bellow in the app :highfive:

FKM download config: HERE

Changelog:

Keep in mind: I will give no active support for custom ROMs (including stock based ones).

I am mostly interested on debugging stuff in stock ROM (with logs and reproducible steps to replicate the issue).

No mirrors please

Don't forget to hit thanks, it's free :)
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Slim2none4u:
Wrong thread. Please delete.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] krotin:
Thank you very much.

Sweet as usual.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] momojuro:
Hey there,

I would like to suggest you to cherry-pick the following commits:

arm64/dts: qcom: Disable CoreSight DT entries for sdmmagpie

hwtracing: coresight: Add entries from sdmmagpie-coresight

They follow up this change introduced earlier.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
I think we already have the ids that matter available from /drivers/coresight but probably won't hurt.

dts changes it's probably redundant.

Nice finds.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
blu_spark_r110 release (A11)

New build is up!

You can use FKM download kernel feature, just import the link bellow in the app :highfive:

FKM download config: HERE

Changelog:

Keep in mind: I will give no active support for custom ROMs (including stock based ones).

I am mostly interested on debugging stuff in stock ROM (with logs and reproducible steps to replicate the issue).

No mirrors please

Don't forget to hit thanks, it's free :)
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] TadMSTR:
Working for me too.

Magisk 23

AAC v2021.2.25

r110 kernel

Same charging switch works for me.

/sys/kernel/debug/google_charger/chg_suspend 0 1
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] 1maaax:
hi, thank you for the kernel. do you know if this is this good to use with a module like nfs injector or lkt? or would they make it worse?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
blu_spark_r111 release (A11)

New build is up!

You can use FKM download kernel feature, just import the link bellow in the app :highfive:

FKM download config: HERE

Changelog:

Keep in mind: I will give no active support for custom ROMs (including stock based ones).

I am mostly interested on debugging stuff in stock ROM (with logs and reproducible steps to replicate the issue).

No mirrors please

Don't forget to hit thanks, it's free :)
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Chrisnetika:
Can I use this kernel with June updated phone untill i'm rdy to update the rom?

Also how to enable exfat? I just got a Samsung t7 external, my phone recognizes the preloaded software partition but not the main exfat partition. So how to get that turned on? TY in advance!
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] krotin:
I know it's not supported but would it work with Android 12 beta 3.1 ?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
Kernel is always build against latest patchset. People should use matching ROMs.

There's no support for exfat automount in ROM, blame google not adding stuff to vold.

You can use kernel driver with mount tools.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
While it may work, since the tree is not the same, derps may happen.

I already have a A12 tree in the works, if I update to it before stable comes out, maybe I'll push a release.

We'll see.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
blu_spark_r114 release (A11)

New build is up!

You can use FKM download kernel feature, just import the link bellow in the app :highfive:

FKM download config: HERE

Changelog:

Keep in mind: I will give no active support for custom ROMs (including stock based ones).

I am mostly interested on debugging stuff in stock ROM (with logs and reproducible steps to replicate the issue).

No mirrors please

Don't forget to hit thanks, it's free :)
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] bcote311:
Thanks for the update!! Running perfectly on Lineage!
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
blu_spark_r117 release (A11)

New build is up!

Google didn't push kernel updates for 2021.09, which goes inline with last month also being short in patches.

Maybe they are prepping up the A12 release. So this will be the last A11kernel update from me probably.

You can use FKM download kernel feature, just import the link bellow in the app :highfive:

FKM download config: HERE

Changelog:

Keep in mind: I will give no active support for custom ROMs (including stock based ones).

I am mostly interested on debugging stuff in stock ROM (with logs and reproducible steps to replicate the issue).

No mirrors please

Don't forget to hit thanks, it's free :)
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
blu_spark_r122 beta (A12)

New build is up!

Here the first beta for A12, so far everything is going very smoothly

You can use FKM download kernel feature, just import the link bellow in the app :highfive:

FKM download config: HERE

Changelog:

Keep in mind: I will give no active support for custom ROMs (including stock based ones).

I am mostly interested on debugging stuff in stock ROM (with logs and reproducible steps to replicate the issue).

No mirrors please

Don't forget to hit thanks, it's free :)
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] krotin:
Hello,

Tahnk you eng.stk.

It seems FKM json link for A12 still sends us to R177 for A11.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
Sure, A11 is release, A12 is beta ;)
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
blu_spark_r118 release (A11)

New build is up!

Seems like Google decided to do a last hurrah for the A11 before pushing stable A12.

Here's one final A11 build for you guys!

You can use FKM download kernel feature, just import the link bellow in the app :highfive:

FKM download config: HERE

Changelog:

Keep in mind: I will give no active support for custom ROMs (including stock based ones).

I am mostly interested on debugging stuff in stock ROM (with logs and reproducible steps to replicate the issue).

No mirrors please

Don't forget to hit thanks, it's free :)
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] jachu76:
I have android 12 beta, do i need to unlock the bootloader?

I've never installed a kernel and I don't know where to start
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Slim2none4u:
Yes you do.

fastboot flashing unlock
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] tablord:
@eng.stk Thanks for the kernel. Can you please enable the DisplayPort function?

https://www.reddit.com/r/Android/comments/dpwaty

https://android.googlesource.com/kernel/msm/+/184170bea097dec34b9871fc724dcac9b5989427^!/#F0
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] jachu76:
I unlocked, how do I upload the kernel now?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Slim2none4u:
Now that your boorloader is unlocked, you need to root with magisk.

Pull the boot.img from your firmware(use the latest google firmware) and place it on your phone. In Magisk select install and then select and patch a file. Pick your boot.img and press lets go. After its done, take the magisk_patchedxxxxxx.img and transfer it to your PC. On yor PC, open a command window and type adb reboot bootloader. Now at the bootloader screen type fastboot flash boot magisk_patchedxxxxx.img --slot all. When finished press start on the phone.

When booted up, Open the FKM app and go to the Custom Kernel Config and add this url https://raw.githubusercontent.com/engstk/kernelfkm/master/updater_pxl4a.json

Then click Flash.

Profit!

Hit the thank you!
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
Sure we can try to enable it, keep in mind some further stuff may be needed to get it working, on OnePlus devices there's plenty going on for HDMI/DP/USB-C ext display stuff.

Queued for next release, I don't have any adapters so I can't test meanwhile.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
Well after diving in a little bit more into this, seems like people already tried it on PIxel 4 and others to no avail. I bet 4a would be just the same.

Either:

1. Like I said earlier, HDMI/DP/USB-C ext display stuff is missing and it's too much hassle to make it work

2. It's blocked via proprietary QC firmware (most likely)

Like I suspected, probably won't be as easy as just changing a property in dts.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] tablord:
Thanks for putting some time into this. You are right, it is not that easy to achieve. I tried HolyDragon's Kernel with that said property changed but to no avail. Can you point me to the discussions or forum where people tried to make it work?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
A simple google search will get you some results in different olaces and plattforms, including xda.

I'm pretty sure that stuff is disabled via firmware proprietary blobs.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
blu_spark_r127 (A12)

New build is up for A12 stable!

You can use FKM download kernel feature, just import the link bellow in the app :highfive:

FKM download config: HERE

Changelog:

Keep in mind: I will give no active support for custom ROMs (including stock based ones).

I am mostly interested on debugging stuff in stock ROM (with logs and reproducible steps to replicate the issue).

No mirrors please

Don't forget to hit thanks, it's free :)
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Meth0d:
I am currently on r118 with android RQ3A.211001.001

The FKM Flasher tells me that it's an unsupported version.

What version do I need?
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Meth0d:
Update: I was not aware that A12 was rolled out for pixel already ... I guess you don't support A11 anymore.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] eng.stk:
blu_spark_r128 (A12)

New build is up for A12 stable!

You can use FKM download kernel feature, just import the link bellow in the app :highfive:

FKM download config: HERE

Changelog:

Keep in mind: I will give no active support for custom ROMs (including stock based ones).

I am mostly interested on debugging stuff in stock ROM (with logs and reproducible steps to replicate the issue).

No mirrors please

Don't forget to hit thanks, it's free :)
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] cnutz:
Hi, I'm on stock A12 rooted/EX Kernel Manager. Has anybody experienced reboots with this kernel ?

I had reboots twice just doing nothing. Looking at my phone it began to reboot.

Any ideas?

Now, couple days later no more reboots that I can report.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] Chrisnetika:
What the latest version of kernel I can use for Android 11? Not ready to move onto a12 yet.
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] old.splatterhand:
One page back: https://xdaforums.com/t/kernel-blu_spark-r128-a11-a12.4182455/post-85730459
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] davilanxon:
Yes, the same for me, sometimes it reboots but only when I have it in the pocket or I am not using it. Maybe a day happens once, other days not...
[Google Pixel 4a ROMs, Kernels, Recoveries, & Other] gulafaran:
Same for me aswell