[KERNEL][Snapdragon][4G/5G] PrimeKernel

Search This thread

pascua28

Recognized Developer
Apr 23, 2016
722
1,413
24
Samsung Galaxy S20 FE
Realme 7 Pro
Code:
#include <std_disclaimer.h>
/*
* 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 ROM/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.
*/

Disclaimer: I haven't tested out any builds but there are testers on our Telegram group. Be sure to backup your boot partition before flashing.
Many thanks to the testers. It wouldn't have been possible for me to release this if it weren't for them

-rc builds may or may not be stable and need more testing



Details:
  • Based on latest Samsung open source drop​
  • Compiled with the latest Clang from Google (Clang 12)​
Instructions:
  • Assuming you have a custom recovery installed, simply download and flash the kernel zip. This kernel uses Anykernel 3 so no need to reflash magisk(if you use magisk) after installing it.
Join our Telegram group to get access to early releases: https://t.me/S20FeModding

Kernel source code:
Downloads:
 
Last edited:

pascua28

Recognized Developer
Apr 23, 2016
722
1,413
24
Samsung Galaxy S20 FE
Realme 7 Pro
Changelog:

v2.0 (December 16, 2021)

  • Upstreamed to Linux 4.19.219
  • Converted some subsystems to use power efficient workqueues
  • Removed logging from various drivers
  • Removed F2FS additional tracings

v2.0-rc1 (December 1, 2021)
  • Display driver optimizations
  • Used BBR as default TCP congestion algorithm
  • Enabled BPF_JIT to improve network performance
  • Implemented optimized spinning loop
  • Updated to G780GXXU3AUI3 source drop
  • Speed up mremap
  • Removed msm_performance CPU boosting
  • Implemented optimized PM QoS for UFS
  • Changed zRAM compression algorithm to lz4
  • Disabled EAS_PREFER_IDLE for better power efficiency

v1.0 (Nov. 8, 2021)
  • Based on Samsung G780GXXU3AUH5 source drop
  • Disabled knox and Samsung security stuffs
  • Changed timer tick to 100Hz for better throughput and power consumption
  • Optimized GPU wakeup
  • Removed use of dynamic allocation from several subsystems
  • Disabled binder debugging
  • Optimized UFS irq handling
  • Updated lz4 compression used by zswap
  • Disabled input booster
 
Last edited:

Ubimo

Senior Member
Dec 22, 2011
1,468
755
This kernel is based on G780GXXU3AUH5.
Does this kernel also work on the G781B?
I'm on FW G781BXXS4CUJ2.
 
Last edited:

bininga59

Senior Member
Jun 13, 2014
3,290
1,765
Böblingen

Attachments

  • Screenshot_20211124-142527_Settings.jpg
    Screenshot_20211124-142527_Settings.jpg
    1.2 MB · Views: 222

HarryCustom

Senior Member
Dec 26, 2007
202
11
Hi, after flashing a message tells me there some problems, thant I can use the phone as usual, how can I uninstall the Kernel?
 

3mel

Senior Member
Aug 23, 2012
1,639
528
London
if he's flashed this kernel with TWRP he can flash the extracted boot.img with TWRP (flash image).

@HarryCustom you'll need to download a command line app for LZ4 from github and figure out the command to extract the boot.img but it's not difficult.
 
  • Like
Reactions: Rick_BR

HarryCustom

Senior Member
Dec 26, 2007
202
11
Ok thank you I'll do it!
Anyway I own a G780G/DS, I only report that to me the kernel gave problems for anyone else who wants to use it with the same phone as me! :)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    Changelog:

    v2.0 (December 16, 2021)

    • Upstreamed to Linux 4.19.219
    • Converted some subsystems to use power efficient workqueues
    • Removed logging from various drivers
    • Removed F2FS additional tracings

    v2.0-rc1 (December 1, 2021)
    • Display driver optimizations
    • Used BBR as default TCP congestion algorithm
    • Enabled BPF_JIT to improve network performance
    • Implemented optimized spinning loop
    • Updated to G780GXXU3AUI3 source drop
    • Speed up mremap
    • Removed msm_performance CPU boosting
    • Implemented optimized PM QoS for UFS
    • Changed zRAM compression algorithm to lz4
    • Disabled EAS_PREFER_IDLE for better power efficiency

    v1.0 (Nov. 8, 2021)
    • Based on Samsung G780GXXU3AUH5 source drop
    • Disabled knox and Samsung security stuffs
    • Changed timer tick to 100Hz for better throughput and power consumption
    • Optimized GPU wakeup
    • Removed use of dynamic allocation from several subsystems
    • Disabled binder debugging
    • Optimized UFS irq handling
    • Updated lz4 compression used by zswap
    • Disabled input booster
    6
    Code:
    #include <std_disclaimer.h>
    /*
    * 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 ROM/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.
    */

    Disclaimer: I haven't tested out any builds but there are testers on our Telegram group. Be sure to backup your boot partition before flashing.
    Many thanks to the testers. It wouldn't have been possible for me to release this if it weren't for them

    -rc builds may or may not be stable and need more testing



    Details:
    • Based on latest Samsung open source drop​
    • Compiled with the latest Clang from Google (Clang 12)​
    Instructions:
    • Assuming you have a custom recovery installed, simply download and flash the kernel zip. This kernel uses Anykernel 3 so no need to reflash magisk(if you use magisk) after installing it.
    Join our Telegram group to get access to early releases: https://t.me/S20FeModding

    Kernel source code:
    Downloads:
    3
    v2.0-rc1 is up!
    3
    Please make the same kernel for android 12
    They didnt release a new source drop yet