[KERNEL][EAS][EOL][9/10/TREBLE][G95xF/FD/N] RZ Kernel for Samsung Galaxy S8(+)

Search This thread

Androkai

Senior Member
Non-treble ROMs: RZ-LineageOS-* (might not compatible with all non-treble ROMs as each might use its own kernel and stuffs)
Treble ROMs: RZ-treble (note that it is meant to be used with hadesTreble). If you didn't install hadesTreble, use non-treble build for non-treble AOSP ROMs
One UI/Stock SE: The remaining build


So what kind of rom is Evolution X??

Well, use LOS version on EvoX :rolleyes:
 

maka33

Senior Member
Jul 3, 2012
129
17
okay, then i need to patch the kernel to LineageOS, and i think i am just lucky that my phone did not break down xD since i used the treble one
 

xSoydere

New member
Nov 13, 2019
4
0
Non-treble ROMs: RZ-LineageOS-* (might not compatible with all non-treble ROMs as each might use its own kernel and stuffs)
Treble ROMs: RZ-treble (note that it is meant to be used with hadesTreble). If you didn't install hadesTreble, use non-treble build for non-treble AOSP ROMs
One UI/Stock SE: The remaining build


So what kind of rom is Evolution X??
What is so hard to understand? You can flash non treble build on everything that is not treble or oneui .... If it works it works, if it wont it wont, as it says it may not be compatible with all non-treble roms, so just test it
 

Superperry96

Senior Member
Sep 13, 2016
144
27
Will you add f2fs support one day if your kernel doesn't have support on it?
Stable kernel for me, testing it on hadesrom v12 and performance is nice.
I don't know about and look at SoT because my battery is 3 years old and lost around more than half of its original capacity (I can tell it because I use it a lot for gaming and I left it to 0% 4 times without charging it for 2+h) and I don't know if it's worth to change it...
 

djxszone

Member
Feb 19, 2012
25
3
Used it with evolution is 4.4. Performance is very good, the rom became very smooth after installing kernel but battery life is bad and charging pace slow, can t use it daily.
 

remilia15

Senior Member
Jan 1, 2017
362
1,621
20
/dev/ram
So it's been four months since the latest release and I'd like to announce some improvements that had been done so far
  • A brand new scheduling method supporting 32-bit and 64-bit task scheduling
  • A few scheduler fixes for overall stability
  • Gaming tweaks for GPU (yes, I don't and never need CPU/GPU overclocking for this)
  • F2FS support (been testing this for quite a long time so far)

Apart from the new changes, there are fixes done for sure like earpiece issue on latest stock (which is very simple without doing source merge)
 
Last edited:

igalmarino

Senior Member
Mar 1, 2012
195
85
San Jose
Samsung Galaxy S20
p/s: People who wants to test new changes can visit my Telegram support group with this link

Telegram does not let me join the group. It keep saying that the group does not exists
 

Attachments

  • Screenshot_20200811-193507_Telegram.png
    Screenshot_20200811-193507_Telegram.png
    182.2 KB · Views: 350

remilia15

Senior Member
Jan 1, 2017
362
1,621
20
/dev/ram
New build is up, and this will be the final build of the kernel project!

Changes:
  • A brand new scheduling method supporting 32-bit and 64-bit task scheduling
  • A few scheduler fixes for overall stability
  • GPU governor fixes and tunings for better performance and thermal handling/stability
  • [NEW] F2FS support (require latest TWRP)
  • Fixes in-call audio issue on latest stock
  • mDNIE color tunings (require EXKM or any kernel managers support the feature)

As this is the final build of the whole kernel project, I'd like to say thank you to all supporters/developers who helped me improving the kernel. It had been a very long and great journey with the project, but everything has come to its own end. This and the RZ Kernel project for Exynos 9810 will also be abandoned, unfortunately

Once again, thank you for all your support!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 67
    Code:
    #include 
    /*
    * 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.*/

    RZ Kernel aims for as stock experience as possible. It is made from Samsung's stock kernel with stability updates thanks to great guys who made ELS (exynos-linux-stable) branch
    It also attempts to increase overall multitasking performance while maintaining good battery life with proper settings

    Features
    • I/O Scheduler: CFQ (default), noop
    • Governors
      • schedutil (DEFAULT FOR EAS)
    • CPU
      • Support EAS (Energy Aware Scheduling), which balances battery life while maintaining great overall performance
      • Fine-tuned schedtune values for super fluid user experience
    • GPU
      • Fixed interactive governor for better load burst handling
    • Memory
      • Support zRAM with default size of 3/4 RAM size
      • Multiple compression algorithms for zRAM: zstd, lzo, lz4(default), lz4hc
    • Other tweaks and optimizations
      • F2FS filesystem support (require latest TWRP)
      • Init.d support (A BIG MUST for scripters)
      • Disabled battery-hogging WAKELOCKS
      • Westwood TCP congestion algorithm (small boost on network speed)
      • SELinux Permissive (for V4A and etc...)
      • WireGuard and DriveDroid support

    XDA:DevDB Information
    RZ Kernel, Kernel for the Samsung Galaxy S8

    Contributors
    remilia15
    Source Code: https://github.com/diepquynh/android_kernel_samsung_universal8895

    Kernel Special Features: Energy Aware Scheduling

    Version Information
    Status: Testing

    Created 2019-01-24
    Last Updated 2020-08-27
    41
    Download link: Drive folder

    CHANGELOG:
    • 20190124 (OREO): Initial release
    • 20190129 (OREO): Post #36
    • 20190201 (OREO): Post #39
    • 20190203 (OREO): Post #47
    • 20190210 (OREO): Post #60
    • 20190213 (OREO): Post #70
    • 20190218 (OREO): Post #81
    • 20190223 (PIE): Post #88
    • 20190225 (PIE): Post #110
    • 20190227 (PIE): Post #125
    • 20190310 (PIE): Post #128
    • 20190321 (PIE): Post #148
    • 20190329 (PIE): Post #158
    • 20190430 (PIE): Post #172
    • 20190503 (PIE): Post #176
    • 20190828 (PIE): Post #220
    • 20190909 (PIE): Post #245
    • 20191014 (PIE): Post #290
    • 20200406 (PIE): Post #307
    • 20200822 (PIE) [FINAL]: Post #339
    26
    Installation instructions

    1. Select proper kernel variant to download (Stock SE/One UI, LineageOS, Treble)
    2. Put the downloaded kernel flashable zip in the internal storage or SD card
    3. Flash the zip with ease (no root re-installation needed, because the kernel isn't shipped with prebuilt stock boot.img)

    Selecting kernel variant:
    • Non-treble ROMs: RZ-LineageOS-* (might not compatible with all non-treble ROMs as each might use its own kernel and stuffs)
    • Treble ROMs: RZ-treble (note that it is meant to be used with hadesTreble). If you didn't install hadesTreble, use non-treble build for non-treble AOSP ROMs
    • One UI/Stock SE: The remaining build
    24
    New build is up, and this will be the final build of the kernel project!

    Changes:
    • A brand new scheduling method supporting 32-bit and 64-bit task scheduling
    • A few scheduler fixes for overall stability
    • GPU governor fixes and tunings for better performance and thermal handling/stability
    • [NEW] F2FS support (require latest TWRP)
    • Fixes in-call audio issue on latest stock
    • mDNIE color tunings (require EXKM or any kernel managers support the feature)

    As this is the final build of the whole kernel project, I'd like to say thank you to all supporters/developers who helped me improving the kernel. It had been a very long and great journey with the project, but everything has come to its own end. This and the RZ Kernel project for Exynos 9810 will also be abandoned, unfortunately

    Once again, thank you for all your support!
    23
    Notices and Q&A

    • The kernel is based on tw90-android branch of ELS, which is currently at stable state from my experience
    • Other related features of the kernel were picked from other sources. Credits belong to the owner
    • I have totally ditched Samsung's HMP implementation by myself, and adapted aosp-common kernel's EAS commits with the brand new kernel scheduler (called Exynos Mobile Scheduler (EMS)) from Exynos 9820 kernel source, which seemed doing nice on our Exynos 8895. Because HMP isn't doing really well on our 8895, and to take advantage of 64bit kernel, I've done EAS by myself
    • The kernel's EAS figures were self-made using specific CPU capacity benchmarks and energy usage measurements, along with performance benchmarks for better balance and improved as possible

    Questions and Answers (Q&A)

    Q: My phone gets hot while using this kernel?
    A: Short answer: It's your own issue, fix it yourself. Nobody makes a kernel just to burn your hands

    Long answer:
    • Install Termux app from Play Store
    • Enable screen rotation, open Termux in landspace mode
    • Type this command: su -c top -d 2
    • A list of processes will appear and refresh with 2s interval. Find which process consumes the most CPU usage with [%CPU] column and the package name in ARGS column. You should see the culprit of your issue

    Reminder: There is no such thing as "I have nothing in background but the phone still heats up". There definitely something happen and 99% of the time it's some of the rogue apps running in background

    Q: Can you add X Y Z feature to this kernel?
    A: I want to keep the kernel clean and simple. However, if the feature is really useful, I'll consider adapting it with proper performance check before releasing

    Q: I can't connect to any access point after installing this kernel?
    A: If you can't connect to an access point on stock/stock-based ROM, simply forget its password and connect again

    Q: This kernel is unbootable on my One UI ROM?
    A: If you came from previous builds, it's because of Secure Folder. You can either continue using previous build (which I would not recommend) or uninstall Secure Folder, install the latest build and reinstall it again. It's all because I have removed Samsung's FIPS cryptographic API which breaks device encryption

    Q: My touchscreen/XYZ hardware stuff doesn't work after flashing kernel
    A: Make sure your flashing procedure is right. I'd recommend flashing the kernel with a clean stock boot.img (Magisk or SuperSU-patched one is also okay)
    Also, check your device name first before downloading (S8/S8+ and it has to be EXYNOS)