[KERNEL][CUSTOM] Eureka kernel for all variants of Galaxy A20/A20e for android 10(Q) & 11(R) & 12(S) ROMs

How is your experience with Eureka kernel?

  • Improves performance and gaming experience

    Votes: 44 88.0%
  • Improves gaming experience only

    Votes: 0 0.0%
  • Improves performance only

    Votes: 6 12.0%

  • Total voters
    50
Search This thread

Chatur27

Senior Member
Jul 30, 2020
229
235
Moka
How can I enable SWAP on Eureka R7.0 without having to install 3rd party apps?
I'm on Illusion v1.7. I've had to go back to its stock kernel for SWAP.
ZSWAP is obsolete now.
ZRam is the new workaround.
You can enable Zram in any kernel manager or by installing the attached magisk module I made.
 

Attachments

  • 2GB ZRAM Enabler.zip
    13.7 KB · Views: 45

Chatur27

Senior Member
Jul 30, 2020
229
235
Moka
Eureka R7.5 update

Changelog:

→ Upstream Linux Kernel Version from 4.4.270 to 4.4.277
→ Enabled back 208 MHz frequency for big and little cores.
→ DTB is now used to customize Eureka features such as CPU and GPU frequencies.
→ DTBO is only used to disable dm-verity as from now.
→ Added a new flashlight control driver which will be used on AOSP/LOS based ROMs. It will also fix low flashlight issue on GSIs. This new driver does not interfere with camera (which was causing dark photos for some A20 users) Footej camera app is recommended for custom roms.
→ Imported latest Samsung updates from A305F R kernel source.
→ "Samsung A10 1.2A input charging current" feature still depends on Eureka dtbo. Will fix it on next update
→ Further overclocked BIG cores from 2184 MHz to 2288 MHz and LITTLE cores from 1690 MHz to 1794 MHz.
→ Fixed wrongly set GPU throttling frequencies.
→ Updated WireGuard vpn driver to latest version - v1.0.20210606
→ Some other minor optimizations.
 

Bonnnn

Senior Member
Mar 21, 2020
59
8
Samsung Galaxy A20
Hello.
I've installed v7.5 of this kernel. It works fine, however, I have an issue with Spectrum Support – the exported zip file to enable Spectrum Support fails or refuses to be flashed through TWRP.

Is there anything that I can do about it?

Thanks!
 

Chatur27

Senior Member
Jul 30, 2020
229
235
Moka
Eureka R8.0 update

Changelog:

→ Upstream Linux Kernel Version from 4.4.277 to 4.4.288
→ Added ondemandplus CPU governor.
→ Added BFQ and ZEN v2 I/O schedulers.
→ Added a new backlight brightness controller. [Feature can be used when new EKM app is released] [Experimental]
→ "Samsung A10 1.2A input charging current" feature has been hardcoded in kernel.
→ Nuked CPU quiet and reverted back to Exynos Hotplug. It should fix issue of cores randomly turning off.
→ Fixed GPU frequency being limited to 1100 MHz after being throttled (v2.0).
→ Some optimizations for better FS performance for EXT4 file-system.
→ Fixed non-detection of some gamepad controllers (such as chinese ones).
→ Patched kernel for android 12 (S).
→ Some other minor optimizations.
 

KudaSange

New member
Nov 16, 2021
2
1
i have installed eureka custom kernel with stock rom and when i see the vnswap is missing, and the problem is when i play heavy games it always gets an error that ends reboot, any suggestions?, please help me
 

Jokerinio

New member
Dec 25, 2021
3
0
Samsung Galaxy A20
I come with a fix for people that still wanna use the adb: here
Basically take the adbkeys.pub from /%user%/.android and move it to /data/misc/adb then rename it to adb_keys and reboot. Now while usb debug is ON you can connect to adb too. (to mention here is that with other kernels this problem was deeper too me since usb debug ON made the phone invisible to the computer, so big thx for that too)
 
Last edited:

Chatur27

Senior Member
Jul 30, 2020
229
235
Moka
Eureka R9.0 update

Changelog:

