APatch icon indicating copy to clipboard operation
APatch copied to clipboard

adb shell使用su命令提示 /system/bin/su: No such file or directory

Open jecelyin opened this issue 1 month ago • 3 comments

Please check before submitting an issue/在提交 issue 前请检查

  • [X] I have searched the issues and haven't found anything relevant/我已经搜索了 issues 列表,没有发现于本问题相关内容
  • [X] If patch failed, root failed, or device unable to boot after flashing the new boot.img. Please goto KernelPatch/修复失败或刷入修补后镜像不能启动,请前往 KernelPatch 提问
  • [X] I will upload bugreport file in APatch Manager - Settings - Report log/我会上传 bureport 文件从 APatch 管理器 - 设置 - 发送日志
  • [X] I know how to reproduce the issue which may not be specific to my device/我知道如何重新复现这个问题

Version requirement/版本要求

  • [X] I am using latest CI version of APatch/我正在使用最新 CI 版本

Describe the bug/描述 bug

adb shell 之后,死活拿不到root,其他应用可以正常root

lime:/ $ su
/system/bin/sh: /system/bin/su: No such file or directory

Reproduce method/复现方法

已经试过unchecked com.android.shell 重启系统后再checked,然后adb shell 还是不行

Expected behavior/预期行为

如何做可以正常su,ls查看 /system/bin/su 是存在的

Actual behaviour /实际行为

/system/bin/sh: /system/bin/su: No such file or directory

Screenshots/截图

No response

Logs/日志

No response

Device Name/设备名称

Redmi Note 9 4G

OS Version/系统版本

12

APatch Version/APatch 版本

10763

Kernel Version/内核版本

4.19.157

KernelPatch Version/KernelPatch 版本

0.10.7

Additional context/其他信息

boot.img是通过Manager应用右上角Patch得到新的boot.img然后fastboot flash boot上去

jecelyin avatar May 09 '24 06:05 jecelyin