11#! /system/bin/sh
22
33# MagiskHide Props Config
4- # Copyright (c) 2018-2020 Didgeridoohan @ XDA Developers
4+ # Copyright (c) 2018-2021 Didgeridoohan @ XDA Developers
55# Licence: MIT
66
77# =================================================================
88# ======================= Configuration file ======================
99# =================================================================
1010
1111# Required module version (or newer). Do not edit this value!
12- CONFTRANSF=534
12+ CONFTRANSF=600
1313
1414# Device fingerprint
1515CONFFINGERPRINT=" "
@@ -42,7 +42,21 @@ CONFDEBUGGABLE=""
4242CONFSECURE=" "
4343CONFTYPE=" "
4444CONFTAGS=" "
45- CONFSELINUX=" "
45+ CONFBOOTMODE=" "
46+ CONFMODE=" "
47+ CONFVENDORMODE=" "
48+ CONFHWC=" "
49+ CONFHWCOUNTRY=" "
50+ CONFSTATE=" "
51+ CONFVERIFIEDBOOTSTATE=" "
52+ CONFVENDORVERIFIEDBOOTSTATE=" "
53+ CONFLOCKED=" "
54+ CONFVERITYMODE=" "
55+ CONFBOOTWARRANTY_BIT=" "
56+ CONFBIT=" "
57+ CONFVENDORBOOTWARRANTY_BIT=" "
58+ CONFVENDORWARRANTY_BIT=" "
59+ CONFVENDORDEVICE_STATE=" "
4660
4761# Set custom props
4862CONFPROPS=" "
@@ -106,10 +120,10 @@ CONFBACK=false
106120# post-fs-data or late_start service mode. This is useful if props don't seem to set
107121# propely or the module's boot script seems to be causing issues during boot.
108122#
109- # CONFPATCHBOOT is by default set to using late_start service boot stage for setting
123+ # CONFPATCHBOOT is by default set to using late_start service boot stage for setting
110124# ro.build.version.security_patch. If the setting is changed to "default" or "post",
111125# the prop will be set during either the default or post-fs-data stage. The
112- # late_start service boot stage is used by default as to not cause issues for devices with
126+ # late_start service boot stage is used by default as to not cause issues for devices with
113127# Keymaster 4 (bootloops). If the prop doesn't seem to set properly, try changing the stage.
114128
115129# CONFBASICATTEST is used to enable Forced BASIC attestation, which is done by changing the
@@ -133,12 +147,27 @@ CONFBACK=false
133147# post-fs-data or late_start service mode. This is useful if props don't seem to set
134148# propely or the module's boot script seems to be causing issues during boot.
135149
136- # The MagiskHide prop variables can be set as follows:
137- # CONFDEBUGGABLE - 0 or 1 (set to "0" by MagiskHide - sensitive value is "1")
138- # CONFSECURE - 0 or 1 (set to "1" by MagiskHide - sensitive value is "0")
139- # CONFTYPE - user or userdebug (set to "user" by MagiskHide - sensitive value is "userdebug")
140- # CONFTAGS - release-keys or test-keys (set to "release-keys" by MagiskHide - sensitive value is "test-keys")
141- # CONFSELINUX - 0 or 1 (set to "0" by MagiskHide - sensitive value is "1")
150+ # The MagiskHide prop variables can be set as follows
151+ # (note that these props are by default set to the safe value):
152+ # CONFDEBUGGABLE - 0 or 1 (sensitive value is "1")
153+ # CONFSECURE - 0 or 1 (sensitive value is "0")
154+ # CONFTYPE - user or userdebug (sensitive value is "userdebug")
155+ # CONFTAGS - release-keys or test-keys (sensitive value is "test-keys")
156+ # CONFBOOTMODE - unknown or recovery (sensitive value is "recovery")
157+ # CONFMODE - unknown or recovery (sensitive value is "recovery")
158+ # CONFVENDORMODE - unknown or recovery (sensitive value is "recovery")
159+ # CONFHWC - GLOBAL or CN (sensitive value is CN)
160+ # CONFHWCOUNTRY - GLOBAL or China (sensitive value is China)
161+ # CONFSTATE - locked or unlocked (sensitive value is unlocked)
162+ # CONFVERIFIEDBOOTSTATE - green or orange (sensitive value is orange)
163+ # CONFVENDORVERIFIEDBOOTSTATE - green or orange (sensitive value is orange)
164+ # CONFLOCKED - 1 or 0 (sensitive value is 0)
165+ # CONFVERITYMODE - enforcing or permissive (sensitive value is permissive)
166+ # CONFBOOTWARRANTY_BIT - 0 or 1 (sensitive value is "1")
167+ # CONFBIT - 0 or 1 (sensitive value is "1")
168+ # CONFVENDORBOOTWARRANTY_BIT - 0 or 1 (sensitive value is "1")
169+ # CONFVENDORWARRANTY_BIT - 0 or 1 (sensitive value is "1")
170+ # CONFVENDORDEVICE_STATE - locked or unlocked (sensitive value is unlocked)
142171
143172# CONFPROPS should contain any custom props and the value you want the module to set.
144173# Any props you've previously edited in build.prop, and more, can be set like this.
0 commit comments