[KERNEL][FORK]Radioactive Kernel V2.2.5 [2021.07.28][OOS/CUSTOM ROMS][UNIFIED OP8/OP8Pro/OP8T] 295-920Mhz GPU + WL Blocked + Adreno Boost

Search This thread

mslezak

Senior Member
Dec 12, 2016
411
405
Houston
Google Pixel 2
OnePlus 8T
great, zero! drain during the bedtime ;) that's awsome! thanks for the kernel upgrade
Damn, what ROM are you on? If I stay on Wifi only during the night I'm in the 0.4-0.6%/hour range. That's with cell service on but Google Messages chat features enabled, mobile data disabled. Seems your phone is going right to sleep. I know RadioActive isn't the most battery efficient kernel, but it's a great one nonetheless. Plus the dev's ability to make it work on all the 8 series is phenomenal (A11 only).

As for adjustments to regulators to save battery / max out mhz on each on the low side, that's quite a task. We only have so many to choose from, and there's a lot of testing that has to happen before you can call each one "stable.":

/* These levels may be used for ARC type RPMh regulators. */
#define RPMH_REGULATOR_LEVEL_RETENTION 16
#define RPMH_REGULATOR_LEVEL_MIN_SVS 48
#define RPMH_REGULATOR_LEVEL_LOW_SVS 64
#define RPMH_REGULATOR_LEVEL_LOW_SVS_L1 80
#define RPMH_REGULATOR_LEVEL_LOW_SVS_L2 96
#define RPMH_REGULATOR_LEVEL_SVS 128
#define RPMH_REGULATOR_LEVEL_SVS_L0 144
#define RPMH_REGULATOR_LEVEL_SVS_L1 192
#define RPMH_REGULATOR_LEVEL_SVS_L2 224
#define RPMH_REGULATOR_LEVEL_NOM 256
#define RPMH_REGULATOR_LEVEL_NOM_L1 320
#define RPMH_REGULATOR_LEVEL_NOM_L2 336
#define RPMH_REGULATOR_LEVEL_TURBO 384
#define RPMH_REGULATOR_LEVEL_TURBO_L1 416

As for the # of entries we're allowed, it's limited to only 9 frequencies. Picking them besides the default specified by the Adreno chip is quite arbitrary; it can be done, but depending on your CPU, it may or may not be able to run each frequency on a lower regulator. I could easily put out a build attempting to drop each to a lower bin but I doubt we wouldn't run into issues. Especially on the upper end frequencies; they tend to need more voltage. I actually tried to drop as low as 175mhz and drop each regulator lower, moving some frequencies around, and there were obvious graphics errors during a 3D Mark 20 minute stress test. This is a really difficult task to tweak each frequency and regulator to a point where everything is smooth, and no graphics are impacted. I choose to leave the frequencies where they are, leaving the defaults Qualcomm specified and just a slight underclock on the low end + the 800/920mhz overclock on TURBO and TURBO_L1 regulators for this reason. Some GPUs out there can hit 940 but excessive heat can give you a lousy experience.
 
Last edited:

mslezak

Senior Member
Dec 12, 2016
411
405
Houston
Google Pixel 2
OnePlus 8T
Battery is not a good measure of SOT / idle drain, that's why I use FK Battery Monitor (although not my favorite kernel manager, EX is all around better in my opinion (more features, better interface), SmartPack is free and only has a bug flashing zip files, if that were fixed, it would be my favorite). But FK's battery monitor is the best I have to admit.

So I figure I will use your numbers since you think it proved something. 100%-58% = 42% drain with screen on for 4.5hrs / let's pretend you got ~1% inactive drain for 4.5 hours since you last charged to 100% (my example started at a much lower charge BTW). So now your screen on drain is ~38%. 4.5hrs/38% ~ 12 hrs SOT. Battery doesn't show you., so I'm just guessing.

12 hours SOT is the same as this modded RadioActive kernel running a good 670 / 800 / 920mhz above yours, with no optimizations in the ROM, no debloating, just installing it with dark mode on. Using the phone for tasks all day, phone calls, internet, checking accounts, opening apps, reading the news, etc. I say that's a win...

Sorry I work as a quant, I realize not everyone does. Please don't take offense. I'm just pointing out your battery pictures just prove the point I was trying to make - I like to test in the midrange level because 100% can actually be something like 102% or higher than the rated capacity. I started around the 65% range before sleeping. This kernel performs much like stock, but without lag and with much better performance. Not meaning to beat a dead horse here, I won't comment on it anymore, but I can't remove posts so I may as well analyze them. And again, if anyone does not like this modded RadioActive kernel, just don't use it! It's setup the way I like to use my phone, nothing more, nothing less.
 

BrickL0rd

Senior Member
Dec 29, 2010
247
37
near Vienna
OnePlus 8T
Damn, what ROM are you on? If I stay on Wifi only during the night I'm in the 0.4-0.6%/hour range. That's with cell service on but Google Messages chat features enabled, mobile data disabled. Seems your phone is going right to sleep. I know RadioActive isn't the most battery efficient kernel, but it's a great one nonetheless. Plus the dev's ability to make it work on all the 8 series is phenomenal (A11 only).

