Development [KERNEL]Radioactive Kernel v1.1.9[A12L] [2022.06.09][UNIFIED PIXEL6/PIXEL6PRO]

Search This thread

Grifello

Senior Member
Dec 21, 2010
100
36
Rome
i'm currently on crdroid and i flashed radioactive kernel. if i'll update the rom in future i'll need to delete ak3 helper magisk module considering that kernel will be overwrite by default one during the rom update?
 

Vman006

Member
Oct 11, 2016
13
3
Hi, im new to the custom kernels i flashed it successfully via flash script , i have a question, im on derpfest custom rom what if there's an rom update do i need to flash stock kernel then flash the raido active kernel again? sry for my bad eng.
 

acuicultor

Recognized Contributor / Recognized Developer
Jan 3, 2013
3,203
11,703
44
Palma de Mallorca
Google Pixel 6 Pro
Hi, im new to the custom kernels i flashed it successfully via flash script , i have a question, im on derpfest custom rom what if there's an rom update do i need to flash stock kernel then flash the raido active kernel again? sry for my bad eng.
Rom update will overwrite whatever kernel you have so if you want to use Radioactive or another custom kernel you must flash it again after the rom update.
 
Last edited:

Gytole

Senior Member
Aug 7, 2013
695
489
Hi, im new to the custom kernels i flashed it successfully via flash script , i have a question, im on derpfest custom rom what if there's an rom update do i need to flash stock kernel then flash the raido active kernel again? sry for my bad eng.
Where did you find derpfest for the Pixel 6 Pro?
 
The only place I've seen a link is on the below telegram channel.

 

acuicultor

Recognized Contributor / Recognized Developer
Jan 3, 2013
3,203
11,703
44
Palma de Mallorca
Google Pixel 6 Pro
@acuicultor
can you explain the power suspend mode and state please
Sure, i'll try although i'm very bad explaining stuff in written form and even harder in English for me but i try to clear things up.

Android early_suspend/late_resume PM kernel driver framework has been
deprecated by Google. This powersuspend PM kernel driver is a replacement
for it and existing early_suspend drivers can be easily adapted to use this
replacement driver


Powersave state mode (screen on 0 / off 1)
Powersave mode (kernel 0/ userspace 1/ panel 2/ hybrid 3)

Before I explain anything you must understand what the suspend state is, usually it is called sleep.

Power suspend in Linux - http://unix.stackexchange.com/questions/162886/what-does-pm-suspend-hybrid-do

How it interacts with the hardware - https://source.android.com/devices/sensors/suspend-mode.html

Now for this kernel feature... I seems from what I have read that it is not activating or deactivating suspend mode....instead it is simply deciding on what "metric" to use.
Generally you could say that suspend state would be achieved on request by the kernel. But what if you want to automate the process so that it uses less requests, and thus goes to sleep quicker and more efficiently in theory
You make it so it bases on something else's output in order to initiate the count down.

This could be screen on/off (LCD panel), idle time (autosleep function), hybrid (autosleep & LCD panel whichever comes first), or userspace (defined by user.)
Hope this clears up your question.
 
Last edited:
  • Like
Reactions: Paz9 and Lycidias

Paz9

Senior Member
Jan 3, 2011
2,566
679
Sure, i'll try although i'm very bad explaining stuff in written form and even harder in English for me but i try to clear things up.

Android early_suspend/late_resume PM kernel driver framework has been
deprecated by Google. This powersuspend PM kernel driver is a replacement
for it and existing early_suspend drivers can be easily adapted to use this
replacement driver


Powersave state mode (screen on 0 / off 1)
Powersave mode (kernel 0/ userspace 1/ panel 2/ hybrid 3)

Before I explain anything you must understand what the suspend state is, usually it is called sleep.

Power suspend in Linux - http://unix.stackexchange.com/questions/162886/what-does-pm-suspend-hybrid-do

How it interacts with the hardware - https://source.android.com/devices/sensors/suspend-mode.html

