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

How is your experience with Eureka kernel?

  • Improves performance and gaming experience

    Votes: 33 73.3%
  • Improves gaming experience only

    Votes: 5 11.1%
  • Improves performance only

    Votes: 7 15.6%

  • Total voters
    45
Search This thread

Chatur27

Senior Member
Jul 30, 2020
229
246
Moka
EK A30 XDA.jpg

Hi all,
this is the thread for a custom kernel i made for Samsung Galaxy A30.
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 A30. 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 1768 MHz to 2288 MHz.​
LIL Cores: from 1586 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 845 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 A30:
* Telegram: https://t.me/GalaxyA30

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 A30 (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


1619982028959.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
 
Last edited:

uTamii69

Member
Oct 29, 2019
8
4
Just reporting that this does NOT work with A30 Devices rooted with Magisk and will lead to Download Mode every time you boot your phone...
Any help from the Developer would be really appreciated.
 
Last edited:
  • Like
Reactions: hacker812c

Chatur27

Senior Member
Jul 30, 2020
229
246
Moka
Just reporting that this does NOT work with A30 Devices rooted with Magisk and will lead to Download Mode every time you boot your phone...
Any help from the Developer would be really appreciated.

Hi, this kernel has been tested and working fine on A30 devices. Do not come and say that its not working on A30 DEVICES. Its you who is getting an issue, not other A30 users.

If you didn't follow the instruction given in twrp which says to flash magisk 20.3.zip after flashing the kernel, then don't complain.

Now about this magisk20.4 issue. A fix has already been found and the next update will fix this.

Thank you.
 
  • Like
Reactions: hacker812c

uTamii69

Member
Oct 29, 2019
8
4
Hi, this kernel has been tested and working fine on A30 devices. Do not come and say that its not working on A30 DEVICES. Its you who is getting an issue, not other A30 users.

If you didn't follow the instruction given in twrp which says to flash magisk 20.3.zip after flashing the kernel, then don't complain.

Now about this magisk20.4 issue. A fix has already been found and the next update will fix this.

Thank you.
Hi there once again, first and utmost I appreciate your hard work on the Kernel.
I was so frustrated after a few hours of testing and trying to get it to work without any fruition..
I also wanted to ask if it is possible to replace kernels or not, and if it is possible would you provide instructions to replace the kernel I have at the moment with yours? in addition, I'm running Havoc OS 3.8

Thank you.
Edit1:
Thanks! i got it to work! ^^
 
Last edited:
  • Like
Reactions: hacker812c

Chatur27

Senior Member
Jul 30, 2020
229
246
Moka
Hi there once again, first and utmost I appreciate your hard work on the Kernel.
I was so frustrated after a few hours of testing and trying to get it to work without any fruition..
I also wanted to ask if it is possible to replace kernels or not, and if it is possible would you provide instructions to replace the kernel I have at the moment with yours? in addition, I'm running Havoc OS 3.8

Thank you.
Edit1:
Thanks! i got it to work! ^^
Yw. You can flash magisk 20.4 later to upgrade your magisk
 
  • Like
Reactions: hacker812c

Chatur27

Senior Member
Jul 30, 2020
229
246
Moka
  • Like
Reactions: hacker812c

Chatur27

Senior Member
Jul 30, 2020
229
246
Moka
Do I have to overclock if I want or It is already overclocked? (And How to overclock?)
Hi
Overclocked frequencies can be changed in hktweaks app ( link in thread)

You will notice that some overclocked frequencies are not used. If you want max performance, then set CPU governor to userspace and set min and max Frequency of both big and little cores to same value
 
  • Like
Reactions: hacker812c

uTamii69

Member
Oct 29, 2019
8
4
Last edited:
  • Like
Reactions: hacker812c

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    EK A30 XDA.jpg

    Hi all,
    this is the thread for a custom kernel i made for Samsung Galaxy A30.
    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 A30. 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 1768 MHz to 2288 MHz.​
    LIL Cores: from 1586 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 845 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 A30:
    * Telegram: https://t.me/GalaxyA30

    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 A30 (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


    1619982028959.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
    3
    New Update of our Eureka Kernel and there OFFICIAL FEATURES for version R10

    Downloads at our Telegram Channel (find on the first Post!)

    • Modifications to sLMK driver and its configs, to avoid LMK killing every app, but kill based on Linux kernel's task priority. Idle RAM usage decreased, multitasking improved.
    • Fix an old bug of Eureka Kernel, kernel panic if USB debugging is on, and the phone is connected to PC, and the user tries MTP mode. The fix was inspired by exynos9820 (Linux 4.14) usb driver.
    • Update Simple LMK driver to latest commit. Includes various memory and driver itself optimizations.
    • Upstream cfq I/O scheduler, F2FS driver in kernel
    • Enable misc configs for NetHunter support. (E.g. mac80211, Sysvpic, USBconfigfs drivers...)
    • Merge upstream patches for USB configfs HID driver. Used for NetHunter.
    • Misc improvments, hacks applied kernel tree wide
    • Rewrote mbcache driver - May be misc improvements in I/O operations on ext4 fs
    • Revert LZ4 driver changes
    • Adjust TCP Westwood parameters for better internet speed
    • /proc/kmsg is now toggleable. Use this command to control kmsg buffer:
      # echo 1 or 0 > /sys/module/printk/parameters/enabled

    by Eureka Team
    2
    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.
    2
    can you please help me which should i flash for oneui HMP or EMS?
    and for aosp? HMP or EMS?
    Both EMS for battery and HMP for normal kernel and phone
    2
    I'm having a problem,
    i'm using the stock rom, flashed this kernel via twrp and after it i flashed the magisk, but when im using the phone my apps and games keeps crashing, can someone help me?

    The apps quit to home screen as if i pressed the home button.

    Edit: i installed havoc OS and it seems to be working fine with it, i wonder why my stock rom was having so much trouble, i ven used the right version for the OneUi... I'll try again with stock later, any tips to solve the problems?