stock, latest firmware, magisk, adaway, vanced. 5hgz wlan. nothing special. phone is 3 weeks old
 

mslezak

Senior Member
Dec 12, 2016
411
405
Houston
Google Pixel 2
OnePlus 8T
stock, latest firmware, magisk, adaway, vanced. 5hgz wlan. nothing special. phone is 3 weeks old
Yeah I'm running all the same stuff on mine, but I have not debloated it at all besides dark mode and a static Google Wallpaper nature scene. I do have some 100+ apps though and only turned off notifications on a couple of them, so work put towards some debloat would make mine more efficient. I just am happy with the performance and drain off the RadioActive modded fork already, I went camping 3 days without a charge on mobile data the whole time and still came home with some 30% battery left. Always snappy performance thanks to acuicultor and a little GPU OC. Low drain from the wakelock blocks and small UC to 295.
 

itsnotAmit

Member
Jun 11, 2018
23
9
OnePlus 8T
Everytime I flash this kernel. None of my sim cards get detected. Even after multiple reboots.

Re flashing the stock kernel solves the problem. Does anyone know how to fix this?

I'm using OnePlus 8T KB001
 

Revenant Ghost

Senior Member
Jun 24, 2012
462
278
Hmmm, not bad. (y)
 

Attachments

  • Screenshot_20210402-044026.jpg
    Screenshot_20210402-044026.jpg
    250.7 KB · Views: 208
  • Screenshot_20210402-043956.jpg
    Screenshot_20210402-043956.jpg
    253 KB · Views: 208

itsnotAmit

Member
Jun 11, 2018
23
9
OnePlus 8T
Are you using OOS or a custom rom (like Lineage)? ensure you are using the proper kernel type to the OS you are using.
I am using stock OOS. And the proper kernel for OOS. But whenever I install this one... My sim cards don't show up. Neither of them. Even multiple reboots don't solve this!

But if I flash any other kernels ..it fixes the problem! I really wanted to try out this version... But can't for this reason!
 

Denkai

Senior Member
May 25, 2009
442
61
Seattle, WA
OnePlus 8T
I am using stock OOS. And the proper kernel for OOS. But whenever I install this one... My sim cards don't show up. Neither of them. Even multiple reboots don't solve this!

But if I flash any other kernels ..it fixes the problem! I really wanted to try out this version... But can't for this reason!
I recommend dirty flashing aa complete OOS to clear it up and then reflash the kernel. Flashing different kernels on top of each other can cause issues, always return to complete stock before switching. after you do that, if it doesn't fix it, do a network settings reset.

@mslezak would you consider adding the latest kernel security fixes from linux?​

 

mslezak

Senior Member
Dec 12, 2016
411
405
Houston
Google Pixel 2
OnePlus 8T
I am using stock OOS. And the proper kernel for OOS. But whenever I install this one... My sim cards don't show up. Neither of them. Even multiple reboots don't solve this!

