• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[MOD] BlackenedMod v2.0 (Pixel 3a / Pixel 3a XL)

Search This thread

h4m74ro

Senior Member
Aug 26, 2009
217
31
ドイツ
After applying this mod, I got a lot of problems. Settings are resetted, Home and Tasks buttons don't work anymore and I cannot extend the statusbar twice, just once. Mobile data is also not working anymore. I did everything like in the top post.

How can I revert it?

I've deleted the script and rebooted, but still got the problems.

I'm on Pixel 3a, Android 10, September, EX Kernel, Magisk, BlackenedMod 1.8

Is it not compatible with Android 10?
 
Last edited:

12paq

Senior Member
Aug 16, 2010
1,155
368
Colorado
www.DonAshcraft.com
After applying this mod, I got a lot of problems. Settings are resetted, Home and Tasks buttons don't work anymore and I cannot extend the statusbar twice, just once. I did everything like in the top post.

How can I revert it?

I've deleted the script and rebooted, but still got the problems.

I'm on Pixel 3a, Android 10, September, EX Kernel, Magisk, BlackenedMod 1.8

I believe this script was only for Pie.
To recover try flashing the factory image. Remove the "-w" from the flashall.bat file to avoid wiping your device.
 
  • Like
Reactions: catharsis724

12paq

Senior Member
Aug 16, 2010
1,155
368
Colorado
www.DonAshcraft.com
Thanks, just did that. But unfortunately, all problems are still there. I hate to wipe :(
Hmm ? That seems like more than this script could mess up? Not sure. Flashing the factory image formats and rewrites system, so it should be clean after that?
Well, hopefully you can pull your data before a full wipe and that fixes things for you. Good luck, man.
 
  • Like
Reactions: catharsis724

h4m74ro

Senior Member
Aug 26, 2009
217
31
ドイツ
This script is just too experimental, if something like that can happen so easily.

Next release will be Android Q "exclusive", but I'm not playing guinea pig again.
 

jsminnis

Senior Member
Nov 28, 2008
835
238
Is anyone using this in Android 10? I want to make sure I don't go into a boot loop or anything, and if I was to, how would I go about getting the phone to boot without flashing to new again.
 

xFirefly93

Senior Member
Jan 10, 2018
1,423
2,292
Timrå
This script is just too experimental, if something like that can happen so easily.

Next release will be Android Q "exclusive", but I'm not playing guinea pig again.

It's not. It features tweaks that have been daily used on Android since the Gingerbread 2.3.x days + a few Pixel specific 'easter eggs' here and there.


So I need to flash a custom kernel to get it work? And what about after OTA? I have to install it again? Thank you

You can use any kernel of your choice together with this.


Is anyone using this in Android 10? I want to make sure I don't go into a boot loop or anything, and if I was to, how would I go about getting the phone to boot without flashing to new again.

Wait with using it until I've released v2.0 - that will come in the other half of this week.
 

fuzzgruble

Senior Member
Nov 11, 2013
99
39
Austin
This script makes a soft brick out of a Pixel 3a. Don't install. Experimental.

Like it was said before, what you say happened seems like a lot more than what this script could accomplish. Considering the number of users that have used these scripts across 3+ devices and that there exists very similar scripts it is more likely that something else caused your issues. I would say examine other possibilities before just jumping to the conclusion that this was the cause.
 

xFirefly93

Senior Member
Jan 10, 2018
1,423
2,292
Timrå
Yes, I have. It doesn't matter what other devices do. This happened.

Like it was said before, what you say happened seems like a lot more than what this script could accomplish. Considering the number of users that have used these scripts across 3+ devices and that there exists very similar scripts it is more likely that something else caused your issues. I would say examine other possibilities before just jumping to the conclusion that this was the cause.

BlackenedMod have worked with great results on 4 complete series of devices so far, or well, partially except from the WIP stats on Sony Xperia 1 / 5 where I have to do a lot more stuff before I am finding that perfect 'end product' that's ideal for daily usage because Sony is sometimes always Sony and makes a few things far too conservative which can hurt battery life more than it helps - specially if the whole race-to-idle concept is the main target and overall goal of achievement.

Before people are blaming those stuff that other is creating for 'fun' (even though that isn't the right / correct word to use, but what so ever) - that is made for pushing the engine on our phones a step further, a.k.a the kernel, they should instead take a look at their own specific userspace set-up and see if anything over there may have a possible impact or not first.

It could be a app that is going completely nuts if things is tuned on the kernel level, it could be a Substratum asset that requires a specific kernel knob to be non-modified or it could be in reality anything. I have no personal idea because everything works buttersmooth here at my end so far, and it will stay so as long I am the one in charge of this wide idea and modification.

I am though not the to be held responsible, as stated in the disclaimer in the official post. No one, or nothing, is forcing anyone to use a custom ROM / kernel / modification / OnePlus devices when it doesn't exist any kind of warranty that things 'may' work perfectly like it is demanded to do on a pure stock ROM & kernel combo set-up straight from the OEM's own official factory.

End of discussion.


¯\_(ツ)_/¯
 
Last edited:
  • Like
Reactions: housepabldroid

xFirefly93

Senior Member
Jan 10, 2018
1,423
2,292
Timrå
Update!

Note: It is recommended that you reboot your phone after you have applied v2.0 so the customized changes / improvements 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):
- Re-made everything from scratch for Android Q
- Added a neat workaround for ElementalX kernel
- Blocked the per default safe-to-block wakelocks
- Enabled a few display ULPS props for Pixel 3a
- Silenced the DIAG_WS kernel wakelock for good
- Cleaned up a lot of stuff for improved stability
- Adjusted and polished the output messages
- Some additional minor stuff and 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!

Enjoy! :)
 

