diff --git a/README.md b/README.md index dffda27..c6f64f9 100644 --- a/README.md +++ b/README.md @@ -186,7 +186,11 @@ If you can't run the `props` script for some reason, the logs are also stored in ## Changelog -### v2.3.2 +### v2.3.4 +- Updated for Busybox v1.29.1. Thank you @osm0sis. +- Bugfixes. Because I'm blind. + +### v2.3.3 - Tiny update for installation logic and documentation. - Also added and updated a whole bunch of fingerprints (Huawei Honor 6X, Sony Xperia X Dual, X Compact, X Performance Dual, XZ Dual, XZ Premium, XZ Premium Dual, XZ1, XZ2, XZ2 Dual, XZ2 Compact, XZ2 Compact Dual and Xiaomi Mi5/5 Pro), list v22. @@ -403,4 +407,4 @@ If you can't run the `props` script for some reason, the logs are also stored in - Xiaomi Redmi Note 5 Pro (8.1.0) - ZTE Axon 7 (7.1.1) - ZTE Nubia Z17 (7.1.1) -- Zuk Z2 Pro (7.0) +- Zuk Z2 Pro (7.0) \ No newline at end of file diff --git a/common/util_functions.sh b/common/util_functions.sh index a51b4f1..d11787b 100644 --- a/common/util_functions.sh +++ b/common/util_functions.sh @@ -1014,5 +1014,6 @@ collect_logs() { } # Log print +BBV=$($BBPATH | grep "BusyBox v" | sed 's|.*BusyBox ||' | sed 's| (.*||') log_handler "Functions loaded." -log_handler "Using busybox: ${BBPATH}." \ No newline at end of file +log_handler "Using busybox: ${BBPATH} (${BBV})." \ No newline at end of file diff --git a/config.sh b/config.sh index 733a2fa..4f44656 100644 --- a/config.sh +++ b/config.sh @@ -139,6 +139,7 @@ fi INSTLOG=$CACHELOC/propsconf_install.log UPDATEV=$(get_file_value $UPDATELATEFILE "SCRIPTV=") SETTRANSF=$(get_file_value $UPDATELATEFILE "SETTRANSF=") +BBCURR=1.29.1 if [ "$ARCH" == "x64" ]; then BBARCH=x86_64 else @@ -320,7 +321,8 @@ usnf_check() { # Check for bin/xbin bin_check() { - if [ -d "/sbin/.core/mirror/system/xbin" ]; then + $BOOTMODE && BINCHECK=/sbin/.core/mirror/system/xbin || BINCHECK=/system/xbin + if [ -d "$BINCHECK" ]; then BIN=xbin else BIN=bin @@ -349,11 +351,10 @@ post_check() { # Check installed busybox check_bb() { - BBCURR=1.28.4 if [ -f "$IMGPATH/$MODID/busybox" ]; then BBV=$($IMGPATH/$MODID/busybox | grep "BusyBox v" | sed 's|.*BusyBox v||' | sed 's|-osm0sis.*||') log_handler "Current/installed busybox - v${BBCURR}/v${BBV}." - if [ "$BBCURR" == "$BBV" ]; then + if [ "$BBCURR" -le "$BBV" ]; then log_handler "Backing up current busybox." cp -af $IMGPATH/$MODID/busybox $CACHELOC/busybox_post >> $INSTLOG fi diff --git a/module.prop b/module.prop index c0686d5..eac1787 100644 --- a/module.prop +++ b/module.prop @@ -1,7 +1,7 @@ id=MagiskHidePropsConf name=MagiskHide Props Config -version=v2.3.3-v22 -versionCode=19 +version=v2.3.4-v22 +versionCode=20 author=Didgeridoohan description=Change your device's fingerprint, to pass SafetyNet's CTS Profile check. Edit prop files for better root hiding. Set/reset prop values set by MagiskHide. Change any prop values easily. minMagisk=1500 diff --git a/system/binpath/props b/system/binpath/props index f9debfb..b56ba0c 100644 Binary files a/system/binpath/props and b/system/binpath/props differ