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

Search This thread

xFirefly93

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

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 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! :)
 
Last edited:

CyberpodS2

Senior Member
Mar 27, 2012
2,813
1,240
NE Pennsylvania Boonies
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! :)


Awesome dude. Great to see you here!! Are you sporting a shiny new 4XL yourself??
 
  • Like
Reactions: xFirefly93

CyberpodS2

Senior Member
Mar 27, 2012
2,813
1,240
NE Pennsylvania Boonies
Good so far...
 

Attachments

  • Screenshot_20191103-062004.png
    Screenshot_20191103-062004.png
    98 KB · Views: 2,757

xFirefly93

Senior Member
Jan 10, 2018
1,424
2,292
Timrå
Looks like the old Pixel 2 XL crew is upgrading to the 4 XL. I'll have to get aboard that train soon :p

Haha, indeed, though in my case - I've upgraded to a 3XL, 3a XL, Xperia 1 and 4XL the last ~5-6 months (which all of them are being pretty much used at a average daily rate), but my brand new 4XL is obviously my new daily driver.

It's worth mentioning that my dusty old Google Pixel 2 is though still running and running strong even now today.

:highfive:
 

Badger50

Senior Moderator / Moderator Committee
Staff member
Looks like the old Pixel 2 XL crew is upgrading to the 4 XL. I'll have to get aboard that train soon :p

Old...in my case is definitely the operative word! ???

Haha, indeed, though in my case - I've upgraded to a 3XL, 3a XL, Xperia 1 and 4XL the last ~5-6 months (which all of them are being pretty much used at a average daily rate), but my brand new 4XL is obviously my new daily driver.

It's worth mentioning that my dusty old Google Pixel 2 is though still running and running strong even now today.

:highfive:

Dang ol friend, your definitely a gadget junkie! And we all thank you for that! ???
 

Badger50

Senior Moderator / Moderator Committee
Staff member
Some more OT questions, but you guys are the perfect target audience:

How does the Pixel 4 XL stack up to the 2 XL?
Anything you miss from the 2 XL?
Biggest improvement over the 2 XL?
Which colour and storage capacity did you go for, and why?

Well....I definitely like the speed, sound, screen, and fluidity of the 4 over the 2.
My battery life is pretty close on both of them. I'm a light user, no social media or games, just mainly browsing, talking, texting, and of course...XDA. I will likely get 8-10 hours of SOT on the 4, juat like I did on the 2(see pic for current stats).

I definitely miss the FP sensor on the 2. Face ID is ok, and works pretty well, but not as convenient as just reaching for the 2 and touching the sensor without having to look at it.

I got the black google version with 64 storage, just like my 2 was. I don't need a lot of storage. Heck I only have 1.6 gigs used on my drive storage, so you probably guessed I'm not a big camera guy. And as far as that goes, I can't tell much difference, or really care about picture quality since they all look about the same to me.

I do like the size and feel of the 4 over the 2. Both phones have Spigen tough armor cases, but the 4 just fits in pockets better, and feels better in my hand. Especially my left hand since it only has 4 fingers.

So that my 2 cents worth coming from a 60 year old retired, curmudgeon, but fun loving kinda guy...especially if beer, Scotch and fire are involved! :good::cool:
 

Attachments

  • Screenshot_20191103-140247.png
    Screenshot_20191103-140247.png
    200.3 KB · Views: 902
Last edited:

Kevtrejo37

Senior Member
Mar 6, 2017
123
37
Columbus
Well....I definitely like the speed, sound, screen, and fluidity of the 4 over the 2.
My battery life is pretty close on both of them. I'm a light user, no social media or games, just mainly browsing, talking, texting, and of course...XDA. I will likely get 8-10 hours of SOT on the 4, juat like I did on the 2(see pic for current stats).

I definitely miss the FP sensor on the 2. Face ID is ok, and works pretty well, but not as convenient as just reaching for the 2 and touching the sensor without having to look at it.

I got the black google version with 64 storage, just like my 2 was. I don't need a lot of storage. Heck I only have 1.6 gigs used on my drive storage, so you probably guessed I'm not a big camera guy. And as far as that goes, I can't tell much difference, or really care about picture quality since they all look about the same to me.

I do like the size and feel of the 4 over the 2. Both phones have Spigen tough armor cases, but the 4 just fits in pockets better, and feels better in my hand. Especially my left hand since it only has 4 fingers.

So that my 2 cents worth coming from a 60 year old retired, curmudgeon, but fun loving kinda guy...especially if beer, Scotch and fire are involved! :good::cool:

Dis awesome sauce haha I want to see what it will look on p4 floral
 

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