yashsingh1/xdaforums huggingface dataset:
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] itylermartin:
On a clean install of December. Latest rq of franken with all recommended settings. Motion sense enabled. This is after 3 battery cycles.

Does motion sense really use that much battery?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Yes, it does. It also holds a kernel wakelock that can't be blocked without breaking deep sleep so it's up to Google and fix it somehow..

Check the P2(XL) forums, I already have a dedicated version of BM up and running in a active development / creation stage for it now as we speak! :)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] warrencoakley:
Cool. Can you post a link to that thread?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Here.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] warrencoakley:
Ah you the man. Lastly. How do I change the permissions number? Appreciate it.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
What filebrowser are you using?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] warrencoakley:
Root Explorer
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Then I have no idea, because I am all-in when it comes to the perfect FX Filebrowser (+the FX root add-on).
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Go to your BM scripts in the service.d folder. Long press the script, tap permissions from the menu, select octal, then type in 0755, hit save, reboot and done :good::cool:
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] warrencoakley:
It states in the YouTube video on how to I stall it that I must download a kernal. Is this needed if I'm running stock?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] suzook:
Has anyone done a before and after with this mod? Just wondering what kind of batt life improvement i should expect? We talking 1 or 2%, or more than 10. Thanks
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Mackay53:
Tells you in OP
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] warrencoakley:
I can't see it. It states to lick your preferred Kernal. I'm on stock so what is that?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] itylermartin:
Oops, forgot my screenshot ?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Those are correct! :)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] jamiejames:
I think I got it. Is this right? Also have frequencies set like previous post.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Yep, that's right :)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] warrencoakley:
It states on the YouTube video on how to install it that I must download a kernal. Is this needed if I'm running stock and if so where do I find it? Thank you.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] jamiejames:
Wow my device actually took a nap last night. Best numbers I've seen since I've had it. Apparently it's working.

I appreciate the response and all the work that has gone into this. Thank you.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] :
I got it to work with 7775 permission, i also made a log folder manually and once i rebooted it populated with the log file
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] DinarQ8:
I see to folder Stock max and Tweaked max

What should to i have use and what is best for battery. Thanks
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Update!

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

- Disabled some excessive MSM_VIDC kernel debugging

- Disabled iostats for all queue blocks (reduces overhead)

- Slightly increased overall task utilization on the LITTLE cluster cores for potentially reduced power consumption

- Adjusted how often the kernel is considering migration of tasks / processes (improves both UI and system fluidity)

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] warrencoakley:
Not for me. Not sure why.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] warrencoakley:
Is there anyway of knowing besides the logs that it's working properly?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
The logs will tell you everything that you need to know. Trust me.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] warrencoakley:
This is all I see..
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] jamiejames:
I am a 2-day rookie at this so take my input for what it's worth. Are you running the latest Frankenkernel? If you are did you flash it over the stock boot image?

Do You have the frequency set per the readme script? I don't think that has anything to do with the device going to sleep.

I updated kernel yesterday and reinstalled mod and had even better results
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Mackay53:
That's all you need to see
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] warrencoakley:
So then how do I know it's doing what it should be doing? I don't see any results
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] warrencoakley:
Running Elemental X kernal on stock.

Running the latest Kernal and the mod is running.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Check your battery stats with the excellent monitor that FKM comes with. It's always a helpful start! :)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] warrencoakley:
FKM?

I have the EX one. I don't see any difference to be honest with battery.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] jamiejames:
I'm guessing that's why your results are different. Maybe try flashing the stock boot image and try the latest Frankenkernel.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] warrencoakley:
Do you have a link to Frankenkernal?

Am I alright to just flash this over EX Kernal?

Thanks
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] jamiejames:
That seems to be what everybody is using with this mod. That's what I'm using for those results.

I personally wouldn't recommend flashing over EX. You could always try it and see what happens. If it doesn't work just flash the stock boot image and set it up again.

Make sure you set the frequencies that are recommended in the readme script.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Always best to go back to stock kernel first before flashing a new one. Having said that, I've seen several others flash one custom kernel over another without issues :good:
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] warrencoakley:
How do I go back to stock Kernal?

And also how do I remove these scripts safely from my phone altogether?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
If you backed up your stock kernel with either FKM or EXKM, which you should always do, just go back and flash it again. If you didn't, then just flash your magisk_patched boot.img again and reboot. To remove the scripts, go to /data/adb/service.d folder, delete the scripts and reboot :good:
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] warrencoakley:
Perfect. Suffering lag and increased start up times and sometimes boot loops so best removing them.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Donric13:
Atm running your stock version skript with Despair kernel. Running nice without any Freezes and good battery life. Ainur narsil and v4a as magisk modules (and busybox). After deinstalling your script (test reason) device didn't go to deep sleep. After reinstall all fine.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] DinarQ8:
What name this app you are using?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Looks like Franco Kernel Manager=FKM :cool:
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] DinarQ8:
It look great feature [emoji1362]
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Juzman:
It's strange you mention bootloops and increased startup times, since the script doesn't get executed until AFTER the device is booted, exactly 2 minutes after.