But if I flash any other kernels ..it fixes the problem! I really wanted to try out this version... But can't for this reason!
Did you try airplane mode on for 1 minute / off afterwards? No issues here. And are you on the Global ROM or another one (all tests I've done on Global). Does stock RadioActive work fine on your device? Try flashing it. This doesn't change anything related to your SIM cards.
 

itsnotAmit

Member
Jun 11, 2018
23
9
OnePlus 8T
Did you try airplane mode on for 1 minute / off afterwards? No issues here. And are you on the Global ROM or another one (all tests I've done on Global). Does stock RadioActive work fine on your device? Try flashing it. This doesn't change anything related to your SIM cards.
It took so much time for my simcards to get recognised. But it finally did....

And the kernel works like charm! 67% left with 4 hours of SOT.
Thanks for your work!
 

rodken

Senior Member
Jan 11, 2010
1,646
724
@mslezak Is flashing Magisk Canary a requirement for this particular kernel or the norm for anything Android 11?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 22
    Can I get a link to try this? Tia
    Updated 7/31/2021 rebased on Acuicultor's v2.2.5 rebase (OOS) and rebase_custom (custom ROMs).

    [NOTE: Bug reported - with a Magisk Module I created to fix it. For some strange reason (code looks fine), some systems are setting the default GPU frequency to 920mhz and default power level to 0 (max). I have posted a small Magisk Module that waits 5 seconds then corrects these values (295mhz default and power level 8). It's on the GitHub release page - MOD-GPU-Set-Min-Freq.zip. Just install with Magisk Manager as a module / install from storage after downloading.]

    This is a tweaked version of RadioActive kernel by acuicultor modded for higher performance and lower idle drain. All source commits and releases are on my GitHub fork:


    PLEASE read the Readme as well as the disclaimer. Whenever you flash a custom kernel, you do so at your own risk. I recently rebased on the dev's work (GPU_OC OOS branch, never released) and set the wakelock blocks up myself (lower idle drain, tested over a week with no loss in functionality), dropped the base GPU frequency to 295mhz and raised the top ones (800/920mhz) acuicultor you're an awesome dev, great to have you around! All credits should go to him other than my tweaks.

    I also merged all the same changes into the Custom ROM branch which didn't have GPUOC or AdrenoBoost - several people are using it now but it's marked as a BETA since I am on OOS (latest Global) and can't test it myself. NOTE: many people on the TG channel I posted to have tried it and have had no issues on Op8, Op8 Pro, and Op8T.

    Note if you are one of the rare people who see artifacts in games or benches, the easiest fix is to go into your kernel manager and set the max GPU frequency to 800mhz and apply on boot. Not all 865 Adreno GPUs are created equal. I haven't seen one that couldn't handle 900mhz to date, but enough people have had no issues at 920mhz so that's where I put it.

    Be sure to flash Magisk before installing, then use EX Kernel Manager or FK Kernel Manager to Flash the kernel zip. It has all the same optimizations of RadioActive kernel, just modded for really nice performance and low battery drain. Adreno Boost is set to low on default which makes it react faster as the GPU scales. If you already have Magisk installed, there is no reason to reinstall it - the AnyKernel 3 zip installer will use what's installed already.

    I put one out there you can just flash from: fastboot flash boot 4.19.110.RadioActive-WL-295_UC-920-GPU-2.2.5.img (OOS only) as it saved my a$$ a couple times when flashing or trying to apply an incremental update when rooted (no success, although I posted the incremental update on TG, the payload just won't extract properly to update using fastbootd scripts)... Maybe I'll post it here on XDA and see if anyone can extract the latest Op8T update.

    Also someone sent me a PM about using KonaBess app to change frequencies even more, or change regulators, or change the DDR clock speeds. Yes, it works. Note you probably should only play with that if you have a fastboot image available in case it doesn't boot! I did just upload one for OOS to the repo as I mentioned above. Be warned, you're on your own there.

    Hope you all enjoy!

    - MattOfTheDead / Red Magic 5G MOD kernel (Q) / Xiaomi Mi9 / Mi9T Pro MOD kernels (Pie/Q) / next in line is probably a 2022 device - 888s didn't make the cut
    9
    I posted an updated Radioactive kernel with various mods (GPU UC 295, OC 920, 11 Wakelocks blocked for idle drain, Adreno Boost set to minimum.) Built on request from a few people on TG it's just a "preset" version of Acuicultor's work, built with Proton Clang 12 instead. I did barely anything, just set it up the way I like it, but it's available here for anyone that wants it:


    As I said, I didn't do much so thank the real dev in this thread by supporting him!
    5
    Sorry guys for waiting on the next release from the original dev of RadioActive; I tried to do an auto-merge from GitHub but there are too many conflicts for me to resolve in the little time I have. I usually (to avoid messing anything up) completely move the prior repo to another one, clone the latest version, then apply my commits on top of that. But that takes a bit of time to do. And I'm working 80hr+ weeks ATM so don't expect an updated fork for a little bit... Hard to fit in family and work and kernels etc. when you barely have enough time in the day to do anything but work / sleep / eat. But it will come. Probably between all the coding I do at work...
    5
    Thanks guys for the kind words from those of you that like my kernel. I've been running it all the time and it's never crashed on me. It's still a good habit to reboot your phone every day, or every few days. But I've only tested OOS since I don't run custom ROMs.

    Sorry busy on other projects at the moment, no time to update to the newest release of Radioactive. Of course no one has paid me to do it, and I have an 888 phone now (Redmi K40 Pro Plus 12/256 from China, $600 delivered in 10 days to my house from China directly - PM me if interested, the place to order is 100% Chinese and my Chinese speaking friends can't even figure out how to order there, but somehow, I did thanks to Google Lens and Translate). I still use my Op8T 5G all the time though. It's a great phone.
    5
    Yeah the new releases of the Radioactive fork have some things I'm not that happy about. But they really don't make a whole lot of difference. One is switching from MQ schedulers (the norm on this higher Linux version) to SQ ones. Are the speed differences that significant? Not really, but I view MQ schedulers for tasks as ahead of SQ (sign0al queue) to be the "old world" version of them. As I mentioned at some point, this change (addition / reversion) caused many conflicts and a simple GitHub merge isn't possible. I tend to like my MQ schedulers, as they are intended for high speed SSD hardware. Which the Op8T has already. To me, introducing old schedulers is not ideal. The I/O speed you likely would not even notice in normal activities, but it exists. There are some improvements he's made (even in his unpublished repo, latest commits) that would add extra battery life, but fixing all the commits that don't automerge is a pain. So if I do create a new version, well, it will be based on a clean repo download to another branch. But as mentioned prior, I really don't have the time right now. Sorry if that disappoints some people, but I have a full time job that doesn't give me any room to keep up open source RadioActive fork builds with my tweaks added. At some point, maybe over the holidays, I'll make another build, when my time is less demanding at my actual job. This is just a hobby, i.e. build for fun, as I don't get any money for builds.