yashsingh1/xdaforums huggingface dataset:
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Update!

Note: It is recommended that you reboot your phone after you have applied v2.8 so the personal and fully customized changes takes full effect and is fully up & running as intended. Don't forget to also flash the Busybox Magisk module!

Version v2.8 (Minor release):

- Adjusted the kernel task scheduler for reduced jitter as well as improved system performance and responsivness

- Reverted to the safe-to-block wakelock list for the final release (feel free to add any misbehaving WL's if needed)

- Enabled the iowait_boost flag (again) on / for the LITTLE cluster cores (report back to me if this breaks deep sleep)

- Slightly updated the readme.txt file a little bit even more

If you optionally want to donate a beer or five as a way to show your appreciation for all the dedicated hours and work that I am putting into this mod on a daily rate - then this link is the way to go:

Donations

Enjoy! :)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] airmaxx23:
1971 here. :cool:
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Update!

Note: It is recommended that you reboot your phone after you have applied v2.9 so the personal and fully customized changes takes full effect and is fully up & running as intended. Don't forget to also flash the Busybox Magisk module!

Version v2.9 (Minor release):

- Reverted all of the kernel task scheduler customizations (check the included changelog for the exact reason why)

- Some additional minor adjustments and enhancements

If you optionally want to donate a beer or five as a way to show your appreciation for all the dedicated hours and work that I am putting into this mod on a daily rate - then this link is the way to go:

Donations

Enjoy! :)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] DinarQ8:
Dose 2.9 work fine with FK kernel 2.7? Because i do not see file for Tweaked max clock

And if i want update the kernel version do i need setup your script again?

sorry for the question. I do not have enough experience [emoji16]
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
1) v2.9 works just fine. I removed the max clock adjustments because got tired of making it work as good as possible.

2) Nope. Just flash the new kernel build, reboot once and the script(s) is then taking care of the rest!

:)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] baretoes:
To get over the air updates, is it just a matter of temporarily removing the ".sh" files from the service.d folder? Will BusyBox also need to be temporarily uninstalled?

Thanks
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Donric13:
Just a question : several kernel now also have a powerhint magisk module. If using this mod with frequencies in ekm is it better to not apply powerhint modules? Could they interfere with the mod?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Juzman:
Not sure about OTA, I just download factory image, remove -w and flash-all. Then patch the boot.img with magisk and flash.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
It's best to choose one or the other. :good:
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Yes on both your questions! :)

BM isn't touching the CPU frequencies anymore so don't worry - it'll work fine.

?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Update!

Note: It is recommended that you reboot your phone after you have applied v3.0 so the personal and fully customized changes takes full effect and is fully up & running as intended. Don't forget to also flash the Busybox Magisk module!

Version v3.0 (Minor release):

- Added in the task scheduler modifications again (duh..)

- Fully reverted the ZRAM and swappiness adjustments

- Enabled the iowait_boost flag for all three CPU clusters

- Fully enabled the ulps_suspend_feature_enabled flag

- Some additional quality of life stuff here and there

If you optionally want to donate a beer or five as a way to show your appreciation for all the dedicated hours and work that I am putting into this mod on a daily rate - then this link is the way to go:

Donations

Enjoy! :)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] boonthongw@gmail.com:
Is it compatible with Artemis kernel?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Should be, I haven't tried it myself though. Give it a try and report back here on how it works out if you want to!

:)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] boonthongw@gmail.com:
ok I will try and let you know.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] .hEiMDaLL.:
Hey there,

just in case someone has problems with banking apps after using BM:

Took me some time to figure it out, but the following lines trigger anti root/tamper protection at least on VR-SecureGo:

# Use RCU_normal instead of RCU_expedited for improved real-time latency, CPU utilization and energy efficiency;

echo "0" > /sys/kernel/rcu_expedited

echo "1" > /sys/kernel/rcu_normal
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] varun.gid:
Sorry if this has been asked... Can I use this with stock kernel also?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Yes :)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Update!

Note: It is recommended that you reboot your phone after you have applied v3.1 so the personal and fully customized changes takes full effect and is fully up & running as intended. Don't forget to also flash the Busybox Magisk module!

Version v3.1 (Minor release):

- A few minor reverts both here as well as over there

- Purged some pretty excessively useless kernel bloat

- Sorted out a few highly random quality of life typos

If you optionally want to donate a beer or five as a way to show your appreciation for all the dedicated hours and work that I am putting into this mod on a daily rate - then this link is the way to go:

