使用adb root报错“adbd cannot run as root in production builds”
步骤:
1.安装MagiskHide Props Config模块到面具
adb push MagiskHidePropsConf-v6.1.2 /data/local/tmp
在面具里安装这个模块
2.运行这个模块
adb shell
su
props
发现这里没有ro.debuggable这个属性,需要添加一个
New custom prop
Enter the prop to set. Example:
ro.sf.lcd_density