Development rainbow kernel a12-v4.0

Search This thread

Manteiga25

Senior Member
Jan 1, 2021
127
16
new rainbow kernel V1.1
based on a125f latest samsung source

-add dtb.img
-overclock cpu:
-BIG cores 2351 to 2501
-LITTLE cores 1800 to 2000
-CCI 1051 to 1265
-overclock gpu 6800 to 8970
-added CRC32 optimized rountine
-upstream LZ4
-upstream linux string rountine
-added TRANSPARENT HUGEPAGE
-fixed mtp for GSI
-fixed Touch for GSI
-fixed rcu performance
-added optimized checksum rountine
-removed knox and others security features
-added cpufreq governors ondemand and userspace
-added driver power suspend 2.0
-optimized EXT4 partision
-fix touch in gsi
-removed erratum not used
-added jump_label
-kernel optimized for more performance
-and other minor optimizations
-compiled whith proton clang-13/llvm + polly + thinlto + O3 + cortex-a53 optimization

if you think the old version is better you can use

old rainbow kernel v-4.0 (just gsi)
based on a125f old samsung source

- more CPU regulators
- The added XOR throttle of the NEON arm can have a performance increase of up to 20%.
- Added boeffla_wl_blocker driver.
- vector optimizations, matrices, loops, parallelism, GPGPU codegen.
-More aggressive link optimizations.
-VDSO32 enhanced for higher performance in 32-bit applications.
-samsung security disabled.
-kernel optimized with -O3 -Fast (higher performance)
- a memory transparency is activated in fast mode (higher performance)
- optimizations for the A53 cortex (superior performance)
- floating point optimization
- branch optimization
-Fixed touch issue for all gsi panels thanks to RE800T warhammer kernel
- Added power suspend 2.0 driver
-I/O and space performance improvements
- Added wireguard module for greater network security
-optimizations for memcmp
- processor cache optimizations
- Optimizations on EXT4 path for better performance
-small optimizations in the RCU
-LZ4 algorithms have been updated
-fixed kernel compression
- various debugs have been disabled
- memory optimizations
-single extension optimization
-some kernel latencies have been reduced
- Added optimized checksum routine (has a 4x transfer rate increase in A53 cortex)
-other small kernel optimizations for ARM64
-overclocking GPU to 780 MHz
-some changes I don't remember

kernel compiled with clang13 / llvm proton + thinLTO + polly + O3 Ofast + cortex a53 optimization (for better performance)

old Source code:
https://github.com/manteiga25/new-rainbow-kernel

new Source code:
 

Attachments

  • rainbow-4.zip
    16.7 MB · Views: 1,557
  • rainbow_A125f.zip
    16.4 MB · Views: 955
Last edited:
  • Like
Reactions: Bizzare user

Manteiga25

Senior Member
Jan 1, 2021
127
16
Attention this kernel has not been tested yet if you get some installation error or bootloop send me a message.
 

LAST_krypton

Senior Member
Just flashed the kernel, it seems to work. But cpu z reports it like as if i flashed the stock kernel
 

Attachments

  • Screenshot_20210928-194620_CPU-Z.jpg
    Screenshot_20210928-194620_CPU-Z.jpg
    166 KB · Views: 299
  • Screenshot_20210928-194638_Settings.jpg
    Screenshot_20210928-194638_Settings.jpg
    163.1 KB · Views: 292

Manteiga25

Senior Member
Jan 1, 2021
127
16
rainbow kernel v-2.0 not tested
based on a125f

-more CPU regulators
-kernel optimized with -O3 -Fast (superior performance)
- a memory transparency is activated in fast mode (higher performance)
- optimizations for cortex a53 (higher performance)
- now polly generates an OpenMP code
-floating point optimization
-It is no longer necessary to use the AOSP clang
-branch optimization
-kernel compiled with clang-13 proton + polly + llvm + thinLTO + O3 Ofast + cortex a53 optimizations
new rainbow kernel v2.0 update
this update has not yet been tested send me a message if the new version bootloops

- optimizations for cortex a53 (higher performance)
- now polly generates an OpenMP code
-floating point optimization
-It is no longer necessary to use the AOSP clang
-branch optimization
-kernel compiled with clang-13 proton + polly + llvm + thinLTO + O3 Ofast + cortex a53 optimizations
 
  • Like
Reactions: LAST_krypton

physwizz

Senior Member
Sep 16, 2013
4,374
996
Sydney
new rainbow kernel v2.0 update
this update has not yet been tested send me a message if the new version bootloops

