DISCLAIMER: I WAS NEVER, HAVE NEVER BEEN, AND WILL NEVER BE RESPONSIBLE OF ANY DAMAGES AGAINST YOUR DEVICES BY YOUR OWN MIS-OPERATIONS
Code:
# knox_bit_warranty:0x1
#
# Your warranty is now void
#
# You have been warned.
#
# I will laught at you if you point the finger at me.
Hello everyone, In this guide I will be showing you how to do some basic kernel tuning and some overclocking. I woun't really be going in advance in this guide because there is just sooo soo many things when it comes to kernel tweaking. I might one day make a follow up guide that will go in to advance but only time tells.
Make sure you have allready followed my guide for unlocking the bootloader and rooting or this guide is pointless.

Unlocking the bootloader and rooting
DISCLAIMER: I WAS NEVER, HAVE NEVER BEEN, AND WILL NEVER BE RESPONSIBLE OF ANY DAMAGES AGAINST YOUR DEVICES BY YOUR OWN MIS-OPERATIONS # knox_bit_warranty:0x1 # # Your warranty is now void # # You have been warned. # # I will laught at you if you...

Lets first argue about kernels.
There aren't many kernels when you talk about this device. There are mainly 2 kernels build and they are only for one model of this phone which isn't really good. If you are not on the A125F you are kindev out of luck with custom kernels for this device, only if you are capabel of building your own kernel which I woun't be expleaning in this guide. I think @physwizz has a guide on how to build a kernel in his telegram, that you will have to go search for. Please don't DM him about that. Anyway continueing on, if you are on the A125F model you can chose between these 2 kernels:
physwizz a12 kernel version 2
physwizz a12 kernel version 2 Based on a125f For OneUI 3.1 (May be unstable for some GSIs) Samsung restrictions disabled More CPU governors Optimised for performance Install from TWRP. Ignore the error message during installation and reboot...


rainbow kernel a12-v4.0
rainbow kernel v-4.0 based on a125f - 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...

Flashing is simple:
1. Boot in to TWRP
2. Tap on install
3. Find the kernel you want to flash and flash it
4. reboot
EDIT:
A127F TWRP and KERNEL released

[ROOT] [TWRP] [KERNEL] [GSI] for SM-A127f (a12s)
Root Method https://forum.xda-developers.com/t/root-for-all-exynos-850-devices.4367799/ Twrp and Kernel https://forum.xda-developers.com/t/custom-kernel-and-recoveries-for-m127f.4361841/ Latest twrp...


[AOSP-11] [UNOFFICIAL] Samsung SM-A127F TWRP
DISCLAIMER: I WAS NEVER, HAVE NEVER BEEN, AND WILL NEVER BE RESPONSIBLE OF ANY DAMAGES AGAINST YOUR DEVICES BY YOUR OWN MIS-OPERATIONS Install instructions: 1. Download an arbitrary SM-A127F firmware zip package on SamMobile.com, whose Android...

ROMS
Woun't talk about this a lot, because it doesn't impact that much but it is still kindev important. If you are able to run a custom rom, I would recomend to do so. Stock samsung isn't really good, there is junk running in the backround which you can disable but It will take you a lot of time and some stuff will break apart. So if you are able to flash a custom rom, I would recomend flashing Linage Os R MOD (LIR)
[UNOFFICIAL] LineageOS R Mod //LiR
L i R < Your warranty is now void! > We're 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...

Instructions on installing TWRP and custom rom:

Installing TWRP and LInageOS
DISCLAIMER: I WAS NEVER, HAVE NEVER BEEN, AND WILL NEVER BE RESPONSIBLE OF ANY DAMAGES AGAINST YOUR DEVICES BY YOUR OWN MIS-OPERATIONS # knox_bit_warranty:0x1 # # Your warranty is now void # # You have been warned. # # I will laught at you if you...

EDIT:
A kernel is made both for A125F and A127F to fix display panel sleep issues.

WarhammerProject [Kernel] SM-A125F
WarhammerProject Custom Kernel Author: I Status: Stable [Android R/Android S] Changelog: V1.0 • Fixed the work of the NT36525 panel touchscreen on GSI • Fixed work of MTP on GSI • Compressors and decompressors lz4 updated • Disabled: Profiling...


