Skip to content

An optimized, One UI-first kernel for the Samsung Exynos 9610 platform (a50, a50s). WIP (non-release) branches are force-pushed so beware!

License

Notifications You must be signed in to change notification settings

ezera23/android_kernel_samsung_exynos9610_mint

 
 

Repository files navigation

Mint icon

Mint

Freshen up your Galaxy. An optimized, One UI-first kernel for Galaxy devices on the Exynos 9610 platform.

Common Mint kernel source for the Exynos 9610 Platform

Supports the following devices:

  • Samsung Galaxy A50 (a50)
  • Samsung Galaxy A50s (a50s)

Looking for the Linux kernel readme? Click here.

Source References and Contributors

Shadow will never be possible without the unwavering work of these awesome people. I have tried my best to keep their authorships on the commit history. Thank you very much!

About

Mint is an optimized kernel source based on Samsung's open-source kernel drops of the Galaxy A50. Additional features include:

  • Built with cutting-edge LLVM/Clang (proton-clang)
  • Built with Link-Time Optimizations (LTO) enabled
  • Added additional I/O schedulers, maple is set as default.
  • Various kernel and performance improvements from upstream, and even Qualcomm devices.
  • Backported changes from the Galaxy A51, and Galaxy S10/Note10.
  • Replaced kernel RNG (HWRandom) with SRandom.
  • State notifier support for various kernel drivers.
  • Disabled basic Samsung hardening (Knox, etc).
  • DriveDroid support.
  • WireGuard support.

How to Install

The device must have an unlocked bootloader; as well as TWRP, OrangeFox Recovery, or any recovery of your choice installed.

  1. Download latest available release from GitHub Releases.
  2. Copy the ZIP file to your SD card if necessary.
  3. Reboot to recovery.
  4. Flash downloaded ZIP.
  5. Reboot to System instead of recovery.
  6. ???
  7. Profit

If you ever experience issues with lock screen and/or Samsung Account, see below.

Device Locked Out?

If you ever experience being locked out after installing any build, with SystemUI restarting after entering your password/PIN, and Samsung Account showing a Samsung Account logged out notification, you may have been experiencing the "Pin Problem".

Several builds of TWRP and OrangeFox have a security patch level (SPL) of 2099-12 (December 2099), but this kernel follows the latest SPL available to the device. This causes the device to act up once booted into the kernel.

Please note that it is intended behavior by the system and is not a bug.

You can flash PassReset, or wipe your device to fix it.

See here for more information.

Building Locally

Local builds of Mint are built using Ubuntu 20.04 LTS. These prerequisites are needed to build with this source:

  • libelf-dev
  • bzip2
  • lib32stdc++6
  • libc6-dev-i386
  • git

Once you have the prerequisites installed, simply run this on the Terminal.

./build.sh -d|--device <device> [main options] [variant options]

Device options:

- a50 # For Samsung Galaxy A50
- a50s # For Samsung Galaxy A50s

More options are available on the script by executing ./build.sh --help|-h. The script will download all it needs (including the toolchain) and builds a new kernel build for you.

About

An optimized, One UI-first kernel for the Samsung Exynos 9610 platform (a50, a50s). WIP (non-release) branches are force-pushed so beware!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 98.0%
  • Assembly 1.3%
  • Makefile 0.3%
  • Perl 0.2%
  • Shell 0.1%
  • Python 0.1%