yashsingh1/xdaforums huggingface dataset:
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
You have to patch stock boot image each time after you have unrooted. I detected this "bug" myself a few days ago, sadly enough.

Oh thank you a lot for that, I appreciate it!

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

Note: It is recommended that you reboot your phone after you have applied v1.3a (or b) 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.3a & b (Experimental test release):

- Stuff that will hard brick your device.. Just kidding.

- Report back with accurate reports and feedback on which one of v1.3a and / or v1.3b that is performing best when it comes to battery life and performance for daily usage. Do a reboot if you're changing between the a and b releases for getting a accurately clear and optimal picture!

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! :)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] likepeas:
Some how it worked.

Any which kernel would you recommend using?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Not for negatively feedbacking / bashing on anyone right now or so, but I am using Kirisakura on my P4XL myself with great results.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] wrongway213:
+1, highly recommended kernel
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] TheUndertaker21:
anyone having certified issue ?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] RulingCzar:
Anyone else have issues with 1.2 where if you leave the phone overnight, charging, connected wifi, in the morning the phone won't connect to mobile data?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] InfiniteXero:
Was having the same issue until I updated my kernal now it works perfectly fine. Also after you restart the phone your mobile data will start back up again
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] RulingCzar:
I'm able to get data back if I reboot like you said. What kernel are you using? I'm currently on ElementalX 1.01
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] InfiniteXero:
Yeah I was running the Elemental kernal, however now I'm running Kirisakura 1.0.3 and everything runs smoothly with 0 issues so far. I'd recommend flashing that and see what happens
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Paz9:
delete
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] DinarQ8:
Hi. Can I use This script with stock kernel?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] DinarQ8:
Thank you so much. I have no problems with the battery and performance. But I am very excited to try it out your script
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Say no to those results is though pretty mad.. :p
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Update!

Note: It is recommended that you reboot your phone after you have applied v1.3 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.3 (Minor release):

- Reverted a few things that needs some additional testing

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! :)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Maverick Jester:
That's some insane battery life there!
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Indeed! :highfive:
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Paz9:
something about this stops my Chrome from loading web pages

I've narrowed it down to 0 being written to

debug_enabled our sched_schedstats, I do this manually so I am unsure if it affects it differently (open the file and change Y to N and save)

once the values are back to Y Chrome works normally again.

if I change them to N/0 Chrome never loads a webpage

on stock kernel

might be something to look into incase it breaks other things

---------- Post added at 08:33 AM ---------- Previous post was at 08:31 AM ----------

stock kernel? any mods/changes you've applied?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Works fine for me here at my end.

Just Kirisakura + BlackenedMod.

:)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Paz9:
I think what caused it was manually writing to the file instead of echo/script

edit: can confirm, dont edit values manually.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] ilal2ielli:
Anyone have issues with the script and the camera being slow to open or switch modes? I installed the script earlier and everything worked fine but the camera was slow to initialize. The camera app opens fine, but it took like 5-10 seconds before the camera was showing any output and then when it did, it was choppy for another 5-10 seconds or so.

Uninstalled the script and camera was back to normal.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] williejack619:
Can some one please explain to me on how to set these permission to 0775 because when i try to go and set permission it's give me write read and execute only to check boxes I don't see numbers
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Mackay53:
Tick these boxes
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] williejack619:
Thanks
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] zenxaero:
Delete
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Update!

Note: It is recommended that you reboot your phone after you have applied v1.4 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.4 (Minor release):

- Reduced PowerHAL boosting idle timeout to 64ms

- Completely disabled every trace of ZRAM and swap

- Blocked the weird Taper kernel wakelock per default

- Disabled hang detection of the CPU cluster cores

- Decreased swappiness for improved performance

- A few additional adjustments and 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! :)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] :
how does zram affect performance?

also, i did a clean flash of the november update, kernel and blackened mod, no more funny issues, thanks for this work!
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Read me about ZRAM and swap.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Mrcactuseater:
That's an article from 2016, do you not think zram has improved since then especially given that Google has enabled it on all devices?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
I didn't check what year it was from, and honestly - I don't care. My device works fine with ZRAM and swap disabled, so.

?

EDIT: I didn't mean to sound harsh or anything. My general point is that something like ZRAM have its advantages as well as disadvantages, like anything that is a part of the actual tech that we are using now today.

For me, my device works just fine with ZRAM and swap off, I don't see the real reason(s) why I should keep it on / enabled a personal level. And if someone needs it, they can just delete the specific section from my script and reboot once.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Update!

Note: It is recommended that you reboot your phone after you have applied v1.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 v1.5 (Minor release):

- Disabled netdev_tstamp_prequeue for efficiency reasons

- Purged a couple more additionally excessive wakelocks

- Disabled pm_test_delay (for potentially faster suspend)

- Potentially reduced mobile data power consumption

- Some miscellaneous / minor description adjustments

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! :)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] TheUndertaker21:
This mod doesn't work well with xposed.

