adb_root
adb_root copied to clipboard
安装模块后无法在PC连接adb甚至mtp
疑似是被selinux挡住了
root方案:KernelSU(11155) 内核版本:5.4.250-qgki-g6dd0584d 设备:一加9RT ROM:类原生(PixelExperience) 模块版本:v1.1 日志:KernelSU_bugreport_2023-07-25_23_14.tar.gz
不同设备,也不用重复提交吧…… https://github.com/tiann/adb_root/issues/8
不同设备,也不用重复提交吧…… #8
我主要是看报错内容不一样才另开issue的
不同设备,也不用重复提交吧…… #8
我主要是看报错内容不一样才另开issue的
就是同一个啊……我说的是电脑上什么设备都连不上。你说TPM和adb都连不上。这不同一个意思?
不同设备,也不用重复提交吧…… #8
我主要是看报错内容不一样才另开issue的
就是同一个啊……我说的是电脑上什么设备都连不上。你说TPM和adb都连不上。这不同一个意思?
我是指日志,你那里日志直接显示crash了
[ 23.042383] apexd: Native process 'adbd' is crashing. Attempting a revert
[ 23.042443] apexd: Revert failed : Revert requested, when there are no active sessions.
[ 23.042587] apexd: Deleting unused dm device com.android.adbd
[ 23.042882] apexd: Didn't generate uevent for [com.android.adbd] removal
[ 23.042890] apexd: Failed to delete dm-device com.android.adbd
我这边显示的是被SELinux挡住了,出错的原理不同
[ 14.602522] init: starting service 'adbd'...
[ 14.603359] init: Created socket '/dev/socket/adbd', mode 660, user 1000, group 1000
[ 14.621035] type=1400 audit(1690297785.832:327): avc: denied { read } for comm="adbd" name="__properties__" dev="tmpfs" ino=11158 scontext=u:r:adbd:s0 tcontext=u:object_r:properties_device:s0 tclass=dir permissive=1
[ 14.621392] type=1400 audit(1690297785.832:328): avc: denied { open } for comm="adbd" path="/dev/__properties__" dev="tmpfs" ino=11158 scontext=u:r:adbd:s0 tcontext=u:object_r:properties_device:s0 tclass=dir permissive=1
[ 14.621602] type=1400 audit(1690297785.832:329): avc: denied { map } for comm="adbd" path="/dev/__properties__" dev="tmpfs" ino=11158 scontext=u:r:adbd:s0 tcontext=u:object_r:properties_device:s0 tclass=dir permissive=1
[ 14.621774] type=1400 audit(1690297785.832:330): avc: denied { read } for comm="adbd" name="stat" dev="proc" ino=4026532127 scontext=u:r:adbd:s0 tcontext=u:object_r:proc_stat:s0 tclass=file permissive=1
[ 14.621899] type=1400 audit(1690297785.832:331): avc: denied { open } for comm="adbd" path="/proc/stat" dev="proc" ino=4026532127 scontext=u:r:adbd:s0 tcontext=u:object_r:proc_stat:s0 tclass=file permissive=1
[ 14.621989] type=1400 audit(1690297785.832:332): avc: denied { getattr } for comm="adbd" path="/proc/stat" dev="proc" ino=4026532127 scontext=u:r:adbd:s0 tcontext=u:object_r:proc_stat:s0 tclass=file permissive=1
[ 14.622119] type=1400 audit(1690297785.832:333): avc: denied { execute_no_trans } for comm="adbd" path="/apex/com.android.adbd/bin/adbd.real" dev="loop31" ino=57584 scontext=u:r:adbd:s0 tcontext=u:object_r:adbd_exec:s0 tclass=file permissive=1