yashsingh1/xdaforums huggingface dataset:
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] kingbri:
Blackened Mod v1.3 has been released!

-Fix sqlite issues

- Use my own compiled sqlite binary (Tools are not mine) https://github.com/bdashore3/sqlite-...ster/README.md

Download here: https://github.com/King-Kernel/Blackened-releases
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Levan_i:
Edited
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Levan_i:
These parameters work only for small cores in my case. Big cores keep returning to stock 1000/1000
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] HyaenidaeNET:
I don't know why, but after installing this mod via magisk, I got bootloop. I am using elementalx kernel, busybox is installed
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] MrxSiN:
Same with schedfreq, parameter only works on small core. big cluster core still retain its original/kernel default value.

Pixel with ElementalX
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Anonturtle:
for those having issues getting no logs, if you create the logs folder in sdcard it works, just tested myself cause I was also having issues getting no logs.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] GHOST1010:
Is this still useful? In 2020 , android q, king kernel 6.6
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] rodken:
Outstanding. At least the 2016 Pixel XL still gets the attention that it deserves despite lack of Google Support.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] aL_09:
Hi, is this still updated? And can I use this mod alongside another all in one tweaker like L Speed?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] rodken:
Yes, but be aware of screen freezing issues and overheating. Try not to use with other tweaks or scripts that can cause conflicts.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
If you want stock brightness for the screen / display, then use the Public release.

If you want a darker / more dimmed screen, then use the Maintainer release which comes with the backlight dimmer kernel module enabled (which is the way I like it to be).

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

v1.3 (Minor release)

- Added back my pm_freeze_timeout tweak

Enjoy! :)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Slayer_Jezza:
Should the average user use this? Will I notice a difference coming from just Flash kernel?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
It's made for everyone that wants both battery life and performance improvements in the same package. And you can't flash it, just extract the script to the correct place, set permissions to 0755 and reboot your phone and wait 30-35 seconds before it is up & fully running.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] cyberbandit1998:
Thanks I'm trying it out now. Can say phone seems snappier. My question is I changer permission to 755 but when I move to that folder and reboot it changes permissions to 777 is that normal?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
It shouldn't be able to change permissions by itself.

Which version of Magisk are you on?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Phalanx7621:
Nope. Did you follow the instructions in the OP? Try cutting the file, pasting in the/data/media/0 folder, changing the permissions and moving it back.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] cyberbandit1998:
Magish 17.2 and I did change it in the data folder. I will try it again. Might be a file explorer glitch I went back in and it showing 755. So all is good thanks guys
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
Only for Flashkernel at the moment.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] moyses:
Failed to chmod755 even with es file or Mixplorer

I'm on LOS 16.0/ MAGISK 17.1

When i do like you suggested, then i press save it show rwxr-xr-x Failed
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
Use / try with FX File Explorer and with the root addon installed. It works like a charm, hopefully.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] moyses:
It is done simply with my default explorer( Es file)

I was wrong initially about the right location

Now it's ok, i will see the result after 24h

Hope it will improve my 03H30mn battery SOT
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
Report back with accurate information (and screenshots) on how much SOT you got totally from 100% down to 1% battery left.

I'll use this kind of feedback for improving my script / kernel configuration for even better / bigger battery life improvements in the future. Just so all of you know.

:highfive:
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] cyberbandit1998:
Something I found and don't know how it causes it but when I install the mod it breaks the advanced reboot. When I select reboot to recovery it reboots like normal. Tried on liquid and benzo room both borkes advanced reboot.

Confirmed it is the script I removed the script and reboot works again
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Old Man Dave:
The same on LOS 16. It starts to do the reboot and as the screen fades it seems to hang just before it goes black, then reboots to the rom instead of recovery
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
I'll take a look at it and see if anything inside my script causes it. If so, I will throw up v1.4 asap.

If not.. Then I will continue digging around and attempt to fix it.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Chimaira33:
[MENTION=8852292]xFirefly93[/MENTION] HI, wanted to say thanks for sharing your work for those of us using the OG Pixel phones, much appreciated! Also, I am curious what disabling Core Control does as far as performance/battery? I like to learn about this stuff. Loving the script so far! :)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
As far as I know so far, Core Control is related to the thermal engine and how heavily the thermal controller is supposed / "allowed" to throttle the CPU cores during increased amount of heating. Still investigating because Pixel XL is the only one of my Qualcomm based devices that comes with CC enabled, for some strange reasons..

I'm still scratching my head about if I should keep it disabled, or enable it again. It will be tradeoffs no matter which "solution" I am choicing so.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Chimaira33:
Interesting, thanks for the information. Looking forward to how this script develops. :highfive:
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Gabryele1976:
hi

Which is the best combo for Pixel XL?

Core control enable and msm_thermal disabled

Core control disabled and msm_thermal disabled

Core control enable and msm_thermal enable

Core control disable and msm_thermal enable

Thanks

Gabriele
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Chimaira33:
Hi, I'm not the one who created this script. You will want to ask [MENTION=8852292]xFirefly93[/MENTION] this question.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
IMO, just have / leave them all disabled.

EDIT: Or not.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
For your interest.

I've updated the OP with a in-depth video, sent to me by [MENTION=4176532]Phalanx7621[/MENTION], that explains step by step how to apply and install my modification / kernel configuration so it is up & running at a faster pace than the flash itself. See the bottom of the

Installation/How-To use & abuse

section.

The video can actually also be found here. Note that the installation method is the same for both the first generation as well as the second generation of Pixels!

:highfive:
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Gabryele1976:
I have installed the EX Kernel Manager. I need to leave the standard config? your script overwrite all config in EX Kernel Manager?

You script is for any kernel? I have Elementalx

With my actual config, without your script, I can do 6 hours SOT with 48 hours unplugged. I can try your script now :)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
The thing is that I have not made a specific version for ElementalX or anyone of the other kernels for the first generation of Pixels. That will come with v2.0.

You can of course try v1.3 on ElementalX. Don't worry.

:)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Gabryele1976:
and your script overwrite all config on Ex kernel manager?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
Only those sysfs parts that is configured since earlier within EXKM. I've literally adjusted everything to work out of the box with my kernel configuration for best balance between battery life and performance, so everyone just can follow the apply-and-forget method, without the need of changing or tinkering with any apps.

I would advice you to only touch those tunables in EXKM that my script isn't touching / affecting at all.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] kingbri:
Any plans for tweaks to the GPU or is there no need at this time
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
I am still looking into it.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Gabryele1976:
Thanks :)

Script installed. How can check if the script is installed successfully and working fine?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
Check if you see a log of this kind at the root of your internal storage.

If yes, then everything is working.

:)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Gabryele1976:
I don't have any file on my root :(
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
You have to reboot your phone first.

Have you btw given the script the proper permissions?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Gabryele1976:
yes, reboot done.

permission 755 is propagate from folder "sbin/.core/img/.core/service.d" for all child

Into the "service.d" folder I have this 2 folder:

Maintainer release

Public release

Check my image
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
Oh, the thing is that you should only copy the script, either within from the Maintainer or Public release folder, and paste it in the right direction, and be sure it is given 0755 permissions, before you reboot your phone.

It should look like this, see attached picture.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Gabryele1976:
I have delete the 2 extract folder. Rebooting now...
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
We all do mistakes sometimes, don't worry.

:highfive:
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Gabryele1976:
Unfortunatly still not have report log :(

check my attachment

Maybe still do something wrong I suppose :eek::confused:
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
Take a look at your internal storage. You should have a generated log there, named "01-flashkernellog".
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Gabryele1976:
Is not there :(

I have search the file with a tool but not exist
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
Then I have honestly no idea what the issue can be :/
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Gabryele1976:
Mmmm If your script overwrite the setup of EX kernel manager, which parameters I can verify for see if the script has been applied or now?

I have reset all the settings to initial factory for Ex kernel manager. I think after your script something is change on Ex kernel manager
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] adm1jtg:
I also have installed... maintainer version 1.3 and also have no log file. Placement is correct and permissions are set properly
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Gabryele1976:
How you understand if the script has been applied correctly?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] adm1jtg:
Actually I just re-comfirmed/re-did all the steps and now its working.... I see the log now

