Skip to content

Commit cd65cd4

Browse files
v2.3.2-v21
1 parent 8dc81f7 commit cd65cd4

File tree

10 files changed

+89
-37
lines changed

10 files changed

+89
-37
lines changed

README.md

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,17 @@ You can find the file to download in your device's forum on XDA Developers (eith
4848
Once you have the file downloaded, there are several different ways that the fingerprint can be found. In all cases you'll have to access the file somehow, and in most cases it's just a matter of unpackaging it. After that it depends on how the package is constructed.
4949

5050
- Sometimes there'll be a build.prop file directly in the zip/package. You'll likely find the fingerprint in there.
51-
- For some devices you'll have to unpackage the system.img to get to the build.prop file. On Windows, you can use something like [this tool](https://forum.xda-developers.com/showpost.php?p=57742855&postcount=42). You'll also find more info in the [main thread for that post](https://forum.xda-developers.com/android/software-hacking/how-to-conver-lollipop-dat-files-to-t2978952).
51+
- For some devices you'll have to unpackage the system.img to get to the build.prop file. On Windows, you can use something like [this tool](https://forum.xda-developers.com/showpost.php?p
5252
- Other times you'll find the fingerprint in META-INF\com\google\android\updater-script. Look for "Target:" and you'll likely find the fingerprint there.
5353
- Etc... Experiment, the fingerprint will be in there somewhere.
5454

5555
Take a look below for an example of what a device fingerprint looks like.
5656

5757
### Custom fingerprints list
58-
You can add your own fingerprint to the list by placing a file, named `printslist`, in the root of your internal storage with the fingerprint. It needs to be formated as follows:`device name=fingerprint`.
58+
You can add your own fingerprint to the list by placing a file, named `printslist`, in the root of your internal storage with the fingerprint. It needs to be formated as follows:`device name
5959
Here's an example:
6060
```
61-
Google Nexus 6=google/shamu/shamu:7.1.1/N8I11B/4171878:user/release-keys
61+
Google Nexus 6
6262
```
6363

6464
### I still can't pass the ctsProfile check
@@ -86,7 +86,7 @@ The fingerprints list will update without the need to update the entire module.
8686

8787
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.
8888

89-
**_Current fingerprints list version - v20_**
89+
**_Current fingerprints list version - v21_**
9090

9191

9292
## Improved root hiding - Editing build.prop and default.prop
@@ -182,6 +182,13 @@ If you have the latest beta release of Magisk installed, the "magisk_debug.log"
182182

183183

184184
## Changelog
185+
### v2.3.2
186+
- Finally fixed installing with the configuration file on a clean Magisk installation.
187+
- Fixed updating placeholders if boot scripts gets restored at boot.
188+
- Updated the power requirements to 1.21 gigawatts.
189+
- Updated and added new fingerprints (Asus Zenfone 2 Laser, Huawei P9, LG G4, Motorola Moto C Plus and G6 Play, Samsung Galaxy J5 2015, Xiaomi Mi 4C and Mi Mix 2S), list v21.
190+
- Miscellaneous fixes and updates.
191+
185192
### v2.3.1
186193
- Fixed permissions for the settings boot script when using the reset option.
187194
- Fixed log collecting.
@@ -194,7 +201,7 @@ If you have the latest beta release of Magisk installed, the "magisk_debug.log"
194201
- Added a function to collect and package the logs and relevant troubleshooting files for easy uploading.
195202
- Updated and clarified the documentation on how to use the configuration file.
196203
- A bunch of improvements and tweaks. Several of which may go horribly wrong.
197-
- Updated and added bunch of new fingerprints (Asus ZenPad S 8.0, Huawei P20 Pro, Samsung Galaxy S8, Sony Xperia XZ1 Dual and XZ1 Compact, Xiaomi Mi 4C and Redmi Note 3 Pro SE), list v19
204+
- Updated and added bunch of new fingerprints (Asus ZenPad S 8.0, Huawei P20 Pro, Samsung Galaxy S8, Sony Xperia XZ1 Dual and XZ1 Compact, Xiaomi Mi 4C and Redmi Note 3 Pro SE), list v19.
198205
- Don’t turn your back, don’t look away, and *don’t blink!* Good luck.
199206

200207
### v2.2.2
@@ -282,7 +289,7 @@ If you have the latest beta release of Magisk installed, the "magisk_debug.log"
282289

283290

284291
## Current fingerprints list
285-
### List v20 
292+
### List v21 
286293
- Asus Zenfone 2 Laser (6.0.1)
287294
- Asus ZenPad S 8.0 (6.0.1)
288295
- Google Nexus 4 (5.1.1)
@@ -301,12 +308,16 @@ If you have the latest beta release of Magisk installed, the "magisk_debug.log"
301308
- HTC 10 (6.0.1)
302309
- Huawei Honor 9 (8.0.0)
303310
- Huawei Mate 10 Pro (8.0.0)
311+
- Huawei P9 (7.0)
304312
- Huawei P20 Pro (8.1.0)
313+
- LG G4 H812 (6.0)
314+
- Motorola Moto C Plus (7.0)
305315
- Motorola Moto E4 (7.1.1)
306316
- Motorola Moto G4 (7.0)
307317
- Motorola Moto G5 (7.0)
308318
- Motorola Moto G5 Plus (7.0)
309319
- Motorola Moto G5S (7.1.1)
320+
- Motorola Moto G6 Play (8.0.0)
310321
- Motorola Moto X4 (8.0.0)
311322
- Nvidia Shield K1 (7.0)
312323
- OnePlus 2 (6.0.1)
@@ -319,6 +330,7 @@ If you have the latest beta release of Magisk installed, the "magisk_debug.log"
319330
- Samsung Galaxy A8 Plus (7.1.1)
320331
- Samsung Galaxy Grand Prime (5.0.2)
321332
- Samsung Galaxy J3 (5.1.1)
333+
- Samsung Galaxy J5 2015 (6.0.1)
322334
- Samsung Galaxy J5 (7.1.1)
323335
- Samsung Galaxy J5 Prime (7.0)
324336
- Samsung Galaxy Note 3 (7.1.1)
@@ -360,6 +372,7 @@ If you have the latest beta release of Magisk installed, the "magisk_debug.log"
360372
- Xiaomi Mi 6 (8.0.0)
361373
- Xiaomi Mi A1 (8.0.0)
362374
- Xiaomi Mi Max 2 (7.1.1)
375+
- Xiaomi Mi Mix 2S (8.0.0)
363376
- Xiaomi Mi Note 2 (7.0)
364377
- Xiaomi Redmi 4 Prime (6.0.1)
365378
- Xiaomi Redmi 4X (6.0.1)

common/post-fs-data.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ if [ ! -f "$POSTFILE" ]; then
2626
log_handler "Post-fs-data boot script not found."
2727
log_handler "Restoring boot script (${POSTFILE})."
2828
cp -af $MODPATH/propsconf_post $POSTFILE >> $LOGFILE
29-
chmod -v 755 $POSTFILE >> $INSTLOG
29+
chmod -v 755 $POSTFILE >> $LOGFILE
30+
placeholder_update $POSTFILE IMGPATH IMG_PLACEHOLDER $IMGPATH
3031
# Deleting settings script to force a restore
3132
rm -f $LATEFILE
3233
fi
@@ -39,7 +40,10 @@ if [ ! -f "$LATEFILE" ] || [ -f "$RESETFILE" ]; then
3940
fi
4041
log_handler "$RSTTXT boot script (${LATEFILE})."
4142
cp -af $MODPATH/propsconf_late $LATEFILE >> $LOGFILE
42-
chmod -v 755 $LATEFILE >> $INSTLOG
43+
chmod -v 755 $LATEFILE >> $LOGFILE
44+
placeholder_update $LATEFILE IMGPATH IMG_PLACEHOLDER $IMGPATH
45+
placeholder_update $LATEFILE CACHELOC CACHE_PLACEHOLDER $CACHELOC
46+
4347
fi
4448

4549
log_handler "post-fs-data.sh finished.\n\n===================="

common/prints.sh

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

6-
PRINTSV=20
6+
PRINTSV=21
77
PRINTSTRANSF=1
88

99
PRINTSFILE=/sdcard/printslist
1010

1111
# Certified fingerprints
1212
PRINTSLIST="
13-
Asus Zenfone 2 Laser (6.0.1)=asus/WW_Z00L/ASUS_Z00L_63:6.0.1/MMB29P/WW_user_21.40.1220.2179_20170803:user/release-keys
13+
Asus Zenfone 2 Laser (6.0.1)=asus/WW_Z00L/ASUS_Z00L_63:6.0.1/MMB29P/WW_user_21.40.1220.2196_20180308:user/release-keys
1414
Asus ZenPad S 8.0 (6.0.1)=asus/WW_P01M/P01M_3:6.0.1/MMB29P/WW_P01M-V5.6.0-20170608:user/release-keys
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
@@ -28,12 +28,16 @@ Google Pixel 2 XL (P DP1)=google/taimen/taimen:P/PPP1.180208.014/4633861:user/re
2828
HTC 10 (6.0.1)=htc/HTCOneM10vzw/htc_pmewl:6.0.1/MMB29M/774095.8:user/release-keys
2929
Huawei Honor 9 (8.0.0)=HONOR/STF-L09/HWSTF:8.0.0/HUAWEISTF-L09/364(C432):user/release-keys
3030
Huawei Mate 10 Pro (8.0.0)=HUAWEI/BLA-L29/HWBLA:8.0.0/HUAWEIBLA-L29S/137(C432):user/release-keys
31+
Huawei P9 (7.0)=HUAWEI/EVA-L09/HWEVA:7.0/HUAWEIEVA-L09/C432B502:user/release-keys
3132
Huawei P20 Pro (8.1.0)=HUAWEI/CLT-L29/HWCLT:8.1.0/HUAWEICLT-L29/128(C432):user/release-keys
33+
LG G4 H812 (6.0)=lge/p1_rgs_ca/p1:6.0/MRA58K/1601215569825:user/release-keys
34+
Motorola Moto C Plus (7.0)=motorola/panell_21_d/panell_d:7.0/NRD90M.03.040/040:user/release-keys
3235
Motorola Moto E4 (7.1.1)=motorola/sperry_sprint/sperry:7.1.1/NCQ26.69-64/68:user/release-keys
3336
Motorola Moto G4 (7.0)=motorola/athene/athene:7.0/NPJS25.93-14-13/3:user/release-keys
3437
Motorola Moto G5 (7.0)=motorola/cedric/cedric:7.0/NPPS25.137-15-11/11:user/release-keys
3538
Motorola Moto G5 Plus (7.0)=motorola/potter_n/potter_n:7.0/NPNS25.137-33-11/11:user/release-keys
3639
Motorola Moto G5S (7.1.1)=motorola/montana/montana:7.1.1/NPPS26.102-49-8/6:user/release-keys
40+
Motorola Moto G6 Play (8.0.0)=motorola/jeter_sprint/jeter:8.0.0/OCP27.91-23/23:user/release-keys
3741
Motorola Moto X4 (8.0.0)=motorola/payton/payton:8.0.0/OPWS27.57-25-6-10/12:user/release-keys
3842
Nvidia Shield K1 (7.0)=nvidia/sb_na_wf/shieldtablet:7.0/NRD90M/1928188_1065.2559:user/release-keys
3943
OnePlus 2 (6.0.1)=OnePlus/OnePlus2/OnePlus2:6.0.1/MMB29M/1447858500:user/release-keys
@@ -46,6 +50,7 @@ OnePlus 6 (8.1.0)=OnePlus/OnePlus6/OnePlus6:8.1.0/OPM1.171019.011/06140300:user/
4650
Samsung Galaxy A8 Plus (7.1.1)=samsung/jackpot2ltexx/jackpot2lte:7.1.1/NMF26X/A730FXXU2ARD1:user/release-keys
4751
Samsung Galaxy Grand Prime (5.0.2)=samsung/fortuna3gdtvvj/fortuna3gdtv:5.0.2/LRX22G/G530BTVJU1BPH4:user/release-keys
4852
Samsung Galaxy J3 (5.1.1)=ro.build.fingerprint=samsung/j3xnltexx/j3xnlte:5.1.1/LMY47V/J320FNXXU0ARB1:user/release-keys
53+
Samsung Galaxy J5 2015 (6.0.1)=samsung/j5nltexx/j5nlte:6.0.1/MMB29M/J500FNXXS1BQG1:user/release-keys
4954
Samsung Galaxy J5 (7.1.1)=samsung/j5xnltexx/j5xnlte:7.1.1/NMF26X/J510FNXXS2BRA2:user/release-keys
5055
Samsung Galaxy J5 Prime (7.0)=samsung/on5xeltejv/on5xelte:7.0/NRD90M/G570FXXU1BQI6:user/release-keys
5156
Samsung Galaxy Note 3 (7.1.1)=samsung/greatltexx/greatlte:7.1.1/NMF26X/N950FXXU1AQHA:user/release-keys
@@ -79,14 +84,15 @@ Sony Xperia Z5 Compact (7.1.1)=Sony/E5823/E5823:7.1.1/32.4.A.1.54/3761073091:use
7984
Sony Xperia Z5 Dual (7.1.1)=Sony/E6633/E6633:7.1.1/32.4.A.1.54/3761073091:user/release-keys
8085
Vodafone Smart Ultra 6 (5.1.1)=Vodafone/P839V55/P839V55:5.1.1/LMY47V/20161227.134319.15534:user/release-keys
8186
Xiaomi Mi 3/4 (6.0.1)=Xiaomi/cancro/cancro:6.0.1/MMB29M/V9.5.2.0.MXDMIFA:user/release-keys
82-
Xiaomi Mi 4C (7.0)=Xiaomi/libra/libra:7.0/NRD90M/V9.5.2.0.NXKCNFA:user/release-keys
87+
Xiaomi Mi 4C (7.0)=Xiaomi/libra/libra:7.0/NRD90M/V9.6.2.0.NXKCNFD:user/release-keys
8388
Xiaomi Mi 5/5 Pro (7.0)=Xiaomi/gemini/gemini:7.0/NRD90M/V9.2.1.0.NAAMIEK:user/release-keys
8489
Xiaomi Mi 5S (7.0)=Xiaomi/capricorn/capricorn:7.0/NRD90M/V9.2.1.0.NAGMIEK:user/release-keys
8590
Xiaomi Mi 5S Plus (6.0.1)=Xiaomi/natrium/natrium:6.0.1/MXB48T/V8.5.2.0.MBGMIED:user/release-keys
8691
Xiaomi Mi 6 (7.1.1)=Xiaomi/sagit/sagit:7.1.1/NMF26X/V8.2.17.0.NCACNEC:user/release-keys
8792
Xiaomi Mi 6 (8.0.0)=Xiaomi/sagit/sagit:8.0.0/OPR1.170623.027/V9.2.3.0.OCAMIEK:user/release-keys
8893
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
8994
Xiaomi Mi Max 2 (7.1.1)=Xiaomi/oxygen/oxygen:7.1.1/NMF26F/V9.5.4.0.NDDMIFA:user/release-keys
95+
Xiaomi Mi Mix 2S (8.0.0)=Xiaomi/polaris/polaris:8.0.0/OPR1.170623.032/V9.5.19.0.ODGMIFA:user/release-keys
9096
Xiaomi Mi Note 2 (7.0)=Xiaomi/scorpio/scorpio:7.0/NRD90M/V9.2.1.0.NADMIEK:user/release-keys
9197
Xiaomi Redmi 4 Prime (6.0.1)=Xiaomi/markw/markw:6.0.1/MMB29M/V9.5.3.0.MBEMIFA:user/release-keys
9298
Xiaomi Redmi 4X (6.0.1)=Xiaomi/santoni/santoni:6.0.1/MMB29M/V8.5.4.0.MAMCNED:user/release-keys

common/propsconf_conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ CONFWEB=enabled
5050
# ro.config.media_vol_steps=30
5151
# net.tethering.noprovisioning=true
5252
# "
53+
# Please observe that if the prop you're trying to set contains spaces, you'll
54+
# need to replace those spaces with "_sp_" (without the quotation marks).
55+
#
5356
# With PROPOPTION you can decide if the current custom prop list should
5457
# be replaced, added to or preserved. Add the corresponding words "replace",
5558
# "add", or "preserve". The default option is to replace the list.
@@ -66,6 +69,7 @@ CONFWEB=enabled
6669
# ro.config.media_vol_steps
6770
# net.tethering.noprovisioning
6871
# "
72+
#
6973
# With DELPROPOPTION you can decide if the current custom prop list should
7074
# be replaced, added to or preserved. Add the corresponding words "replace",
7175
# "add", or "preserve". The default option is to replace the list.

common/propsconf_late

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ if [ -d "$MODPATH" ]; then
6868
else
6969
# Load functions
7070
. $MODPATH/util_functions.sh
71-
log_handler "Functions loaded."
72-
log_handler "Using busybox: ${BBPATH}."
7371

7472
if [ "$OPTIONLATE" == 0 ]; then
7573
until [ ! -f "$POSTCHKFILE" ]; do

common/propsconf_post

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ if [ -d "$MODPATH" ]; then
3636
# Clears out the script control file
3737
rm -f $POSTCHKFILE
3838
touch $POSTCHKFILE
39-
39+
4040
# Get default values
4141
log_handler "Checking device default values."
4242
curr_values

common/util_functions.sh

Lines changed: 35 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,38 @@ RESETFILE=$CACHELOC/reset_mhpc
2727
MAGISKLOC=/data/adb/magisk
2828
BBWWWPATH=BB_PLACEHOLDER
2929
BBLOC=$MODPATH/busybox
30-
if [ -f "$BBLOC" ] && [ "$BBT" == "module" ]; then
31-
BBPATH=$BBLOC
32-
elif [ -d "$IMGPATH/busybox-ndk" ]; then
33-
if [ "$BBT" != "topjohnwu" ]; then
30+
if [ "$BBT" ]; then
31+
case $BBT in
32+
module)
33+
if [ -f "$BBLOC" ]; then
34+
BBPATH=$BBLOC
35+
elif [ -d "$IMGPATH/busybox-ndk" ]; then
36+
BBPATH=$(find $IMGPATH/busybox-ndk -name 'busybox')
37+
else
38+
BBPATH=$MAGISKLOC/busybox
39+
fi
40+
;;
41+
osm0sis)
42+
if [ -d "$IMGPATH/busybox-ndk" ]; then
43+
BBPATH=$(find $IMGPATH/busybox-ndk -name 'busybox')
44+
elif [ -f "$BBLOC" ]; then
45+
BBPATH=$BBLOC
46+
else
47+
BBPATH=$MAGISKLOC/busybox
48+
fi
49+
;;
50+
topjohnwu)
51+
BBPATH=$MAGISKLOC/busybox
52+
;;
53+
esac
54+
else
55+
if [ -f "$BBLOC" ]; then
56+
BBPATH=$BBLOC
57+
elif [ -d "$IMGPATH/busybox-ndk" ]; then
3458
BBPATH=$(find $IMGPATH/busybox-ndk -name 'busybox')
3559
else
3660
BBPATH=$MAGISKLOC/busybox
3761
fi
38-
else
39-
BBPATH=$MAGISKLOC/busybox
4062
fi
4163
if [ -z "$(echo $PATH | grep /sbin:)" ]; then
4264
alias resetprop="$MAGISKLOC/magisk resetprop"
@@ -459,13 +481,14 @@ download_bb() {
459481
# ======================== Fingerprint functions ========================
460482
# Set new fingerprint
461483
print_edit() {
484+
MODPRINT=$(get_file_value $LATEFILE "MODULEFINGERPRINT=")
462485
if [ "$(get_file_value $LATEFILE "FINGERPRINTENB=")" == 1 -o "$(get_file_value $LATEFILE "PRINTMODULE=")" == "false" ] && [ "$(get_file_value $LATEFILE "PRINTEDIT=")" == 1 ]; then
463486
log_handler "Changing fingerprint."
464487
for ITEM in $PRINTPROPS; do
465488
log_handler "Changing/writing $ITEM."
466489
resetprop -v $ITEM 2>> $LOGFILE
467-
resetprop -nv $ITEM "$(get_file_value $LATEFILE "MODULEFINGERPRINT=")" 2>> $LOGFILE
468-
done
490+
resetprop -nv $ITEM "$MODPRINT" 2>> $LOGFILE
491+
done
469492
fi
470493
}
471494

@@ -989,3 +1012,7 @@ collect_logs() {
9891012
esac
9901013
fi
9911014
}
1015+
1016+
# Log print
1017+
log_handler "Functions loaded."
1018+
log_handler "Using busybox: ${BBPATH}."

config.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ tags
185185
selinux
186186
fingerprint
187187
"
188-
USNFLIST="xiaomi-safetynet-fix safetynet-fingerprint-fix"
188+
USNFLIST="xiaomi-safetynet-fix safetynet-fingerprint-fix VendingVisa DeviceSpoofingTool4Magisk"
189189

190190
log_handler() {
191191
echo "" >> $INSTLOG
@@ -331,9 +331,10 @@ bin_check() {
331331

332332
# Magisk installation check
333333
install_check() {
334-
if [ ! -d "$SERVICEPATH" ]; then
334+
if [ ! -d "$SERVICEPATH" ] || [ ! -d "$POSTPATH" ]; then
335335
log_handler "Fresh Magisk installation detected."
336336
log_handler "Creating path for boot script."
337+
mkdir -pv $POSTPATH >> $INSTLOG
337338
mkdir -pv $SERVICEPATH >> $INSTLOG
338339
fi
339340
}

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.1-v20
4-
versionCode=17
3+
version=v2.3.2-v21
4+
versionCode=18
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

system/binpath/props

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ esac
6565
# Load functions
6666
. $MODPATH/util_functions.sh
6767

68+
log_handler "Running props script."
69+
6870
blank_input() {
6971
# Find menu level
7072
case $1 in
@@ -1452,9 +1454,9 @@ menu_options() {
14521454
fi
14531455
menu_header "${C}$1${N}\n Select an option below:"
14541456
echo ""
1455-
echo "${G}1${N} - Boot stage ${C}(${BOOTTXT})${N}"
1456-
echo "${G}2${N} - Script colours ${CC}(${COLOURTXT})${N}"
1457-
echo "${G}3${N} - Fingerprints list check ${CP}(${PRINTSCHKTXT})${N}"
1457+
echo "${G}1${N} - Boot stage (currently ${C}${BOOTTXT}${N})"
1458+
echo "${G}2${N} - Script colours (currently ${CC}${COLOURTXT}${N})"
1459+
echo "${G}3${N} - Fingerprints list check (currently ${CP}${PRINTSCHKTXT}${N})"
14581460
echo "${G}r${N} - Reset all settings"
14591461
if [ "$2" != "s" ]; then
14601462
echo "${G}b${N} - Go back to main menu"
@@ -1777,14 +1779,12 @@ reset_everything() {
17771779
# ====================================================
17781780

17791781
if [ $(id -u) != 0 ] ; then
1782+
log_handler "No superuser access."
17801783
menu_header "${C}This script must be run with\n superuser access. Try again.${N}"
17811784
echo ""
17821785
exit 0
17831786
fi
17841787

1785-
log_handler "Running props script."
1786-
log_handler "Using busybox: ${BBPATH}."
1787-
17881788
# ====================================================
17891789
# =================== Script check ===================
17901790
# ====================================================
@@ -1833,9 +1833,8 @@ if [ ! -f "$MODPATH/busybox" ]; then
18331833
if [ "$CNTTEST" == "true" ]; then
18341834
download_bb
18351835
# Reload functions
1836+
log_handler "Reloading functions."
18361837
. $MODPATH/util_functions.sh
1837-
log_handler "Functions reloaded."
1838-
log_handler "Using busybox: ${BBPATH}."
18391838
else
18401839
log_print "No connection."
18411840
fi
@@ -1863,8 +1862,8 @@ case "$1" in
18631862
echo " -f Update fingerprints list."
18641863
echo " -l Save module logs and info."
18651864
echo " -h Show this message."
1866-
echo " -nc Turn off colours."
1867-
echo " -nw Turn off fingerprint startup check."
1865+
echo " -nc Run without colours."
1866+
echo " -nw Run without fingerprint startup check."
18681867
echo " -p Improved hiding (edit prop files)."
18691868
echo " -r Reset all options/settings."
18701869
echo " -s Open script settings menu."
@@ -1911,7 +1910,7 @@ esac
19111910

19121911
if [ "$1" ]; then
19131912
case "$1" in
1914-
*bo*|*bt*|*d*|*f*|*l*|*h*|*nc*|*nw*|*p*|*r*|*s*|*t*) # Do nothing
1913+
*bo*|*bj*|*d*|*f*|*l*|*h*|*nc*|*nw*|*p*|*r*|*s*|*t*) # Do nothing
19151914
;;
19161915
*)
19171916
menu_header "${C}Help${N}"

0 commit comments

Comments
 (0)