Skip to content

Commit 77546e3

Browse files
v2.7.0-v38
1 parent 72cec66 commit 77546e3

File tree

9 files changed

+108
-47
lines changed

9 files changed

+108
-47
lines changed

README.md

Lines changed: 29 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ What this module does is that it adds a terminal based UI for those that don't w
1313

1414
## Documentation index
1515

16+
- [Prerequisites](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#prerequisites)
1617
- [Installation](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#installation)
1718
- [Usage](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#usage)
1819
- [Spoofing device's fingerprint to pass the ctsProfile check](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#spoofing-devices-fingerprint-to-pass-the-ctsprofile-check)
@@ -45,9 +46,7 @@ What this module does is that it adds a terminal based UI for those that don't w
4546
- [I can't pass the ctsProfile check](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#i-cant-pass-the-ctsprofile-check)
4647
- [I can't pass the basicIntegrity check](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#i-cant-pass-the-basicintegrity-check)
4748
- [Props don't seem to set properly](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#props-dont-seem-to-set-properly)
48-
- [My device's Android security patch date changed](https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf/blob/master/README.md#my-devices-android-security-patch-date-changed)
4949
- [Device issues because of the module](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#device-issues-because-of-the-module)
50-
- [The Play Store is "uncertified"](https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf/blob/master/README.md#the-play-store-is-uncertified)
5150
- [Logs](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#logs)
5251
- [Collecting logs manually](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#collecting-logs-manually)
5352
- [Source](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#source)
@@ -56,6 +55,11 @@ What this module does is that it adds a terminal based UI for those that don't w
5655
- [Current fingerprints list](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#current-fingerprints-list)
5756

5857

58+
## Prerequisites
59+
- Magisk v17+.
60+
- Busybox, preferably @osm0sis'
61+
62+
5963
## Installation
6064
Install through the Magisk Manager Downloads section. Or, download the zip from the Manager or the [module support thread](https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-t3789228), and install through the Magisk Manager -> Modules, or from recovery.
6165

@@ -150,7 +154,7 @@ The fingerprints list will update without the need to update the entire module.
150154

151155
Just run the `props` command and the list will be updated automatically. Use the -nw option to disable or disable it completely in the script settings (see ["Prop script settings"](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config#prop-script-settings) below). If you've disabled the this setting you can update the list manually in the `Edit device fingerprint` menu.
152156

153-
**_Current fingerprints list version - v37_**
157+
**_Current fingerprints list version - v38_**
154158

155159

156160
## Please add support for device X
@@ -247,7 +251,7 @@ If you have questions, suggestions or are experiencing some kind of issue, visit
247251

248252
### Known issues
249253
- Xiaomi devices (MIUI) sometimes have issues passing the ctsProfile check, particularly China releases. Try using [ShellHide](https://forum.xda-developers.com/apps/magisk/magisk-shellhide-t3855616) by @JayminSuthar together with this module. They might work in conjunction to get the device to pass SafetyNet.
250-
- If you're on Android Pie you will have to use Magisk v17.2+. Any version prior to that will not be able to change the required prop values. This is because of a change in Android Pie, and in Magisk v17.2 the resetprop tool wwas been updated for this change.
254+
- If you're on Android Pie you will have to use Magisk v17.2+. Any version prior to that will not be able to change the required prop values. This is because of a change in Android Pie, and with Magisk v17.2 the resetprop tool was been updated for this change.
251255

252256
### An option is marked as "disabled"
253257
A couple of the options in the `props` script will be automatically disabled in some circumstances. These are:
@@ -304,6 +308,11 @@ Releases from v2.4.1 are compatible with Magisk v17+.
304308

305309

306310
## Changelog
311+
### v2.7.0
312+
- Updated Busybox logic (again). It is now required to install Busybox alongside the module, to ensure proper functionality. I recommend @osm0sis' Busybox, installable as a Magisk module from the Magisk repo.
313+
- Added fingerprints for Google Nexus 7 (2012 & 2013, WiFi & LTE), Nexus 9 (WiFi & LTE) and Pixel C, LG V30, Motorola Moto E5 Plus, OnePlus 6T, Samsung Galaxy J7 Prime and S5, and Xiaomi Mi 8. Updated the fingerprint for Huawei P8 Lite and Xiaomi Mi Mix 2s. List updated to v38.
314+
- Probably some other small fixes as well. Can't remember...
315+
307316
### v2.6.5
308317
- Fixed some of the "optimisations" I did in the previous release (read: I messed up).
309318

@@ -362,7 +371,7 @@ Releases from v2.4.1 are compatible with Magisk v17+.
362371
- Various fixes and improvements, as usual.
363372

364373
### v2.3.5
365-
- Fixed issue with busybox version detection.
374+
- Fixed issue with Busybox version detection.
366375
- Fixed the documentation. Some parts had been accidentally deleted. Oops...
367376
- Improved log collecting.
368377
- Added and updated fingerprints for the Xiaomi Mi Note 2 and Redmi Note 5A Lite, list v23.
@@ -483,23 +492,30 @@ Releases from v2.4.1 are compatible with Magisk v17+.
483492

484493

485494
## Current fingerprints list
486-
### List v37
495+
### List v38
487496
- Asus Zenfone 2 Laser (6.0.1)
488497
- Asus Zenfone 4 Max (7.1.1)
489498
- Asus ZenPad S 8.0 (6.0.1)
490499
- Essential PH-1 (9)
491500
- Google Nexus 4 (5.1.1)
492501
- Google Nexus 5 (6.0.1)
493502
- Google Nexus 6 (7.1.1)
494-
- Google Nexus 5X (8.1.0)
503+
- Google Nexus 5x (8.1.0)
495504
- Google Nexus 6P (8.1.0)
505+
- Google Nexus 7 2012 WiFi (5.1.1)
506+
- Google Nexus 7 2012 LTE (5.1.1)
507+
- Google Nexus 7 2013 WiFi (6.0.1)
508+
- Google Nexus 7 2013 LTE (6.0.1)
509+
- Google Nexus 9 WiFi ()
510+
- Google Nexus 9 LTE (7.1.1)
496511
- Google Nexus 10 (5.1.1)
497512
- Google Pixel (9)
498513
- Google Pixel XL (9)
499514
- Google Pixel 2 (9)
500515
- Google Pixel 2 XL (9)
501516
- Google Pixel 3 (9)
502517
- Google Pixel 3 XL (9)
518+
- Google Pixel C (8.1.0)
503519
- HTC 10 (6.0.1)
504520
- HTC U11 (8.0.0)
505521
- HTC U12 Plus (8.0.0)
@@ -516,9 +532,11 @@ Releases from v2.4.1 are compatible with Magisk v17+.
516532
- LG G2 BS980 (5.0.2)
517533
- LG G4 H812 (6.0)
518534
- LG G5 H850 (8.0.0)
535+
- LG V30 H930 (8.0.0)
519536
- Motorola Moto C Plus (7.0)
520537
- Motorola Moto E4 (7.1.1)
521538
- Motorola Moto E4 Plus (7.1.1)
539+
- Motorola Moto E5 Plus (8.0.0)
522540
- Motorola Moto G4 (7.0)
523541
- Motorola Moto G5 (7.0)
524542
- Motorola Moto G5 Plus (7.0)
@@ -537,20 +555,23 @@ Releases from v2.4.1 are compatible with Magisk v17+.
537555
- OnePlus 5 (8.1.0)
538556
- OnePlus 5T (8.1.0)
539557
- OnePlus 6 (9)
558+
- OnePlus 6T (9)
540559
- Samsung Galaxy A8 Plus (7.1.1)
541560
- Samsung Galaxy Grand Prime (5.0.2)
542561
- Samsung Galaxy J2 (5.1.1)
543562
- Samsung Galaxy J3 (5.1.1)
544563
- Samsung Galaxy J5 2015 (6.0.1)
545564
- Samsung Galaxy J5 (7.1.1)
546565
- Samsung Galaxy J5 Prime (7.0)
566+
- Samsung Galaxy J7 Prime (6.0.1)
547567
- Samsung Galaxy Note 3 (5.0)
548568
- Samsung Galaxy Note 4 (6.0.1)
549569
- Samsung Galaxy Note 5 (7.0)
550570
- Samsung Galaxy Note 8 (8.0.0)
551571
- Samsung Galaxy Note 10.1 2014 (5.1.1)
552572
- Samsung Galaxy S3 Neo (4.4.4)
553573
- Samsung Galaxy S4 (5.0.1)
574+
- Samsung Galaxy S5 (6.0.1)
554575
- Samsung Galaxy S6 (7.0)
555576
- Samsung Galaxy S6 Edge (7.0)
556577
- Samsung Galaxy S7 (8.0.0)
@@ -592,8 +613,8 @@ Releases from v2.4.1 are compatible with Magisk v17+.
592613
- Xiaomi Mi 5/5 Pro (8.0.0)
593614
- Xiaomi Mi 5S (7.0)
594615
- Xiaomi Mi 5S Plus (7.0)
595-
- Xiaomi Mi 6 (7.1.1)
596616
- Xiaomi Mi 6 (8.0.0)
617+
- Xiaomi Mi 8 (8.1.0)
597618
- Xiaomi Mi A1 (8.0.0)
598619
- Xiaomi Mi Max 2 (7.1.1)
599620
- Xiaomi Mi Mix 2 (8.0.0)

common/post-fs-data.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ fi
2323
if [ ! -f "$POSTFILE" ]; then
2424
# Start logging
2525
log_start
26-
log_handler "Post-fs-data boot script not found."
27-
log_handler "Restoring boot script (${POSTFILE})."
26+
log_handler "post-fs-data boot script not found."
27+
log_handler "Restoring post-fs-data boot script (${POSTFILE})."
2828
cp -af $MODPATH/propsconf_post $POSTFILE >> $LOGFILE 2>&1
2929
chmod -v 755 $POSTFILE >> $LOGFILE 2>&1
3030
placeholder_update $POSTFILE IMGPATH IMG_PLACEHOLDER $IMGPATH
@@ -36,17 +36,17 @@ if [ ! -f "$LATEFILE" ] || [ -f "$RESETFILE" ]; then
3636
RSTTXT="Resetting"
3737
else
3838
RSTTXT="Restoring"
39-
log_handler "Late_start service boot script not found."
39+
log_handler "late_start service boot script not found."
4040
fi
41-
log_handler "$RSTTXT boot script (${LATEFILE})."
41+
log_handler "$RSTTXT late_start service boot script (${LATEFILE})."
4242
cp -af $MODPATH/propsconf_late $LATEFILE >> $LOGFILE 2>&1
4343
chmod -v 755 $LATEFILE >> $LOGFILE 2>&1
4444
placeholder_update $LATEFILE IMGPATH IMG_PLACEHOLDER $IMGPATH
4545
placeholder_update $LATEFILE CACHELOC CACHE_PLACEHOLDER $CACHELOC
4646

4747
fi
4848

49-
log_handler "post-fs-data.sh finished.\n\n===================="
49+
log_handler "post-fs-data.sh module script finished.\n\n===================="
5050

5151
# Deletes the post-fs-data control file
5252
rm -f $POSTCHKFILE

common/prints.sh

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# MagiskHide Props Config
44
# By Didgeridoohan @ XDA Developers
55

6-
PRINTSV=37
6+
PRINTSV=38
77
PRINTSTRANSF=250
88

99
# Certified fingerprints
@@ -14,24 +14,31 @@ Asus ZenPad S 8.0 (6.0.1)=asus/WW_P01M/P01M_3:6.0.1/MMB29P/WW_P01M-V5.6.0-201706
1414
Essential PH-1 (9)=essential/mata/mata:9/PPR1.181005.076/390:user/release-keys__2018-11-05
1515
Google Nexus 4 (5.1.1)=google/occam/mako:5.1.1/LMY48T/2237560:user/release-keys
1616
Google Nexus 5 (6.0.1)=google/hammerhead/hammerhead:6.0.1/M4B30Z/3437181:user/release-keys
17-
Google Nexus 6 (7.1.1)=google/shamu/shamu:7.1.1/N6F27M/4299435:user/release-keys
1817
Google Nexus 5x (8.1.0)=google/bullhead/bullhead:8.1.0/OPM7.181105.004/5038062:user/release-keys__2018-11-05
18+
Google Nexus 6 (7.1.1)=google/shamu/shamu:7.1.1/N6F27M/4299435:user/release-keys
1919
Google Nexus 6P (8.1.0)=google/angler/angler:8.1.0/OPM7.181105.004/5038062:user/release-keys__2018-11-05
20+
Google Nexus 7 2012 WiFi (5.1.1)=google/nakasi/grouper:5.1.1/LMY47V/1836172:user/release-keys
21+
Google Nexus 7 2012 LTE (5.1.1)=google/nakasig/tilapia:5.1.1/LMY47V/1836172:user/release-keys
22+
Google Nexus 7 2013 WiFi (6.0.1)=google/razor/flo:6.0.1/MOB30X/3036618:user/release-keys
23+
Google Nexus 7 2013 LTE (6.0.1)=google/razorg/deb:6.0.1/MOB30X/3036618:user/release-keys
24+
Google Nexus 9 WiFi ()=google/volantis/flounder:7.1.1/N9F27M/4333998:user/release-keys
25+
Google Nexus 9 LTE (7.1.1)=google/volantisg/flounder_lte:7.1.1/N4F27P/4333386:user/release-keys
2026
Google Nexus 10 (5.1.1)=google/mantaray/manta:5.1.1/LMY49J/2640980:user/release-keys
2127
Google Pixel (9)=google/sailfish/sailfish:9/PPR2.181005.003/4984323:user/release-keys__2018-10-05
2228
Google Pixel XL (9)=google/marlin/marlin:9/PPR2.181005.003/4984323:user/release-keys__2018-10-05
2329
Google Pixel 2 (9)=google/walleye/walleye:9/PQ1A.181105.017.A1/5081125:user/release-keys__2018-11-05
2430
Google Pixel 2 XL (9)=google/taimen/taimen:9/PQ1A.181105.017.A1/5081125:user/release-keys__2018-11-05
2531
Google Pixel 3 (9)=google/blueline/blueline:9/PQ1A.181105.017.A1/5081125:user/release-keys__2018-11-05
2632
Google Pixel 3 XL (9)=google/crosshatch/crosshatch:9/PQ1A.181105.017.A1/5081125:user/release-keys__2018-11-05
33+
Google Pixel C (8.1.0)=google/ryu/dragon:8.1.0/OPM8.181105.002/5038063:user/release-keys__2018-11-05
2734
HTC 10 (6.0.1)=htc/HTCOneM10vzw/htc_pmewl:6.0.1/MMB29M/774095.8:user/release-keys
2835
HTC U11 (8.0.0)=htc/ocndtwl_01405/htc_ocndtwl:8.0.0/OPR6.170623.013/1017190.2:user/release-keys
2936
HTC U12 Plus (8.0.0)=htc/imeuhl_00617/htc_imeuhl:8.0.0/OPR1.170623.032/1041457.3:user/release-keys__2018-06-01
3037
Huawei Honor 6X (8.0.0)=HONOR/BLN-AL10/HWBLN-H:8.0.0/HONORBLN-AL10/528(C00):user/release-keys
3138
Huawei Honor 9 (8.0.0)=HONOR/STF-L09/HWSTF:8.0.0/HUAWEISTF-L09/364(C432):user/release-keys
3239
Huawei Mate 10 (8.0.0)=HUAWEI/ALP-L29/HWALP:8.0.0/HUAWEIALP-L29S/143(C636):user/release-keys__2018-10-01
3340
Huawei Mate 10 Pro (8.0.0)=HUAWEI/BLA-L29/HWBLA:8.0.0/HUAWEIBLA-L29S/137(C432):user/release-keys
34-
Huawei P8 Lite (8.0.0)=HUAWEI/PRA-LX1/HWPRA-H:8.0.0/HUAWEIPRA-LX1/392(C432):user/release-keys__2018-11-05
41+
Huawei P8 Lite (8.0.0)=HUAWEI/PRA-LX1/HWPRA-H:8.0.0/HUAWEIPRA-LX1/395(C432):user/release-keys__2018-12-05
3542
Huawei P9 (7.0)=HUAWEI/EVA-L09/HWEVA:7.0/HUAWEIEVA-L09/C432B502:user/release-keys
3643
Huawei P9 Lite (7.0)=HUAWEI/VNS-L31/HWVNS-H:7.0/HUAWEIVNS-L31/C432B414:user/release-keys__2018-06-01
3744
Huawei P9 Plus (7.0)=HUAWEI/VIE-L09/HWVIE:7.0/HUAWEIVIE-L09/C432B387:user/release-keys__2018-07-01
@@ -40,9 +47,11 @@ LeEco Le Pro3 (6.0.1)=LeEco/ZL1_NA/le_zl1:6.0.1/WEXNAOP5802101261S/letv01261206:
4047
LG G2 BS980 (5.0.2)=lge/g2_vzw/g2:5.0.2/LRX22G/15046001715f9:user/release-keys
4148
LG G4 H812 (6.0)=lge/p1_rgs_ca/p1:6.0/MRA58K/1601215569825:user/release-keys
4249
LG G5 H850 (8.0.0)=lge/h1_global_com/h1:8.0.0/OPR1.170623.032/182532053d3a3:user/release-keys__2018-09-01
50+
LG V30 H930 (8.0.0)=lge/joan_global_com/joan:8.0.0/OPR1.170623.026/181381736b4e9:user/release-keys__2018-11-05
4351
Motorola Moto C Plus (7.0)=motorola/panell_21_d/panell_d:7.0/NRD90M.03.040/040:user/release-keys
4452
Motorola Moto E4 (7.1.1)=motorola/sperry_sprint/sperry:7.1.1/NCQ26.69-64/68:user/release-keys
4553
Motorola Moto E4 Plus (7.1.1)=motorola/nicklaus_fn/nicklaus_fn:7.1.1/NMA26.42-156/183:user/release-keys
54+
Motorola Moto E5 Plus (8.0.0)=motorola/hannah_sprint/hannah:8.0.0/OCPS27.91-32-4/4:user/release-keys__2018-10-01
4655
Motorola Moto G4 (7.0)=motorola/athene/athene:7.0/NPJS25.93-14-13/3:user/release-keys
4756
Motorola Moto G5 (7.0)=motorola/cedric/cedric:7.0/NPPS25.137-15-11/11:user/release-keys
4857
Motorola Moto G5 Plus (7.0)=motorola/potter_n/potter_n:7.0/NPNS25.137-33-11/11:user/release-keys
@@ -61,20 +70,23 @@ OnePlus 3T (8.0.0)=OnePlus/OnePlus3/OnePlus3T:8.0.0/OPR1.170623.032/1809150114:u
6170
OnePlus 5 (8.1.0)=OnePlus/OnePlus5/OnePlus5:8.1.0/OPM1.171019.011/1809241512:user/release-keys__2018-09-01
6271
OnePlus 5T (8.1.0)=OnePlus/OnePlus5T/OnePlus5T:8.1.0/OPM1.171019.011/1809241512:user/release-keys__2018-09-01
6372
OnePlus 6 (9)=OnePlus/OnePlus6/OnePlus6:9/PKQ1.180716.001/1809150000:user/release-keys__2018-09-05
73+
OnePlus 6T (9)=OnePlus/OnePlus6T/OnePlus6T:9/PKQ1.180716.001/1811170214:user/release-keys__2018-11-01
6474
Samsung Galaxy A8 Plus (7.1.1)=samsung/jackpot2ltexx/jackpot2lte:7.1.1/NMF26X/A730FXXU2ARD1:user/release-keys
6575
Samsung Galaxy Grand Prime (5.0.2)=samsung/fortuna3gdtvvj/fortuna3gdtv:5.0.2/LRX22G/G530BTVJU1BPH4:user/release-keys
6676
Samsung Galaxy J2 (5.1.1)=samsung/j23gdd/j23g:5.1.1/LMY48B/J200HXXU0AQK2:user/release-keys
6777
Samsung Galaxy J3 (5.1.1)=ro.build.fingerprint=samsung/j3xnltexx/j3xnlte:5.1.1/LMY47V/J320FNXXU0ARB1:user/release-keys
6878
Samsung Galaxy J5 2015 (6.0.1)=samsung/j5nltexx/j5nlte:6.0.1/MMB29M/J500FNXXS1BQG1:user/release-keys
6979
Samsung Galaxy J5 (7.1.1)=samsung/j5xnltexx/j5xnlte:7.1.1/NMF26X/J510FNXXS2BRA2:user/release-keys
7080
Samsung Galaxy J5 Prime (7.0)=samsung/on5xeltejv/on5xelte:7.0/NRD90M/G570FXXU1BQI6:user/release-keys
81+
Samsung Galaxy J7 Prime (6.0.1)=samsung/on7xeltedd/on7xelte:6.0.1/MMB29K/G610FDDU1AQG2:user/release-keys
7182
Samsung Galaxy Note 3 (5.0)=samsung/hltezh/hlte:5.0/LRX21V/N9005ZSUGPJ2:user/release-keys
7283
Samsung Galaxy Note 4 (6.0.1)=samsung/trltexx/trlte:6.0.1/MMB29M/N910FXXS1DQH9:user/release-keys
7384
Samsung Galaxy Note 5 (7.0)=samsung/nobleltejv/noblelte:7.0/NRD90M/N920CXXU3CQH6:user/release-keys
7485
Samsung Galaxy Note 8 (8.0.0)=samsung/greatltexx/greatlte:8.0.0/R16NW/N950FXXU3CRC1:user/release-keys
7586
Samsung Galaxy Note 10.1 2014 (5.1.1)=samsung/lt03wifixx/lt03wifi:5.1.1/LMY47X/P600XXUDOJ3:user/release-keys
7687
Samsung Galaxy S3 Neo (4.4.4)=samsung/s3ve3gdd/s3ve3gdd:4.4.4/KTU84P/I9300IDDUBQE2:user/release-keys
7788
Samsung Galaxy S4 (5.0.1)=samsung/jfltexx/jflte:5.0.1/LRX22C/I9505XXUHPF4:user/release-keys
89+
Samsung Galaxy S5 (6.0.1)=samsung/k3gxx/k3g:6.0.1/MMB29K/G900HXXU1CPF2:user/release-keys
7890
Samsung Galaxy S6 (7.0)=samsung/zerofltexx/zeroflte:7.0/NRD90M/G920FXXS5EQL1:user/release-keys
7991
Samsung Galaxy S6 Edge (7.0)=samsung/zeroltexx/zerolte:7.0/NRD90M/G925FXXS5EQL1:user/release-keys
8092
Samsung Galaxy S7 (8.0.0)=samsung/heroltexx/herolte:8.0.0/R16NW/G930FXXU2ERD5:user/release-keys
@@ -116,12 +128,12 @@ Xiaomi Mi 4C (7.0)=Xiaomi/libra/libra:7.0/NRD90M/V9.6.2.0.NXKCNFD:user/release-k
116128
Xiaomi Mi 5/5 Pro (8.0.0)=Xiaomi/gemini/gemini:8.0.0/OPR1.170623.032/V9.6.1.0.OAAMIFD:user/release-keys
117129
Xiaomi Mi 5S (7.0)=Xiaomi/capricorn/capricorn:7.0/NRD90M/V9.5.4.0.NAGMIFD:user/release-keys
118130
Xiaomi Mi 5S Plus (7.0)=Xiaomi/natrium/natrium:7.0/NRD90M/V9.6.2.0.NBGMIFD:user/release-keys
119-
Xiaomi Mi 6 (7.1.1)=Xiaomi/sagit/sagit:7.1.1/NMF26X/V8.2.17.0.NCACNEC:user/release-keys
120131
Xiaomi Mi 6 (8.0.0)=Xiaomi/sagit/sagit:8.0.0/OPR1.170623.027/V9.2.3.0.OCAMIEK:user/release-keys
132+
Xiaomi Mi 8 (8.1.0)=Xiaomi/dipper/dipper:8.1.0/OPM1.171019.011/V9.5.5.0.OEAMIFA:user/release-keys
121133
Xiaomi Mi A1 (8.0.0)=xiaomi/tissot/tissot_sprout:8.0.0/OPR1.170623.026/V.9.5.10.0.ODHMIFA:user/release-keys
122134
Xiaomi Mi Max 2 (7.1.1)=Xiaomi/oxygen/oxygen:7.1.1/NMF26F/V9.5.4.0.NDDMIFA:user/release-keys
123135
Xiaomi Mi Mix 2 (8.0.0)=Xiaomi/chiron/chiron:8.0.0/OPR1.170623.027/V9.6.1.0.ODEMIFD:user/release-keys
124-
Xiaomi Mi Mix 2S (8.0.0)=Xiaomi/polaris/polaris:8.0.0/OPR1.170623.032/V9.5.19.0.ODGMIFA:user/release-keys
136+
Xiaomi Mi Mix 2S (9.0.0)=Xiaomi/polaris/polaris:9/PKQ1.180729.001/V10.0.6.0.PDGMIFH:user/release-keys__2018-10-01
125137
Xiaomi Mi Note 2 (8.0.0)=Xiaomi/scorpio/scorpio:8.0.0/OPR1.170623.032/V9.6.1.0.OADCNFD:user/release-keys
126138
Xiaomi Pocophone F1 (8.1.0)=Xiaomi/beryllium/beryllium:8.1.0/OPM1.171019.011/V9.6.22.0.OEJMIFD:user/release-keys__2018-08-01
127139
Xiaomi Redmi 3/3 Pro (5.1.1)=Xiaomi/ido/ido:5.1.1/LMY47V/V9.6.2.0.LAIMIFD:user/release-keys

common/propsconf_late

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# In that case, feel free to delete it.
1010

1111
# Script version
12-
SCRIPTV=19
12+
SCRIPTV=20
1313
SETTRANSF=2
1414
NOTTRANSF="OPTIONLATE"
1515

@@ -78,10 +78,9 @@ if [ -d "$MODPATH" ]; then
7878
done
7979
fi
8080

81-
log_script_chk "Running boot script."
81+
log_script_chk "Running late_start service boot script."
8282

8383
if [ -f "$MODPATH/disable" ]; then
84-
log_start
8584
log_handler "Module disabled."
8685
else
8786

@@ -181,7 +180,7 @@ if [ -d "$MODPATH" ]; then
181180
rm -f $LATELOGFILE >> $LOGFILE 2>&1
182181
fi
183182

184-
log_script_chk "Boot script finished.\n\n=================="
183+
log_script_chk "late_start service boot script finished.\n\n=================="
185184
fi
186185
fi
187186
else

common/propsconf_post

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ if [ -d "$MODPATH" ]; then
3232
log_start
3333

3434
if [ -f "$MODPATH/disable" ]; then
35-
log_start
3635
log_handler "Module disabled."
3736
else
3837
# Clears out the script control file
@@ -149,7 +148,7 @@ if [ -d "$MODPATH" ]; then
149148
fi
150149
fi
151150

152-
log_script_chk "post-fs-data.d finished.\n\n===================="
151+
log_script_chk "post-fs-data boot script finished.\n\n===================="
153152
fi
154153
else
155154
echo "$MODPATH not found." >> $POSTLOGFILE 2>&1

common/util_functions.sh

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ $LATEFILE
2727
CONFFILE=$CACHELOC/propsconf_conf
2828
RESETFILE=$CACHELOC/reset_mhpc
2929
MAGISKLOC=/data/adb/magisk
30-
BBPATH=$MAGISKLOC/busybox
31-
if [ -z "$(echo $PATH | grep /sbin:)" ]; then
32-
alias resetprop="$MAGISKLOC/magisk resetprop"
30+
if [ -d "$IMGPATH/busybox-ndk" ]; then
31+
BBPATH=$(find $IMGPATH/busybox-ndk -name 'busybox')
32+
else
33+
BBPATH=$(which busybox)
3334
fi
3435
alias cat="$BBPATH cat"
3536
alias chmod="$BBPATH chmod"
@@ -44,6 +45,9 @@ alias tar="$BBPATH tar"
4445
alias tee="$BBPATH tee"
4546
alias tr="$BBPATH tr"
4647
alias wget="$BBPATH wget"
48+
if [ -z "$(echo $PATH | grep /sbin:)" ]; then
49+
alias resetprop="$MAGISKLOC/magisk resetprop"
50+
fi
4751
PRINTSLOC=$MODPATH/prints.sh
4852
PRINTSTMP=$CACHELOC/prints.sh
4953
PRINTSWWW="https://raw.githubusercontent.com/Magisk-Modules-Repo/MagiskHide-Props-Config/master/common/prints.sh"
@@ -232,11 +236,11 @@ orig_check() {
232236
# Check if boot scripts ran during boot
233237
script_ran_check() {
234238
POSTCHECK=0
235-
if [ -f "$RUNFILE" ] && [ "$(cat $RUNFILE | grep "post-fs-data.d finished")" ]; then
239+
if [ -f "$RUNFILE" ] && [ "$(cat $RUNFILE | grep "post-fs-data boot script finished")" ]; then
236240
POSTCHECK=1
237241
fi
238242
LATECHECK=0
239-
if [ -f "$RUNFILE" ] && [ "$(cat $RUNFILE | grep "Boot script finished")" ]; then
243+
if [ -f "$RUNFILE" ] && [ "$(cat $RUNFILE | grep "late_start service boot script finished")" ]; then
240244
LATECHECK=1
241245
fi
242246
}

0 commit comments

Comments
 (0)