Hubbry Logo
search button
Sign in
Kernel Assisted Superuser
Kernel Assisted Superuser
Comunity Hub
History
arrow-down
starMore
arrow-down
bob

Bob

Have a question related to this hub?

bob

Alice

Got something to say related to this hub?
Share it here.

#general is a chat channel to discuss anything related to the hub.
Hubbry Logo
search button
Sign in
Kernel Assisted Superuser
Community hub for the Wikipedia article
logoWikipedian hub
Welcome to the community hub built on top of the Kernel Assisted Superuser Wikipedia article. Here, you can discuss, collect, and organize anything related to Kernel Assisted Superuser. The purpose of the...
Add your contribution
Kernel Assisted Superuser

Kernel Assisted Superuser (short: KernelSU) is an alternative method for obtaining root privileges on Android devices. KernelSU implementations are developed as free and open-source software under the terms of the GPLv3 license.[1]

Technical differences

[edit]

KernelSU differs from other methods in that root access is implemented directly in the kernel. Compared to other root methods that run in userspace, such as Magisk, this has the advantage that commands with su can be executed like normal commands, but still have root privileges. This is not prevented by SELinux or detected by the PlayIntegrity API check, so applications that use it will continue to function. Unlike Magisk, /system/bin/su is a virtual file implemented by hooking system calls with kprobes, and overlayfs is used for systemless modifications to the system partition instead of magic mount.[citation needed]

History

[edit]

The planning of KernelSU was started in 2018 by developer Jason Donenfeld, also known as XDA user zx2c4.[2][3] The lack of a root manager app and the difficulty of creating boot images meant that KernelSU was not suitable for productive use, and for a long time this method remained theoretical and could only be used by developers. In 2021, Google launched Generic Kernel Images (GKI for short), which facilitates the creation of a set of device-independent rooted boot images.[4] In response, the developer known on XDA as weishu, who had also worked on projects such as VirtualXposed, adapted KernelSU for GKI-compatible kernels. The adaptation, which was released in January 2023, ensures that any device booting with Linux kernel version 5.10 or higher should be compatible. In addition, the developer also offers a special manager app that, in addition to managing root privileges, also offers overlay-based modding similar to Magisk modules. As of 19 May 2024, 264 developers have contributed to the development of the KernelSU implementation.[5][6]

Distribution

[edit]

KernelSU can be installed on all devices that use GKI, as well as on individually supported devices without GKI.[7][8] Some custom ROMs already have it integrated by default, including ROMs such as CrDroid,[9] Bliss OS,[10] and Evolution X.

See also

[edit]

References

[edit]
  1. ^ weishu (2024-05-19). "tiann/KernelSU". GitHub. Retrieved 2024-05-19.
  2. ^ Zachary Wander (2018-12-10). "Kernel Assisted Superuser (KernelSU) - The Final Frontier for SafetyNet and an Essential Developer Tool". Retrieved 2024-05-19.
  3. ^ "kernel-assisted-superuser - Kernel assisted means of gaining a root shell for Android". Retrieved 2024-05-19.
  4. ^ "Das Generic Kernel Image (GKI)-Projekt". Retrieved 2024-06-02.
  5. ^ "Contributors to tiann/KernelSU". GitHub. Retrieved 2024-05-19.
  6. ^ Skanda Hazarika (2023-01-30). "KernelSU reborn: Developer ports kernel-assisted root access to GKI compatible devices". Retrieved 2024-05-19.
  7. ^ "Installation | KernelSU". Retrieved 2024-06-02.
  8. ^ "Unofficially Supported Devices | KernelSU". Retrieved 2024-06-02.
  9. ^ "crDroid.net - How to install crDroid 10 for Pixel 7a (lynx)". Retrieved 2024-05-19.
  10. ^ "Bliss OS For PC". Retrieved 2024-05-19.
[edit]