[ROOT] [TWRP] [KERNEL] [GSI] for SM-A127f (a12s)
Root Method https://forum.xda-developers.com/t/root-for-all-exynos-850-devices.4367799/ Twrp and Kernel https://forum.xda-developers.com/t/custom-kernel-and-recoveries-for-m127f.4361841/ Latest twrp...

TWEAKING AND OVERCLOCKING
Once you have setup Linage Os R MOD (LIR) and your kernel of choice you can install either SMART PACK or hKtweaks or anything you really want, it is up to you which one you want to use. hKtweaks and SMART PACK are similar and have almost the same settings. SMART PACK you can get on F-DROID and hKtweaks is on google play (please don't use google play but rather arura store)Go in to SMART PACK and give it root_privlages and allow it to manage files. Go in to CPU options and set the CPU GOVERNOR for BIG and LITLE cluster on PERFORMANCE. Set the CPU MAXIMUM AND CPU MINIMUM frequency on BIG and LITLE cluster on maximum speeds. Make sure all cores are checked and the option applay on boot is checked.
Go in to GPU options and set GPU Maximum Frequency to the maximum you can set. Make sure applay on boot is checked
In battery options you can turn on adaptive fast charging and set it to applay on boot.
Go in MISC and set SELinux State to Permissive, set Force Doze to disabled, uncheck Auto-sync Data, uncheck leases enable, set every CPU sets on 0-7 cpu cores. and set it to applay on boot
Go in to Virtual Memory and enable Z-RAM. Increase Disksize to maximum in Z-RAM options, set the Z-RAM algorithm to lz4.
In virtual memory tunable's increase swappiness to 170.
EDITING BUILD PROP
In smart pack go in to Build prop Editor. And now prepare for editing and adding build prop keys(or if you know what your doing, it will take you 5 min
ro.telephony.call_ring.delay=0
ring.delay=0
net.tethering.noprovisioning=true
ro.wifi.channels=11
ro.lcd_min_brightness=40
ro.lcd_brightness=160
ro.config.nocheckin=1
ro.mot.eri.losalert.delay=1000
pm.sleep_mode=1
debug.bt.lowspeed=true
wifi.supplicant_scan_interval=240
persist.sys.purgeable_assets=1
These other ones are optional because they are TCP/IP tweaks
net.tcp.buffersize.default=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.hsdpa=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,16384,256960
Credit for thoes build prop keys:

Android TCP/IP Speed Tweaks
To change TCP/IP related settings in Android you need root access.
LINKS AND OTHER STUFF
If you really want to go hard like me then these guides, tools and mods might help.
[REF][TWEAKS] Kernel Governors, Modules, I/O Schedulers, CPU Tweaks, AIO App Configs
Reorganized overflowing Posts to fit into 5 Posts. [Feb 3] Most of us are flash maniacs, and we do it a lot. But after a kernel flash, we wonder: Q1. "OK i have flashed this xyz kernel. What're all these governors? How do i know which one is...


[Pie/10/11] [System-as-root] Multidisabler: disables encryption, Vaultkeeper, auto-flash of stock recovery, proca, wsm, cass, etc.
The multi-disabler started life on the Exynos S10 range, the first Samsung devices to launch with Android 9 (Pie). Since then, it has grown to support a great many Samsung devices running either Android 9, 10 or 11, and with either an Exynos or a...


LKT ? legendary.kernel.tweaks - Advanced Governor & Kernel Tweaks
High performance & power saving tweaks for all devices (THAT ACTUALLY WORK) Introduction LKT is a cumilation of different strategies that target certain kernel settings. What makes this special and stand out from the crowd is being universal and...


\ Best Android Tweaks /
\ V6 SuperCharger / ~Link - http://forum.xda-developers.com/showthread.php?t=991276 ~Good for - amaZing Performance , 3g tweaks ,etc ~Desc - probably the best tweak , i hav ever seen...an necessity for low end phones -SuperCharger =...


SDK Platform Tools release notes | Android Developers
Android SDK Platform-Tools is a component for the Android SDK.


F-Droid | F-Droid - Free and Open Source Android App Repository
The app store that respects freedom and privacy

Aurora Store | F-Droid - Free and Open Source Android App Repository
A Google Playstore Client

Android TCP/IP Speed Tweaks
To change TCP/IP related settings in Android you need root access.
Linux Broadband Tweaks
The TCP/IP parameters for tweaking a Linux-based machine for fast internet connections are located in /proc/sys/net/... (assuming 2.1+ kernel).
Go figure.
Last edited: