[EOL][MOD] BlackenedMod v4.0 (Pixel 4 / Pixel 4 XL)

Search This thread

xFirefly93

Senior Member
Jan 10, 2018
1,424
2,292
Timrå
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! :)
 

xFirefly93

Senior Member
Jan 10, 2018
1,424
2,292
Timrå
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! :)
 
Last edited:

DinarQ8

Senior Member
Nov 23, 2010
647
172
Kuwait City
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! :)
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]

Sent from my Pixel 4 XL using Tapatalk
 
Last edited:

xFirefly93

Senior Member
Jan 10, 2018
1,424
2,292
Timrå
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]

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!

:)
 

baretoes

Member
Nov 23, 2010
49
4
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
 

xFirefly93

Senior Member
Jan 10, 2018
1,424
2,292
Timrå
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

Yes on both your questions! :)


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?

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

?
 

xFirefly93

Senior Member
Jan 10, 2018
1,424
2,292
Timrå
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! :)
 

[email protected]

Senior Member
Sep 27, 2014
203
23
Samsung Galaxy S21 Ultra
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! :)

Is it compatible with Artemis kernel?
 
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
 

Top Liked Posts

  • There are no posts matching your filters.
  • 23
    Introduction:

    Hello everyone!

    This script is created with the goal of improving both battery life and performance on our Google Pixel 4 / Pixel 4 XL devices, and should be seen as a fully simple, and customized, under-the-hood kernel configuration with a lot of neat, and carefully selected, adjustments for a notable better device experience, ideal as a top-notch daily driver.


    Note: This script is not recommended to be modified or customized by the user.

    The latest release can be found here.

    Features:
    • Reduced battery consumption
    • Device specific enhancements for best possible balance between battery life & performance
    • Disabled a lot of useless stuff at kernel level (Improves battery life as well as performance)
    • Power efficiency enhancements
    • Wide IO block tuning (Reduces the possibility of hiccups, lags and overhead)
    • Possibly other miscellaneous things I've forgotten to write down here, both big and small.

    Requirements / what you need for getting this script fully working:
    • An unlocked bootloader
    • Your own specific choice of kernel
    • Latest supported version of Magisk
    • Busybox for Android NDK Magisk Module by @osm0sis
    • Patience

    Installation / How-To use & abuse:
    • 1) Download the attached ZIP
    • 2) Extract the script(s)
    • 3) Move the script to the following location;
      /data/adb/service.d and give it the following & needed file permissions (0775)
    • 4) Reboot your phone, let Android boot to the launcher and let Magisk boot service do its crucial magic (takes a few seconds before the scripts is fully up and running around behind the scenes)
    • 5) Enjoy!

    Telegram:
    If you want to try out betas / previews of my script before they are officially released, or just hangout and chat a little, then join the official Telegram group here

    Disclaimer:
    This is presented as "what if". If this modification screws up or breaks anything for you, I am not the one to be held responsible. It's a free will to try out this kind of changes / modifications / addons / tweaks, just don't blame the inventors for eventual bad results and/or screw-ups.

    Credits:
    • @pkgnex for inspiring me walking into this partially unknown territory.
    • @flar2 for his excellent EXKM application
    • @osm0sis for his Magisk Busybox module
    • Everyone that I've forgotten to mention here

    To-Do list:
    • Optimize and properly tune things even further for best possible balance between battery life, system responsivness and performance

    Contributors:
    @xFirefly93

    Created: 2019-11-03
    Last updated: 2020-05-24
    19
    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! :)
    18
    Update!

    Note: It is recommended that you reboot your phone after you have applied v2.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 v2.0 (Major release):
    - Disabled some additional loggers and useless bloat
    - Reverted mem_sleep state to default 's2idle' value
    - Fully disabled monitoring of kernel perf sample rate
    - Optimized the maximum allowed frequencies on the performance clusters for improved power efficiency
    - Updated the readme with some newer instructions
    - Some additional (minor) high quality customizations

    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! :)
    16
    Update!

    Note: It is recommended that you reboot your phone after you have applied v1.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 v1.0 (Initial release):
    - Initial release for the whole Google Pixel 4 (XL) line-up
    - Customizations for both performance and battery life
    - Added a neat readme on how-to apply BlackenedMod
    - Properly customized the filesystem mounts options for overall improved system responsivness and UI fluidity
    - Blocked a couple fully safe-to-block kernel wakelocks
    - Set Westwood as the default TCP congestion algorithm
    - Enabled panel ULPS props (reduces power consumption)
    - Adjusted IO block behaviour (improves UI responsivness)
    - A few additional adjustments both here as well as 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! :)
    14
    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! :)