[Samsung Galaxy A73 5G] Frax3r:
KernelSU

A kernel-based root solution for Android​

#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 doing this to your device
* 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 am not responsible about any damage of any kind that this kernel may cause.

You are allowed to use this kernel in your project with proper credits and links to this thread or source code.

You are allowed to base your projects on my sources by giving proper credits to the original authors.

Bugs can be reported here in XDA or via the community's Telegram Group. Please be more clear as possible and make sure you provide detailed info when reporting bugs.

What's KernelSU?

KernelSU is a root solution for Android GKI devices, it works in kernel mode and grant root permission to userspace application directly in kernel space.

The main feature of KernelSU is it is Kernel-based. KernelSU works in kernel mode, so it can provide kernel interface we never had before. For example, we can add hardware breakpoint to any process in kernel mode; We can access physical memory of any process without anybody being aware of; We can intercept any syscall in kernel space; etc.

And also, KernelSU provides a module system via overlayfs, which allows you to load your custom plugin into system. It also provides a mechanism to modify files in /system partition.

Read more about KernelSU here: https://kernelsu.org/

Features

Built from A736BXXS8EXE4 kernel source code

Linux 5.4.254, based on LA.UM.9.14.r1-23100-LAHAINA.QSSI14.0

Pure stock kernel, only minor changes were applied

Built with Clang 11.0.2 (r383902b1) Toolchain

Samsung Knox features disabled (RKP, FIVE, Defex etc.)

Switchable SELinux status

Supported devices

All the Galaxy A73 5G device's variants are supported. Binary 3 vendor and above is required.

Now with LineageOS support!

How to install?

Download and install a custom recovery (TWRP);

If you do have Magisk installed, please uninstall it via the Magisk Manager app;

Download the KernelSU flashable zip in Post #2;

Reboot to recovery: to do so power off your device, connect it to a computer via an USB cable and hold both volume up and power on buttons;

If you desire to restore back your currently installed kernel, make a backup of the following partitions: Boot, DTBO, Vendor Boot;

Flash the KernelSU zip you previously downloaded, reboot to system if the install went fine;

Install the KernelSU Manager app;

Source code

Kernel source code: https://github.com/utkustnr/android_kernel_samsung_a73xq/commits/lahaina-ksu

KernelSU source code: https://github.com/tiann/KernelSU

Credits

Samsung OSRC for providing the kernel source code

KernelSU Team for their awesome work

@BlackMesa123 for his amazing help and ground work

@Simon1511 for maintaining LineageOS

@Cockat0o for testing and helping me out

@ananjaser1211 for his KernelSU fork

KernelSU Status

KernelSU developers dropped non-GKI and GKI 1.0 support. Currently reverting this is easy but in the future, when more features are added, it might not be so simple. If and when that happens, depending on the situation with the forks, I might EOL this thread and support for this kernel altogether. For now enjoy and please feel free to report any issues you face.