mirror of
https://github.com/Magisk-Modules-Repo/MagiskHidePropsConf.git
synced 2024-10-02 21:02:09 +00:00
v2.4.1-v29
This commit is contained in:
parent
dde68711eb
commit
ad4f7dfc95
@ -6,13 +6,10 @@
|
|||||||
#
|
#
|
||||||
##########################################################################################
|
##########################################################################################
|
||||||
|
|
||||||
# Detect whether in boot mode
|
|
||||||
ps | grep zygote | grep -v grep >/dev/null && BOOTMODE=true || BOOTMODE=false
|
|
||||||
$BOOTMODE || ps -A 2>/dev/null | grep zygote | grep -v grep >/dev/null && BOOTMODE=true
|
|
||||||
|
|
||||||
TMPDIR=/dev/tmp
|
TMPDIR=/dev/tmp
|
||||||
INSTALLER=$TMPDIR/install
|
INSTALLER=$TMPDIR/install
|
||||||
MAGISKBIN=/data/adb/magisk
|
# Always mount under tmp
|
||||||
|
MOUNTPATH=$TMPDIR/magisk_img
|
||||||
|
|
||||||
# Default permissions
|
# Default permissions
|
||||||
umask 022
|
umask 022
|
||||||
@ -26,7 +23,7 @@ ui_print() { echo "$1"; }
|
|||||||
|
|
||||||
require_new_magisk() {
|
require_new_magisk() {
|
||||||
ui_print "*******************************"
|
ui_print "*******************************"
|
||||||
ui_print " Please install Magisk v15.0+! "
|
ui_print " Please install Magisk v17.0+! "
|
||||||
ui_print "*******************************"
|
ui_print "*******************************"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
@ -40,18 +37,21 @@ ZIP=$3
|
|||||||
|
|
||||||
mount /data 2>/dev/null
|
mount /data 2>/dev/null
|
||||||
|
|
||||||
# Utility functions must exist
|
# Load utility functions
|
||||||
[ -f $MAGISKBIN/util_functions.sh ] || require_new_magisk
|
if [ -f /data/adb/magisk/util_functions.sh ]; then
|
||||||
# Load utility fuctions
|
. /data/adb/magisk/util_functions.sh
|
||||||
. $MAGISKBIN/util_functions.sh
|
elif [ -f /data/magisk/util_functions.sh ]; then
|
||||||
|
NVBASE=/data
|
||||||
|
. /data/magisk/util_functions.sh
|
||||||
|
else
|
||||||
|
require_new_magisk
|
||||||
|
fi
|
||||||
|
|
||||||
# We can't alter magisk image live, use alternative image if required
|
# Use alternative image if in BOOTMODE
|
||||||
$BOOTMODE && IMG=/data/adb/magisk_merge.img
|
$BOOTMODE && IMG=$NVBASE/magisk_merge.img
|
||||||
# Always mount under tmp
|
|
||||||
MOUNTPATH=$TMPDIR/magisk_img
|
|
||||||
|
|
||||||
# Preperation for flashable zips
|
# Preperation for flashable zips
|
||||||
get_outfd
|
setup_flashable
|
||||||
|
|
||||||
# Mount partitions
|
# Mount partitions
|
||||||
mount_partitions
|
mount_partitions
|
||||||
|
@ -199,6 +199,9 @@ If you can't run the `props` script for some reason, the logs are also stored in
|
|||||||
|
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
### v2.4.1
|
||||||
|
- Updated to Magisk module template v17000. Compatible with Magisk v17+ only.
|
||||||
|
|
||||||
### v2.4.0
|
### v2.4.0
|
||||||
- Added a check for if the download of the internal Busybox fails.
|
- Added a check for if the download of the internal Busybox fails.
|
||||||
- Added an option for picking what boot stage a custom prop should be set in.
|
- Added an option for picking what boot stage a custom prop should be set in.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
id=MagiskHidePropsConf
|
id=MagiskHidePropsConf
|
||||||
name=MagiskHide Props Config
|
name=MagiskHide Props Config
|
||||||
version=v2.4.0-v29
|
version=v2.4.1-v29
|
||||||
versionCode=23
|
versionCode=24
|
||||||
author=Didgeridoohan
|
author=Didgeridoohan
|
||||||
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.
|
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.
|
||||||
minMagisk=1500
|
minMagisk=17000
|
||||||
|
Loading…
Reference in New Issue
Block a user