Donations

Enjoy! :)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Update!

Note: It is recommended that you reboot your phone after you have applied v3.2 so the personal and fully customized changes takes full effect and is fully up & running as intended. Don't forget to also flash the Busybox Magisk module!

Version v3.2 (Minor release):

- Tuned a few things for significantly improved UI fluidity

If you optionally want to donate a beer or five as a way to show your appreciation for all the dedicated hours and work that I am putting into this mod on a daily rate - then this link is the way to go:

Donations

Enjoy! :)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] varun.gid:
Like a few members mentioned.. I'm having randam data drops and data stops working for 5 10 mins. No matter i toggle it on n off it doesn't work. Regular Pixel, Jan update and stock kernel here.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Everything works fine here for me.

Under what circumstances are you noticing the random data drop issues? While being on the run outdoors?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] p70shooter:
No data drops here either ?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Madjax2020:
I lose LTE, can't send group messages not sure what's causing it.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] varun.gid:
It's when outdoors, but i think i figured it out. It's not to with this mod I'm glad and I'm now using it fully without issues.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] cubsrule93:
Hey Firefly, if I'm interested in trying out BM, should I disable the two modules included with the Kirisakura kernel?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Nein :)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Jkell69:
Is there a way to reverse the mods to stock? I assume removing the the script files isn't enough to actually reverse all changes.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Just remove them > reboot once > "profit".

Though, why do you want to remove BM?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] dukat0s:
[MENTION=8852292]xFirefly93[/MENTION] hey buddy great to see you here :) great work as always ??? really appreciate it count me in if you need something ?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
You can always join the official Telegram group for BM that targets Pixel 4 (XL) if you of course wants to, mate!

:highfive:
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Update!

Note: It is recommended that you reboot your phone after you have applied v3.3 so the personal and fully customized changes takes full effect and is fully up & running as intended. Don't forget to also flash the Busybox Magisk module!

Version v3.3 (Major release):

- Unblocked the DIAG_WS kernel wakelock per default

- Fixed the stutters while turning on and off the screen

- Completely disabled edac CPU logging (experimental)

- Slightly decreased nr_requests for reduced IO latency

- Added a minor TCP congestion algorithm easter egg

- Adjusted CFQ for potentially improved device fluidity

- Disabled the iowait_boost flag for battery life reasons

- Sorted out a couple minor typos in a few descriptions

- Added back a few things from the earlier BM releases

- Some more high quality under-the-hood adjustments

If you optionally want to donate a beer or five as a way to show your appreciation for all the dedicated hours and work that I am putting into this mod on a daily rate - then this link is the way to go:

Donations

Enjoy! :)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Update!

Note: It is recommended that you reboot your phone after you have applied v3.4 so the personal and fully customized changes takes full effect and is fully up & running as intended. Don't forget to also flash the Busybox Magisk module!

Version v3.4 (Minor release):

- Just a few reverts (may fix the random idle battery drain)

If you optionally want to donate a beer or five as a way to show your appreciation for all the dedicated hours and work that I am putting into this mod on a daily rate - then this link is the way to go:

Donations

Enjoy! :)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Update!

Note: It is recommended that you reboot your phone after you have applied v3.5 so the personal and fully customized changes takes full effect and is fully up & running as intended. Don't forget to also flash the Busybox Magisk module!

Version v3.5 (Minor release):

- Tuned Schedutil across every cluster in a non-orthodox way for both performance as well as battery life reasons

- Turned off the ulps_suspend_feature_enable display flag (it makes no sense and just only destroys your battery life)

- Some additional miscellaneous adjustments and reverts

If you optionally want to donate a beer or five as a way to show your appreciation for all the dedicated hours and work that I am putting into this mod on a daily rate - then this link is the way to go:

Donations

Enjoy! :)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Houssem9506:
Does the kernel support hbm ?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] p70shooter:
It's not a kernel.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] johnlgalt:
I think I might have just found a reason to root my Coral.

Especially since my Taimen is running the dev prev of 11....
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Curiousn00b:
Tbh, there's plenty of reasons to root. I found a really good addition to even use Xposed now that there's a way to get it working with Google Pay, but there's a module called FingerFace that lets you had your face as a fingerprint basically. Coming from the Taimen as well, I miss the fingerprint, but this was perfect. :p
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] 1dopewrx05:
What Xposed method are you referring to? I'm curious for myself
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Curiousn00b:
https://github.com/topjohnwu/Fingerface
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] johnlgalt:
Heh. I haven't gotten around to doing it yet, but I will shortly. I've (finally!) found the GCam PX Mod I want to use. Now I *have* to root.

At least I'm stuck at home all the time. It's a lot easier to find the time to do these kinda things when I'm not having to run around and thus need my device up and working.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Update!

Note: It is recommended that you reboot your phone after you have applied v4.0 so the personal and fully customized changes takes full effect and is fully up & running as intended. Don't forget to also flash the Busybox Magisk module!

Version v4.0 (EOL Release):

- Final release for the Google Pixel 4(XL) line-up

- Configured and tuned everything for stability

- Some other additionally major & minor things

If you optionally want to donate a beer or five as a way to show your appreciation for all the dedicated hours and work that I am putting into this mod on a daily rate - then this link is the way to go:

Donations

Enjoy! :)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] rickysidhu_:
Hey thanks for the update!

I just have a question regarding the EOL status,

Is this mod EOL because you feel this is the maximum amount of tuning that can possibly be done for this device? Or is it because you've moved on to another device/no longer wish to support the 4(XL) lineup?

Just curious! Thanks again.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
BlackenedMod for Pixel 4(XL) is EOL:ed thanks to the fact that I've grown tired of pretending that this device was worth the 12000 SEK that I paid for it, no matter how much I now love some of the aspects of it - the camera is still the king of the hill among all the Android devices, the only true challenger to it is my iPhone 11 Pro Max which is my primary daily driver today. But for answering your question as properly as possible - the 4(XL) series is not that well-made and have a lot of issues that Google seems to not give a **** about - one of them is the inconsistent battery life that just have mind****ed me since Day 1 when it have shifted on a alarming rate from being good to awful and back to good again and so on, like if it is something that I can't see with apps like BBS that slowly eats up my battery life deeply in the background (and no, it's not an misbehaving wakelock or all-time running service because I would have noticed it then from the beginning.) Add the fact that Google seems to lack a vision about what they even want to do with their devices or how we, the users, should see and remember them as, which also turns me off to some additional extent.

This is just a few examples of why I am selling my 4XL. I hope that Google gets their stuff together on the 4a(XL?) series and finally delivers the same experience that the Pixel 2(XL) line-up was able to give me. If that now may happen, I will be all-in back, but instead on the 4a section of the green grass.

We'll see..
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Madjax2020:
Thank you sir for all you have done.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bradical711:
Noticed you have two different TCP congestion algorithms in place inside of the new script. BBR and Westwood. Don't know if this was intentional but I don't believe it is. Maybe you forgot to delete one of them? Your opinion.?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] TotallyAnxious:
https://linuxize.com/post/bash-comments/

...
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] bradical711:
I know what bash comments are but I didn't see until I looked again that he had a bash in front of bbr and not Westwood. Sorry and thank you.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] rickysidhu_:
I actually have similar feelings especially with battery life but mine is just consistently below average. I'm charging multiple times a day.

I wanted to switch to the OnePlus 8 Pro but I recently purchased a new laptop so I'm financially unable. As soon as I am, I'm getting rid of this myself!

And yeah hopefully that 4a is something us users will actually appreciate and enjoy!!

Thanks for your time and effort with this mod, I will continue rocking the last version for the foreseeable future! :highfive:
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Neejay:
It's been a while since I used this, but I've always respected you for keeping this up, over a couple of pixels. :svetius:
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] manueltimz:
Does this Mod reduce idle battery drain?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] wrongway213:
I recommend reading the OP - it outlines exactly what this mod aims to do very clearly
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Lawmanhkven:
Hi guys! I followed the instruction on the first page but there's no any log files after rebooting... Have tried a few times but still got the same result. Dunno if the mod has run successfully.

I am using stock ROM and Elemental X 1.09 kernel. Thanks!
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Zilla0617:
Delete
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Deadmau73:
Where to download ?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Magnufire2:
Why are these old threads not marked as obsolete? Searching the internet for info on kernel tweaks for optimum battery life seems like sites and posts all lead back to reach other like a loop. I guess I followed the wrong trail of posts and now I'm in alternate timeline. A bizarro world of you will. Old posts. Internet stating there are no results matching my terms. Misleading or just plain wrong info. This world changed so quickly. So....uhm..... where is the download link?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] rooman1803:
where to download?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] c_86:
I don't have a adb folder in data?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
You have to be rooted with Magisk.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] c_86:
I am rooted with Magisk
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
You need a file browser with root support.

