Power off the device completely. Hold down both Volume Up and Volume Down buttons simultaneously while plugging the device into a PC.
This public link is valid for 7 days and shares a thread, including any personal information you added. This link or copies made by others cannot be deleted. If you share with third parties, their policies apply. Can’t copy the link right now. Try again later.
From community reports across XDA and GitHub, here are typical scenarios where step 3 fails:
For the technically curious, “step 3” in mtk-su roughly corresponds to the do_root function after the selinux_set_root call. The exploit uses a technique called arbitrary kernel read/write to modify the current task’s credentials ( cred structure). Step 3 fails when the kernel’s commit_creds() function returns an error or when the kernel’s task_struct validation detects an inconsistency—like a UID that doesn’t match expected security capabilities.
Instead of running exploits inside Android via ADB, use or the BROM Exploit (Kamasis / Bypass) :
Ensure the binary is correctly transferred and has the proper permissions. From a command prompt or terminal:
Ensure you are using the correct architecture (32-bit vs 64-bit) for your device, as using the wrong one can cause "critical error" or "ELF" messages.
Bootloader locks or read-only file systems are blocking the exploit's initialization.
Use the official MediaTek Smart Phone Flash Tool (SP Flash Tool) to clean-install the old firmware package over your current version.
cat /proc/cmdline
: The binary may not have the correct execution permissions in the /data/local/tmp/ directory .
If the patch is later than mid-2020, mtk-su will likely not work. 4. Use adb to Directly Execute the Binary
tool (a script designed by "diplomatic" to exploit MediaTek vulnerabilities for temporary or bootless root access). This specific error typically indicates a failure during the initialization phase of the exploit, often related to permissions or system environment mismatches. about.gitlab.com Common Causes Permission Denied
Reach out to the MTK-su developers or visit forums related to your device or MTK-su for more specific advice. The community can offer valuable insights and solutions.
If your device received a software update after March 2020, your only option to use mtk-su is to roll back the firmware.
: Downgrading can be risky and may "brick" your device if not done correctly. Search for specific downgrade guides for your exact device model on XDA Developers Use the Latest Version : Ensure you are using the most recent release from the mtk-su XDA thread to ensure maximum compatibility with different kernels. about.gitlab.com alternative rooting method for your specific device model? permission denied mtk-su (#3) · Issue - GitLab