diff --git a/README.md b/README.md index dff87af..f537c48 100644 --- a/README.md +++ b/README.md @@ -226,7 +226,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 - v90_** +**_Current fingerprints list version - v91_** ## Please add support for device X @@ -267,17 +267,23 @@ Whenever a fingerprint is set by the module, the `ro.build.description` prop wil ## Set/reset MagiskHide Sensitive props -By default, if MagiskHide detects certain sensitive prop values they will be changed to known safe values. These are currently: +By default, if MagiskHide detects certain sensitive prop values they will be changed to known safe values. Some of these that this feature can change are: - ro.debuggable (set to "0" by MagiskHide - sensitive value is "1") - ro.secure (set to "1" by MagiskHide - sensitive value is "0") - ro.build.type (set to "user" by MagiskHide - sensitive value is "userdebug") - ro.build.tags (set to "release-keys" by MagiskHide - sensitive value is "test-keys" or "dev-keys") +- ro.bootmode (set to "unknown" by MagiskHide - sensitive value is "recovery") +- ro.boot.mode (set to "unknown" by MagiskHide - sensitive value is "recovery") - ro.build.selinux (set to "0" by MagiskHide - sensitive value is "1") +There are other props set by MagiskHide, but they are mainly used for finding the bootloader state and not needed here. + +From Magisk Canary build 20412 ro.build.selinux is no longer changed by MagiskHide, since different root checking libraries look for different sensitive values (someone made a thought boo-boo somewhere). From Canary build 20412 the prop is simply removed. + If, for some reason, you need one or more of these to be kept as their original value (one example would be resetting ro.build.type to userdebug since some ROMs need this to work properly), you can reset to the original value with this module. Keep in mind that this might trigger some apps looking for these prop values as a sign of your device being rooted. It is possible to change or reset each prop individually or all of them at once. It is also possible to change several props simultaneously by choosing the corresponding numbers in the menu list and entering them separated by a comma. -Example: If I would like to change ro.debuggable, ro.secure and ro.build.selinux I would enter __"1,2,5"__. +Example: If I would like to change ro.debuggable, ro.secure and ro.build.tags I would enter __"1,2,4"__. **NOTE:** When activating this feature the screen will go black momentarily at the end of the boot cycle. This is caused by the module doing a soft reboot to reload the prop values properly. @@ -444,6 +450,7 @@ If you've had any help from me or this module, any kind of [donation](https://fo ## Credits @topjohnwu @ XDA Developers, for Magisk. @Zackptg5, @veez21 and @jenslody @ XDA Developers, for help and inspiration. +@Some_Random_Username for all the OnePlus fingerprints. @ipdev, for being always helpful and bringing tons of fingerprints to the module list. And of course, everyone that provides fingerprints for me to add to the list. The module wouldn't be the same without you guys. Thank you! @@ -457,6 +464,13 @@ Releases from v4.0.0 are compatible with Magisk v19+. Releases from v5.0.0 are recommended for Magisk v19.4+. ## Changelog +### v5.2.5 +- Fixed and improved verbose boot logging. +- Logging does not need to use nanoseconds. Microseconds is enough. +- Added ro.bootmode and ro.boot.mode to "Edit MagiskHide props". +- Don't use ro.build.selinux in "Edit MagiskHide props" if it isn't set. +- Added fingerprints for POCO F2 Pro, Redmi K30 Pro Zoom Edition and Note 9S, Samsung Galaxy A20 and Xiaomi Redmi 6 and 6A. Updated fingerprint for OnePlus 5, 5T, 7 Pro (GM1911 and GM1917) several variants of 8 and 8 Pro, Redmi K30 Pro and Xiaomi Mi A1, Mi A3, Redmi 7 and Redmi Note 7. Relabeled Xiaomi Redmi K30 Pro and Redmi Note 8 Pro with Redmi as manufacturer. List updated to v91. + ### v5.2.4 - Added a function for disabling the module by placing a specific file in /sdcard, /data or /cache (see the documentation for details). Useful if there are issues with booting the device after installing/setting up the module. - Fixed some issues with setting partition props in other boot stages than default. @@ -789,7 +803,7 @@ Releases from v5.0.0 are recommended for Magisk v19.4+. ## Current fingerprints list -### List v90 +### List v91 - Asus Zenfone 2 Laser ASUS_Z00LD (6.0.1) - Asus Zenfone 3 Max ASUS_X00DD (7.1.1 & 8.1.0) - Asus Zenfone 4 Max ASUS_X00HD (7.1.1) @@ -804,7 +818,7 @@ Releases from v5.0.0 are recommended for Magisk v19.4+. - Fairphone 2 (6.0.1) - Google Nexus 4 (5.1.1) - Google Nexus 5 (6.0.1) -- Google Nexus 5X (6.0 & 6.0.1 7.0 & 7.1.1 & 7.1.2 & 8.0.0 & 8.1.0) +- Google Nexus 5X (6.0 & 6.0.1 & 7.0 & 7.1.1 & 7.1.2 & 8.0.0 & 8.1.0) - Google Nexus 6 (5.0 & 5.0.1 & 5.1 & 5.1.1 & 6.0 & 6.0.1 & 7.0 & 7.1.1) - Google Nexus 6P (6.0 & 6.0.1 & 7.0 & 7.1.1 & 7.1.2 & 8.0.0 & 8.1.0) - Google Nexus 7 2012 Mobile (5.1.1) @@ -931,9 +945,14 @@ Releases from v5.0.0 are recommended for Magisk v19.4+. - OnePlus 8 Pro IN2025 (10) - OPPO Neo 7 A33w (5.1) - OPPO Neo 7 A1603 (5.1) +- POCO F2 Pro (10) - POCO X2 (10) - Razer Phone (7.1.1 & 8.1.0 & 9) - Razer Phone 2 (8.1.0 & 9) +- Redmi K30 Pro (10) +- Redmi K30 Pro Zoom Edition (10) +- Redmi Note 8 Pro (9) +- Redmi Note 9S (10) - Samsung Galaxy A3 2015 SM-A300FU (6.0.1) - Samsung Galaxy A5 2015 SM-A500FU (6.0.1) - Samsung Galaxy A5 2017 SM-A520F (8.0.0) @@ -941,6 +960,7 @@ Releases from v5.0.0 are recommended for Magisk v19.4+. - Samsung Galaxy A6 Plus SM-A605G (9) - Samsung Galaxy A7 2017 SM-A720F (8.0.0) - Samsung Galaxy A8 Plus SM-A730F (7.1.1) +- Samsung Galaxy A20 (9) - Samsung Galaxy Core Prime SM-G361F (5.1.1) - Samsung Galaxy Grand Prime SM-G530BT (5.0.2) - Samsung Galaxy J2 2015 SM-J200H (5.1.1) @@ -1057,11 +1077,12 @@ Releases from v5.0.0 are recommended for Magisk v19.4+. - Xiaomi Redmi 4A (7.1.2) - Xiaomi Redmi 4X (6.0.1) - Xiaomi Redmi 5A (7.1.2 & 8.1.0) +- Xiaomi Redmi 6 (9) +- Xiaomi Redmi 6A (9) - Xiaomi Redmi 7 (9) - Xiaomi Redmi 8 (9) - Xiaomi Redmi Go (8.1.0) - Xiaomi Redmi K20 Pro (9 & 10) -- Xiaomi Redmi K30 Pro (10) - Xiaomi Redmi Note 2 (5.0.2) - Xiaomi Redmi Note 3 Pro (6.0.1) - Xiaomi Redmi Note 3 Pro SE (6.0.1) @@ -1075,7 +1096,6 @@ Releases from v5.0.0 are recommended for Magisk v19.4+. - Xiaomi Redmi Note 6 Pro (8.1.0) - Xiaomi Redmi Note 7 (9) - Xiaomi Redmi Note 7 Pro (9) -- Xiaomi Redmi Note 8 Pro (9) - Xiaomi Redmi Note 8T European (9) - Xiaomi Redmi Y1 (7.1.2) - ZTE Axon 7 (7.1.1 & 8.0.0) diff --git a/common/bootlog.sh b/common/bootlog.sh new file mode 100644 index 0000000..422558e --- /dev/null +++ b/common/bootlog.sh @@ -0,0 +1,27 @@ +#!/system/bin/sh + +# MagiskHide Props Config +# Copyright (c) 2018-2020 Didgeridoohan @ XDA Developers +# Licence: MIT + +{ + if [ "$VLOGFILE" ]; then + # Save the previous log if it exists + if [ -f "$VLOGFILE" ]; then + mv -f $VLOGFILE $VLASTLOGFILE + fi + sleep 15 # Pause to make sure props have been reset + while (true); do + sleep 1 + logcat -d > $VLOGFILE + if [ $(getprop sys.boot_completed) == 1 ]; then + sleep 5 # Wait an additional 5 seconds after boot completed + logcat -d > $VLOGFILE + sed -i '1s/^/MagiskHide Props Config Boot Logcat\n========================================\n\n/' $VLOGFILE + echo -e "\n========================================\n$(date +"%m-%d %H:%M:%S.%3N") Log saved" >> $VLOGFILE + break + fi + done + exit + fi +} & diff --git a/common/prints.sh b/common/prints.sh index e860720..2ba7702 100644 --- a/common/prints.sh +++ b/common/prints.sh @@ -4,7 +4,7 @@ # Copyright (c) 2018-2020 Didgeridoohan @ XDA Developers # Licence: MIT -PRINTSV=90 +PRINTSV=91 PRINTSTRANSF=520 # Certified fingerprints @@ -120,18 +120,18 @@ OnePlus 2 (6.0.1):OnePlus:ONE A2003=OnePlus/OnePlus2/OnePlus2:6.0.1/MMB29M/14478 OnePlus X (6.0.1):OnePlus:ONE E1003=OnePlus/OnePlus/OnePlus:6.0.1/MMB29M/10281213:user/release-keys OnePlus 3 (8.0.0 & 9):OnePlus:ONEPLUS A3000=OnePlus/OnePlus3/OnePlus3:8.0.0/OPR1.170623.032/1809142047:user/release-keys__2018-09-01;OnePlus/OnePlus3/OnePlus3:9/PKQ1.181203.001/1911042107:user/release-keys__2019-10-01 OnePlus 3T (8.0.0 & 9):OnePlus:ONEPLUS A3003=OnePlus/OnePlus3/OnePlus3T:8.0.0/OPR1.170623.032/1812060016:user/release-keys__2018-11-01;OnePlus/OnePlus3/OnePlus3T:9/PKQ1.181203.001/1911042108:user/release-keys__2019-10-01 -OnePlus 5 (8.1.0 & 9 & 10):OnePlus:ONEPLUS A5000=OnePlus/OnePlus5/OnePlus5:8.1.0/OPM1.171019.011/1809241512:user/release-keys__2018-09-01;OnePlus/OnePlus5/OnePlus5:9/PKQ1.180716.001/2002242003:user/release-keys__2020-02-01;OnePlus/OnePlus5/OnePlus5:10/QKQ1.191014.012/2004201751:user/release-keys__2020-02-05 -OnePlus 5T (7.1.1 & 8.0.0 & 8.1.0 & 9 & 10):OnePlus:ONEPLUS A5010=OnePlus/OnePlus5T/OnePlus5T:7.1.1/NMF26X/12152312:user/release-keys;OnePlus/OnePlus5T/OnePlus5T:8.0.0/OPR1.170623.032/02040656:user/release-keys;OnePlus/OnePlus5T/OnePlus5T:8.1.0/OPM1.171019.011/1809241512:user/release-keys__2018-09-01;OnePlus/OnePlus5T/OnePlus5T:9/PKQ1.180716.001/2002242012:user/release-keys__2020-02-01;OnePlus/OnePlus5T/OnePlus5T:10/QKQ1.191014.012/2004201752:user/release-keys__2020-02-05 +OnePlus 5 (8.1.0 & 9 & 10):OnePlus:ONEPLUS A5000=OnePlus/OnePlus5/OnePlus5:8.1.0/OPM1.171019.011/1809241512:user/release-keys__2018-09-01;OnePlus/OnePlus5/OnePlus5:9/PKQ1.180716.001/2002242003:user/release-keys__2020-02-01;OnePlus/OnePlus5/OnePlus5:10/QKQ1.191014.012/2005112104:user/release-keys__2020-04-05 +OnePlus 5T (7.1.1 & 8.0.0 & 8.1.0 & 9 & 10):OnePlus:ONEPLUS A5010=OnePlus/OnePlus5T/OnePlus5T:7.1.1/NMF26X/12152312:user/release-keys;OnePlus/OnePlus5T/OnePlus5T:8.0.0/OPR1.170623.032/02040656:user/release-keys;OnePlus/OnePlus5T/OnePlus5T:8.1.0/OPM1.171019.011/1809241512:user/release-keys__2018-09-01;OnePlus/OnePlus5T/OnePlus5T:9/PKQ1.180716.001/2002242012:user/release-keys__2020-02-01;OnePlus/OnePlus5T/OnePlus5T:10/QKQ1.191014.012/2005112111:user/release-keys__2020-04-05 OnePlus 6 (8.1.0 & 9 & 10):OnePlus:ONEPLUS A6003=OnePlus/OnePlus6/OnePlus6:8.1.0/OPM1.171019.011/06140300:user/release-keys;OnePlus/OnePlus6/OnePlus6:9/PKQ1.180716.001/1908012000:user/release-keys__2019-08-01;OnePlus/OnePlus6/OnePlus6:10/QKQ1.190716.003/2004142132:user/release-keys__2020-04-01 OnePlus 6T (9 & 10):OnePlus:ONEPLUS A6013=OnePlus/OnePlus6T/OnePlus6T:9/PKQ1.180716.001/1909112330:user/release-keys__2019-08-01;OnePlus/OnePlus6T/OnePlus6T:10/QKQ1.190716.003/2004142132:user/release-keys__2020-04-01 OnePlus 6T T-Mobile (9):OnePlus:ONEPLUS A6013=OnePlus/OnePlus6TSingle/OnePlus6TSingle:9/PKQ1.180716.001/1810291147:user/release-keys__2018-11-01 OnePlus 7 GM1901 (9 & 10):OnePlus:GM1901=OnePlus/OnePlus7/OnePlus7:9/PKQ1.190110.001/1907280700:user/release-keys__2019-08-01;OnePlus/OnePlus7/OnePlus7:10/QKQ1.190716.003/2003131900:user/release-keys__2020-03-01 OnePlus 7 GM1903 (9 & 10):OnePlus:GM1903=OnePlus/OnePlus7_EEA/OnePlus7:9/PKQ1.190110.001/1907280700:user/release-keys__2019-08-01;OnePlus/OnePlus7_EEA/OnePlus7:10/QKQ1.190716.003/2003131900:user/release-keys__2020-03-01 OnePlus 7 GM1905 (9 & 10):OnePlus:GM1905=OnePlus/OnePlus7/OnePlus7:9/PKQ1.190110.001/1907280700:user/release-keys__2019-08-01;OnePlus/OnePlus7/OnePlus7:10/QKQ1.190716.003/2003131900:user/release-keys__2020-03-01 -OnePlus 7 Pro GM1911 (9 & 10):OnePlus:GM1911=OnePlus/OnePlus7Pro/OnePlus7Pro:9/PKQ1.190110.001/1907281556:user/release-keys__2019-08-01;OnePlus/OnePlus7Pro/OnePlus7Pro:10/QKQ1.190716.003/2003131900:user/release-keys__2020-03-01 +OnePlus 7 Pro GM1911 (9 & 10):OnePlus:GM1911=OnePlus/OnePlus7Pro/OnePlus7Pro:9/PKQ1.190110.001/1907281556:user/release-keys__2019-08-01;OnePlus/OnePlus7Pro/OnePlus7Pro:10/QKQ1.190716.003/2005122138:user/release-keys__2020-05-01 OnePlus 7 Pro GM1913 (9 & 10):OnePlus:GM1913=OnePlus/OnePlus7Pro_EEA/OnePlus7Pro:9/PKQ1.190110.001/1907281556:user/release-keys__2019-08-01;OnePlus/OnePlus7Pro_EEA/OnePlus7Pro:10/QKQ1.190716.003/2003131900:user/release-keys__2020-03-01 OnePlus 7 Pro GM1915 (9):OnePlus:GM1915=OnePlus/OnePlus7ProTMO/OnePlus7ProTMO:9/PKQ1.190110.001/1905021004:user/release-keys__2019-03-01 -OnePlus 7 Pro GM1917 (9 & 10):OnePlus:GM1917=OnePlus/OnePlus7Pro/OnePlus7Pro:9/PKQ1.190110.001/1907281556:user/release-keys__2019-08-01;OnePlus/OnePlus7Pro/OnePlus7Pro:10/QKQ1.190716.003/2003131900:user/release-keys__2020-03-01 +OnePlus 7 Pro GM1917 (9 & 10):OnePlus:GM1917=OnePlus/OnePlus7Pro/OnePlus7Pro:9/PKQ1.190110.001/1907281556:user/release-keys__2019-08-01;OnePlus/OnePlus7Pro/OnePlus7Pro:10/QKQ1.190716.003/2005122138:user/release-keys__2020-05-01 OnePlus 7 Pro NR GM1920 (9 & 10):OnePlus:GM1920=OnePlus/OnePlus7ProNR_EEA/OnePlus7ProNR:9/PKQ1.190223.001/1912171007:user/release-keys__2019-12-01;OnePlus/OnePlus7ProNR_EEA/OnePlus7ProNR:10/QKQ1.190716.003/2003171325:user/release-keys__2020-03-01 OnePlus 7 Pro NR Spr GM1925 (9 & 10):OnePlus:GM1925=OnePlus/OP7ProNRSpr/OP7ProNRSpr:9/PKQ1.190223.001/1908201041:user/release-keys__2019-08-01;OnePlus/OP7ProNRSpr/OP7ProNRSpr:10/QKQ1.190716.003/2004081600:user/release-keys__2020-04-01 OnePlus 7T HD1901 (10):OnePlus:HD1901=OnePlus/OnePlus7T/OnePlus7T:10/QKQ1.190716.003/2003271900:user/release-keys__2020-03-01 @@ -141,18 +141,23 @@ OnePlus 7T Pro HD1911 (10):OnePlus:HD1911=OnePlus/OnePlus7TPro/OnePlus7TPro:10/Q OnePlus 7T Pro HD1913 (10):OnePlus:HD1913=OnePlus/OnePlus7TPro_EEA/OnePlus7TPro:10/QKQ1.190716.003/2003271900:user/release-keys__2020-03-01 OnePlus 7T Pro HD1917 (10):OnePlus:HD1917=OnePlus/OnePlus7TPro/OnePlus7TPro:10/QKQ1.190716.003/2003271900:user/release-keys__2020-03-01 OnePlus 7T Pro NR HD1925 (10):OnePlus:HD1925=OnePlus/OnePlus7TProNR/OnePlus7TProNR:10/QKQ1.190716.003/2002150222:user/release-keys__2020-02-01 -OnePlus 8 IN2011 (10):OnePlus:IN2011=OnePlus/OnePlus8_IND/OnePlus8:10/QKQ1.191222.002/2004210400:user/release-keys__2020-03-01 -OnePlus 8 IN2013 (10):OnePlus:IN2013=OnePlus/OnePlus8_EEA/OnePlus8:10/QKQ1.191222.002/2004210405:user/release-keys__2020-03-01 -OnePlus 8 IN2015 (10):OnePlus:IN2015=OnePlus/OnePlus8/OnePlus8:10/QKQ1.191222.002/2004210405:user/release-keys__2020-03-01 +OnePlus 8 IN2011 (10):OnePlus:IN2011=OnePlus/OnePlus8_IND/OnePlus8:10/QKQ1.191222.002/2005090021:user/release-keys__2020-04-01 +OnePlus 8 IN2013 (10):OnePlus:IN2013=OnePlus/OnePlus8_EEA/OnePlus8:10/QKQ1.191222.002/2005090021:user/release-keys__2020-04-01 +OnePlus 8 IN2015 (10):OnePlus:IN2015=OnePlus/OnePlus8/OnePlus8:10/QKQ1.191222.002/2005090021:user/release-keys__2020-04-01 OnePlus 8 IN2017 (10):OnePlus:IN2017=OnePlus/OnePlus8TMO/OnePlus8TMO:10/QKQ1.191222.002/2004111424:user/release-keys__2020-04-01 -OnePlus 8 Pro IN2021 (10):OnePlus:IN2021=OnePlus/OnePlus8Pro_IND/OnePlus8Pro:10/QKQ1.191222.002/2004210408:user/release-keys__2020-03-01 -OnePlus 8 Pro IN2023 (10):OnePlus:IN2023=OnePlus/OnePlus8Pro_EEA/OnePlus8Pro:10/QKQ1.191222.002/2004210410:user/release-keys__2020-03-01 -OnePlus 8 Pro IN2025 (10):OnePlus:IN2025=OnePlus/OnePlus8Pro/OnePlus8Pro:10/QKQ1.191222.002/2004210418:user/release-keys__2020-03-01 +OnePlus 8 Pro IN2021 (10):OnePlus:IN2021=OnePlus/OnePlus8Pro_IND/OnePlus8Pro:10/QKQ1.191222.002/2005100226:user/release-keys__2020-04-01 +OnePlus 8 Pro IN2023 (10):OnePlus:IN2023=OnePlus/OnePlus8Pro_EEA/OnePlus8Pro:10/QKQ1.191222.002/2005100226:user/release-keys__2020-04-01 +OnePlus 8 Pro IN2025 (10):OnePlus:IN2025=OnePlus/OnePlus8Pro/OnePlus8Pro:10/QKQ1.191222.002/2005100226:user/release-keys__2020-04-01 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 (10):POCO:POCO F2 Pro=POCO/lmi_eea/lmi:10/QKQ1.191117.002/V11.0.6.0.QJKEUXM:user/release-keys__2020-04-01 POCO X2 (10):POCO:POCO X2=POCO/phoenixin/phoenixin:10/QKQ1.190825.002/V11.0.7.0.QGHINXM:user/release-keys__2020-03-01 Razer Phone (7.1.1 & 8.1.0 & 9):Razer:Phone=razer/cheryl/cheryl:7.1.1/NMF26X-RZR-180118/3005:user/release-keys__2018-01-05;razer/cheryl/cheryl:8.1.0/OPM1.171019.011-RZR-180803/6033:user/release-keys__2018-07-05;razer/cheryl/cheryl:9/P-MR2-RC001-RZR-N/7083:user/release-keys__2019-11-05 Razer Phone 2 (8.1.0 & 9):Razer:Phone 2=razer/cheryl2/aura:8.1.0/O-MR2-RC009-RZR-181124/2009:user/release-keys__2018-10-05;razer/cheryl2/aura:9/P-SMR3-RC002-RZR-200226/3141:user/release-keys__2020-03-05 +Redmi K30 Pro (10):Xiaomi:Redmi K30 Pro=Redmi/lmi/lmi:10/QKQ1.191117.002/V11.0.19.0.QJKCNXM:user/release-keys__2020-04-01 +Redmi K30 Pro Zoom Edition (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 Note 8 Pro (9):Redmi:Redmi Note 8 Pro=Redmi/begoniain/begoniain:9/PPR1.180610.011/V10.4.4.0.PGGINXM:user/release-keys__2019-09-01 +Redmi Note 9S (10):Redmi:Redmi Note 9S:=Redmi/curtana_global/curtana:10/QKQ1.191215.002/V11.0.7.0.QJWMIXM:user/release-keys__2020-04-01 Samsung Galaxy A3 2015 SM-A300FU (6.0.1):Samsung:SM-A300FU=samsung/a3ultexx/a3ulte:6.0.1/MMB29M/A300FUXXU1CRF1:user/release-keys Samsung Galaxy A5 2015 SM-A500FU (6.0.1):Samsung:SM-A500FU=samsung/a5ultexx/a5ulte:6.0.1/MMB29M/A500FUXXU1CPH3:user/release-keys Samsung Galaxy A5 2017 SM-A520F (8.0.0):Samsung:SM-A520F=samsung/a5y17ltexx/a5y17lte:8.0.0/R16NW/A520FXXUCCTA5:user/release-keys__2020-01-01 @@ -160,6 +165,7 @@ Samsung Galaxy A51 SM-A515F (10):Samsung:SM-A515F=samsung/a51nsxx/a51:10/QP1A.19 Samsung Galaxy A6 Plus SM-A605G (9):Samsung:SM-A605G=samsung/a6pltedx/a6plte:9/PPR1.180610.011/A605GDXU3BSC6:user/release-keys__2019-03-01 Samsung Galaxy A7 2017 SM-A720F (8.0.0):Samsung:SM-A720F=samsung/a7y17ltexx/a7y17lte:8.0.0/R16NW/A720FXXU9CSK3:user/release-keys__2019-12-01 Samsung Galaxy A8 Plus SM-A730F (7.1.1):Samsung:SM-A730F=samsung/jackpot2ltexx/jackpot2lte:7.1.1/NMF26X/A730FXXU2ARD1:user/release-keys +Samsung Galaxy A20 (9):Samsung:SM-A205W=samsung/a20cs/a20:9/PPR1.180610.011/A205WVLU3ASK2:user/release-keys__2019-11-01 Samsung Galaxy Core Prime SM-G361F (5.1.1):Samsung:SM-G361F=samsung/coreprimeveltexx/coreprimevelte:5.1.1/LMY48B/G361FXXU1APB1:user/release-keys Samsung Galaxy Grand Prime SM-G530BT (5.0.2):Samsung:SM-G530BT=samsung/fortuna3gdtvvj/fortuna3gdtv:5.0.2/LRX22G/G530BTVJU1BPH4:user/release-keys Samsung Galaxy J2 2015 SM-J200H (5.1.1):Samsung:SM-J200H=samsung/j23gdd/j23g:5.1.1/LMY48B/J200HXXU0AQK2:user/release-keys @@ -253,10 +259,10 @@ Xiaomi Mi 9T Global (10):Xiaomi:Mi 9T=Xiaomi/davinci/davinci:10/QKQ1.190825.002/ Xiaomi Mi 9T Pro (9 & 10):Xiaomi:Mi 9T Pro=Xiaomi/raphael/raphael:9/PKQ1.181121.001/V10.3.14.0.PFKCNXM:user/release-keys__2019-06-01;Xiaomi/raphael/raphael:10/QKQ1.190825.002/V11.0.1.0.QFKMIXM:user/release-keys__2019-10-01 Xiaomi Mi 10 (10):Xiaomi:Mi 10=Xiaomi/umi/umi:10/QKQ1.191117.002/V11.0.15.0.QJBCNXM:user/release-keys__2020-02-01 Xiaomi Mi 10 Pro (10):Xiaomi:Mi 10 Pro=Xiaomi/cmi/cmi:10/QKQ1.191117.002/V11.0.13.0.QJACNXM:user/release-keys__2020-02-01 -Xiaomi Mi A1 (7.1.2 & 8.0.0 & 8.1.0 & 9):Xiaomi:Mi A1=xiaomi/tissot/tissot_sprout:7.1.2/N2G47H/7.12.19:user/release-keys;xiaomi/tissot/tissot_sprout:8.0.0/OPR1.170623.026/V.9.5.10.0.ODHMIFA:user/release-keys__2018-04-01;xiaomi/tissot/tissot_sprout:8.1.0/OPM1.171019.026/V9.6.8.0.ODHMIFE:user/release-keys__2018-11-01;xiaomi/tissot/tissot_sprout:9/PKQ1.180917.001/V10.0.20.0.PDHMIXM:user/release-keys__2020-04-01 +Xiaomi Mi A1 (7.1.2 & 8.0.0 & 8.1.0 & 9):Xiaomi:Mi A1=xiaomi/tissot/tissot_sprout:7.1.2/N2G47H/7.12.19:user/release-keys;xiaomi/tissot/tissot_sprout:8.0.0/OPR1.170623.026/V.9.5.10.0.ODHMIFA:user/release-keys__2018-04-01;xiaomi/tissot/tissot_sprout:8.1.0/OPM1.171019.026/V9.6.8.0.ODHMIFE:user/release-keys__2018-11-01;xiaomi/tissot/tissot_sprout:9/PKQ1.180917.001/V10.0.21.0.PDHMIXM:user/release-keys__2020-05-01 Xiaomi Mi A2 (8.1.0 & 9 & 10):Xiaomi:Mi A2=xiaomi/jasmine/jasmine_sprout:8.1.0/OPM1.171019.011/V9.6.17.0.ODIMIFE:user/release-keys__2018-11-05;xiaomi/jasmine/jasmine_sprout:9/PKQ1.180904.001/V10.0.18.0.PDIMIXM:user/release-keys__2019-12-05;xiaomi/jasmine/jasmine_sprout:10/QKQ1.190910.002/V11.0.8.0.QDIMIXM:user/release-keys__2020-04-05 Xiaomi Mi A2 Lite (8.1.0 & 9 & 10):Xiaomi:Mi A2 Lite=xiaomi/daisy/daisy_sprout:8.1.0/OPM1.171019.019/V9.6.11.0.ODLMIFF:user/release-keys__2018-11-01;xiaomi/daisy/daisy_sprout:9/PKQ1.180917.001/V10.0.20.0.PDLMIXM:user/release-keys__2020-03-01;xiaomi/daisy/daisy_sprout:10/QKQ1.191002.002/V11.0.4.0.QDLMIXM:user/release-keys__2020-03-01 -Xiaomi Mi A3 (9 & 10):Xiaomi:Mi A3=Xiaomi/laurel_sprout/laurel_sprout:9/PKQ1.190416.001/V10.3.16.0.PFQMIXM:user/release-keys__2020-03-05;Xiaomi/laurel_sprout/laurel_sprout:10/QKQ1.190910.002/V11.0.14.0.QFQMIXM:user/release-keys__2020-04-05 +Xiaomi Mi A3 (9 & 10):Xiaomi:Mi A3=Xiaomi/laurel_sprout/laurel_sprout:9/PKQ1.190416.001/V10.3.16.0.PFQMIXM:user/release-keys__2020-03-05;Xiaomi/laurel_sprout/laurel_sprout:10/QKQ1.190910.002/V11.0.15.0.QFQMIXM:user/release-keys__2020-05-05 Xiaomi Mi Box S (9):Xiaomi:MIBOX4=Xiaomi/oneday/oneday:9/PI/2231:user/release-keys__2019-11-05 Xiaomi Mi Max (6.0.1):Xiaomi:MI MAX=Xiaomi/helium/helium:6.0.1/MMB29M/V8.2.3.0.MBDMIDL:user/release-keys Xiaomi Mi Max 2 (7.1.1):Xiaomi:MI MAX 2=Xiaomi/oxygen/oxygen:7.1.1/NMF26F/V9.5.4.0.NDDMIFA:user/release-keys @@ -276,11 +282,12 @@ Xiaomi Redmi 4 Pro (6.0.1):Xiaomi:Redmi 4=Xiaomi/markw/markw:6.0.1/MMB29M/V9.5.3 Xiaomi Redmi 4A (7.1.2):Xiaomi:Redmi 4A=Xiaomi/rolex/rolex:7.1.2/N2G47H/V9.2.6.0.NCCMIEK:user/release-keys Xiaomi Redmi 4X (6.0.1):Xiaomi:Redmi 4X=Xiaomi/santoni/santoni:6.0.1/MMB29M/V8.5.4.0.MAMCNED:user/release-keys Xiaomi Redmi 5A (7.1.2 & 8.1.0):Xiaomi:Redmi 5A=Xiaomi/riva/riva:7.1.2/N2G47H/V9.1.8.0.NCKMIEI:user/release-keys;Xiaomi/riva/riva:8.1.0/OPM1.171019.026/V10.3.2.0.OCKMIXM:user/release-keys__2019-06-01 -Xiaomi Redmi 7 (9):Xiaomi:Redmi 7=xiaomi/onc/onc:9/PKQ1.181021.001/V11.0.3.0.PFLMIXM:user/release-keys__2019-12-01 +Xiaomi Redmi 6 (9):Xiaomi:Redmi 6=xiaomi/cereus/cereus:9/PPR1.180610.011/V11.0.3.0.PCGMIXM:user/release-keys__2020-03-01 +Xiaomi Redmi 6A (9):Xiaomi:Redmi 6A=xiaomi/cactus/cactus:9/PPR1.180610.011/V11.0.7.0.PCBMIXM:user/release-keys__2020-03-01 +Xiaomi Redmi 7 (9):Xiaomi:Redmi 7=xiaomi/onc/onc:9/PKQ1.181021.001/V11.0.5.0.PFLMIXM:user/release-keys__2020-03-01 Xiaomi Redmi 8 (9):Xiaomi:Redmi 8=Xiaomi/olive/olive:9/PKQ1.190319.001/V11.0.7.0.PCNCNXM:user/release-keys__2019-12-01 Xiaomi Redmi Go (8.1.0):Xiaomi:Redmi Go=Xiaomi/tiare/tiare:8.1.0/OPM1.171019.026/V10.2.6.0.OCLMIXM:user/release-keys__2019-01-01 Xiaomi Redmi K20 Pro (9 & 10):Xiamoi:Redmi K20 Pro=Xiaomi/raphael/raphael:9/PKQ1.181121.001/V10.3.14.0.PFKCNXM:user/release-keys__2019-06-01;Xiaomi/raphael/raphael:10/QKQ1.190825.002/V11.0.1.0.QFKMIXM:user/release-keys__2019-10-01 -Xiaomi Redmi K30 Pro (10):Xiaomi:Redmi K30 Pro=Redmi/lmi/lmi:10/QKQ1.191117.002/V11.0.16.0.QJKCNXM:user/release-keys__2020-04-01 Xiaomi Redmi Note 2 (5.0.2):Xiaomi:Redmi Note 2=Xiaomi/hermes/hermes:5.0.2/LRX22G/V9.2.4.0.LHMMIEK:user/release-keys Xiaomi Redmi Note 3 Pro (6.0.1):Xiaomi:Redmi Note 3=Xiaomi/kenzo/kenzo:6.0.1/MMB29M/V8.2.1.0.MHOCNDL:user/release-keys Xiaomi Redmi Note 3 Pro SE (6.0.1):Xiaomi:Redmi Note 3=Xiaomi/kate/kate:6.0.1/MMB29M/V8.1.3.0.MHRMIDI:user/release-keys @@ -292,9 +299,8 @@ Xiaomi Redmi Note 5 Plus (7.1.2 & 8.1.0):Xiaomi:Redmi 5 Plus=xiaomi/vince/vince: Xiaomi Redmi Note 5 Pro (8.1.0 & 9):Xiaomi:Redmi Note 5 Pro=xiaomi/whyred/whyred:8.1.0/OPM1.171019.011/V10.0.6.0.OEIMIFH:user/release-keys__2018-11-01;xiaomi/whyred/whyred:9/PKQ1.180904.001/V11.0.3.0.PEIMIXM:user/release-keys__2019-11-05 Xiaomi Redmi Note 5A Lite (7.1.2):Xiaomi:Redmi Note 5A=xiaomi/ugglite/ugglite:7.1.2/N2G47H/V9.1.2.0.NDFMIEI:user/release-keys Xiaomi Redmi Note 6 Pro (8.1.0):Xiaomi:Redmi Note 6 Pro=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):Redmi:Redmi Note 7=xiaomi/lavender/lavender:9/PKQ1.180904.001/V10.3.12.0.PFGMIXM:user/release-keys__2019-08-05 +Xiaomi Redmi Note 7 (9):Xiaomi:Redmi Note 7=xiaomi/lavender/lavender:9/PKQ1.180904.001/V11.0.5.0.PFGMIXM:user/release-keys__2020-01-05 Xiaomi Redmi Note 7 Pro (9):Xiaomi:Redmi Note 7 Pro=xiaomi/violet/violet:9/PKQ1.181203.001/V10.3.13.0.PFHINXM:user/release-keys__2019-08-01 -Xiaomi Redmi Note 8 Pro (9):Redmi:Redmi Note 8 Pro=Redmi/begoniain/begoniain:9/PPR1.180610.011/V10.4.4.0.PGGINXM:user/release-keys__2019-09-01 Xiaomi Redmi Note 8T European (9):Redmi:Redmi Note 8T=xiaomi/willow_eea/willow:9/PKQ1.190616.001/V10.3.5.0.PCXEUXM:user/release-keys__2019-10-01 Xiaomi Redmi Y1 (7.1.2):Xiaomi:Redmi Y1=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:ZTE A2017=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 diff --git a/common/propsconf_late b/common/propsconf_late index 2b129a1..00b7e86 100644 --- a/common/propsconf_late +++ b/common/propsconf_late @@ -8,7 +8,7 @@ # In that case, feel free to delete it. # Script version -SCRIPTV=32 +SCRIPTV=33 SETTRANSF=3 NOTTRANSF="BRANDSET;NAMESET;DEVICESET;RELEASESET;IDSET;INCREMENTALSET;SDKSET" @@ -61,12 +61,12 @@ disable_mhpc " # ---Original values--- -# default.prop ORIGDEBUGGABLE="" ORIGSECURE="" -# build.prop ORIGTYPE="" ORIGTAGS="" +ORIGBOOTMODE="" +ORIGMODE="" ORIGSELINUX="" ORIGFINGERPRINT="" ORIGVENDPRINT="" @@ -90,6 +90,8 @@ MODULEDEBUGGABLE="" MODULESECURE="" MODULETYPE="" MODULETAGS="" +MODULEBOOTMODE="" +MODULEMODE="" MODULESELINUX="" MODULEFINGERPRINT="" @@ -121,4 +123,6 @@ REDEBUGGABLE=false RESECURE=false RETYPE=false RETAGS=false +REBOOTMODE=false +REMODE=false RESELINUX=false diff --git a/common/util_functions.sh b/common/util_functions.sh index ec19ac6..b1f1d7e 100644 --- a/common/util_functions.sh +++ b/common/util_functions.sh @@ -112,8 +112,6 @@ else $CACHELOC/magisk.log $CACHELOC/magisk.log.bak $MHPCPATH/propsconf* - $MIRRORPATH/system/build.prop - $MIRRORPATH/vendor/build.prop $LATEFILE " fi @@ -165,6 +163,8 @@ ro.debuggable ro.secure ro.build.type ro.build.tags +ro.bootmode +ro.boot.mode ro.build.selinux " @@ -174,6 +174,8 @@ ro.debuggable=0 ro.secure=1 ro.build.type=user ro.build.tags=release-keys +ro.bootmode=unknown +ro.boot.mode=unknown ro.build.selinux=0 " @@ -277,7 +279,7 @@ fi log_handler() { if [ "$(id -u)" == 0 ] ; then echo "" >> $LOGFILE 2>&1 - echo -e "$(date +"%Y-%m-%d %H:%M:%S:%N") - $1" >> $LOGFILE 2>&1 + echo -e "$(date +"%Y-%m-%d %H:%M:%S.%3N") - $1" >> $LOGFILE 2>&1 fi } log_print() { @@ -1669,7 +1671,11 @@ change_to() { ;; ro.build.tags) if [ "$2" == "test-keys" ]; then CHANGE="release-keys"; else CHANGE="test-keys"; fi ;; - ro.build.selinux) if [ "$2" == 0 ]; then CHANGE=1; else CHANGE=0; fi + ro.bootmode) if [ "$2" == "recovery" ]; then CHANGE="unknown"; else CHANGE="recovery"; fi + ;; + ro.boot.mode) if [ "$2" == "recovery" ]; then CHANGE="unknown"; else CHANGE="recovery"; fi + ;; + ro.build.selinux) if [ "$2" == 1 ]; then CHANGE=0; else CHANGE=1; fi ;; esac } @@ -2013,14 +2019,8 @@ collect_logs() { # Saving Magisk and module log files and device original build.prop for ITEM in $TMPLOGLIST; do if [ -f "$ITEM" ]; then - case "$ITEM" in - *build.prop*) BPNAME="build_$(echo $ITEM | sed 's|\/build.prop||' | sed 's|.*\/||g').prop" - ;; - *) BPNAME="" - ;; - esac if [ "$ITEM" != "$MHPCPATH/propsconf.log" ]; then - cp -af $ITEM ${TMPLOGLOC}/${BPNAME} >> $LOGFILE 2>&1 + cp -af $ITEM ${TMPLOGLOC} >> $LOGFILE 2>&1 fi else log_handler "$ITEM not available." diff --git a/module.prop b/module.prop index 0724559..dced606 100644 --- a/module.prop +++ b/module.prop @@ -1,6 +1,6 @@ id=MagiskHidePropsConf name=MagiskHide Props Config -version=v5.2.4-v90 -versionCode=57 +version=v5.2.5-v91 +versionCode=58 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. diff --git a/post-fs-data.sh b/post-fs-data.sh index a73f8d2..27b2ccf 100644 --- a/post-fs-data.sh +++ b/post-fs-data.sh @@ -26,10 +26,11 @@ if [ -f "$LOGFILE" ]; then mv -f $LOGFILE $LASTLOGFILE fi - if [ -f "$VLOGFILE" ]; then - mv -f $VLOGFILE $VLASTLOGFILE - fi - set -x 2>$VLOGFILE + + # Run the boot logcat script + . $MODPATH/common/bootlog.sh + + #Start logging echo "***************************************************" > $LOGFILE 2>&1 echo "********* MagiskHide Props Config $MODVERSION ********" >> $LOGFILE 2>&1 echo "***************** By Didgeridoohan ***************" >> $LOGFILE 2>&1 diff --git a/service.sh b/service.sh index 8347468..2962b48 100644 --- a/service.sh +++ b/service.sh @@ -21,9 +21,6 @@ done # Load functions . $MODPATH/common/util_functions.sh -VLOGFILE=$MHPCPATH/propsconf_boot_verbose.log -set -x 2>>$VLOGFILE - log_script_chk "Running service.sh module script." # Resets the reboot and print update variables in propsconf_late diff --git a/system/binpath/props b/system/binpath/props index d99dd0d..d22858d 100644 Binary files a/system/binpath/props and b/system/binpath/props differ