Maybe you had a bad flash with a kernel.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Kevtrejo37:
Maybe he just has 20 other different magisk modules too ??
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Juzman:
More than likely. ?*♂️
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Rather 666 condemned ancient modules..
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] ceelos218:
sucks that you don't know what you're doing.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] warrencoakley:
Just telling you my experience.

---------- Post added at 07:28 AM ---------- Previous post was at 07:28 AM ----------

I do know what I'm doing

---------- Post added at 07:29 AM ---------- Previous post was at 07:28 AM ----------

Nope all modules up to date

---------- Post added at 07:30 AM ---------- Previous post was at 07:29 AM ----------

Nope I have 6 modules installed.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Juzman:
Definitely not related to BM, will be something else causing the slow boot.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] warrencoakley:
Flashed 4 different Kernals now. All started from scratch replacing stock boot img before flashing again and the experience was the same. Not sure why. Tried conflicting Magisk modules by loading one by one to see if there was one or more causing issues but they were not.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Juzman:
You didn't happen to update from November to December without a full wipe? I had issues with kernels and things when flashing after update.

Only way to fix it was a full wipe with December factory image. All worked flawlessly then.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] warrencoakley:
No I never had to do that for security updates. Just used fastboot to flash and use the patched Magisk Module too. I'll give it another go when January's update comes around. Little frustrating as there is obviously something conflicting with the scripts.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Juzman:
There was major changes from November > December. I clean wipe (with -w) was recommended.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
I did not even clean wipe while flashing between those security patches because I am a lazy prick and haven't yet noticed any stability issues at all here at my own end.

It must honestly be something else going on for those that have issues with BlackenedMod on their P4(XL) units..
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Juzman:
Oh, mine wasn't an issue with BM at all. Just issues with kernels doing a dirty flash from November > December.

Once I did a full wipe, all was sweet.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Update!

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

- Slightly updated a few descriptions for clarity reasons

- Bumped sched_downmigrate for even better battery life

- Enabled the iowait_boost flag on the low power cluster cores (improves performance during heavy IO workloads)

- Tuned a few CFQ values so they are identical to what the Linux mainline kernel is using for improved IO throughput

- Hopefully fixed all of the reported freezes and hiccups

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] crazykas:
[MENTION=8852292]xFirefly93[/MENTION] hey im new to pixel 4 and this script flashing. I have followed the given instructions and got following logs. Actually there are two 1 for workaround and 2 for blackenmod. Does this means i have flashed it successfully? I moved both 01workaround and 02blackenmod shs to given folder. Hope it is right. Thanks
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Yep, you got it right. If you tap on the log files, it should say, BM has been successfully installed :good:
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] crazykas:
Appreciate the response! :good::good:Yeah it say that too::fingers-crossed::fingers-crossed:
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Juzman:
Enjoy the script. :D
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Donric13:
Hmmm strange. On despair kernel with version 2.4 stock no deep sleep at all. Back to 2.3 and device sleeps like a baby....
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] ho0o0o11111:
I had many problems (freeze after just boot, especially in magisk app; slow then freeze after resume from sleep; clock time freezes then alarm doesn't work) with Franken and this script but after uninstall and reinstall Magisk (stable -> Canary), and just flashed Franken and this script without any magisk module, no problem at all. So I guess it is related to Magisk itself but not the kernel nor this mod. It seems quite a lot of people report freeze issue in these two threads so this is just for their reference.

I enjoy this mod so much. Thanks for your good work.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Hmm, strange..

Have you tried with Frankenkernel and the customized CPU frequency option inside the ZIP-folder?

:highfive:
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Donric13:
... Franken kernel with my config (magisk, v4a, ainur) highly unstable... Must say i didn't try the 11.xx versions. Atm i am totally happy with despair kernel and your mod 2.3. Never change a running system... Gonna move om and try Ftanlen again when problems occur on actual config. Thanks for your effort on the script.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Madjax2020:
Weird AF .... I did this before and had logs. Followed the same exact OP and I don't see my logs folder.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Did you let magisk run a little while before checking? Did you reboot again? And, were your permissions changes correct?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Madjax2020:
sup brother, i did let it run before i did anything about 3 min. i rebooted twice and each time did nothing for 3 min. i changed both files to 775 then rebooted the first time
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Then I would delete the scripts from the service.d folder, reboot, download the script again, and start over. Or, switch back to the 2.3 version to see if that makes a difference :good:
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Madjax2020:
No change my friend. Next I'm going to delete the files. Reboot. Startup my phone .. reboot again and try.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Madjax2020:
My files.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Update!

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

- Temporarily disabled the IOWait_boost flag on the LITTLE cluster (hopefully fixes the reported deep sleeping issues)

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:
NOW i see my issue .... im copying the files using a root browser .... and i just noticed its STILL copying the small files ... last time i minimized it and didnt really pay attention guess ill wait and see how long it takes and IF it finishes copying

---------- Post added at 01:52 AM ---------- Previous post was at 01:47 AM ----------

downloading now

ok what root browser is everyone using? i have to use 2 different root browsers. 1 will copy and not let me change permissions ... i will not copy but change permissions ... WTF LOL it worked before even with the new version
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Root Explorer for me. Been using it for 5+ years. Still works great, and is still updated regularly :good:
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Just use FX Filebrowser with the dedicated FX root addon.

It have all the features that you honestly only need.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Madjax2020:
got it ... used es file explorer pro !!!!! I SEE LOGS !!!!!
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Donric13:
Thanks for update. Device sleeps now like a baby.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Update!

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

- Tuned the Schedutil governor for improved battery life without causing any notable performance regressions

- Blocked the scan_wake_lock kernel wakelock from being held (causes battery life to getting kind of burned out)

- Disabled the SCHEDTUNE_BOOST_HOLD_ALL flag (the performance gains is not worth the battery life drops)

- Added a easter egg to a few parts of the main script

- Some additionally very high quality of life 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] WiZARD7:
First time installing Blackenedmod, I tried V2.6.

