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

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

Search This thread

piplok

New member
Dec 29, 2017
4
1
This kernel+OOS 11 don't have any problems with overheating battery? And if I install and root my phone, how I can back to original OOS 11?
 

slgooding

Senior Member
Oct 6, 2011
713
236
West Lafayette
OnePlus 7 Pro
This kernel+OOS 11 don't have any problems with overheating battery? And if I install and root my phone, how I can back to original OOS 11

First you need to root your phone. Then you can use Franco Kernel Manager to backup the original kernel before flashing a custom one like Dora.

I haven't had any problems with overheating that I have noticed for the couple months I have been running Dora.
 

slgooding

Senior Member
Oct 6, 2011
713
236
West Lafayette
OnePlus 7 Pro
I encountered some serious issues today when I switched to 90hz (from 60) and then from QHD to FHD display resolution. The screen would go blank when pulling down the notifications and on the lock screen. Switching back to QHD resolves the issue. There seems to be a bug with FHD on my end. Can anyone else test?

i thought it was caused by pixel filter, but I was wrong...I still have issues today.
 
Last edited:

hanneshoch3

Member
Mar 22, 2011
22
9
I think there may be an issue in the wireguard implementation. Since installing this kernel, the wireguard app only actually connects when the kernel backend is deactivated. Before it worked with it on.
 

AnnoyingZlatan

Senior Member
Jun 5, 2012
351
763
Tuzla
Apologies for the delay people, last whole month has been pretty busy for me. I have been pushing test builds on Telegram and for testers in preparation for the new stable release, but never got the time to finish it up. Also I have been working on building my own toolchain and automating the whole process since Clang 14 is out. Where we are right now is a pretty good build with even more improved battery life. I will finish the release tonight/tomorrow so stay tuned!
 

hanneshoch3

Member
Mar 22, 2011
22
9
Define before please.
OOS 11 stock kernel, don't think anything else changed.

Edit: Just flashed the original kernel (backup). Turns OUT it doesn't even use the kernel back end at all, that's why it worked anyway. Regardless, the kernel module (in Dora) doesn't work with (my configuration of) wireguard.
 
Last edited:

Loercase

Member
Oct 2, 2017
46
11
Hey thanks, this kernel is running great on my OP7Pro running LOS 18.1!

Just a question: Pokemon Go still keeps dropping out of memory, no matter what kernel I seem to use. Is there a way to keep it alive in memory by tweaking the kernel? Obviously I have disabled it from being optimized by memory management but it still dies constantly and I'm wondering what I can do to keep it alive. Thanks!!
 

AnnoyingZlatan

Senior Member
Jun 5, 2012
351
763
Tuzla
Hey everyone, we are back with the new long awaited 2.1 release and it's up on Google Drive and OTA! It is a major update since 2.0 release focusing on extending battery life, improving performance and as always, solving all of the issues from the previous build. Find a changelog down below, flash the builds, and share your feedback!


Changelog since 2.0:

-Merge latest 4.14.244 upstream
-Merge latest CAF tags LA.UM.9.1.r1-10700-SMxxx0.QSSI12.0 and LA.UM.9.1.r1-10900-SMxxx0.0 treewide
-Merge latest CAF tag LA.UM.9.1.r1-10700-SMxxx0.QSSI12.0 for qcacld-3.0, qca-wifi-host-cmn and fw-api
-Bump min freq for prime core to 2.2GHz and update big cluster capacity (performance improvement)
-Scheduler tuning
-drm/msm patches from Google
-Switch to Westwood TCP congestion algo
-Ion, mm and SLMK updates from Sultan
-Various rcu patches
-Revisit of LTO tweaks by John
-Further optimize PM QoS usage for touchscreen driver
-Move to even more power efficient workingqueues
-Cpuset improvements
-Disable Qualcomm Thermal Limiter
-Disabled bunch of logging treewide
-Clean up setting of module params for unified FOD and PD charging
-Clean up unused code treewide
-Compile with personal built LLVM and Clang 14 toolchain

Enjoy xx
 

hanneshoch3

Member
Mar 22, 2011
22
9
OOS 11 stock kernel, don't think anything else changed.

Edit: Just flashed the original kernel (backup). Turns OUT it doesn't even use the kernel back end at all, that's why it worked anyway. Regardless, the kernel module (in Dora) doesn't work with (my configuration of) wireguard.
It appears it actually does connect, but doesn't show the vpn symbol in the status bar. So maybe that's just a bug of the app itself.
 
  • Like
Reactions: AnnoyingZlatan

Loercase

Member
Oct 2, 2017
46
11
Huh, it literally worked on version I just downloaded and used yesterday!

Edit: LOS has the developer option available, I will just mess with the props until I get it to work.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 20
    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:
    10
    Hey guys. New update is pretty much ready, bringing in big performance and ui/ux improvements. Will be sharing it here for the weekend. By the way, Telegram group is almost at a 1K mark, let's try and reach that milestone for the next release :geek:
    5
    I will back to Arter97 kernel with A10
    You guys seems happy with the battery life but my experience told me this is nothing compared to Arter97 kernel with stock OOS. It's very optimize and I can get SOT -1% in 8-10 minutes during idle, browsing or watch YouTube. With this Dora kernel + OSS stock A11 SOT -1% in 3-5 minutes with same condition, so it's a big gap in here.

    Dear dev you if you can you should analyze what is Arter97 doing on his kernel. It's beyond Master piece.
    Dude it's not a nice thing to speak bad about this kernel and compare it with another, especially when u are the only one experiencing the battery drain. I have 6 hours sot every single full charge with this kernel, not to mention hundreds that have joined the telegram group. U can just leave the kernel without saying this kind of thing, and go for another kernel. Please respect each dev and their work.
    2
    Any updates on the latest version? I hate asking for etas.
    Enjoy :D
    1
    Maybe a stupid question but I must to ask.
    Is it any chance that if I'm running oos whit this kernel then can I just lock bootloader again?
    The reason I ask is just that my freaking bank app stops working as soon as it smells something with bootloader is going on.
    I was trying to root it with magisk and use magisk hide, safety pass all green but still this app smells the trick. And it makes my crazy because I really need it 😂
    So, did anyone tried? How it ended up? Qualcomm dump or bootlop?
  • 55
    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!
    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)
    23
    Hey everyone, we are back with the new long awaited 1.7 release and it's up on Google Drive and OTA! It's a pretty big update since 1.6 release and should yield some great performance and battery life improvements. Also it has rectified all of the bugs from past release.


    Changelog since 1.6:

    -Merge 4.14.238 upstream
    -Merge latest f2fs-stable upstream
    -Merge latest CAF tag treewide LE.UM.4.4.2.r1-04400-SDX55
    -Merge latest CAF tag "LA.UM.9.1.r1-10500-SMxxx0.QSSI12.0" for qcacld, fw-api and qca-wifi-host-cmn
    -Update Wireguard to 20210606
    -Undervolt GPU
    -Backport TCP patches
    -Backport BBR2 TCP congestion algorithm (enabled by default)
    -fs: Get rid of bunch of CAF tracings
    -Ion patches from CAF
    -Improve zstd performance
    -Disable FC boost on AOD
    -Revert async callbacks for suspend and add a wakeup delay to improve dt2w
    -Disable bunch of WiFi wakelocks
    -Disable irq logging on resume
    -Lower SLMK minfree and timeout values
    -Reintroduce char/adsprpc changes from CAF that caused huge logspams before