→ Upstream Linux Kernel Version from 4.4.288 to 4.4.302 (latest and last update from Linux).
→ Implemented EurekaSound (ESOUND) v1.0, a basic headphone audio controller (For AOSP only).
→ Implemented Eureka Display Control (EKCAL) which is based on Samsung mDNIE driver (Not available for A20e).
→ Modified DT2W driver for A20 and A40 so as to fix DT2W issue on AOSP ROMs.
→ Fixed all remaining warnings in kernel source.
→ For permissive selinux, selinux can be switched to enforcing after boot.
→ Further improvements to SElinux code to fix some warnings in kernel log.
→ Fixed custom flashlight controller for A10.
→ Updated WireGuard VPN driver to latest version (1.0.20211208)
→ Merged 98 % audio and camera changes from R kernel source into Q/R/S (AOSP/OneUI2) kernels.
→ AROMA Installer is now used to facilitate the installation of Eureka Kernel.
→ OneUI and AOSP kernels & custom DTBs have been merged into 1 zip (kept size as small as possible).
→ Built with Vortex Clang & LTO which is based on the latest version of Clang 14 (20220201).
→ Two kernel versions with different schedulers are now available:
→ Implemented EMS (Exynos Mobile Scheduler) which is a scheduler based on EAS (Energy Aware Scheduling).​
→ The normal kernel version has the stock HMP (Heterogeneous Multi-Processing) scheduler.​
→ Eureka kernel R9.0 heavily depends on DTB (not DTBO) for the following features:
→ CPU and GPU overclock & underclock
→ SELinux state (enforcing or permissive)
→ Sound driver compatibility (AOSP, OneUI2 or OneUI3)
→ Energy model and parameters for EMS kernels
→ EMS kernel works best with schedutil based governors. The following governors were added:
→ Blu Schedutil
→ ElectroUtilX
→ PwrUtilX​