Use FX Filebrowser instead.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Kevtrejo37:
You need to enable show hidden folders bro and force the app to ask for root access within the settings and then go to mm and Grant root access
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] c_86:
Ya I got it now. Fx work for me. The other file explorer wasn't showing the folders even when asked to show hidden.

But I got it loaded.

---------- Post added at 06:20 PM ---------- Previous post was at 06:19 PM ----------

Ya I got it now. Fx work for me. The other file explorer wasn't showing the folders even when asked to show hidden.

But I got it loaded.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Kevtrejo37:
You need to enable show hidden folders bro and force the app to ask for root access within the settings and then go to mm and Grant root access

Sorry XDA is bugging out ?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] c_86:
See my post above
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Update!

Note: It is recommended that you reboot your phone after you have applied v1.1 so the personal and fully customized changes takes full effect and is fully up & running as intended. Don't forget to also flash the Busybox Magisk module!

Version v1.1 (Minor release):

- Reverted EAS_PREFER_IDLE to default stock value

- Removed the fstrim section (useless on Android 10)

- Blocked the DIAG_WS kernel wakelock per default

- Enabled display panel ULPS for the regular Pixel 4

- Fixed a minor derp in the header of the script itself

- Slightly updated / adjusted a few minor descriptions

If you optionally want to donate a beer or five as a way to show your appreciation for all the dedicated hours and work that I am putting into this mod on a daily rate - then this link is the way to go:

Donations

Enjoy! :)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] likepeas:
Having these weird issue that when ever I charge my phone it would freeze up. Running kirisakura kernel as well.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Everything works fine here at my end. Are you using any Magisk modules perhaps?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] likepeas:
Just these.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Vinzie:
MOD seems to cause issues when I loose connection to WIFI (when I get into my car). It does not switch to mobile data (no icon appears and I have no internet connection.. When I remove the script and reboot, this work as expected... anyone else who has this issue ? I tried this with both kernels in the XDA pixel 4 XL thread and have no addition magisk modules running (only flashed the magisk modified boot.img file)...
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Hm, I've no honest idea what the cause to your freezes could be because everything is working here at my end.

I haven't touched anything related to either mobile data or WIFI functionality (except from blocking a few non-important wakelocks for power saving reasons.)

It must be something else on your phone that goes nuts with BM applied which is hard for me to pin down from here, so I can't do much about it even if I want to.

Sorry.

¯\_(ツ)_/¯
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Vinzie:
No problem. If I decide to try another kernel or ROM (if it comes out), or a factor reset I will try again. Until then I'll just have to skip, this MOD.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] localceleb:
How do you confirm if it is working?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] 12Fully:
You should see a folder named Logs in your storage.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] localceleb:
Cool, seems like I'm all setup then. Thanks!
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] c_86:
Something is causing an increase of no deep sleep...
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Check your partial wakelocks and running services, I've not touched anything that reduces your deep sleep stats.

:)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Update!

Note: It is recommended that you reboot your phone after you have applied v1.2 so the personal and fully customized changes takes full effect and is fully up & running as intended. Don't forget to also flash the Busybox Magisk module!

Version v1.2 (Major release):

- Added a neat workaround / fix for ElementalX kernel

- Decreased PowerHAL boosting idle timeout to 64ms

- Adjusted the Schedutil governor across all three clusters for potentially improved performance and battery life

- Forced foreground CPUSet upon the low power cluster

- Slightly adjusted a few descriptions both here and there

If you optionally want to donate a beer or five as a way to show your appreciation for all the dedicated hours and work that I am putting into this mod on a daily rate - then this link is the way to go:

Donations

Enjoy! :)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] likepeas:
Hi,

Seems like my phone just freezes up once booted. Already disabled all magisk modules, changed back to stock kernel. But phone just hangs and I'm unable to navigate to delete the mod.

If I use adb shell I would get this error:

C:\adb\platform-tools>adb shell rm -f /data/adb/service.d/01blackenedmod.sh

error: exec '/system/bin/sh' failed: Permission denied
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Because you are not rooted, I guess..?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] likepeas:
I am, I went back to stock and it was fine so that I could actually use my phone. But once I flashed magisk_patched, the freezing was back upon boot. And when I tried to run those commands that didn't work.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] InfiniteXero:
All seems to be working fine for me - hopefully this battery life does improve. Hope you enjoy a nice beer with those donations ?