Now for this kernel feature... I seems from what I have read that it is not activating or deactivating suspend mode....instead it is simply deciding on what "metric" to use.
Generally you could say that suspend state would be achieved on request by the kernel. But what if you want to automate the process so that it uses less requests, and thus goes to sleep quicker and more efficiently in theory
You make it so it bases on something else's output in order to initiate the count down.

This could be screen on/off (LCD panel), idle time (autosleep function), hybrid (autosleep & LCD panel whichever comes first), or userspace (defined by user.)
Hope this clears up your question.
Thank you for the write up, based on this it seems the stock behaviour in this kernel is to use hybrid suspend while screen on, is that right? Does this also affect screen off?
 
Last edited:

Paz9

Senior Member
Jan 3, 2011
2,566
679
Also, thank you for this kerne. It's the best experience I've had with this phone and I've tried almost all kernels and ROMs for this phone. Is there a way we can donate to show our appreciation?
Keep up the great work
 

acuicultor

Recognized Contributor / Recognized Developer
Jan 3, 2013
3,203
11,703
44
Palma de Mallorca
Google Pixel 6 Pro
Thank you for the write up, based on this it seems the stock behaviour in this kernel is to use hybrid suspend while screen on, is that right? Does this also affect screen off?
Yes that's right, hybrid, screen on and no it doesn't affect screen off.
Also, thank you for this kerne. It's the best experience I've had with this phone and I've tried almost all kernels and ROMs for this phone. Is there a way we can donate to show our appreciation?
Keep up the great work
While i never asked for donations always are welcome and now that i'm saving for a new pc because current one is getting old and slow any help will be much appreciated, i added my PayPal address in my signature for someone interested in helping me with the new pc. Thank you.
 

fitree

Member
hi, sorry if this question has been asked but it's been a while since i last rooted any Android phone
first of, thanks for ur hard work. yesterday i've tried flashing your kernal via FKM. rebooted the phone and it stucked at the device is corrupted. i presed the power button, it went away but it just stuck at Google logo
any idea what i've been doing wrong? or is it because i'm on Magisk Canary?

Pixel 6 running 12 L. rooted running magisk Canary 24306
 
  • Like
Reactions: sakarya1980

Paz9

Senior Member
Jan 3, 2011
2,566
679
Just a reminder to anyone using fsync off, make sure you have adequate backups, I had a hard reset happen on my device while debugging an apk, and I lost a bunch of data (mostly data written between restarts)
 
  • Haha
Reactions: Mrcactuseater