→ Updated to latest A305F kernel source (A305FDDU6CUI3).
→ Time left for full charge is now shown on OneUI ROMs.
→ Updated all DTBOs to match latest changes from R source.
→ Possible fix for issue of glitched video renderings on social media apps (E.g: Instragram) - reported by our testers.
→ DTC (Device Tree Compiler) on kernel source has been upreved to 1.6.1, latest available
→ Updated spectrum files.
→ Other minor changes.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    EK A20&A20e XDA.jpg

    Hi all,
    this is the thread for a custom kernel i made for Samsung Galaxy A20 and A20e
    The custom kernel has been named Eureka which is a greek work which means "I have found the solution". This multi-purpose kernel is the solution for battery, gaming, performance for A20 and A20e. On creating this kernel, I believed that 1 kernel can be all of the above if properly tweaked!

    As from Eureka R9.0, four kernel variants are available inside 1 same zip. This has been made possible using AROMA Installer.

    Compatibility:
    This kernel is compatible with AOSP GSIs/ROMs, OneUI2 and OneUI3. As from R9.0, there is only 2 variants of zip to download. One is called EMS and the other one is called HMP. Continue reading to learn more about them.


    FEATURES:
    * Disabled Samsung security features
    * Enabled all governors + added other governors
    * Overclocked CPU as follows:
    BIG Cores: from 1560 MHz to 2288 MHz.​
    LIL Cores: from 1352 MHz to 1794 MHz.​
    * Underclocked CPU as follows:
    BIG Cores: from 936 MHz to 208 MHz.​
    LIL Cores: from 839 MHz to 208 MHz.​
    * Added GPU thermal and voltage control
    * Added latest boeffla wl blocker V 1.1.0 and disabled some wakelocks
    * Network speed improvement
    * Enable zram support and set default compressor as zstd.
    * Switch to a lower charging voltage more quickly.
    * GPU max frequency overclocked from 676 MHz to 1300 MHz
    * Implemented Dynamic FSync 2.0
    * Implemented a custom hotplug driver to enhance battery management
    * Implemented Power Suspend driver
    * High torch brightness on custom roms/gsis
    * Has Spectrum support
    * Automatic detection of magisk - If u are rooted, u don't need to flash magisk after kernel.
    * Upstreamed kernel version from 4.4.177 to 4.4.302
    * Built with Vortex Clang 14 toolchain with LTO. Reason: Better performance
    * Support for EMS (Exynos Mobile Scheduler) added

    Please read the changelog on github for full list of changes.

    KNOWN ISSUES:
    * Maybe ADB cannot be used at the same time as MTP


    SOME MINOR TWEAKS FOR BEST GPU PERFORMANCE:
    * Set GPU power policy to "always on"
    * Set min and max GPU frequency to 1200/1300 MHz
    * Disable GPU thermal manager to prevent GPU frequency from dropping
    * Games don't require high CPU frequency because they depend more on GPU. You can therefore decrease CPU max frequencies to reduce heating of the device.

    We have developed our own kernel manager called EKManager which is a fork of HkTweaks. It is compatible only with Eureka Kernels. You can download it from here:
    LINK: Download EKManager app


    Contact info:
    Developers of Eureka Team:
    * Telegram: @Chatur27, @Gabriel260BR and @roynatech

    Channel for Eureka future updates:
    * Telegram: https://t.me/eureka_kernel

    Official discussion group for A20/A20e:
    * Telegram: https://t.me/Galaxy_A20_official

    I'm grateful to KineSight for designing the logo.
    * Telegram: @Kinesight

    Reference about EMS kernel:
    Energy Aware Scheduling (EAS) gives the scheduler the ability to predict the impact of its decisions on the energy consumed by CPUs. EAS relies on an Energy Model (EM) of the CPUs to select an energy efficient CPU for each task. Allowing to save up battery even further. EMS aka Exynos Mobile Scheduler, is a fork of EAS for Exynos. We ported to our 4.4.y kernel. As written above, EMS kernel is good for battery saving. Some words from kernel official docs: - EAS operates only on heterogeneous CPU topologies (such as Arm big.LITTLE) because this is where the potential for saving energy through scheduling is the highest.
    EMS kernel + pwrutilx governor is very good at battery saving according to our test.

    Reference about HMP kernel:
    It's just the stock scheduler that comes with stock kernel. Basically it's the normal kernel.

    What kernel variant to flash once inside AROMA installer?
    1) AOSP Legacy Q/R/S - If you are using an old Eureka ROM which was released before February 2022, choose this.
    2) AOSP Q/R/S (New) - If you are using an Eureka ROM built as from February 2022, choose this.
    3) OneUI 2 - For any OneUI 2 roms (stock/ports).
    4) OneUI 3 - For any OneUI 3 roms (stock/ports).

    Download link for A20/A20e (Read above to know which version to download for your OS):
    All releases of Eureka for Q/R/S ROMs/GSIs (including OneUI)

    Source code for my kernel:
    Kernel source on GitHub


    1619984176140.png

    If you love our work, thank us by donating. Your donation can help us rent a cloud sever to build kernels and roms faster :)
    Link to PayPal: https://www.paypal.com/paypalme/chaturbaij
    4
    Eureka R7.5 update

    Changelog:

    → Upstream Linux Kernel Version from 4.4.270 to 4.4.277
    → Enabled back 208 MHz frequency for big and little cores.
    → DTB is now used to customize Eureka features such as CPU and GPU frequencies.
    → DTBO is only used to disable dm-verity as from now.
    → Added a new flashlight control driver which will be used on AOSP/LOS based ROMs. It will also fix low flashlight issue on GSIs. This new driver does not interfere with camera (which was causing dark photos for some A20 users) Footej camera app is recommended for custom roms.
    → Imported latest Samsung updates from A305F R kernel source.
    → "Samsung A10 1.2A input charging current" feature still depends on Eureka dtbo. Will fix it on next update
    → Further overclocked BIG cores from 2184 MHz to 2288 MHz and LITTLE cores from 1690 MHz to 1794 MHz.
    → Fixed wrongly set GPU throttling frequencies.
    → Updated WireGuard vpn driver to latest version - v1.0.20210606
    → Some other minor optimizations.
    2
    The GSI link is broken, also I would like to know, why is SELinux set to permissive in this kernel?
    Ik. Use this temporary one:

    I also made a gsi kernel with enforcing SElinux. Usually, it's only available for those who use telegram :)

    So, I made SELinux permissive because many GSIs boot only with permissive SElinux. Gsi permissive will boot any GSIs but enforcing has 50% chance not to boot. That's why I shared only permissive here because I don't want newbies to get stuck in bootloop and complain that kernel is not working
    2
    I'm keen to give this kernel a go. What version do I use if I am using the Ultimate Q S20 ROM?
    Ultimate Q is debloated ONE UI
    So use the ONE UI version.
    LINK: https://github.com/Chatur27/Eureka-...ownload/rev3.9/Eureka.Rev3.7_A205.ONEUI.Q.zip
    2
    😭😭😭 @Chatur27 Is the A20 going to get a bit of v6.1 loving like the A10?
    Hi.
    Thanks for your interest in Eureka 😊
    The thing is that there is an issue(Bluetooth not working) with R6.1 on arm64 ROMs. That's why I haven't released it yet. Sorry for the wait :(

    If you don't use Bluetooth, I can send u the kernel to use (only on telegram, not here!)