init: Spoof additional props
Change-Id: I3a22f2a923628c54462ed878f2c98a228d355f60 Signed-off-by: Alvin Francis <nivlafx@gmail.com>
This commit is contained in:
parent
d306178c83
commit
afee2eb6bf
1 changed files with 3 additions and 0 deletions
|
|
@ -1426,6 +1426,8 @@ static void SetSafetyNetProps() {
|
|||
InitPropertySet("ro.boot.warranty_bit", "0");
|
||||
InitPropertySet("ro.warranty_bit", "0");
|
||||
InitPropertySet("ro.debuggable", "0");
|
||||
InitPropertySet("ro.force.debuggable", "0");
|
||||
InitPropertySet("ro.adb.secure", "1");
|
||||
InitPropertySet("ro.secure", "1");
|
||||
InitPropertySet("ro.bootimage.build.type", "user");
|
||||
InitPropertySet("ro.build.type", "user");
|
||||
|
|
@ -1443,6 +1445,7 @@ static void SetSafetyNetProps() {
|
|||
InitPropertySet("vendor.boot.vbmeta.device_state", "locked");
|
||||
InitPropertySet("vendor.boot.verifiedbootstate", "green");
|
||||
InitPropertySet("oplusboot.verifiedbootstate", "green");
|
||||
InitPropertySet("sys.oem_unlock_allowed", "0");
|
||||
}
|
||||
|
||||
void PropertyInit() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue