Add corresponding properties
Add the following statement to the corresponding mk file:
Makefile:
device/(Product)/(Platform)/(Platform).mk
Add_line:
PRODUCT_PROPERTY_OVERRIDES += \
ro.boot.wificountrycode=CN
Confirm after compiling
Check whether the corresponding properties are added successfully in the build.prop file in the out/target/product/ Platform /system/ directory or in the out/target/product/ Platform /vendor/ directory :
build.prop
ro.boot.wificountrycode=CN