diff --git a/README.md b/README.md index 3d7f8ec..d3fbbd3 100644 --- a/README.md +++ b/README.md @@ -235,7 +235,7 @@ Once you have the file downloaded, there are several different ways that the fin #### The Android Dumps method -Android Dumps is a great resource for finding props for different devices. [Check it out here](https://dumps.tadiphone.dev/dumps). +Android Dumps is a great resource for finding props for different devices. [Check it here](https://dumps.tadiphone.dev/dumps). #### The firmware.mobi method @@ -271,7 +271,7 @@ Just run the `props` command and the list will be updated automatically. Use the If you already have a device fingerprint set by the module, and it has been updated in the current fingerprints list, it will be automatically updated when the prints list gets an update. Just reboot to apply. This function can be turned of in the script settings (see ["Prop script settings"](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config#prop-script-settings) below) -**_Current fingerprints list version - v130_** +**_Current fingerprints list version - v131_** ## Please add support for device X @@ -569,6 +569,12 @@ Releases from v5.4.0 will only install on Magisk v20.4+. ## Changelog +### v5.4.1 +- Changed internet connection test to use Github rather than Google, for users that do not have access to Google in their countries. +- Fixed a bug where prop values containing equal signs would be truncated. +- Fix error message in log regarding copying system.prop during module installation. +- Added fingerprints for the POCO F3 (Europe, Global, Indonesia, Russia, Taiwan and Turkey) and Redmi K40 China and updated the fingerprint for the Xiaomi Mi 8 Explorer. Fingerprints list updated to v131. + ### v5.4.0 - Removed "Force BASIC key attestation". Google has once again updated SafetyNet and this method no longer works to pass CTS on devices with hardware backed key attestation. Use @kdrag0n's Magisk module instead: https://forum.xda-developers.com/t/magisk-module-universal-safetynet-fix-1-1-0.4217823 - Added fingerprint for the Fairphone 3/3 Plus. List updated to v113. @@ -962,7 +968,7 @@ Releases from v5.4.0 will only install on Magisk v20.4+. ## Current fingerprints list -### List v130 +### List v131 - Asus ROG Phone 3 ZS661KS (10) - Asus ROG Phone 5 ZS673KS (10) - Asus ZenFone 2 Laser ASUS_Z00LD (6.0.1) diff --git a/common/prints.sh b/common/prints.sh index 74f8b49..b4817dc 100644 --- a/common/prints.sh +++ b/common/prints.sh @@ -4,12 +4,12 @@ # Copyright (c) 2018-2020 Didgeridoohan @ XDA Developers # Licence: MIT -PRINTSV=130 +PRINTSV=131 PRINTSTRANSF=520 # Certified fingerprints -# Current fingerprints count=686 -# Unique devices=475 +# Current fingerprints count=693 +# Unique devices=482 PRINTSLIST=" Asus ROG Phone 3 ZS661KS (10):Asus:ZS661KS=asus/WW_I003D/ASUS_I003_1:10/QKQ1.200419.002/17.0823.2012.122-0:user/release-keys__2020-12-01 Asus ROG Phone 5 ZS673KS (10):Asus:ZS673KS=asus/WW_I005D/ASUS_I005_1:11/RKQ1.201022.002/18.0840.2103.26-0:user/release-keys__2021-03-05 @@ -237,7 +237,13 @@ OPPO Find X2 Neo Europe CPH2009 (10 & 11):OPPO:CPH2009=OPPO/CPH2009EEA/OP4C2DL1: OPPO Neo 7 A33w (5.1):Oppo:A33w=OPPO/A33w/A33w:5.1/LMY47I/1487829433:user/release-keys OPPO Neo 7 A1603 (5.1):Oppo:A1603=OPPO/A1603/A1603:5.1/LMY47I/1489407760:user/release-keys POCO F2 Pro Europe (10):POCO:POCO F2 Pro=POCO/lmi_eea/lmi:10/QKQ1.191117.002/V12.0.3.0.QJKEUXM:user/release-keys__2020-09-01 -POCO F2 Pro Global (10 & 11):Xiaomi:POCO F2 Pro=POCO/lmi_global/lmi:10/QKQ1.191117.002/V12.0.4.0.QJKMIXM:user/release-keys__2020-09-01;POCO/lmi_global/lmi:11/RKQ1.200826.002/V12.5.1.0.RJKMIXM:user/release-keys__2021-06-01 +POCO F2 Pro Global (10 & 11):POCO:POCO F2 Pro=POCO/lmi_global/lmi:10/QKQ1.191117.002/V12.0.4.0.QJKMIXM:user/release-keys__2020-09-01;POCO/lmi_global/lmi:11/RKQ1.200826.002/V12.5.1.0.RJKMIXM:user/release-keys__2021-06-01 +POCO F3 Europe (11):POCO:M2012K11AG=POCO/alioth_eea/alioth:11/RKQ1.200826.002/V12.5.3.0.RKHEUXM:user/release-keys__2021-06-01 +POCO F3 Global (11):POCO:M2012K11AG=POCO/alioth_global/alioth:11/RKQ1.200826.002/V12.5.2.0.RKHMIXM:user/release-keys__2021-05-01 +POCO F3 Indoniesia (11):POCO:M2012K11AG=POCO/alioth_id/alioth:11/RKQ1.200826.002/V12.5.2.0.RKHIDXM:user/release-keys__2021-06-01 +POCO F3 Russia (11):POCO:M2012K11AG=POCO/alioth_ru/alioth:11/RKQ1.200826.002/V12.5.3.0.RKHRUXM:user/release-keys__2021-06-01 +POCO F3 Taiwan (11):POCO:M2012K11AG=POCO/alioth_global/alioth:11/RKQ1.200826.002/V12.5.2.0.RKHTWXM:user/release-keys__2021-06-01 +POCO F3 Turkey (11):POCO:M2012K11AG=POCO/alioth_tr/alioth:11/RKQ1.200826.002/V12.5.2.0.RKHTRXM:user/release-keys__2021-06-01 POCO M3 Pro 5G Indonesia (11):POCO:M2103K19PG=POCO/camellian_p_id/camellian:11/RP1A.200720.011/V12.0.3.0.RKSIDXM:user/release-keys__2021-06-01 POCO X2 (10):POCO:POCO X2=POCO/phoenixin/phoenixin:10/QKQ1.190825.002/V12.0.2.0.QGHINXM:user/release-keys__2020-10-01 POCO X3 NFC Europe (10 & 11):POCO:M2007J20CG=POCO/surya_eea/surya:10/QKQ1.200512.002/V12.0.7.0.QJGEUXM:user/release-keys__2020-11-01;POCO/surya_eea/surya:11/RKQ1.200826.002/V12.0.7.0.RJGEUXM:user/release-keys__2021-04-01 @@ -252,6 +258,7 @@ Redmi K30 Pro China (10):Redmi:Redmi K30 Pro=Redmi/lmi/lmi:10/QKQ1.191117.002/V1 Redmi K30 Pro Zoom Edition China (10):Redmi:Redmi K30 Pro Zoom Edition=Redmi/lmipro/lmipro:10/QKQ1.191117.002/V11.0.16.0.QJKCNXM:user/release-keys__2020-04-01 Redmi K30 Ultra China (10):Redmi:M2006J10C=Redmi/cezanne/cezanne:10/QP1A.190711.020/V12.0.12.0.QJNCNXM:user/release-keys__2020-09-01 Redmi K30S Ultra China (10):Redmi:M2007J3SC=Redmi/apollo/apollo:10/QKQ1.200419.002/V12.0.3.0.QJDCNXM:user/release-keys__2020-09-01 +Redmi K40 China (11):Redmi:M2012K11AC=Redmi/alioth/alioth:11/RKQ1.200826.002/V12.5.5.0.RKHCNXM:user/release-keys__2021-07-01 Redmi Note 8 Pro Europe (10 & 11):Redmi:Redmi Note 8 Pro=Redmi/begonia_eea/begonia:10/QP1A.190711.020/V12.0.4.0.QGGEUXM:user/release-keys__2021-02-01;Redmi/begonia_eea/begonia:11/RP1A.200720.011/V12.5.2.0.RGGEUXM:user/release-keys__2021-07-01 Redmi Note 8 Pro Global (9 & 10):Redmi:Redmi Note 8 Pro=Redmi/begonia/begonia:9/PPR1.180610.011/V10.4.1.0.PGGMIXM:user/release-keys__2019-09-01;Redmi/begonia/begonia:10/QP1A.190711.020/V12.0.3.0.QGGMIXM:user/release-keys__2020-08-01 Redmi Note 8 Pro India (9 & 10):Redmi:Redmi Note 8 Pro=Redmi/begoniain/begoniain:9/PPR1.180610.011/V10.4.4.0.PGGINXM:user/release-keys__2019-09-01;Redmi/begoniain/begoniain:10/QP1A.190711.020/V11.0.2.0.QGGINXM:user/release-keys__2020-02-01 @@ -402,7 +409,7 @@ Xiaomi Mi 5S Global (7.0):Xiaomi:MI 5s=Xiaomi/capricorn/capricorn:7.0/NRD90M/V9. Xiaomi Mi 5S Plus Global (6.0.1 & 7.0):Xiaomi:MI 5s Plus=Xiaomi/natrium/natrium:6.0.1/MXB48T/V8.5.2.0.MBGMIED:user/release-keys;Xiaomi/natrium/natrium:7.0/NRD90M/V9.6.2.0.NBGMIFD:user/release-keys Xiaomi Mi 6 Global (8.0.0 & 9):Xiaomi:MI 6=Xiaomi/sagit/sagit:8.0.0/OPR1.170623.027/V9.2.3.0.OCAMIEK:user/release-keys;Xiaomi/sagit/sagit:9/PKQ1.190118.001/V11.0.6.0.PCAMIXM:user/release-keys__2019-09-01 Xiaomi Mi 8 Global (8.1.0 & 9 & 10):Xiaomi:MI 8=Xiaomi/dipper/dipper:8.1.0/OPM1.171019.011/V9.5.5.0.OEAMIFA:user/release-keys;Xiaomi/dipper/dipper:9/PKQ1.180729.001/V10.2.3.0.PEAMIXM:user/release-keys__2019-02-01;Xiaomi/dipper/dipper:10/QKQ1.190828.002/V11.0.3.0.QEAMIXM:user/release-keys__2020-01-01 -Xiaomi Mi 8 Explorer (10):Xiaomi:Mi 8 Explorer=Xiaomi/ursa/ursa:10/QKQ1.190828.002/V12.0.5.0.QEHCNXM:user/release-keys__2020-12-01 +Xiaomi Mi 8 Explorer (10):Xiaomi:Mi 8 Explorer=Xiaomi/ursa/ursa:10/QKQ1.190828.002/V12.5.1.0.QEHCNXM:user/release-keys__2020-12-01 Xiaomi Mi 8 Pro Global (10):Xiaomi:Mi 8 Pro=Xiaomi/equuleus/equuleus:10/QKQ1.190828.002/V11.0.5.0.QECMIXM:user/release-keys__2020-04-01 Xiaomi Mi 8 Pro Russia (10):Xiaomi:Mi 8 Pro=Xiaomi/equuleus_ru/equuleus:10/QKQ1.190828.002/V11.0.3.0.QECRUXM:user/release-keys__2020-04-01 Xiaomi Mi 9 China (10 & 11):Xiaomi:MI 9=Xiaomi/cepheus/cepheus:10/QKQ1.190825.002/V12.0.6.0.QFACNXM:user/release-keys__2020-11-01;Xiaomi/cepheus/cepheus:11/RKQ1.200826.002/V12.5.3.0.RFACNXM:user/release-keys__2021-04-01 diff --git a/common/util_functions.sh b/common/util_functions.sh index d08f7e0..f8d1f4a 100644 --- a/common/util_functions.sh +++ b/common/util_functions.sh @@ -362,7 +362,7 @@ get_eq_left() { # Get right side of =, $1=string to check get_eq_right() { - echo $1 | cut -f 2 -d '=' + echo $1 | cut -f 2- -d '=' } # Get the list of print version, $1=Fingerprint device info with android versions @@ -889,7 +889,7 @@ test_connection() { ;; *) log_handler "Checking connection." - ping -c 1 -W 1 google.com >> $LOGFILE 2>&1 && CNTTEST="true" || CNTTEST="false" + ping -c 1 -W 1 raw.githubusercontent.com >> $LOGFILE 2>&1 && CNTTEST="true" || CNTTEST="false" ;; esac } @@ -963,11 +963,13 @@ system_prop() { system_prop_cont # Check for edge case where module has been updated but no reboot has been done yet - if [ -d "$ADBPATH/modules_update/MagiskHidePropsConf" ] && [ -f "$MODPATH/system.prop" ]; then - log_handler "Copying system.prop to update folder." - cp -f $MODPATH/system.prop $ADBPATH/modules_update/MagiskHidePropsConf >> $LOGFILE 2>&1 - else - rm -f $ADBPATH/modules_update/MagiskHidePropsConf/system.prop >> $LOGFILE 2>&1 + if [ -z "$INSTFN" ]; then + if [ -d "$ADBPATH/modules_update/MagiskHidePropsConf" ] && [ -f "$MODPATH/system.prop" ]; then + log_handler "Copying system.prop to update folder." + cp -f $MODPATH/system.prop $ADBPATH/modules_update/MagiskHidePropsConf >> $LOGFILE 2>&1 + else + rm -f $ADBPATH/modules_update/MagiskHidePropsConf/system.prop >> $LOGFILE 2>&1 + fi fi fi } diff --git a/module.prop b/module.prop index 6708208..210daf0 100644 --- a/module.prop +++ b/module.prop @@ -1,6 +1,6 @@ id=MagiskHidePropsConf name=MagiskHide Props Config -version=v5.4.0-v130 -versionCode=68 +version=v5.4.1-v131 +versionCode=69 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.