kirschdog1

Senior Member
Update!

Note: It is recommended that you reboot your phone after you have applied v2.0 so the customized changes / improvements 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):
- Re-made everything from scratch for Android Q
- Added a neat workaround for ElementalX kernel
- Blocked the per default safe-to-block wakelocks
- Enabled a few display ULPS props for Pixel 3a
- Silenced the DIAG_WS kernel wakelock for good
- Cleaned up a lot of stuff for improved stability
- Adjusted and polished the output messages
- Some additional minor stuff and 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!

Enjoy! :)
Do we need the workaround script too?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    Introduction:

    Hello everyone!

    The idea to this 'project' did blossom after having an conversation with @pkgnex 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.

    This script is created with the goal of improving both battery life and performance on our Pixel 3a (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: This script 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 this script fully working:
    • An unlocked bootloader
    • Your own specific choice of kernel
    • Latest possible version of Magisk
    • Busybox for Android NDK Magisk Module by @osm0sis
    • Patience

    Installation/How-To use & abuse:
    • 1) Download the attached ZIP
    • 2) Extract the script
    • 3) Move the script 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 @Phalanx7621 phenomenal guide here or check out @Phalanx7621 in-depth video here. The installation method is the same for all generations of released Pixels!
    Credits:
    • @franciscofranco for all the information on which kernel wakelocks that is safe to block
    • @Phalanx7621 for his phenomenal how-to guide
    • @Lord Boeffla for his awesome generic kernel wakelock blocker
    • @pkgnex for inspiring me walking into this partially unknown territory.
    • @flar2 for his excellent EXKM application and ElementalX Kernel
    • @osm0sis 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:
    @xFirefly93

    Created: 2019-07-06
    Last updated: 2019-11-15
    10
    Update!

    Note: It is recommended that you reboot your phone after you have applied v1.3 so the customized changes / improvements takes full effect and is fully up & running as intended.

    Version v1.3 (Minor release):
    - Added the needed commands so the logs folder, and the output message, will be automatically generated after each completed boot sequence (Thanks to @crian for giving a few seconds of his time helping me out with this contribution. You rock, dude!)
    - Simplified a few explanations of what each section does
    - Fully enabled the RET idle power state for both clusters (may, or may not, lead to slightly improved battery life for everyone)
    - Most likely fixed the minor issue with the weird all over the place maximum CPU frequency bouncing on the whole LITTLE cluster

    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!

    Enjoy! :)
    10
    Update!

    Note: It is recommended that you reboot your phone after you have applied v1.2 so the customized changes / improvements takes full effect and is fully up & running as intended.

    Be aware that you have to flash the Busybox Magisk module by @osm0sis for getting the newest enhancements, that is featured / included on v1.2, up and running as intended!

    Version v1.2 (Major release):
    - Added a few crucial filesystem tweaks for improved performance (Credits goes to @pkgnex for this contribution. Be aware that you have to flash the Busybox Magisk module for getting those modifications up and running as fully intended)
    - Fully removed all of the alternative task scheduler values / settings (they was only causing random freezes and lagspikes)
    - Slightly adjusted the default stock CPUSet values for hopefully improved power efficiency as well as system responsivness
    - Cleaned up the script on a few minor typos and what not
    - Disabled a few minor CPU related loggers (experimental)
    - Reduced suspend latency by enabling console_suspend
    - Added a few tweaks for overall better network performance
    - Shifted to Westwood TCP congestion algorithm per default
    - Disabled the useless Adreno GPU frequency throttling tunable
    - Disabled RCU expedited and 'replaced' it with RCU normal for improved real-time latency, CPU utilization and energy efficiency

    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!

    Enjoy! :)
    10
    Update!

    Note: It is recommended that you reboot your phone after you have applied v1.8 so the customized changes / improvements takes full effect and is fully up & running as intended.

    Version v1.8 (Minor release):
    - Re-wrote and "patched up" the whole script from scratch
    - Removed all the modified frequency stuff for now (needs a few more adjustments before they will be added again)
    - Re-enabled power efficient workqueues (=PEWQ) again
    - Fully enabled laptop_mode (slightly improves battery life)
    - Disabled fsync per default (improves IO performance)
    - Cleaned up a few crucial typos both here as well as there

    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!

    Enjoy! :)
    9
    Update!

    Note: It is recommended that you reboot your phone after you have applied v1.7 so the customized changes / improvements takes full effect and is fully up & running as intended.

    Version v1.7 (Major release):
    - Finally fixed the battery life issues that a few may have experienced while having BlackenedMod up and running
    - Included a simple guide on what you've to do for getting the alternative min & max frequencies working as intended
    - Disabled power efficient workqueues once and for all (the overhead cost doesn't justify the notable performance loss)
    - Re-configured my Schedutil profile from scratch so it works like a bulldozing charm together with the changes below
    - Increased Schedutil up_rate_limit to 1000us (reduces any overhead caused by all over the board frequency scaling)
    - Unlocked & enabled the 300Mhz freq for the big cluster
    - Slightly underclocked the big cluster max frequency for better battery life power and for a better user experience
    - Carefully adjusted the min LITTLE cluster freq a little for compensating for the new big cluster min & max frequencies
    - Reverted commit sync interval to default 5 seconds again
    - Some additional minor fixes and adjustments here and there

    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!

    Enjoy! :)