From cb6cb91af3f50b111b53c5617e8f4962b3821ce5 Mon Sep 17 00:00:00 2001 From: Didgeridoohan Date: Thu, 27 Feb 2020 06:46:23 +0100 Subject: [PATCH] v5.2.2 --- META-INF/com/google/android/update-binary | 2 +- README.md | 3 +++ common/util_functions.sh | 4 ++-- module.prop | 4 ++-- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/META-INF/com/google/android/update-binary b/META-INF/com/google/android/update-binary index 08bd14f..2eebc61 100755 --- a/META-INF/com/google/android/update-binary +++ b/META-INF/com/google/android/update-binary @@ -7,4 +7,4 @@ # And replace this script with the downloaded script # Error, this script should always be replaced -exit 1 +exit 1 \ No newline at end of file diff --git a/README.md b/README.md index efdc337..1c0991a 100644 --- a/README.md +++ b/README.md @@ -451,6 +451,9 @@ Releases from v4.0.0 are compatible with Magisk v19+. Releases from v5.0.0 are recommended for Magisk v19.4+. ## Changelog +### v5.2.2 +- Another quick fix taking care of a weird copy-pasta error that broke manufacturer and model simulation. + ### v5.2.1 - Quick fix for broken fingerprints list and settings export. diff --git a/common/util_functions.sh b/common/util_functions.sh index 98e3105..799cce4 100644 --- a/common/util_functions.sh +++ b/common/util_functions.sh @@ -1484,8 +1484,8 @@ print_parts() { TMPPARTS=$(get_eq_left "$(grep $1 $CSTMPRINTS)" | sed 's|.*)\:||') fi if [ $(echo $TMPPARTS | grep -o "\:" | wc -l) == 1 ]; then - replace_fn SIMMANUFACTURER "\"$SIMMANUFACTURER\"" "\"\"" $LATEFILE - replace_fn SIMMODEL "\"\"" $LATEFILE + replace_fn SIMMANUFACTURER "\"$SIMMANUFACTURER\"" "\"$(echo $TMPPARTS | cut -f 1 -d ':')\"" $LATEFILE + replace_fn SIMMODEL "\"$SIMMODEL\"" "\"$(echo $TMPPARTS | cut -f 2 -d ':')\"" $LATEFILE else replace_fn SIMMANUFACTURER "\"$SIMMANUFACTURER\"" "\"\"" $LATEFILE replace_fn SIMMODEL "\"$SIMMODEL\"" "\"\"" $LATEFILE diff --git a/module.prop b/module.prop index ca3f0ed..ff1be29 100644 --- a/module.prop +++ b/module.prop @@ -1,6 +1,6 @@ id=MagiskHidePropsConf name=MagiskHide Props Config -version=v5.2.1-v78 -versionCode=54 +version=v5.2.2-v78 +versionCode=55 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.