Make sure you have loaded the magisk module and rebooted and that your file has the right permissions. Also originally I used maintainer version, this time I used public version not sure if thats the difference.

Again log file showing up now so all working
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Gabryele1976:
Ahhh

What's the magisk module? I don't have It. What's the name?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
You can always for example check the FS tweaks in my script, then go to the /proc/sys/fs and compare and see if the values inside the sysfs files is the same as what I've written in my script.

It is pretty simple. Just like this, see attached screenshots.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
The only difference between the PR and MR.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Gabryele1976:
I don't have any file in /proc/sys/fs :rolleyes:

Module Busybox on Magisk is installed
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
Not?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Gabryele1976:
Only this :(
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Gabryele1976:
Found the problem!!!

SD maid file manager don't show the hidden files :(

Now I can see the log file and the script was successfully installed :)

Thank you for the support

Ciao

Gabriele
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
Change to FX Filebrowser (+the root addon) and enable so you can see hidden files.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Gabryele1976:
yeah, this is the reason :)

And also, I can uninstall the ex kernel manager or not? I don't understand if the script overwrite or not the value on Ex kernel manager
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
EXKM will not override any of my settings :)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Gabryele1976:
OK good :)

thanks for all m8
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
Update!

v1.4 (Minor release)

- Enabled Core Control back online again (just for thermal managment safety reasons)

- Updated a few configuration descriptions

Enjoy! :)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] kyleinkc:
Thank you for your work. I just installed 1.4. and the advanced reboot issue is still there. Appreciate your efforts! Guess, I need to quit being lazy and just do the manual method to get to recovery. :D
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
Update!

v1.5 (Minor release)

- Raised sched_rt_runtime_us value to 980000 (leads to better system stability & fluidity)

Enjoy! :)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] cyberbandit1998:
1.5 and my advanced reboot is working. I removed the old script and rebooted phone. This way I can make sure all scripts are clear. Then installed 1.5 just like the others and now reboot working.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
Must have been a odd and random coincidence, haha..
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
A pretty short announcement about the soon coming update..

I have started working on the next release of my kernel configuration script for Pixel (XL) and it looks pretty neat and good so far. Expect a release on either Wednesday-Thursday if everything goes as planned. This baby are going to include bigger changes, that improves stuff behind the scenes / under the hood even further, and which also takes the Sailfish / Marlin experience to the next possible & incredible level, that would make even Einstein very much more proud than what's should be seen as possible.

Just wait, and enjoy!

:highfive:
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] stifmaster81:
for when to elemtalx Kernel?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
You'll see, just wait.. ;)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] jameseelin:
Can't wait!! I'm loving 1.5 so far ?

Can't thank you enough for your efforts, keep it up good sir
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
Update!

v2.0 (Major release)

- Lowered tcp_enc to 1 (leads to overall improved network performance) Credits to [MENTION=4793042]pkgnex[/MENTION] for this addition.

- Increased stat_interval to 900

- Blocked a few more battery leeching kernel wakelocks

- Included a lot of important CPUSet and GPU optimizations & improvements in a separate document (follow the instructions gradually on how to fully apply them)

Enjoy! :)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Aguys:
But sir, inside the script I only found "tcp_ecn"...?:confused:
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
Check again.

:laugh:
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
Update!

v2.1 (Minor release)

- Merged together my kernel script, custom cpuset configuration & GPU improvements / optimizations into a single & fully working .sh file (Thanks, [MENTION=8016710]eelsid[/MENTION], for the tip)

- Place the .sh script inside the service.d folder & give it 0755 permissions, and reboot once just as before

Enjoy! :)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
So.

How have the latest versions / releases been working for everyone around / in here? :)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Gabryele1976:
yes, working fine for me. about the result I need to wait one o two days :)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] direwolf1:
Performance is very snappy. Thanks for sharing! Still evaluating battery life.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] joemanbui:
Thanks for bringing this to the first gen pixels! Installed smoothly. Gonna test battery over next few days

