[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] pkgnex:
All,

As of this week, I have moved to the Pixel 8 Pro, and I traded my Pixel 4 XL in to get $200 from Google.

I will therefore no longer be doing any development on this mod, or even checking the thread to answer questions.

If you want to keep this mod around for your future use, please download a copy to your personal cloud storage utility in case the thread gets deleted by the XDA moderators.

I have thoroughly enjoyed creating / maintaining this script for the past 4 years, and interacting with the user community on improving it. You have been the best part of the experience!

Thank you, and best regards, Paul.

.

.

.

A11 & A12 - use v16

A13 - use v17

Hey Coral / Flame Gang!

First off, I'm glad to be here. I just came from Pixel 2 XL after my phone died from hardware issues and I needed to upgrade!

Anyway, here's a script that I put together for my own use, but still develop occasionally; tuned especially for our Coral / Flame devices.

Enjoy!

The Back-Story:

I helped some good guys out with developing the awesome Franco.Kernel tuning parameters "back in the day" (Franco's Dev Team - you can look us up, the great osm0sis still hosts the original file set - but they won't even run on Android Pie or later). What is still applicable to Android 12 is in this file; trimmed and consolidated into a single script, along with some other goodies I've come across since. ;)

Philosophy:

- I don't write untested BS or questionable crap in my scripts. If a given tweak doesn't show an objective improvement in benchmarks or battery life or a subjective improvement in performance that can be turned on or off by running or not running the script in a blind test - it doesn't get added.

- If I do not believe a given tweak is safe to run on everyone's daily driver device, I also won't include it my script, regardless of the benefit.

- This script is biased toward increasing performance - but it takes advantage of battery saving opportunities that don't affect performance.

Notes:

- This script is lean and mean, but it's not rocket science.

- I didn't invent anything here. Feel free to use it (or not), distribute, alter, whatever; to your satisfaction, giving credit for redistribution only to "Franco's Dev Team", and maybe me if you're feeling generous.

- I have verified it works well on my personal Pixel 4 XL, and is compatible with all Android versions, Kernels, and Magisk versions applicable to the device.

- It won't make your phone run any worse, and it should make it feel a bit "snappier", but YMMV.

- Most benchmark scores improve marginally (1% - 4%) on my device with stock or EX kernel. Again, YMMV.

- I do not plan to do heavy maintenance on this, but I will keep it up to date so it at least safely runs on the Pixel 4 / 4 XL as long as I own one. I will post updates with a minimal change log (it's a script, you can read it!). If I stumble across something that helps the community, I'll share it!

Disclaimer:

I can't see how this could possibly cause irreparable harm to any Android device on which it is run.

However, I suppose untested configurations may (rarely) have slow-downs, reboots, or other effects.

REGARDLESS, it is offered as-is with no warranty, and you choose to run this at your own risk.

If you do encounter issues, let me know and stop using the script. I may ask you for further help with debugging.

Requirements:

Root

BusyBox installation (I recommend the Magisk module by osm0sis)

Knowledge of how to execute a linux script and/or where to place it and allow permissions to run on boot

Usage:

Download the linked file to your device

Copy it to /data/adb/service.d

Ensure permissions are correct (0755)

Reboot and wait a three minutes

NOTE: The script will generate a text file called "pksp4_script_result" in the base of your "external storage" directory (/storage/emulated/0). This file will state either "Success!" or "Failure..." indicating if the script completed at the last execution attempt (it will over-write each time the script is run - check the date/time stamp on the file properties) .

Credits:

Franco's Dev Team, esp. osm0sis

Others as noted in the script file header

Dropbox

www.dropbox.com

Dropbox

www.dropbox.com