MagiskHidePropsConf/common/propsconf_conf

110 lines
4.6 KiB
Plaintext
Raw Normal View History

2018-04-15 22:05:33 +00:00
#!/system/bin/sh
# MagiskHide Props Config
# By Didgeridoohan @ XDA Developers
CONFFINGERPRINT=""
CONFPROPFILES=false
CONFDEBUGGABLE=""
CONFSECURE=""
CONFTYPE=""
CONFTAGS=""
CONFSELINUX=""
CONFPROPS=""
2018-09-04 07:55:57 +00:00
CONFPROPSPOST=""
CONFPROPSLATE=""
2018-04-15 22:05:33 +00:00
PROPOPTION=replace
2018-06-19 09:56:08 +00:00
CONFDELPROPS=""
DELPROPOPTION=replace
2018-08-07 12:01:55 +00:00
CONFLATE=false
2018-04-15 22:05:33 +00:00
CONFCOLOUR=enabled
CONFWEB=enabled
# =================================================================
# ========================== Instructions =========================
# =================================================================
# Set the above variables to the desired prop/configuration values.
2018-08-07 11:50:01 +00:00
2018-04-15 22:05:33 +00:00
# CONFFINGERPRINT should be set to the fingerprint of a ROM that passes
# the ctsProfile check. See the prints.sh file for usable prints,
# or the documentation for information on how to find one.
2018-10-21 14:17:11 +00:00
# Note that Android Pie fingerprints often also need to match the Android
# security patch date. Use the CONFPROPS setting to set ro.build.version.security_patch
# to the matching date (example: 2018-10-05).
2018-08-07 11:50:01 +00:00
2018-04-15 22:05:33 +00:00
# CONFPROPFILES should be set to "true" if you want to mask the file
# values in build.prop and default.prop. For better root hiding.
2018-08-07 11:50:01 +00:00
2018-04-15 22:05:33 +00:00
# The MagiskHide prop variables can be set as follows:
# CONFDEBUGGABLE - 0 or 1 (set to "0" by MagiskHide - sensitive value is "1")
# CONFSECURE - 0 or 1 (set to "1" by MagiskHide - sensitive value is "0")
# CONFTYPE - user or userdebug (set to "user" by MagiskHide - sensitive value is "userdebug")
# CONFTAGS - release-keys or test-keys (set to "release-keys" by MagiskHide - sensitive value is "test-keys")
# CONFSELINUX - 0 or 1 (set to "0" by MagiskHide - sensitive value is "1")
2018-08-07 11:50:01 +00:00
2018-04-15 22:05:33 +00:00
# CONFPROPS should contain any custom props and the value you want the module to set.
# Any props you've previously edited in build.prop, and more, can be set like this.
2018-04-25 22:17:32 +00:00
# Add them to the CONFPROPS variable according to the following example:
2018-04-15 22:05:33 +00:00
# CONFPROPS="
# ro.sf.lcd_density=320
# ro.config.media_vol_steps=30
# net.tethering.noprovisioning=true
# "
2018-07-19 19:47:43 +00:00
# Please observe that if the prop you're trying to set contains spaces, you'll
# need to replace those spaces with "_sp_" (without the quotation marks).
#
2018-09-04 07:55:57 +00:00
# If you want a specific prop to run in either post-fs-data or late_start service,
# use either CONFPROPSPOST or CONFPROPSLATE instead. Any props added to CONFPROPS
# will run in the boot stage currently set in the module options (see CONFLATE below).
#
2018-04-15 22:05:33 +00:00
# With PROPOPTION you can decide if the current custom prop list should
# be replaced, added to or preserved. Add the corresponding words "replace",
# "add", or "preserve". The default option is to replace the list.
# This option supersedes the preserve option described below, but only
2018-09-04 07:55:57 +00:00
# for the CONFPROPS variables.
2018-08-07 11:50:01 +00:00
2018-06-19 09:56:08 +00:00
# CONFDELPROPS is a list of props you want to remove from your system.
# Be very careful when using this option, removing the wrong props might
# cause issues.
# Add the props you want to remove to the CONFDELPROPS variable according to
# the following example:
# CONFDELPROPS="
# ro.sf.lcd_density
# ro.config.media_vol_steps
# net.tethering.noprovisioning
# "
2018-07-19 19:47:43 +00:00
#
2018-06-19 09:56:08 +00:00
# With DELPROPOPTION you can decide if the current custom prop list should
# be replaced, added to or preserved. Add the corresponding words "replace",
# "add", or "preserve". The default option is to replace the list.
# This option supersedes the preserve option described below, but only
# for the CONFDELPROPS variable.
2018-08-07 11:50:01 +00:00
2018-08-07 12:01:55 +00:00
# CONFLATE is by default set to "false". This loads the boot script during the
# post-fs-data mode. If the setting is changed to "true", the boot script
# will instead be loaded later during boot, in the late_start service mode. This is
# useful if the module's boot script seems to be causing issues during boot.
2018-05-29 07:29:19 +00:00
#
2018-04-15 22:05:33 +00:00
# CONFCOLOUR and CONFWEB are the options for colour and automatic fingerprints
2018-10-21 14:17:11 +00:00
# list update. See the module documentation for more details. Set to "enabled" or "disabled".
2018-08-07 11:50:01 +00:00
2018-04-15 22:05:33 +00:00
# If any variables are left unset, that particular prop/configuration
# will be cleared and the device/MagiskHide default values will be used.
# If you want to keep any current module settings, add "preserve" to the variable.
# Example:
# CONFFINGERPRINT=preserve
2018-08-07 11:50:01 +00:00
2018-06-19 09:56:08 +00:00
# When placed in /cache or the root of your internal storage, the module will load these
# values during boot and the configuration file will be deleted. Keep a backup of the
# file if you want to reuse it at a later time (clean ROM flash, etc).
2018-08-07 11:50:01 +00:00
2018-04-15 22:05:33 +00:00
# For more information, see the documentation:
# https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md
# and the support thread @ XDA Developers:
2018-08-07 12:01:55 +00:00
# https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-t3789228