EDIT: After a couple days, I can definitely say that with this script and the pixel dust rom, I am seeing the best idle/active battery drain I've had in a while for my phone. Thought my phone's battery was done. SOT isn't amazing but it's way better than what it was before. Thanks again [MENTION=8852292]xFirefly93[/MENTION] and everyone who works to keep our device alive!!
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
Don't forget that I'm doing this for all of you in the first place, as much as I am doing it for myself :)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] HyaenidaeNET:
Thank you for your work, man. I've just installed 2.1 and waiting for the results. But I have one question, I put .sh script into service.d, gave it permission 755, and rebooted. But can franko kernel manager change values, which your script changed before, after reboot? As far as I know FK manager set parameters after reboot, doesn't it?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
My script is setting the parameters 30 seconds after boot, so Magisk boot service can initialize and do its magic without any compromises.

If this is what you mean?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] HyaenidaeNET:
I mean, does this script have any problems with compatibility with Franko kernel manager?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
No, it shouldn't. Why do you want to use a app for when I've adjusted & optimized the most important things already so far?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] HyaenidaeNET:
I use it just for updates, battery monitor, system health :)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
Then you are literally good to go.

:)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] petiolarissean:
Running script on 2.09 kernel

on 12.5 Dirty unicorn,thanks bro!

---------- Post added at 12:16 AM ---------- Previous post was at 12:14 AM ----------

Stupid question!What difference between maintainers release and public release?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Phalanx7621:
I think he said the maintainer release has a lower backlit display setting.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] petiolarissean:
Thanks for fast reply dude
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] veskostoev:
My phone is faster and better battery life with the mod. Thank you very much for your hard work. ?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Gordietm:
I just installed v2.1 and the advanced reboot does not work anymore.

First time trying this mod.

Edit- I've since removed the script and uninstalled the Busybox magisk module and now advanced reboot works.

Must be something in the script or in Busybox?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
Can be, but I don't actually know what the cause can be. This is something I've to take a deeper look at once I'm home again and have my Marlin close to me again because blindtesting isn't really my piece of cake.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] kkjb:
I'm finally got file in proper location. So how do I know, except wait and see? What can I explore for validation that scrip ran, and made your changes? Thank you for your efforts, work. I'm still using my old but known battery to see results :)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] TASL:
Not sure what to do here, I was running 1.5 - replaced with the 2.1 *.sh version and got stuck in a bootloop. How can I delete the script file?

If I boot with root installed, the script will run (even if I disable busybox module), which puts me into a bootloop. When I boot without root, there is no way to access the service.d folder from inside the OS. From TWRP, I don't find any folders in /sbin (using terminal command ls -a, it doesn't show any folders, only files).
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
The script will generate a log in the root / mainpath of the internal storage at each boot which tells you if it is up & running.

You BOTH need Magisk and the Busybox Android for NDK module installed for even being able to fully run this script without any problems.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] TASL:
I had everything setup running v1.1, v1.3, v1.5 (magisk 17.2, BusyBox-ndk), but when I deleted v1.5 and replaced with v2.1 .sh the phone boots back into recovery after a long OS loading screen (like a first time install or after a cache clear).

The only way I can boot right now is by uninstalling magisk, but without magisk I can't delete the script file. When I'm in twrp, the file manager doesn't see the /sbin/.core/img/.core folders.

I tried leaving magisk installed and disabling BusyBox-ndk, but it still kicked me back to recovery. The question now is, how can I delete the script?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] eurochild:
wipe system, install rom like you do when you want to dirty flash
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] TASL:
That did the trick. Thank you.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
Thanks for the input and feedback, and for being honest..

Everything in this script is something that I've found out is working for me with great results, and is what I am running as a daily driver for getting a balanced improvement between battery life and performance. I have not seen any negative side effects, and no one else either as far as I have noticed or being alarmed about so far.

And regarding the Magisk sleep timer.. It have to be this way, otherwise some parts of my script isn't being executed / applied on the sysfs based files that I want to be adjusted.

I've spent god knows how many hours into this for finding it a combination / a set-up that works for me 24/7. Though I've to admit - I'll look into your suggestions and perhaps copy & paste them into my script, if they are making a notable difference.

We'll see.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
Update!

v2.2 (Minor release)

- Disabled backlight dimmer on the Public Release

Enjoy! :)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Sindalf:
hello all, is this script works with the Benzorom ?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xFirefly93:
Yes.

:)