82aeb3d402
Some devices (Like Samsung Galaxy J6) has integrity check. This means that all files outside of /system are signed by the OEM. Since we replaced /sbin/adbd, that's an issue. Workaround this by creating a new service, called adbd_system, which will called instead of /sbin/adbd when needed
9 lines
225 B
Plaintext
9 lines
225 B
Plaintext
service adbd_system /system/bin/adbd --root_seclabel=u:r:su:s0
|
|
class core
|
|
socket adbd stream 660 system system
|
|
disabled
|
|
seclabel u:r:adbd:s0
|
|
|
|
on property:sys.usb.state=adb && property:sys.phh.five=true
|
|
start adbd_system
|