[Samsung Galaxy A34] fede2782:
This journey has come to an end. Starting from KernelSU v1 non-GKI support will be dropped. This means that for stability I'll stop releasing builds for the amazing A34 5G. I still want to thank everybody for the support you gave me. ❤️

READ MORE: https://github.com/tiann/KernelSU/issues/1705​

View attachment 6056030

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 created by this kernel on your device

You can use this kernel and its source code but you MUST give XDA link or GitHub link

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

I will try to fix bugs but you must provide logs and a decent description

What's KernelSU? (extracted from official website)

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.

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/

Notes:

Based on Samsung's stock kernel A346BXX[S6/U6]BXD[1/2] (One UI 6.0, Android 14)

Samsung Knox implementation in Kernel disabled (RKP, DEFEX, KDP, FIVE...)

Built with AOSP Clang 17.0.2 (r487747c) Android 14 Toolchain

Built-in connectivity drivers

Requirements:

The following Galaxy A34 5G variants are supported:

SM-A346B (a34xeea)

SM-A346E (a34xks)

SM-A346M (a34xub)

If your A34 5G variant is missing let me know so I can add support for it.

How to install?

Make sure your bootloader is unlocked before proceeding;

Download the KernelSU Odin3 tar package in the first comment, make sure to download the correct version depending your device variant;

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

Flash the KernelSU tar package you previously downloaded with Odin3 in AP slot, the device may not boot if you had stock firmware installed before in this case you must do a factory reset via recovery mode;

Install the KernelSU Manager app once the device boots, download the apk from KernelSU Releases.

Sources:

GitHub - Fede2782/android_kernel_samsung_a34x

Contribute to Fede2782/android_kernel_samsung_a34x development by creating an account on GitHub.

github.com

Credits:

Samsung OSRC for providing base kernel source and some parts of the connectivity drivers

https://github.com/AbzRaider/kernel_oneplus_ivan/commits/S-OSS/ for a patch related to connectivity drivers for Mediatek

Galaxy A34 Testers which tried every single release and reported issues to get this working well

OnePlus for providing full connectivity drivers sources for Mediatek

KernelSU Team for their project

Magisk devs for their awesome "magiskboot" utility