- optimizations for cortex a53 (higher performance)
- now polly generates an OpenMP code
-floating point optimization
-It is no longer necessary to use the AOSP clang
-branch optimization
-kernel compiled with clang-13 proton + polly + llvm + thinLTO + O3 Ofast + cortex a53 optimizations
Nice
 

Manteiga25

Senior Member
Jan 1, 2021
127
16
rainbow kernel v3.0
Changlog:
-added XOR codec of the NEON arm can have a performance increase of up to 20%.
- Added boeffla_wl_blocker driver.
- vector optimizations, arrays, loops, parallelism, GPGPU codegen.
-Added OPENMP code
-More aggressive link optimizations.
-VDSO32 enhanced for higher performance in 32bit applications.
-samsung security disabled.
-other optimizations
-kernel compiled with clang-13 proton + LLVM + polly + thinLTO + OPENMP + -O3 -Ofast
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    new rainbow kernel V1.1
    based on a125f latest samsung source

    -add dtb.img
    -overclock cpu:
    -BIG cores 2351 to 2501
    -LITTLE cores 1800 to 2000
    -CCI 1051 to 1265
    -overclock gpu 6800 to 8970
    -added CRC32 optimized rountine
    -upstream LZ4
    -upstream linux string rountine
    -added TRANSPARENT HUGEPAGE
    -fixed mtp for GSI
    -fixed Touch for GSI
    -fixed rcu performance
    -added optimized checksum rountine
    -removed knox and others security features
    -added cpufreq governors ondemand and userspace
    -added driver power suspend 2.0
    -optimized EXT4 partision
    -fix touch in gsi
    -removed erratum not used
    -added jump_label
    -kernel optimized for more performance
    -and other minor optimizations
    -compiled whith proton clang-13/llvm + polly + thinlto + O3 + cortex-a53 optimization

    if you think the old version is better you can use

    old rainbow kernel v-4.0 (just gsi)
    based on a125f old samsung source

    - more CPU regulators
    - The added XOR throttle of the NEON arm can have a performance increase of up to 20%.
    - Added boeffla_wl_blocker driver.
    - vector optimizations, matrices, loops, parallelism, GPGPU codegen.
    -More aggressive link optimizations.
    -VDSO32 enhanced for higher performance in 32-bit applications.
    -samsung security disabled.
    -kernel optimized with -O3 -Fast (higher performance)
    - a memory transparency is activated in fast mode (higher performance)
    - optimizations for the A53 cortex (superior performance)
    - floating point optimization
    - branch optimization
    -Fixed touch issue for all gsi panels thanks to RE800T warhammer kernel
    - Added power suspend 2.0 driver
    -I/O and space performance improvements
    - Added wireguard module for greater network security
    -optimizations for memcmp
    - processor cache optimizations
    - Optimizations on EXT4 path for better performance
    -small optimizations in the RCU
    -LZ4 algorithms have been updated
    -fixed kernel compression
    - various debugs have been disabled
    - memory optimizations
    -single extension optimization
    -some kernel latencies have been reduced
    - Added optimized checksum routine (has a 4x transfer rate increase in A53 cortex)
    -other small kernel optimizations for ARM64
    -overclocking GPU to 780 MHz
    -some changes I don't remember

    kernel compiled with clang13 / llvm proton + thinLTO + polly + O3 Ofast + cortex a53 optimization (for better performance)

    old Source code:
    https://github.com/manteiga25/new-rainbow-kernel

    new Source code:
    1
    Dm-verify and knox disabled.
    Vou tentar consertar

    Translated by GT: I will try to fix
    1
    Não funciona. Depois de piscar em uma rom de estoque enraizada de android 11, acaba em um tijolo macio.
    Eu fiz uma nova compilação
    1
    rainbow kernel v-2.0 not tested
    based on a125f

    -more CPU regulators
    -kernel optimized with -O3 -Fast (superior performance)
    - a memory transparency is activated in fast mode (higher performance)
    - optimizations for cortex a53 (higher performance)
    - now polly generates an OpenMP code
    -floating point optimization
    -It is no longer necessary to use the AOSP clang
    -branch optimization
    -kernel compiled with clang-13 proton + polly + llvm + thinLTO + O3 Ofast + cortex a53 optimizations
    new rainbow kernel v2.0 update
    this update has not yet been tested send me a message if the new version bootloops

    - optimizations for cortex a53 (higher performance)
    - now polly generates an OpenMP code
    -floating point optimization
    -It is no longer necessary to use the AOSP clang
    -branch optimization
    -kernel compiled with clang-13 proton + polly + llvm + thinLTO + O3 Ofast + cortex a53 optimizations
    1
    Indeed. Found it to work now. Compiling with clang higher then 11 will result in failure though. On clang 11 all ok
    can i make a correction for you