It will slow me down like crazy until rebooted.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
¯\_(ツ)_/¯
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] ruggerdude:
I went back to 1.3 which worked well with Xposed.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
I am almost gonna put up a warning in the OP about if you're using Xposed and is facing a nuclear meltdown and like 666 random issues at the same time - then just don't tell me about it..
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] c_86:
Odd

I have 1.5 loaded but the log is empty. So don't think it applied
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
You have to add both of the scripts.

:highfive:
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] c_86:
K loaded both the workaround and the main script and now only the workaround log is showing. Is that correct?

Edit. Now both are showing in log. All good
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] oneslow5oh:
Delete
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] oneslow5oh:
Which boxes should I check? And should I check the same boxes for both scripts or just number one? Sorry, I'm a noob when it comes to this. Also I'm on stock kernel
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] c_86:
Search. Been talked on.

And ftr it's all except middle bottom
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] oneslow5oh:
I'm in idiot lol. One last question i couldnt find is do I execute both files?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] c_86:
Yes
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] prgopala:
Noticed that the phone did not go into deep sleep. Was constantly at ~500Mhz. Removed the script and phone now deep sleeps.

Just an observation.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] tysj:
Had issues with increased drain on my Pixel 4, as well. Wanted to use it due to the screenshots in the Telegram showing <0.5% idle drain, but I was constantly >2% with this installed with Kirisakura. After removing it, I went back down to ~1.3% and now seeing 0.7% idle drain. Go figure.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Weird, because everything is working here for me with none of the issues / mishaps that both of you two are describing.

On what version are you though experiencing the instable battery life performance? So we can attempt / try to pin down and isolate together what the specific cause potentially could be.

EDIT: Have you perhaps checked your average battery stats with the help of BBS? What kernel are you guys on?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] tysj:
I've tried 1.4 and 1.5 on Kirisakura 1.0.3 and 1.5 on Kirisakura 2.0.0. No issues with install and log showed that it ran fine. Only Magisk Modules are Freak07's Powerhint_Module, Busybox, Systemless hosts, and Youtube Vanced.

Android battery stats and BBS didn't show anything abnormal. I'll load 1.5 again and will get some screenshots of the Kernel and Partial Wakelocks after a few hours or cycles.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Report back with a couple screenshots and specific stats after a few hours and I'll see what I can do.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] sidhaarthm:
Results so far on V1.5 are great, good work OP ??
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
No issues with increased battery drain or so?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] sidhaarthm:
Nothing that is worrying me so far. Most noticeable is the improved stability and overall slickness :)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
:highfive:

EDIT: Share some screenshots of your battery stats! :)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] sidhaarthm:
See enclosed - this is while I'm traveling. I had a better Active Drain time earlier but I reckon 1hr20mins screen on time for 10% battery is pretty solid :o
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] tysj:
Just PM'ed you some BBS and FKM screenshots.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
I saw your PM with the screenshots and I've no honest idea what the increased battery drain could be because this is what I am getting myself (see attached screenshot below.)

I'll though take a look and investigate into it..
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] tysj:
Thanks for taking a look. I presume it's that I have a Withings Steel HR Sport connected on Bluetooth all day but don't think it would be that much worse than what other folks are getting.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
It may depends on many things - if it holds a wakelock that's never released or if a associated service is going wild among a few potentially (im)possible examples.

Hard for me to say what it is without having your device in my hands so I can take a closer look all by myself! :o
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] tysj:
I'll just try factory resetting again and starting from scratch. I restored from my Pixel 3 so maybe that carried over some oddities.

If that doesn't work, I'll send you a tracking number for my device ;)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
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! :)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Update!

Note: It is recommended that you reboot your phone after you have applied v2.1 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.1 (Minor release):

- Disabled Adreno snapshot crashdumper (not needed)

- Enabled SCHEDTUNE_BOOST_HOLD_ALL flag (improves overall responsivness without destroying your battery life)

- Updated the readme with some additional instructions

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! :)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Madjax2020:
Rebooted and nothing happened. Used 2.1.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] ceelos218:
You probably forgot to set permissions
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Madjax2020:
I can't share screenshots yet I have set them.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] ceelos218:
Did the logs folder appear in your file explorer?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Madjax2020:
Yes I see it has 2 files.

---------- Post added at 03:32 PM ---------- Previous post was at 03:31 PM ----------

I see it with 2 files.

Sun Dec 8 09:21:16 EST 2019

02BlackenedMod v2.1 have been more than just successfully executed. Enjoy!
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] ceelos218:
Then you're good ?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Madjax2020:
OH ... I was looking for a "blackened" ... Something lol
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] srimay:
Where will the logs folder be listed under? I don't see one anywhere obvious. The 2 files are listed where I placed them after a reboot.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Zetsubou Sensei:
Make sure you change the permissions of the files to 0775.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] ceelos218:
Should be under external storage not root
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] srimay:
I have them now. Thanks
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] :
Am I missing something or there are no log folders?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Madjax2020:
Use a root browser
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] :
I am using a root browser, the directory is root/data/adb/service.d

