Troubleshooting KernelSU Crashes on Redmi K70 Ultra (OS2.0.6.0)
in Post with 0 comment

This document aims to assist users experiencing random crashes when executing `adb shell su` on the Redmi K70 Ultra running OS2.0.6.0 with KernelSU version 11986. While attempting to acquire root privileges, the device may unexpectedly terminate.

The root cause appears to stem from conflicts between KernelSU's functionality and the device's Security Enforcement (SEPolicy) and credentials management (cred). Upon closer examination of the mkp_demo.c drivers, specifically lines 830 and 355 located in the git repository (https://github.com/MiCode/MTK_kernel_device_modules/blob/3c4ccd07d5624879555ec710c11bb8818e5cb5c6/drivers/misc/mediatek/mkp/mkp_demo.c), we find that mkp itself logs credential (`cred`) and SEPolicy data. These logs might inadvertently trigger a crash during root privilege escalation due to conflicts or inconsistencies.

The article has been posted for too long and comments have been automatically closed.