The error /system/bin/sh: su: inaccessible or not found typically occurs when the su binary, is either not installed or not accessible on a Android device. This could happen due to various reasons, including the device not being rooted or the su binary not being present in the expected location.
Here are some Steps to Fix the issue:
- Check if the device is rooted: Ensure that your Android device is rooted. If it’s not rooted, you won’t have the necessary permissions to execute the su command. Rooting procedures can vary between devices, and it’s essential to follow the appropriate method for your specific device model.
- Verify the presence of the su binary: Check if the su binary is present on your device. You can do this using a file explorer app or by connecting to the device via ADB and exploring the file system. The su binary is commonly located in the /system/xbin/ or /system/bin/ directory.
- Ensure proper root access: sometimes, even if the device is rooted and the superuser or su binary is present, the root access might not be properly configured. Verify that the Superuser or Magisk Manager app is installed and functioning correctly.
- Update or reinstall Superuser or Magisk: If you are using Superuser or Magisk for managing Root access, consider updating or reinstalling the respective application. Sometimes, issues can arise due to outdated or incompatible versions.
- Check for alternative root methods: Depending on your device and Android version, there might be alternative root methods or Custom ROMs that provide root access. Investigate the specific requirements and steps for your device.
Related:
- Download ADB Fastboot USB driver
- Download platform tools Latest Version
- How to fix fastboot driver error on AMD Processor