both files are at the proper folder, set to 775. Busybox magisk module installed, rebooted several times, waited many minutes.

Still no logs folder.

Any idea what to check?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
What file browser are you using?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] WiZARD7:
Total commander +root
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
I've never used that particular one, but there seems to be some wonkyness with some of them. Read a few posts before yours and you'll see what I mean :good:
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] WiZARD7:
I've tried FX explorer also. Didn't make any difference.

(I don't want to purchase anything till I'm not sure it helps)
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
You didn't modify the scripts or anything I'm sure. Don't know what else to tell you. After you unzipped the file. You moved both of them to the /data/adb/service.d folder, set permissions to 0775, saved the changes, and rebooted. Then it should work :confused:
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] WiZARD7:
Yes, and it looks fine from both file explorers, with proper permissions.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] yyz71:
Try creating a Log folder on your Sdcard and it will show up..
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Madjax2020:
It's under SDCARD ... I had a brain fart and was looking for the logs folder in the root directory go into SDCARD folder

---------- Post added at 02:15 AM ---------- Previous post was at 02:14 AM ----------

Happy holidays to all.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] :
I had a similar issue. Eventually I got it working with both FX file browser and Root Browser. Under main storage, create a directory (folder) called 'logs'

Copy the script(s) to the root/data/adb/service.d folder

Try 0775 permissions, reboot and wait about 3-4 minutes. Then check to see if the logs directory has been populated (should be one file in there)

If not, try again using 7775 permission, reboot, and wait the 3-4 minutes and check.

If it works using the 7775 permission, delete the log file, change back to 0775, and reboot, wait, check logs.

to be honest, I dont know why this procedure ended up working for me, but since then I never needed to change to the 7775 permission, the 0775 always works now (when updating).
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] WiZARD7:
thanks, I've tried this also.

I've copied the files, rebooted, changed permission at least 15-20x, created the logs folder but still nothing. :(
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] :
Damn, assuming you waited long enough and busy box is installed prior to moving the script to adb and the rest of the steps

the only part I left out if those instructions was that I had clean flashed my phone at least a few times, honestly i never figured out what exactly was preventing the script from running priperly, just one day after many many clean flashes and trials it stated working
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Update!

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

- Reverted a few experimental things for stability reasons

- Temporarily removed the tweaked max cluster CPU clock configuration (may be added back in the eventual future)

- Unified everything together again into two .sh script files

- Updated the readme with some newer min frequencies settings for all the Frankenkernel users (take a look at it)

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] jamiejames:
Is there a short version on how you test this mod? I was just curious how you come up with all these improvements.

Last update killed it on the numbers. Just keeps getting better.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] DinarQ8:
Q: why 2.6 zip 470kb and 2.7 zip 15kb?
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Juzman:
Because screenshots were removed.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Madjax2020:
I don't know if you'd saw this ... LOGS is under your folder ... It's own folder called SDCARD
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Madjax2020:
Added screenshot
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Madjax2020:
Got 2.7 running .. no 8ssues to report.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
It is all about some pretty deep basic trial and error since I bought my first two Droid's back in 2011 (a Xperia Arc S and Xperia Mini) mixed with a lot of die hard dedication and full-scale motivation.

Add in the fact that I've been a tech junkie since I was 4 years old back in 1997 (during the time when Windows 95 and 98 was the huge sell-outs on the commercial market) and you will get the whole fascinating picture!

:)

Removed all energy calculation based screenshots and a few other things that I got tired of getting to work as good as possible. Or well, at least for now because they may get potentially added back in the close future - who knows..

:highfive:
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Madjax2020:
I feel super old I graduated in 1990.
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Bwahahahahaha...try 1978 ???
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] CyberpodS2:
Hey you got me by 4 years... 82 here
[Google Pixel 4 XL ROMs, Kernels, Recoveries, & Oth] pa.pn2:
What about 1973 hehe