[KERNEL][V7.0|13-June-2020]ResurrectedKernel

Search This thread

Skyllery

Senior Member
can you make it more battery friendly?

Underclock with a kernel manager

thank u for quick reply! Do u mean u removed that interface in the latest version?

Never been integrated I think.

I had something similar. Flashed this and could pair with my car Bluetooth but while it would show track names etc from music nothing would actually play. Flashing a different kernel solved it.

On miui ?

Regards
 

pokipokipxorn

Senior Member
Nov 22, 2016
366
195
My observations after flashing v6.2

Using magisk module LKT (profiles battery and balanced) did not give satisfactory battery backup.

Disabled LKT and simply use kernel adiutor to set cpu cores to minimum 300MHz via interactive governor gave better battery backup. Too lazy to tune governor, default values are good, but not optimum. Yield around 14 hours SoT across MiUI and AOSP roms.

If using magisk module Ainur Sauron, set I/O to cfq to avoid micro jitter/stutter sounds in background (headphone).

Need cpu hotplug to bring kernel to next level battery backup.
 

Skyllery

Senior Member
My observations after flashing v6.2

Using magisk module LKT (profiles battery and balanced) did not give satisfactory battery backup.

Disabled LKT and simply use kernel adiutor to set cpu cores to minimum 300MHz via interactive governor gave better battery backup. Too lazy to tune governor, default values are good, but not optimum. Yield around 14 hours SoT across MiUI and AOSP roms.

If using magisk module Ainur Sauron, set I/O to cfq to avoid micro jitter/stutter sounds in background (headphone).

Need cpu hotplug to bring kernel to next level battery backup.

Thanks a lot for ainur tips

Regards
 

grey77

Senior Member
May 7, 2011
103
41
Moscow
Hi again.
What a pity u have implemented voltage changes only via sources re-compilation. Exposed interface for changing it might be one of the most anticipated features. :)

Anyways, I see some other weird thing in ur kernel: Adiutor/SmartPack kernel managers show maximal GPU freq. as 430Mhz (19..450Mhz range). Shouldn't it be 720Mhz for Adreno 509 in Mi Max 3?
PS: I do realize that "stock clock frequency" on Wikipedia is the "stock" defined by Qualcomm, and the manufacturer defined a different lower "stock" clock. Yet it would be nice to have such a control (via exposed interface). :eek:
 
Last edited:

mario_R

Senior Member
Mar 28, 2014
400
477
26
Redmi Note 2
Xiaomi Redmi 2
thank u for quick reply! Do u mean u removed that interface in the latest version?
No, voltage interface was never there

Can you add a USB Gadget support in your kernel for mass storage?
Will check it :good:

Hi again.
What a pity u have implemented voltage changes only via sources re-compilation. Exposed interface for changing it might be one of the most anticipated features. :)

Anyways, I see some other weird thing in ur kernel: Adiutor/SmartPack kernel managers show maximal GPU freq. as 430Mhz (19..450Mhz range). Shouldn't it be 720Mhz for Adreno 509 in Mi Max 3?
PS: I do realize that "stock clock frequency" on Wikipedia is the "stock" defined by Qualcomm, and the manufacturer defined a different lower "stock" clock. Yet it would be nice to have such a control (via exposed interface). :eek:
For Snapdragon 636 SOC maximum GPU frequency is 450MHz.
For Snapdragon 660 GPU frequency is 720MHz.
About expose voltages- i didn't find any sources to do this for sdm636. I was trying with other examples but without success
 
  • Like
Reactions: AxiK. and grey77

Andy4Shurr

Senior Member
Jun 3, 2014
438
92
Manchester
No, voltage interface was never there


Will check it :good:


For Snapdragon 636 SOC maximum GPU frequency is 450MHz.
For Snapdragon 660 GPU frequency is 720MHz.
About expose voltages- i didn't find any sources to do this for sdm636. I was trying with other examples but without success

@mario_R any idea why controllers don't work with this kernel? Bluetooth or USB is affected, I'd love to find a solution. Thanks
 

nokiagye

Senior Member
Aug 15, 2012
3,009
440
40
thessaloniki
Mario sorry for the same post. I was on 5.1 for a long time on eu10 because the kcal worked after lock unlock just perfect, on 11 the 5.1 won't have wifi so I went to camera upstream fix version but with kcal bug. When and If you have time think what you change on that on next release. Thanks and sorry for telling that again.
 

Andy4Shurr

Senior Member
Jun 3, 2014
438
92
Manchester
Have you tried 1connect from magisk?

