Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

小米9 内核4.14通过使用 kprobe 集成,app正常工作,shell 使用su 提示 /system/bin/su: No such file or directory #502

Closed
wang-weart opened this issue May 16, 2023 · 4 comments

Comments

@wang-weart
Copy link

wang-weart commented May 16, 2023

Screenshot_20230514-231434_KernelSU
Screenshot_20230514-231421_KernelSU
Snipaste_2023-05-16_13-45-33
内核源码地址 https://github.com/PixelExperience-Devices/kernel_xiaomi_cepheus 分支13
log 文件 中发现一段这个日志
[ 0.569519] KernelSU: ksu_lsm_hook_init
[ 0.570132] i2c_geni 890000.i2c: i2c error :-107
[ 0.570245] i2c_geni 890000.i2c: i2c error :-107
[ 0.570248] idtp9220 0-003b: vout regulator get vol: 0
[ 0.587522] KernelSU: sucompat: execve_kp: -2
[ 0.588473] KernelSU: sucompat: newfstatat_kp: 0
[ 0.589370] KernelSU: sucompat: faccessat_kp: 0
[ 0.606246] KernelSU: : -2
[ 0.607015] KernelSU: ksud: vfs_read_kp: 0
[ 0.610245] KernelSU: ksud: input_handle_event_kp: 0
是因为kprobe 导致的吗?
KernelSU_bugreport_2023-05-14_18_59.tar.gz

@wang-weart
Copy link
Author

已解决

@NitroGear504
Copy link

已解决

How do you solved it ?

@wang-weart
Copy link
Author

已解决

How do you solved it ?

不要使用kprobe 集成,使用修改源码方式集成

@NitroGear504
Copy link

已解决

How do you solved it ?

不要使用kprobe 集成,使用修改源码方式集成

Can you explain your steps to solve this

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants