The released kernels have issues like UI lags and freezes, but i found out a minor code miss on the kernel source, and i have fixed them. The kernel rebuilding is in progress, so you can give R10.0 one more try after the zips are updated again, I will post when the kernel zips are updated.
Additional changelog
Upstream kernel memory driver
Remove lz4 zram support , as zstd is better for now
Additional changelog
Upstream kernel memory driver
Remove lz4 zram support , as zstd is better for now
👍27❤10🔥5😢4
On the R10.0 kernel. I found 2 issues that i can fix now
BUG 1
- Target OneUI
- Bug: OneUI's userspace lmkd and in- kernel lmkd is both alive. Killing many apps, results in poor performace
- Fix: Block userspace lmkd from killing apps
- Status: Fixed, not visible to public atm
BUG 2
- Target AOSP/OneUI
- Bug: The kernel lmk does not kill the past foreground processes, which keeps piling on memory and eventually system freezes with OOM (Out of memory)
- Fix: Do not discard foreground app list, and kill them later if they were removed from recents list
- Status: Fixed
After its all fixed, kernel zips will be updated again
BUG 1
- Target OneUI
- Bug: OneUI's userspace lmkd and in- kernel lmkd is both alive. Killing many apps, results in poor performace
- Fix: Block userspace lmkd from killing apps
- Status: Fixed, not visible to public atm
BUG 2
- Target AOSP/OneUI
- Bug: The kernel lmk does not kill the past foreground processes, which keeps piling on memory and eventually system freezes with OOM (Out of memory)
- Fix: Do not discard foreground app list, and kill them later if they were removed from recents list
- Status: Fixed
After its all fixed, kernel zips will be updated again
👍36🎉7🔥4👎3❤2
Changelog of R10.1, which is bugfix version of R10
- Block OneUI userspace lmkd from killing apps, therefore resulting in improvements on mutitasking on OneUI
- Drop UKSM (Ultra Kernel Samepage Merging), as they are seen to have high CPU usage when ram usage is high
- Add support for DeX touchpad for A40, (And A20 too since they have same tsp driver).
- Completely rewrite custom lmkd driver. Now more lower idle ram.
- Block OneUI userspace lmkd from killing apps, therefore resulting in improvements on mutitasking on OneUI
- Drop UKSM (Ultra Kernel Samepage Merging), as they are seen to have high CPU usage when ram usage is high
- Add support for DeX touchpad for A40, (And A20 too since they have same tsp driver).
- Completely rewrite custom lmkd driver. Now more lower idle ram.
👍32🔥9❤2👎1🎉1
The previous (and original) slmk driver was not good, it didnt have any code to skip, just killing based on pure memory usage, i have tried to modify some code of that driver code to make it detect whether the target is an app, foreground app, useless background app like gapps... but there was no clear way to detect it by original slmk driver. If i make it loose to keep recent task apps, then ram usage is high (>70%), else if i make it strong, the recent tab apps will all be killed.
So i completely rewrote that lmk driver, only keeping the code for killing task. Fixing these things
1. The phone freezes with high memory. This is because the lmk driver let too much processes 'pass' its checks. The code was "if the process has this priority, skip kill". Therefore the ram was flooded, also the lmk driver couldnt detect subthreads of dead app, keeping it alive so resulting in more ram usage.
So I coded to read mm usage every 0.9 secs, and if the mm usage is higher than *desired, it will kill recent task apps too. Else it is coded to never kill recent tasks.
2. Poor multitasking. As I said, the implementation of detecting foreground / background process was incomplete, so maybe background app is not killed, and foreground app is killed. However i found a fix, if the process is foreground app, it has /dev/ion opened, it is a clear solution because foreground / recent task apps will ofc use GPU, and /dev/ion should be opened for it.
* The desired memory % will be available to tune at /sys/module/simple_lmk/parameters/max,
The code is basically complete now, but sometimes random reboots because some of my coding mistakes. Currently under active tests, ETA will be today or tomorrow.
So i completely rewrote that lmk driver, only keeping the code for killing task. Fixing these things
1. The phone freezes with high memory. This is because the lmk driver let too much processes 'pass' its checks. The code was "if the process has this priority, skip kill". Therefore the ram was flooded, also the lmk driver couldnt detect subthreads of dead app, keeping it alive so resulting in more ram usage.
So I coded to read mm usage every 0.9 secs, and if the mm usage is higher than *desired, it will kill recent task apps too. Else it is coded to never kill recent tasks.
2. Poor multitasking. As I said, the implementation of detecting foreground / background process was incomplete, so maybe background app is not killed, and foreground app is killed. However i found a fix, if the process is foreground app, it has /dev/ion opened, it is a clear solution because foreground / recent task apps will ofc use GPU, and /dev/ion should be opened for it.
* The desired memory % will be available to tune at /sys/module/simple_lmk/parameters/max,
The code is basically complete now, but sometimes random reboots because some of my coding mistakes. Currently under active tests, ETA will be today or tomorrow.
👍36🔥16❤5🤩5👎1😱1
Any request to provide Eureka Kernel support to new devices will be discarded. We support only the Exynos7885 based devices.
We are happy and feel satisfied when people give good review about Eureka. Thanks a lot for that.❤️
We are not a team who does build-boting. We focus more on improving the devices which we currently support. A kernel will never be 100% developped. There will always be development for it. If we add more devices, we will not be able to achieve this.
Moreover, as all humans, we also have a real life to cater for. We cannot spend all our time on a computer and telegram.
In case, we have more free time in future, we will decide whether we will add more devices to the support list but it's us only who will decide which next chipset to support (we need to own atleast 1 device in that chipset family).
So, kindly stop making those requests especially in our PMs.
We are happy and feel satisfied when people give good review about Eureka. Thanks a lot for that.❤️
We are not a team who does build-boting. We focus more on improving the devices which we currently support. A kernel will never be 100% developped. There will always be development for it. If we add more devices, we will not be able to achieve this.
Moreover, as all humans, we also have a real life to cater for. We cannot spend all our time on a computer and telegram.
In case, we have more free time in future, we will decide whether we will add more devices to the support list but it's us only who will decide which next chipset to support (we need to own atleast 1 device in that chipset family).
So, kindly stop making those requests especially in our PMs.
❤44👍15👎1🎉1
Eureka_Kernel_R10.1_A10.zip
47.4 MB
Minor Release for A10
Eureka R10.1
Eureka R10.1
Eureka_Kernel_R10.1_A20e.zip
47.4 MB
Minor Release for A20e
Eureka R10.1
Eureka R10.1
Eureka_Kernel_R10.1_A20.zip
48.2 MB
Minor Release for A20
Eureka R10.1
Eureka R10.1
Eureka_Kernel_R10.1_A30s.zip
48.6 MB
Minor Release for A30s
Eureka R10.1
Eureka R10.1
Eureka_Kernel_R10.1_A30.zip
48.9 MB
Minor Release for A30
Eureka R10.1
Eureka R10.1
Eureka_Kernel_R10.1_A40.zip
48.6 MB
Minor Release for A40
Eureka R10.1
Eureka R10.1
👍42❤10🎉4👎1🔥1😁1
Notes and changelog:
- The requested wifi driver support etc was not included, because if I enable all those configs, the boot.img containing the kernel wont fit into boot partition size. Those who want it may need to compile the kernel manually.
- Wireguard has been updated to 20200627
- Upstreamed kernel from linux 4.4 extra patches staging repo. See https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git/log/?h=linux-4.4.y-st-rc
- simple lmk has been completely refactored, making it better. Note that more background apps are killed, They may not be able to send notifications etc.
- Switched back to KSM and defaults to disabled
- Blocked userspace lmkd from killing processes
- 100 ~ 130 swappiness is recommended
* Please do not compare the older versions and newer ones, if new one have bugs, you can just try to help the dev to fix them. Do not make the dev's efforts to this kernel to nothing, If the old one is better, then there is not reason for me to improve it more?
- The requested wifi driver support etc was not included, because if I enable all those configs, the boot.img containing the kernel wont fit into boot partition size. Those who want it may need to compile the kernel manually.
- Wireguard has been updated to 20200627
- Upstreamed kernel from linux 4.4 extra patches staging repo. See https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git/log/?h=linux-4.4.y-st-rc
- simple lmk has been completely refactored, making it better. Note that more background apps are killed, They may not be able to send notifications etc.
- Switched back to KSM and defaults to disabled
- Blocked userspace lmkd from killing processes
- 100 ~ 130 swappiness is recommended
* Please do not compare the older versions and newer ones, if new one have bugs, you can just try to help the dev to fix them. Do not make the dev's efforts to this kernel to nothing, If the old one is better, then there is not reason for me to improve it more?
❤49👍16👎2😢1🎉1
I know this is exynos7885 group but, I do want to work on A50 kernel (exynos9610), if someone has a50 and want to test kernels, reply to this post
❤19👍1👎1