topjohnwu / Magisk

The Magic Mask for Android
GNU General Public License v3.0
47.61k stars 12.09k forks source link

adbd root and magisk hide conflict #3648

Closed CCint3 closed 3 years ago

CCint3 commented 3 years ago

Device: pixel Rom: 10.0.0 (QP1A.191005.007.A3, Dec 2019)

I used a hexadecimal editor to modify the system.img and vendor.img files so that adbd has root privileges.

But when I opened magisk hide and restarted the device, the adbd root privileges became normal privileges.

How should this be resolved? After MAGISK HIDE is opened, ADBD still has root privileges?

topjohnwu commented 3 years ago

MagiskHide changes props that disable ADBD root, there is no way around it