[Google Pixel 3 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Introduction:

Hello everyone!

The idea to this 'project' did blossom after having an conversation with [MENTION=4793042]pkgnex[/MENTION] in the past about the general idea of creating something else that follows what he started with his PK's Tuning Script for Pixel 2 (XL) but with a twist, mainly as a complement to his own thread that you can find here, but also with a completely different vision and focus on what the script itself should achieve (and deliver) for kind of results for myself and for all of you personally, of course, that wants to try it out and use it as a "daily driver".

Shortly explained.

These scripts is created with the goal of improving both battery life and performance on our Pixel 3 (XL) devices, and after a whole range of configurations and various set-ups, I've come up with something that, in my eyes, is worth sharing with all of you so that you can try it out yourself and judge on your own, with constructive feedback on what can be improved or added in future releases - if desired. My philosophy is, and will always be, this:

If something can be improved or altered in a positive way so the average user can feel and see a difference, then go for it. Non stop.

The latest release can be found 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.

Note: These scripts is not recommended to be modified or customized by the user.

Features:

Reduced battery consumption

Device specific enhancements for best possible balance between battery life & performance

Enabled, and fully configured, Boeffla generic kernel wakelock blocker

Disabled a lot of useless stuff at kernel level (Improves battery life as well as performance)

CPUSet improvements & optimizations

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 these scripts fully working:

An unlocked bootloader

Your own specific choice of kernel

Latest possible version of Magisk

Busybox for Android NDK Magisk Module by [MENTION=4544860]osm0sis[/MENTION]

Patience

Installation/How-To use & abuse:

1) Download the attached ZIP

2) Extract the scripts

3) Move the scripts 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!

Note: If you still are unsure how to do for making my kernel configuration / modification work & be up and running behind the scenes, then please read [MENTION=4176532]Phalanx7621[/MENTION] phenomenal guide here or check out [MENTION=4176532]Phalanx7621[/MENTION] in-depth video here. The installation method is the same for all generations of released Pixels!

Credits:

[MENTION=3292224]franciscofranco[/MENTION] for all the information on which kernel wakelocks that is safe to block

[MENTION=4176532]Phalanx7621[/MENTION] for his phenomenal how-to guide

[MENTION=947981]Lord Boeffla[/MENTION] for his awesome generic kernel wakelock blocker

[MENTION=4793042]pkgnex[/MENTION] for inspiring me walking into this partially unknown territory.

[MENTION=4684315]flar2[/MENTION] for his excellent EXKM application and ElementalX Kernel

[MENTION=4544860]osm0sis[/MENTION] for his Magisk Busybox module

Everyone that I've forgotten to mention here

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

To-Do list:

Optimize and properly tune things even further for best possible balance between battery life, system responsivness and performance

Contributors:

[MENTION=8852292]xFirefly93[/MENTION]

Created: 2019-01-06

Last updated: 2019-10-25