Top Liked Posts

  • There are no posts matching your filters.
  • 17
    Hi folks, here's the monthly update!!

    Notable changes over latest build:

    * merge linux stable kernel up to 5.10.110
    * merge android12-5.10 branch from https://android.googlesource.com/kernel/common
    * merge JUNE 2022 12L source
    * clang: update to latest prebuilt version (acuicultor) [d4f69b0d3910]
    * PM / devfreq: Make the monitor workqueue high priority (Sultan Alsawaf) [f3c2bc391414]
    * lib/string: optimized memset (Matteo Croce) [cdd1941113a8]
    * lib/string: optimized memmove (Matteo Croce) [d7d35229a6a8]
    * mm: LRU_GEN : hardcode min_ttl to 5000ms by default (acuicultor) [4c4289415731]
    * ANDROID: trusty: add a toggle for running trusty work in higher priority (Wei Wang) [a64ac814d2be]
    * Build DAMON driver but keep it disabled by default

    Tested on magisk 24.3 and 25 and both confirmed working fyi

    Like always download links and detailed changelog in op.

    Enjoy!!!!
    7
    Latest June for Raven, Magisk 25

    No problems with latest 1.1.9!
    3
    Will this run okay on Android 13 beta?...


    Well since no one wants to answer the question, I'm going to take that dive. I'll be right back ladies and gentlemen.
    3
    Anyone tried it with Android 13 Beta?

    Will this run okay on Android 13 beta?...


    Well since no one wants to answer the question, I'm going to take that dive. I'll be right back ladies and gentlemen.
    It's clearly stated at op and thread's tittle, no need to be answered by anyone, people just need to read a bit and NO it's not a good idea to flash it on A13.
    2
    Anyone tried it with Android 13 Beta?
  • 41
    RADIOACTIVE KERNEL

    IMG_20151025_213752.jpg_zpslcpyvwgf.PNG


    Code:

    /* *** Disclaimer
    * I am not responsible for bricked devices, dead SD cards, thermonuclear war,
    * or you getting fired because the alarm app failed. Please do some research
    * if you have any concerns about features included in this KERNEL
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    */





    hi XDA community, i'm here to share with you my little project, my primary goal is to provide a stable and fast kernel without compromising battery life plus some cool features that i find useful for the day to day usage.


    Current Features

    General List:

    Compiled using Google's environment for GKI kernel build for maximum stability but using latest google prebuilt clang 14.0.7 and fixed all code errors caught by the compiler

    Packed with Anykernel3 with ability to preserve magisk root, thanks to eng.stk and osmosis for bringing this to Pixel6 series

    Works on both devices (Pixel6 and Pixel6PRO)

    Merged linux stable kernel up to 5.10.110

    Merged android12-5.10 branch from https://android.googlesource.com/kernel/common

    Franco Kernel Manager update system support ( Copy/paste link for auto updates )

    Boeffla's wakelock blocker

    BBR TCP set default and a lot more others to choose

    Enabled power efficient workingqueues on various drivers

    Fsync on/off support

    TTL spoofing support enabled

    Usb fast charge option

    CleanSlate Features from @tbalden, all credits for the features to him (s2s, notification booster, battery saver, flashlight notifications. Note that rootless features like kadaway are not implemented here because we need root for other features to work properly with my tree)

    Dirty pipe exploit fixed

    Tie mechanism to prevent frequency spikes caused by small tasks into powerhal from kirisakura kernel

    Added Multi-gen LRU driver

    Added DAMON driver but disabled by default

    Source clean up (removed various drivers and superfluous commits)

    Other stuff that is boring to write, take a look at my github for detailed information



    NOTE: I'm shipping now the full gki kernel which means that no matter what kernel you were previously everything will get overwritten by flashing this via autoflash apps

    ONLY COMPATIBLE WITH APRIL AND MAY and JUNE SECURITY PATCH ROMS A12L

    [ RADIOACTIVE KERNEL INSTALL ]

    DOWNLOADS HERE


    First of all download the kernel zip of your choice, there's a flashable zip that can be flashed with your preferred kernel tweaker app and a FASTBOOT labeled zip with the necessary images to flash in fastboot if you want


    Radioactive Kernel fastboot images flashing instructions:

    NOTE: If you want to stay rooted patch the provided boot.img in magisk manager prior to flashing it via fastboot.
    You need to adjust your command to flash like you did when rooting the device.

    Flashing manually:

    vendor_dlkm.img need to be flashed in fastbootd, while the other images need to be flashed via fastboot/bootloader.

    How to boot to fastbootd?
    From running phone:
    adb reboot fastboot

    From fastboot/bootloader:
    fastboot reboot fastboot

    Once in fastbootd:
    fastboot flash vendor_dlkm vendor_dlkm.img

    Boot from fastbootd to fastboot/bootloader to flash dtbo.img and boot.img:
    Either select Reboot to bootloader option via buttons
    or type:
    fastboot reboot bootloader

    Now in fastboot flash boot.img and dtbo.img
    fastboot flash dtbo dtbo.img
    fastboot flash boot boot.img
    fastboot flash vendor_boot vendor_boot.img

    Reboot either via buttons
    or by typing
    fastboot reboot


    Flashing using authomated flash script:

    Run flash-RadioactiveKernel.sh in linux
    or
    Run flash-RadioactiveKernel.bat in windows

    NOTE: If you want to stay rooted if you gonna flash the fastboot images you MUST patch the provided boot.img in magisk manager then rename the magisk patched file to boot.img or modify the script with the correct boot.img name

    Enjoy!!!!



    Instructions using Ex kernel manager or any other app with autoflash support:

    * Flash Kernel Zip

    * Reboot

    * Enjoy!!!

    I'm also providing a similar magisk module like kirisakura kernel does but it's slighty modified and adapted for my tree all credits to Freak07 for the original idea, it's bundled into kernel zip, AK3 Helper Module , i higly advice to not remove it for better experience with the kernel

    AK3 Helper Module:
    Set ro.debuggable to 0 to avoid dev options fc
    Restrict maximum CPU-Freqs during screen off/ idle to 1.1GHZ for all clusters to save power thx to Freak07
    Tie mechanism to prevent frequency spikes caused by small tasks into powerhal


    Thanks and Credits to developers:

    Of course, I had never been able to create all that by my own. So I want to give credits to the really good developers around, that have given me all the inspiration and from which I cherry picked lots of the implemented functionalities:


    * SultanXda

    * Ordenkrieger

    * LordBoeffla

    * zx2c4

    * Freak07

    * osmosis

    * kristofpetho

    * tbalden

    * Chainfire

    * BitOBSessiOn

    * nathanchance

    * Yaroslav Furman

    * eng.stk

    * Flar2

    * joshuous

    * dabug123

    * franciscofranco

    * RenderBroken

    * moludo

    * Lozo2010

    ... I just hope I did not forget someone. If so, please let me know and I will add you of course.

    Thanks to all of you for your great work

    I also want to say thank you to my friends and testers and to those who donated me a beer or two;)


    SOURCE CODE: https://github.com/acuicultor/RadioactiveKernel_Raviole
    17
    Hi folks, here's the monthly update!!

    Notable changes over latest build:

    * merge linux stable kernel up to 5.10.110
    * merge android12-5.10 branch from https://android.googlesource.com/kernel/common
    * merge JUNE 2022 12L source
    * clang: update to latest prebuilt version (acuicultor) [d4f69b0d3910]
    * PM / devfreq: Make the monitor workqueue high priority (Sultan Alsawaf) [f3c2bc391414]
    * lib/string: optimized memset (Matteo Croce) [cdd1941113a8]
    * lib/string: optimized memmove (Matteo Croce) [d7d35229a6a8]
    * mm: LRU_GEN : hardcode min_ttl to 5000ms by default (acuicultor) [4c4289415731]
    * ANDROID: trusty: add a toggle for running trusty work in higher priority (Wei Wang) [a64ac814d2be]
    * Build DAMON driver but keep it disabled by default

    Tested on magisk 24.3 and 25 and both confirmed working fyi

    Like always download links and detailed changelog in op.

    Enjoy!!!!
    15
    Hi folks, here's the January update, a bit late lol but i wanted to make sure that everything is adecuate for my quality standards, i don't like to push half backed stuff nor untested software that can potentially be dangerous, so i made sure that everything is running flawesly before the release, hope the wait worth it.

    This build have the January source merged and tried to make the overall ux experience smoother also switched to clang14 because why not? Hope you'll enjoy it as much as me and my testers do.

    Like always download links and detailed changelog in op.

    Enjoy!!!!
    15
    Hi folks, here comes the monthly update, this month is a HUGE one since i decided to merge kernel common into Google's stable source.

    Highlights on this release:
    Built on top of Google's MAY 2022 12L source
    merged linux stable kernel up to 5.10.101
    merged android12-5.10 branch from https://android.googlesource.com/kernel/common
    update to latest google clang 14.0.6 prebuilt version
    added multi-gen LRU
    source clean up (removed various drivers and superfluous commits)

    Like always download link and detailed changelog in op.

    Enjoy!!!!
    14
    New build is up!!

    Merged February source, updated LRNG, removed some unnecessary commits, added FKM update system support also added some other commits for net improvement, like always download link and detailed changelog in op.

    Enjoy!!!!