Skip to content

Commit

Permalink
Support more security values.
Browse files Browse the repository at this point in the history
  • Loading branch information
LeviMarvin committed Dec 29, 2022
1 parent 5fbf7e1 commit 35b35fc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions customize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ ui_print " ro.boot.verifiedbootstate=$(getprop ro.boot.verifiedbootstate)"
ui_print " ro.boot.veritymode=$(getprop ro.boot.veritymode)"
ui_print " ro.debuggable=$(getprop ro.debuggable)"
ui_print " ro.secure=$(getprop ro.secure)"
ui_print " ro.secureboot.devicelock=$(getprop ro.secureboot.devicelock)"
ui_print " ro.secureboot.lockstate=$(getprop ro.secureboot.lockstate)"
ui_print " vendor.boot.vbmeta.device_state=$(getprop vendor.boot.vbmeta.device_state)"
ui_print " sys.oem_unlock_allowed=$(getprop sys.oem_unlock_allowed)"
ui_print " ro.boot.hwc=$(getprop ro.boot.hwc)"
Expand Down
4 changes: 2 additions & 2 deletions module.prop
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id=root-masker
name=Root Masker
version=1.0
versionCode=1
version=1.1.0
versionCode=10100
author=Levi_Marvin / 酷安@日暮清林
description=Hide your unlocked bootloader and root permission. Tested on MIUI.
3 changes: 2 additions & 1 deletion system.prop
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@ ro.boot.verifiedbootstate=green
ro.boot.veritymode=enforcing
ro.debuggable=0
ro.secure=1
ro.secureboot.devicelock=1
ro.secureboot.lockstate=locked

vendor.boot.vbmeta.device_state=locked
sys.oem_unlock_allowed=0

# MIUI
ro.boot.hwc=GLOBAL
ro.boot.hwcountry=GLOBAL

# Others
ro.bootmode=unknown
Expand Down

0 comments on commit 35b35fc

Please sign in to comment.