[KERNEL] [Android 11/12] Dora kernel for OP7 series

Search This thread

AnnoyingZlatan

Senior Member
Jun 5, 2012
356
808
Tuzla
Introduction

Dora kernel is a successor of popular nem0 kernel for A10/A11 ROMs.
Dora Kernel is CAF based kernel aiming to provide great stability and performance while maxing out battery life!

Code:
// Your warranty is now void.
//
// 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.

Main Features:
- Unified for OOS 11 and Android 11 Custom ROMs (Check with your maintainer if they have R blobs merged in)
- Based and upstreamed to latest CAF tags for the SD855
- Upstreamed to latest Linux-Stable
- Upstreamed to latest F2FS stable
- Compiled with Clang 13 and -O3 speed optimizations flags
- Compiled with Clang Polyhedral Loop Optimizations (Polly)
- Simple LMK driver from kerneltoast
- BBR2 TCP congestion algorithm
- 675 MHz GPU step
- Custom energy-freq scheduling model for maximizing performance and battery life
- Custom frequencies setup (dropping to CAF default minimums during idle)
- S2idle suspend mechanism with patches from Google P4/P5 kernels
- PELT scheduling mechanism
- Many scheduler backports from mainline and/or 4.19 Google kernel
- Zip made using latest AnyKernel3 release, retains root on flash (Stable Magisk 21.4 or higher reccommended)
- Zip flashable through EXKM/FKM/Smartpack/TWRP
- Integrated OTA updates in Franco's Kernel Manager *(link for the json: JSON)
- Many more features I don't remember right now, check source if you're interested or contact me on Telegram!

Bug reports:
- If you want to report a bug, please provide some sort of logs (logcat, dmesg)

Flashing instructions:
- Just flash it through TWRP or EX or Franco's Kernel Manager apps
- No sorts of configs needed, flash and be happy out of the box
-There are 2 versions per release: one with SDCARD_FS disabled (default) and one with it enabled. Motivation behind this is recent updates to AOSP 11 ROMs (Yaap, Derp, etc.) that have disabled the support for it. And even though that builds with SDCARD_FS could still work, it's not recommended.
So, in layman terms, if you are running OOS or any custom ROM that still hasn't followed the path of those custom ROMs, please use the sdcard-fs zip or update through OTA.

Downloads

Stable and Test builds: Google Drive

Kernel being actively tested in this group: Telegram

Donations
If you would like to keep this project going with more improvements, feel free to support it: PayPal


Thank you to:

@osm0sis for AnyKernel
@nathanchance for help with upstreams
@topjohnwu for Magisk
@idkwhoiam322, @KuranKaname for being good friends :D
@BobAzzon, @npv12, @Gabyrx7, @Reechings and rest of my dear friends that tested the kernel (really, wouldn't be possible without you guys <3)

Contributors
nem0 aka AnnoyingZlatan
Source Code: GitHub

Version Information
Status:
Stable

Created 2021-05-01
Last Updated 2021-07-20
 
Last edited:

Eddiemc

Senior Member
Mar 15, 2010
1,417
540
I'd like to try it on YAAP, but I didn't know how to go back to stock kernel. I read somebody says to restore boot.img & dtbo but not sure how to do it
In Franko kernel manager you can make a backup of your current kernel. Then flash this, then restore kernel if you want it back.

Of fastbootd flash boot img from yaap, same as you most likely did when you originally installed it if you used that method. (Ps, make sure it's matching your ROM though, so you're not updated to the latest but flashing a boot image from a previous version..😁)
 
  • Like
Reactions: AnnoyingZlatan

bushninja07

Member
Feb 9, 2018
15
1
OnePlus 7T Pro
Currently using your Nemo kernel. I flashed this kernel via Franco's kernel manager but I get kicked back to my recovery..any ideas? Tia your kernels are awesome
 

imaGine00

Senior Member
Dec 17, 2015
78
20
Amazing experience out of the box, super thanks !
tested with OP7 on oos 11.0.0.2


super smooth and really impressive battery
 

Zhuang zhuang

Senior Member
Apr 16, 2016
215
68
Ho Chi Minh
I flashed via FKM on YAAP. Everything started good but just few minutes ago, when the screen turned off, it didn't turn on again & auto reboot. I had it 2 times in just a couple of minutes
 

Eddiemc

Senior Member
Mar 15, 2010
1,417
540
I flashed via FKM on YAAP. Everything started good but just few minutes ago, when the screen turned off, it didn't turn on again & auto reboot. I had it 2 times in just a couple of minutes
Yaap has a built in logcat, perhaps check to see if there's any traces of the error. It might help Zlatan if you post that..
 

Teso79

Senior Member
Aug 30, 2012
84
20
I have OOS 11 and and currently using a custom kernel. Should I flash OOS 11 again before your kernel? Thanks in advance.
 

Jiangc

Member
May 4, 2021
9
3
I have tried this version of the kernel and it feels very good! But the memory of my phone is too small, I hope there will be swap space in the future. Does the developer have plans to add zram or zswap in the future?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 60
    Introduction

    Dora kernel is a successor of popular nem0 kernel for A10/A11 ROMs.
    Dora Kernel is CAF based kernel aiming to provide great stability and performance while maxing out battery life!

    Code:
    // Your warranty is now void.
    //
    // 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.

    Main Features:
    - Unified for OOS 11 and Android 11 Custom ROMs (Check with your maintainer if they have R blobs merged in)
    - Based and upstreamed to latest CAF tags for the SD855
    - Upstreamed to latest Linux-Stable
    - Upstreamed to latest F2FS stable
    - Compiled with Clang 13 and -O3 speed optimizations flags
    - Compiled with Clang Polyhedral Loop Optimizations (Polly)
    - Simple LMK driver from kerneltoast
    - BBR2 TCP congestion algorithm
    - 675 MHz GPU step
    - Custom energy-freq scheduling model for maximizing performance and battery life
    - Custom frequencies setup (dropping to CAF default minimums during idle)
    - S2idle suspend mechanism with patches from Google P4/P5 kernels
    - PELT scheduling mechanism
    - Many scheduler backports from mainline and/or 4.19 Google kernel
    - Zip made using latest AnyKernel3 release, retains root on flash (Stable Magisk 21.4 or higher reccommended)
    - Zip flashable through EXKM/FKM/Smartpack/TWRP
    - Integrated OTA updates in Franco's Kernel Manager *(link for the json: JSON)
    - Many more features I don't remember right now, check source if you're interested or contact me on Telegram!

    Bug reports:
    - If you want to report a bug, please provide some sort of logs (logcat, dmesg)

    Flashing instructions:
    - Just flash it through TWRP or EX or Franco's Kernel Manager apps
    - No sorts of configs needed, flash and be happy out of the box
    -There are 2 versions per release: one with SDCARD_FS disabled (default) and one with it enabled. Motivation behind this is recent updates to AOSP 11 ROMs (Yaap, Derp, etc.) that have disabled the support for it. And even though that builds with SDCARD_FS could still work, it's not recommended.
    So, in layman terms, if you are running OOS or any custom ROM that still hasn't followed the path of those custom ROMs, please use the sdcard-fs zip or update through OTA.

    Downloads

    Stable and Test builds: Google Drive

    Kernel being actively tested in this group: Telegram

    Donations
    If you would like to keep this project going with more improvements, feel free to support it: PayPal


    Thank you to:

    @osm0sis for AnyKernel
    @nathanchance for help with upstreams
    @topjohnwu for Magisk
    @idkwhoiam322, @KuranKaname for being good friends :D
    @BobAzzon, @npv12, @Gabyrx7, @Reechings and rest of my dear friends that tested the kernel (really, wouldn't be possible without you guys <3)

    Contributors
    nem0 aka AnnoyingZlatan
    Source Code: GitHub

    Version Information
    Status:
    Stable

    Created 2021-05-01
    Last Updated 2021-07-20
    27
    Hey everyone, we are back with the new 1.6 release and it's up on Google Drive and OTA! As promised, this update is performance improvement update with few s2idle patches for that sweet idle drain :D

    Changelog since previous version:
    -Merge latest CAF tags LE.UM.5.4.2.r1-00100-QCS610.0, LA.UM.9.1.r1-10200-SMxxx0.0
    -Merge 4.14.235 upstream
    -Move and affine surfaceflinger to prime (this improves performance and gives us lower jitter)
    -Updated up/down scheduler rate limits for better freq utilisation
    -Set each cpu clock to max when waking up
    -Mark many kthreads as perf critical (rcu,mm,block)
    -Merge more rcu backports
    -Cgroup bringup
    -Genirq bringup
    -Lower max s2idle attempts (reduce number of freezes)
    -Add unified cmdline paramter for PD switching (recent LOS patch caused issues for some OOS users so that part of code will now be ignored if you flash kernel on OOS)

    Enjoy!
    26
    Hey everyone, we are back with the new long awaited 1.8 release and it's up on Google Drive and OTA! This release brings more noticeable battery life improvements with that same sweet performance we had before. Refer to the changelog below since 1.7:

    -Merge 4.14.239 linux stable upstream
    -Merge latest CAF tag "LA.UM.9.1.r1-10600-SMxxx0.0" treewide
    -Merge latest CAF tag "LA.UM.9.1.r1-10600-SMxxx0.0" for qcacld-3.0, qca-wifi-host-cmn and fw-api
    -Switch to srandom in favor of urandom
    -Fix camera issues (switching lenses crashes)
    -Set correct dalvik vm values for 6, 8 and 12GB models respectively
    -Increase boost on app launch
    -Various scheduler improvements
    -Switch to power efficient wq treewide
    -Vmpressure patches from Sultan
    -Introduce dynamic cpuset for display group
    -Add configurable VMSTAT interval and set it to 20ms

    Enjoy!
    26
    Hey everyone, we are back with the new long awaited 2.7 release and it's up on Google Drive and OTA! It is a major update since 2.4 release too. Find a changelog down below, flash the builds, and share your feedback! I am sure it was worth the wait :)

    By the way, please read the note in the changelog header, since it will be important for the future versioning.

    Changelog for 2.7 release:

    ***From this release onwards, FOD has been reworked in order to be fully compatible and working with new A12 ROMs. It still might work on A11 ROMs and OOS 11, but to an extent. Because of that, there will be separate builds for A11 ROMs and OOS 11 without those changes, marked with "eleven" tag (although I would reccommend everyone to try out A12 builds, KOSP being one of the best options at the moment). So for example, for OOS 11, you would flash "Dora-Kernel-v2.7-eleven-sdcard_fs.zip".OOS 11 compatible build, so eleven-sdcardfs version is still staying as default for JSON configuration.***

    -Merge latest 4.14.256 kernel stable upstream
    -Merge latest CAF tag LA.UM.9.1.r1-11300-SMxxx0.0 treewide
    -Merge latest CAF tag LA.UM.9.1.r1-11300-SMxxx0.0 for qcacld-3.0, qca-wifi-host-cmn and fw-api (update WLAN drivers to 5.2.022.9N)
    -Switch to 250Hz timer and 16ms PELT halflife respectively
    -Improve idle power consumption
    -Various mm, qos, ion patches from Sultan
    -Locking/qspinlock backports
    -Modify scheduler capacity margins
    -Revisit of many old kgsl/msm patches
    -Move to f2fs late_initcall
    -Fix freezing issues for A12 ROMs
    -Built using latest Dora Clang toolchain built from LLVM upstream


    Enjoy, xx

    Also, we have reached 1k members in Telegram group, so thanks everyone who joined, this is a great milestone for me! :love:
    24
    Hey everyone, we are back with the new v1.2 release and it's up on Google Drive! Still rocking relatively big updates so everyone is reccommended to jump on this one.
    *As promised, from this update onwards, OTA integration has been done for FKM or Smartpack kernel manager (link for JSON will be down below in changelog)

    Changelog since 1.1:
    -Merge latest kernel tag from CAF: ("LE.UM.4.4.2.r1-03800-SDX55")
    -Switch to VBSWAP instead of ZRAM (RAM boost off on OOS)
    -zsmalloc/vmalloc/ZSWAP bringup and backports
    -Fix broken proximity sensors on OP7/T variants
    -Scheduler and PID map optimizations from Sultan
    -Revert removal of LB_BIAS code
    -Enable support for IORap
    -Block few more userspace HAL's on OOS11
    -More crypto code backports
    *Integrate OTA updates in Franco's Karamel Manager (JSON)