All hidden files are shown

I set the permissions, rebooted, tried twice
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] srimay:
Reboot after setting permissions
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] :
Did this multiple times
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] c_86:
What kernel?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] :
Kirisakura kernel 2.0 and magisk/busybox installed
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] aznsensazn29:
Quick question, how much can I expect this to improve my battery life? I’ve been getting only around 4 or so hours of SOT with an estimated run time of 16-18 hours with version 1.5 and ElementalX kernel.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] p70shooter:
Did you use both files?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] c_86:
Shouldn't need too. The work around is for frank not kiri

I use kiri and only the main file and works fine for me
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] :
True, im not completely new to this stuff, so I know to follow install instructions pretty carefully, let's see if they drop the new update this week, I'll do a fresh install and see do a reinstall
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] ram4ufriends:
Are you sure? I need to have both files for it to work and even OP suggested to have both files to make it work...
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Something like this. Perhaps.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Madjax2020:
Sorry for the question/statement ... I flashed this and have the folder with the files ... Is this an actual kernel or some add-on to the other kernels .. how would I flash one of the other kernels without spending money on a kernel flasher?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] :
That second file is for elemental kernel
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] aznsensazn29:
Then I'm not sure if I'm doing something wrong, since I'm already using this mod. Used it with stock kernel with no change, and used it with ElementalX with little change (maybe even worse performance). Am I missing a setting change or something? I'm seeing the logs being generated, and I'm definitely running the kernel, so I'm not quite sure at this point.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] :
So I decided not to wait, did a fresh install and move to the data/adb/serviced and 0775 permission and installed BusyBox but still can't see the logs folders ,
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Spartan117H3:
So I was wondering if my issue has to do with this or some other type of optimization but some of my notifications no longer appear on my phone. Could blackened mod be causing these issues? Like for example Snapchat no longer sends me a notification if someone is typing or if a message has been sent to me. I notice I have to open Snapchat before it pulls a chat update request from their server. Also, I have games that notify me about stuff every few hours/daily reset, but I no longer get those notifications either for those games.

Note: I am also running ex kernel, magisk, and edxposed. Could I have done something to my phone where some apps give me notifications but others don't? I checked settings and no notifications are disabled. Wear OS is also set to disable notifications on my phone while I'm wearing the watch but I had that setting on before and got notifications just fine. Any ideas for me?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Ashray_Vk:
That's amazing. Are all features being used? Motion sense, ambient display for examples? Also, what apps are you using?

Thanks again!!
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
No offence against flar2 as a developer but.. Shift to latest possible RQ build of Frankenkernel which you can find in the official Telegram link below, it's more optimized towards performance than EX - but without any battery life compromises.

Click me for some Franken

Have you checked your internal storage?

I've blocked some kernel wakelocks that could in some very rare circumstances cause this - in exchange for reduced idle battery drain. Nothing comes for free and without a "price" in the world of Android.

:highfive:

Motion Sense and all those subbloat stuff is turned off here at my end. I am semi medium user that is using a lot of social media apps like Facebook, Snapchat and god knows what most of the time - though none of those is restricted with / through Adaptive Battery which amazes me, contrary to how low values of battery drain (both active and idle) that I am able to get.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Spartan117H3:
You don't have any issues with your Snapchat? What should I try to even do? To disable the script I just move them out of that folder and reboot?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
I've disabled notifications from the Snapchat app myself so can't give any feedback / suggestions on this matter.

Yes, but I don't though know why you would do that. Why sacrifice the battery life gains just for one app?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Spartan117H3:
I would do it because I use Snapchat as a texting app. Not being notified of messages at all unless I frequently check the app is a big thing for me.

Edit: Uh oh. I looked for the script and it's not there. I guess it got removed when I reinstalled magisk. Which means now I don't know why my notifications for certain things aren't working.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] pwnsicle:
I'm on Sprint and took the ota last night and it updated me to the QQ1B.191205.012.A1 (aka ATT only version), yet everything is running fine. One of Google's official posts said the A1 version for l was for all other carriers. The actual download page says the A1 is for ATT only. Probably just a typo?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] tysj:
Script works fine on my Pixel 4 non-XL. If you follow the instructions, you should be fine. Are you restarting after copying the files to data/adb/service.d? Or are you just checking to see if a log folder appears after copying the files? Maybe post screenshots of the folder you copied the files to? Hard to say what can be going on which much info, it's a pretty straightforward install.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] :
Yeah, I've done all of that, screen shots are a scattered throughout the responses here. Download the zip, extract the .sh script. Go to root/data/adb/service.d, paste file, change permission octal to 0775. Reboot, wait few minutes.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Maverick Jester:
Do you have BusyBox installed?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] :
Of course