Skip to content

Commit bb0a5ff

Browse files
v2.3.1-v19 part 4
1 parent e366726 commit bb0a5ff

File tree

3 files changed

+48
-23
lines changed

3 files changed

+48
-23
lines changed

README.md

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ Google Nexus 6=google/shamu/shamu:7.1.1/N8I11B/4171878:user/release-keys
6363

6464
### I still can't pass the ctsProfile check
6565
If you've picked a certified fingerprint from the provided list, or you're using a fingerprint that you know is certified but still can't pass the ctsProfile check, try one or more of the following:
66-
- First, do you pass basicIntegrity? If you don't, there's something else going on that this module can't help you with. Take a look under "Miscellaneous MagiskHide issues" below.
66+
- First, do you pass basicIntegrity? If you don't, there's something else going on that this module can't help you with. Take a look under ["Miscellaneous MagiskHide issues"](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#miscellaneous-magiskhide-issues) below.
6767
- Go into the script options and move the execution of the boot script to post-fs-data. See ["Boot stage"](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config#boot-stage) below.
6868
- Try a different fingerprint (pick one from the provided list).
6969
- Some ROMs will just not be able to pass the ctsProfile check, if they contain signs of a rooted/modified device that Magisk can't hide. Check in your ROM thread or with the creator/developer.
70-
- You might have remnants of previous tampering on your device. A clean install of your system may be required.
70+
- You might have remnants of previous modifications that trigger SafetyNet on your device. A clean install of your system may be required.
7171
- If you can't get things working, and want help, make sure to provide logs and details. See ["Logs, etc"](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config#logs-etc) below.
7272

7373

@@ -143,6 +143,14 @@ But first: have you tried turning it off and on again? Toggling MagiskHide off a
143143
## Issues, support, etc
144144
If you have questions, suggestions or are experiencing some kind of issue, visit the [module support thread](https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-t3789228) @ XDA.
145145

146+
### I can't pass the ctsProfile check
147+
See ["I still can't pass the ctsProfile check"](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#i-still-cant-pass-the-ctsprofile-check) above.
148+
149+
Also see ["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) below.
150+
151+
### I can't pass the basicIntegrity check
152+
This module can only really help with the ctsProfile check, by spoofing the device fingerprint. If you can't pass basicIntegrity, there's probably something else going on with your device. See ["Miscellaneous MagiskHide issues"](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config/blob/master/README.md#miscellaneous-magiskhide-issues) above.
153+
146154
### Props don't seem to set properly
147155
If it seems like props you're trying to set with the module don't get set properly (ctsProfile still doesn't pass, custom props don't work, etc), go into the script options and change the execution of the boot script to post-fs-data. See ["Boot stage"](https://github.com/Magisk-Modules-Repo/MagiskHide-Props-Config#boot-stage) above.
148156

@@ -154,9 +162,11 @@ Place a file named `reset_mhpc` in /cache (or /data/cache on A/B devices) and re
154162
It is possible to use this in combination with the configuration file described above to keep device fingerprint or any other settings intact past the reset. Just make sure to remove any custom props that might have been causing issues from the configuration file.
155163

156164
### Logs, etc
157-
In case of issues, please provide the logs by running the `props` script and selecting the "Collect logs" option (or running the `props` script with the -l command, use -h for details). All the relevant logs, together with the Magisk logs, the stock build.prop file and current prop values will be packaged into a file that'll be stored in the root of your internal storage, ready for attaching to a post in the [module support thread](https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-t3789228), together with a detailed description of your problem.
165+
In case of issues, please provide the logs by running the `props` script and selecting the "Collect logs" option (or running the `props` script with the -l command, use -h for details). All the relevant logs, together with the Magisk logs, the stock build.prop file and current prop values will be packaged into a file that'll be stored in the root of the device's internal storage, ready for attaching to a post in the [module support thread](https://forum.xda-developers.com/apps/magisk/module-magiskhide-props-config-t3789228), together with a detailed description of your problem.
158166

159-
The logs are also stored in /cache (or /data/cache for A/B devices), and the Magisk log and any files starting with "propsconf" would be useful for troubleshooting (if you don't use the "Collect logs" option mentioned above. Providing the output from terminal might also be useful.
167+
The logs will also automatically be saved to the root of the device's internal storage if there's an issue with the module scripts.
168+
169+
If you can't run the `props` script for some reason, the logs are also stored in /cache (or /data/cache for A/B devices). The Magisk log and any files starting with "propsconf" would be useful for troubleshooting (if you don't use the "Collect logs" option mentioned above). Providing the output from terminal might also be useful.
160170

161171
If you have the latest beta release of Magisk installed, the "magisk_debug.log" is also useful. If there's no new beta released, there's always a beta version of the latest stable Magisk release (the only difference is the more verbose logging), so that you can collect the debug log.
162172

@@ -171,6 +181,13 @@ If you have the latest beta release of Magisk installed, the "magisk_debug.log"
171181

172182

173183
## Changelog
184+
### v2.3.1
185+
- Fixed permissions for the settings boot script when using the reset option.
186+
- Fixed log collecting.
187+
- Added automatic log collecting when there's an issue with the boot scripts.
188+
- Some updates to the documentation, mainly regarding troubleshooting issues.
189+
- Miscellaneous improvements and fixes.
190+
174191
### v2.3.0
175192
- Added a function for removing props. See the documentation for details.
176193
- Added a function to collect and package the logs and relevant troubleshooting files for easy uploading.
@@ -346,3 +363,5 @@ If you have the latest beta release of Magisk installed, the "magisk_debug.log"
346363
- ZTE Axon 7 (7.1.1)
347364
- ZTE Nubia Z17 (7.1.1)
348365
- Zuk Z2 Pro (7.0)
366+
.1.1)
367+
- Zuk Z2 Pro (7.0)

config.sh

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,16 @@ set_permissions() {
8585
# set_perm $MODPATH/system/lib/libart.so 0 0 0644
8686

8787
# The following is default permissions, DO NOT remove
88-
set_perm_recursive $MODPATH 0 0 0755 0644
88+
set_perm_recursive $MODPATH 0 0 0755 0644 >> $INSTLOG
8989

9090
# Permissions for the props file
91-
set_perm $MODPATH/system/$BIN/props 0 0 0777
91+
set_perm $MODPATH/system/$BIN/props 0 0 0777 >> $INSTLOG
92+
# Permissions for boot scripts
93+
set_perm $LATEFILE 0 0 0755 >> $INSTLOG
94+
set_perm $POSTFILE 0 0 0755 >> $INSTLOG
9295
# Busybox permissions
9396
if [ -f "$MODPATH/busybox" ]; then
94-
set_perm $MODPATH/busybox 0 0 0755
97+
set_perm $MODPATH/busybox 0 0 0755 >> $INSTLOG
9598
fi
9699
}
97100

@@ -212,12 +215,11 @@ script_placement() {
212215
FILEV=0
213216
fi
214217
log_print "- Installing scripts"
215-
cp -afv $INSTALLER/common/util_functions.sh $MODPATH/util_functions.sh >> $INSTLOG
216-
cp -afv $INSTALLER/common/prints.sh $MODPATH/prints.sh >> $INSTLOG
217-
cp -afv $UPDATEPOSTFILE $MODPATH/propsconf_post >> $INSTLOG
218-
cp -afv $UPDATEPOSTFILE $POSTFILE >> $INSTLOG
219-
chmod -v 755 $POSTFILE >> $INSTLOG
220-
cp -afv $UPDATELATEFILE $MODPATH/propsconf_late >> $INSTLOG
218+
cp -af $INSTALLER/common/util_functions.sh $MODPATH/util_functions.sh >> $INSTLOG
219+
cp -af $INSTALLER/common/prints.sh $MODPATH/prints.sh >> $INSTLOG
220+
cp -af $UPDATEPOSTFILE $MODPATH/propsconf_post >> $INSTLOG
221+
cp -af $UPDATEPOSTFILE $POSTFILE >> $INSTLOG
222+
cp -af $UPDATELATEFILE $MODPATH/propsconf_late >> $INSTLOG
221223
if [ "$UPDATEV" -gt "$FILEV" ]; then
222224
if [ "$FILEV" == 0 ]; then
223225
log_print "- Placing settings script"
@@ -260,12 +262,10 @@ script_placement() {
260262
done
261263
fi
262264
log_handler "Setting up late_start settings script."
263-
cp -afv $UPDATELATEFILE $LATEFILE >> $INSTLOG
264-
chmod -v 755 $LATEFILE >> $INSTLOG
265+
cp -af $UPDATELATEFILE $LATEFILE >> $INSTLOG
265266
elif [ "$UPDATEV" -lt "$FILEV" ]; then
266267
log_print "- Settings cleared (script downgraded)"
267-
cp -afv $UPDATELATEFILE $LATEFILE >> $INSTLOG
268-
chmod -v 755 $LATEFILE >> $INSTLOG
268+
cp -af $UPDATELATEFILE $LATEFILE >> $INSTLOG
269269
else
270270
log_print "- Module settings preserved"
271271
fi
@@ -326,7 +326,7 @@ bin_check() {
326326
BIN=bin
327327
fi
328328
log_handler "Using /system/$BIN."
329-
mv -f $MODPATH/system/binpath $MODPATH/system/$BIN
329+
mv -f $MODPATH/system/binpath $MODPATH/system/$BIN >> $INSTLOG
330330
}
331331

332332
# Magisk installation check
@@ -354,7 +354,7 @@ check_bb() {
354354
log_handler "Current/installed busybox - v${BBCURR}/v${BBV}."
355355
if [ "$BBCURR" == "$BBV" ]; then
356356
log_handler "Backing up current busybox."
357-
cp -afv $IMGPATH/$MODID/busybox $CACHELOC/busybox_post >> $INSTLOG
357+
cp -af $IMGPATH/$MODID/busybox $CACHELOC/busybox_post >> $INSTLOG
358358
fi
359359
fi
360360
}
@@ -363,7 +363,7 @@ check_bb() {
363363
download_bb() {
364364
if [ -f "$CACHELOC/busybox_post" ]; then
365365
log_handler "Restoring current busybox."
366-
mv -fv $CACHELOC/busybox_post $MODPATH/busybox >> $INSTLOG
366+
mv -f $CACHELOC/busybox_post $MODPATH/busybox >> $INSTLOG
367367
elif [ "$BOOTMODE" == "true" ]; then
368368
# Testing connection
369369
log_print "- Testing connection"
@@ -374,8 +374,13 @@ download_bb() {
374374
if [ "$CNTTEST" == "true" ]; then
375375
log_print "- Downloading busybox"
376376
wget -T 5 -O $MODPATH/busybox $BBWWWPATH 2>> $INSTLOG
377+
if [ -f "$MODPATH/busybox" ]; then
378+
log_print "- Busybox downloaded"
379+
else
380+
log_print "! No busybox downloaded!"
381+
fi
377382
else
378-
log_print "- No connection"
383+
log_print "! No connection!"
379384
fi
380385
elif [ "$BOOTMODE" == "false" ]; then
381386
log_handler "Recovery installation, can't download busybox."
@@ -402,3 +407,4 @@ script_install() {
402407
placeholder_update $LATEFILE IMGPATH IMG_PLACEHOLDER "$BIMGPATH"
403408
placeholder_update $MODPATH/system/$BIN/props IMGPATH IMG_PLACEHOLDER "$BIMGPATH"
404409
}
410+

module.prop

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
id=MagiskHidePropsConf
22
name=MagiskHide Props Config
3-
version=v2.3.0-v19
4-
versionCode=16
3+
version=v2.3.1-v19
4+
versionCode=17
55
author=Didgeridoohan
66
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.
77
minMagisk=1500

0 commit comments

Comments
 (0)