That doesn't work with miui 10 for some reason. Plus, all it does is correctly map the keylayout files which I've already got and placed accordingly.

The problem seems to be at kernel level rather than system and it appears that no button/key presses are being recorded at all so you can't even map them if they're incorrect.
 

misterk267

Senior Member
Jul 29, 2012
612
190
27
Erie, Pennsylvania
That doesn't work with miui 10 for some reason. Plus, all it does is correctly map the keylayout files which I've already got and placed accordingly.

The problem seems to be at kernel level rather than system and it appears that no button/key presses are being recorded at all so you can't even map them if they're incorrect.

Funny, I just now remembered that I had something similar happen on miui 10, now that you mention it. Was an ipega though, not a console controller so I think it might be a complete lack of any controller support. Seems to be specific to the max 3 on miui, as it never showed up on my mi 9. :confused:

Anyways, yeah I think you're right. Cheers!
 

Andy4Shurr

Senior Member
Jun 3, 2014
438
92
Manchester
Funny, I just now remembered that I had something similar happen on miui 10, now that you mention it. Was an ipega though, not a console controller so I think it might be a complete lack of any controller support. Seems to be specific to the max 3 on miui, as it never showed up on my mi 9. :confused:

Anyways, yeah I think you're right. Cheers!

It's perfect on stock kernel on the latest global miui 10, no problems at all. Just this RessurectedKernel unfortunately. I'd love to have the extra power, apart from this issue it's great.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 35
    I would like to present you first kernel for nitrogen for Pie ROMS (MIUI+GSI)

    Installation steps:
    1)Download latest kernel zip
    2)Reboot to recovery
    3)Mount vendor partition in recovery
    4)Flash kernel zip
    5)Wipe cache+dalvik-cache
    6)Reboot

    Features:
    -Overclock+Underclock+Undervolt
    -sdFAT(exFAT) support
    -KCAL
    -Governors: cultivation, nightmare, darknessV5, darkness, alucard
    -Maple I/O scheduler
    -GPU undervolt
    -CRC on/off support
    -FSYNC on/off support
    -Fast charge via USB port
    -Wireguard
    -Power Efficient Workqueue by default
    -Headphones sound gain control
    -Microphone gain control
    -320K AAC encoding (for audiophiles mostly)
    -Powersuspend!
    -many power efficient workingueues patches
    -ZRAM/SWAP disabled by default

    Feel free to join to my Telegram group where you will get available ROMs list, fixes and latest test versions of ResurrectedKernel! :D :
    JOIN!





    IM NOT RESPONSIBLE FOR ANY PROBLEMS OR BUGS THAT MIGHT HAPPEN WITH YOUR DEVICE

    XDA:DevDB Information
    ResurrectedKernel, Kernel for the Xiaomi Mi Max 3

    Contributors
    mario_R
    Cirno/remicaa- big help with sources
    afr- bringup kernel source upstreamed to 4.4.180
    Makshow- tester
    opasha- tester
    Source Code: Click

    Kernel Special Features:

    Version Information
    Status: Beta
    Current Stable Version: ----
    Stable Release Date: ----
    Current Beta Version: v5
    Beta Release Date: 2019-04-28

    Created 2018-09-15
    Last Updated 2019-04-28
    16
    v5 has been out!

    It's been a while since i've uploaded last version V4. Today it's time for the V5 release with many modifications. V5 still have some issues on latest MIUI developer versions, but from today I'll work on fix for that issue. So if you are on MIUI stable release or some older MIUI developer version (like 9.3.21) then check this update out


    Here is the changelog:
    -added KCAL
    -Governors: cultivation, nightmare, darknessV5, darkness, alucard
    -Maple I/O scheduler (from now it's set as default since it offers best file system performance)
    -GPU undervolt (saves battery juice without impact on performance)
    -CRC on/off support (off by default for better performance)
    -FSYNC on/off support (off by default for better performance)
    -Fast charge via USB port
    -Wireguard
    -Power Efficient Workqueue by default
    -Headphones sound gain control
    -Microphone gain control
    -320K AAC encoding (for audiophiles mostly)
    -Powersuspend!
    -many power efficient workingueues patches
    -ZRAM/SWAP disabled by default

    What governors combo do I use? Alucard for little cores and interactive for big cores

    13
    RRK V6

    V6 version is out guys! Check it out! This version will work with any rom with beta firmware. Tomorrow I'll release version with support for roms with stable firmware (for people using stable xiaomi.eu variant)
    Changelog:
    V6:
    -kernel upstreamed from 4.4.153 to 4.4.183 (thanks for @afr30010)
    -Westwood TCP added and set by default (you were waiting for it quite long xD, sorry)
    -GPU: unlock 19MHz for idle state
    -improvement: system will now boot with maximum CPU frequency
    -undervolted 1.1GHz/1.8GHz/2.1GHz/2.2GHz frequencies to reduce power consumption and potential fast throttling
    -default pwrlvl for GPU changed from 2 to 3 (now GPU can sit down to 160MHz instead of constantly running at 266MHz even when it's not necessary)
    -CRC check enabled by default (protect data when you get random crash reboot)
    -improvements for RAM utilization
    -improvements for CPU when it's in idle state
    -Wireguard updated

    This version doesn't support official MIUI ROMs. If you flash it and it works like it should then it's fine, if not- don't report it here.
    Custom MIUI ROMs like xiaomi.eu, MIUIPro, mi-globe etc.. should be fine. But remember that I'm compiling this kernel mostly in mind for AOSP based ROMs

    This version includes my configuration preset for kernel which is applied whenever you boot into system. What does it tune:
    -readahead for internal storage set by default to 3072kB instead of 5112kB for better performance
    -minimum CPU frequency set to 300MHz
    -maximum frequency set to 1800MHz for little cluster and 2208MHz for big cluster
    -little cores are using alucard governor
    -big cores are using interactive governor with fine tuned values
    So for now the kernel is like "flash and forget". You dont have to tune it if you want to run with my configuration what i use daily. If you're an advanced user, then you know what to do- any kernel manager and tune the kernel for yourself :cool:

    About that 19MHz for GPU- if you want to use it then you need to switch GPU governor for simple_ondemand (which i do, but didn't set it by default in my kernel preset because some users might not like it) or if you want to still use default msm_adreno_tz governor then you need to set "pwrlvl" value to 4. If you won't do any of these then you'll run with 160MHz as minimum frequency.

    13
    Clean kernel from sources compiled successfuly, everything works. Customized kernel will be released after this weekend
    12
    Reserved

    Every version is tested before pushing it on XDA

    Changelog:

    V7.0:
    -Android 10 support
    -MIUI and GSI compatible

    V6.2:
    -kernel updated to 4.4.189 version
    -added missing touch drivers (thanks to @afr30010)
    -added version for MIUI STABLE

    V6.1:
    -wireguard updated
    -reverted CPU voltages to the previous state (unstability fix for some users)

    V6:
    -kernel upstreamed from 4.4.153 to 4.4.183
    -Westwood TCP added and set by default
    -GPU: unlock 19MHz for idle state
    -improvement: system will now boot with maximum CPU frequency
    -undervolted 1.1GHz/1.8GHz/2.1GHz/2.2GHz frequencies
    -default pwrlvl for GPU changed from 2 to 3 (now GPU can sit down to 160MHz instead of constantly running at 266MHz even when it's not necessary)
    -CRC check enabled by default
    -improvements for RAM utilization
    -improvements for CPU when it's in idle state
    -Wireguard updated
    -mine kernel presets when system boot up
    More info here CLICK

    V5.1:
    -fix for sound+videos on latest beta MIUI versions

    V5.01:
    -re-enabled zRAM and SWAP as some users complain about low memory with a lot of apps in background on 4GB RAM variant

    V5:
    -added KCAL
    -Governors: cultivation, nightmare, darknessV5, darkness, alucard
    -Maple I/O scheduler (from now it's set as default since it offers best file system performance)
    -GPU undervolt
    -CRC on/off support (off by default for better performance)
    -FSYNC on/off support (off by default for better performance)
    -Fast charge via USB port
    -Wireguard
    -Power Efficient Workqueue by default
    -Headphones sound gain control
    -Microphone gain control
    -320K AAC encoding (for audiophiles mostly)
    -Powersuspend!
    -many power efficient workingueues patches
    -ZRAM/SWAP disabled by default

    V4:
    -ResurrectedKernel for Pie ROMs, same features as the Oreo version
    -new features coming soon!
    -update: sound doesn't work on latest miui 9.3.28 and latest stable

    V3:
    -added sdFAT (exfat) support
    -undervolt (as you wanted me to do it few days ago) up to -500000 uV (depends on frequency)

    V2:
    -Overclock both big and little cores
    -Underclock for more battery juice
    -WiFi fixed

    V1:
    -- Initial release