Default ROOT
Temporary modification method
adb shell setprop persist.sys.root_access 3Code modification method
-
Android7.1/Android10.0
- In the
device/rockchip/CPU_TYPE/PRODUCT_TYPE/system.propfile, add the following content:
persist.sys.root_access=3 - In the
-
Android11 and above
- Add the following content in the
device/rockchip/CPU_TYPE/PRODUCT_TYPE/PRODUCT_TYPE.mkfile:
PRODUCT_PROPERTY_OVERRIDES += persist.sys.root_access=3 - Add the following content in the
-
Delete build.prop in the out directory
rm out/target/product/PRODUCT_TYPE/obj/ETC/system_build_prop_intermediates/build.prop

