mirror of
https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf.git
synced 2024-07-01 02:18:44 +00:00
v5.0.1-v65
This commit is contained in:
parent
fbfdac6044
commit
4a2cdf6b11
|
@ -379,6 +379,12 @@ Releases from v4.0.0 are compatible with Magisk v19+.
|
|||
Releases from v5.0.0 are recommended for Magisk v19.4+.
|
||||
|
||||
## Changelog
|
||||
### v5.0.1
|
||||
- Fixed issue with settings being cleared when updating from earlier module versions. Sorry if anyone got all their custom props removed...
|
||||
- Fixed issue with creating a custom prints list.
|
||||
- Fixed issue with saving Magisk log.
|
||||
- Added fingerprint for Xiaomi Note 7 Pro. Fingerprints list updated to v65.
|
||||
|
||||
### v5.0.0
|
||||
- Updated possible locations for both the configuration and reset files (can now be placed in the root of internal storage, in /data or in /cache).
|
||||
- Updated device simulation so that all props now are disabled by default. Should hopefully make a few less careless users experience issues caused by the feature. NOTE! All simulation prop values will be disabled with this update. If you did have basic simulation enabled prior to the update, you have to manually enable it again.
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# Copyright (c) 2018-2019 Didgeridoohan @ XDA Developers
|
||||
# Licence: MIT
|
||||
|
||||
PRINTSV=64
|
||||
PRINTSV=65
|
||||
PRINTSTRANSF=350
|
||||
|
||||
# Certified fingerprints
|
||||
|
@ -216,6 +216,7 @@ Xiaomi Redmi Note 5 Pro (8.1.0 & 9)=xiaomi/whyred/whyred:8.1.0/OPM1.171019.011/V
|
|||
Xiaomi Redmi Note 5A Lite (7.1.2)=xiaomi/ugglite/ugglite:7.1.2/N2G47H/V9.1.2.0.NDFMIEI:user/release-keys
|
||||
Xiaomi Redmi Note 6 Pro (8.1.0)=xiaomi/tulip/tulip:8.1.0/OPM1.171019.011/V10.0.5.0.OEKMIFH:user/release-keys__2018-10-01
|
||||
Xiaomi Redmi Note 7 (9)=xiaomi/lavender/lavender:9/PKQ1.180904.001/V10.3.12.0.PFGMIXM:user/release-keys__2019-08-05
|
||||
Xiaomi Redmi Note 7 Pro (9)=xiaomi/violet/violet:9/PKQ1.181203.001/V10.3.13.0.PFHINXM:user/release-keys__2019-08-01
|
||||
Xiaomi Redmi Y1 (7.1.2)=xiaomi/ugg/ugg:7.1.2/N2G47H/V9.6.2.0.NDKMIFD:user/release-keys__2018-07-01
|
||||
ZTE Axon 7 (7.1.1 & 8.0.0)=ZTE/P996A01_N/ailsa_ii:7.1.1/NMF26V/20171211.005949:user/release-keys;ZTE/P996A01_O/ailsa_ii:8.0.0/OPR1.170623.032/20180815.171922:user/release-keys__2018-07-01
|
||||
ZTE Blade (6.0.1)=ZTE/P809A50_MY_MAX/P809A50:6.0.1/MMB29M/20161017.095504:user/release-keys
|
||||
|
|
|
@ -38,9 +38,6 @@ if [ "$INSTFN" ]; then
|
|||
$CACHELOC/propsconf_last.log
|
||||
"
|
||||
LOGFILE=$MHPCPATH/propsconf_install.log
|
||||
UPDATEV=$(get_file_value $UPDATELATEFILE "SCRIPTV=")
|
||||
UPDATETRANSF=$(get_file_value $UPDATELATEFILE "SETTRANSF=")
|
||||
NOTTRANSF=$(get_file_value $UPDATELATEFILE "NOTTRANSF=")
|
||||
SETTINGSLIST="
|
||||
FINGERPRINTENB
|
||||
PRINTMODULE
|
||||
|
@ -108,8 +105,8 @@ else
|
|||
TMPLOGLOC=$MHPCPATH/propslogs
|
||||
TMPLOGLIST="
|
||||
$MHPCPATH/defaultprops
|
||||
$MHPCPATH/magisk.log
|
||||
$MHPCPATH/magisk.log.bak
|
||||
$CACHELOC/magisk.log
|
||||
$CACHELOC/magisk.log.bak
|
||||
$MHPCPATH/propsconf*
|
||||
$MIRRORPATH/system/build.prop
|
||||
$MIRRORPATH/vendor/build.prop
|
||||
|
@ -140,7 +137,7 @@ PRINTSWWW="https://raw.githubusercontent.com/Magisk-Modules-Repo/MagiskHide-Prop
|
|||
PRINTSDEV="https://raw.githubusercontent.com/Didgeridoohan/Playground/master/prints.sh"
|
||||
PRINTFILES=$MODPATH/printfiles
|
||||
CSTMPRINTS=/sdcard/printslist
|
||||
CSTMFILE=$PRINTFILES/custom.sh
|
||||
CSTMFILE=$PRINTFILES/Custom.sh
|
||||
|
||||
# Known modules that edit device fingerprint
|
||||
USNFLIST="
|
||||
|
@ -882,6 +879,9 @@ system_prop_cont() {
|
|||
# ======================== Installation functions ========================
|
||||
# Places various module scripts in their proper places
|
||||
script_placement() {
|
||||
UPDATEV=$(get_file_value $UPDATELATEFILE "SCRIPTV=")
|
||||
UPDATETRANSF=$(get_file_value $UPDATELATEFILE "SETTRANSF=")
|
||||
NOTTRANSF=$(get_file_value $UPDATELATEFILE "NOTTRANSF=")
|
||||
if [ -f "$LATEFILE" ] && [ -d "$MODULESPATH/MagiskHidePropsConf" ]; then
|
||||
FILEV=$(get_file_value $LATEFILE "SCRIPTV=")
|
||||
FILETRANSF=$(get_file_value $LATEFILE "SETTRANSF=")
|
||||
|
@ -907,7 +907,7 @@ script_placement() {
|
|||
if [ "$FILEV" == 0 ]; then
|
||||
log_print "- Placing settings script"
|
||||
# Updated script with a required clearing of settings
|
||||
elif [ "$UPDATETRANSF" -gt "$FILETRANSF" ] && [ -z "$NOTTRANSF" ]; then
|
||||
elif [ "$UPDATETRANSF" -gt "$FILETRANSF" ] && [ ! "$NOTTRANSF" ]; then
|
||||
log_handler "Current transfer version - ${FILETRANSF}"
|
||||
log_handler "Update transfer version - ${UPDATETRANSF}"
|
||||
log_handler "No settings set to not transfer"
|
||||
|
@ -1027,7 +1027,7 @@ bin_check() {
|
|||
mv -f $MODPATH/system/binpath $MODPATH/system/$BIN >> $LOGFILE 2>&1
|
||||
}
|
||||
|
||||
# Check for late_start service boot script in post-fs-data.d, in case someone's moved it, delete the old propsconf_post boot script if present and remove a few old log files from /cache
|
||||
# Function for removing screwed up and old files.
|
||||
files_check() {
|
||||
if [ -f "$POSTLATEFILE" ]; then
|
||||
log_handler "Removing late_start service boot script from post-fs-data.d."
|
||||
|
@ -1043,6 +1043,10 @@ files_check() {
|
|||
rm -f $ITEM
|
||||
fi
|
||||
done
|
||||
if [ -f "" ]; then
|
||||
log_handler "Removing broken custom.sh file."
|
||||
$PRINTFILES/custom.sh
|
||||
fi
|
||||
}
|
||||
|
||||
# Update the device simulation variables if a fingerprint is set
|
||||
|
|
|
@ -44,10 +44,10 @@ print_modname() {
|
|||
# Load functions and variables
|
||||
INSTFN=true
|
||||
. $TMPDIR/util_functions.sh
|
||||
|
||||
|
||||
# Create install directory
|
||||
mkdir -pv $MHPCPATH
|
||||
|
||||
|
||||
# Start module installation log
|
||||
log_start
|
||||
# Check Magisk version
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
id=MagiskHidePropsConf
|
||||
name=MagiskHide Props Config
|
||||
version=v5.0.0-v64
|
||||
versionCode=48
|
||||
version=v5.0.1-v65
|
||||
versionCode=49
|
||||
author=Didgeridoohan
|
||||
description=Change your device's fingerprint, to pass SafetyNet's CTS Profile check. Set/reset prop values set by MagiskHide. Change any prop values easily, and set your own custom props.
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user