Skip to content

Commit e474f92

Browse files
committed
version 10.0.0 release
1 parent 0adedc4 commit e474f92

80 files changed

Lines changed: 99 additions & 274 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

META-INF/com/google/android/update-binary

Lines changed: 77 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,99 @@
66

77
umask 022
88

9+
# Global vars
10+
TMPDIR=/dev/tmp
11+
PERSISTDIR=/sbin/.magisk/mirror/persist
12+
13+
rm -rf $TMPDIR 2>/dev/null
14+
mkdir -p $TMPDIR
15+
916
# echo before loading util_functions
1017
ui_print() { echo "$1"; }
1118

1219
require_new_magisk() {
1320
ui_print "*******************************"
14-
ui_print " Please install Magisk v20.4+! "
21+
ui_print " Please install Magisk v24.0+! "
1522
ui_print "*******************************"
1623
exit 1
1724
}
1825

19-
#########################
20-
# Load util_functions.sh
21-
#########################
26+
##############
27+
# Environment
28+
##############
2229

2330
OUTFD=$2
2431
ZIPFILE=$3
2532

2633
mount /data 2>/dev/null
2734

35+
# Load utility functions
2836
[ -f /data/adb/magisk/util_functions.sh ] || require_new_magisk
2937
. /data/adb/magisk/util_functions.sh
3038
[ $MAGISK_VER_CODE -lt 20400 ] && require_new_magisk
3139

32-
install_module
33-
exit 0
40+
# Preperation for flashable zips
41+
setup_flashable
42+
43+
# Mount partitions
44+
mount_partitions
45+
46+
# Detect version and architecture
47+
api_level_arch_detect
48+
49+
# Setup busybox and binaries
50+
$BOOTMODE && boot_actions || recovery_actions
51+
52+
##############
53+
# Preparation
54+
##############
55+
56+
# Extract prop file
57+
unzip -o "$ZIPFILE" module.prop -d $TMPDIR >&2
58+
[ ! -f $TMPDIR/module.prop ] && abort "! Unable to extract zip file!"
59+
60+
$BOOTMODE && MODDIRNAME=modules_update || MODDIRNAME=modules
61+
MODULEROOT=$NVBASE/$MODDIRNAME
62+
MODID=`grep_prop id $TMPDIR/module.prop`
63+
MODPATH=$MODULEROOT/$MODID
64+
MODNAME=`grep_prop name $TMPDIR/module.prop`
65+
66+
# Create mod paths
67+
rm -rf $MODPATH 2>/dev/null
68+
mkdir -p $MODPATH
69+
70+
##########
71+
# Install
72+
##########
73+
74+
unzip -o "$ZIPFILE" customize.sh -d $MODPATH >&2
75+
76+
if ! grep -q '^SKIPUNZIP=1$' $MODPATH/customize.sh 2>/dev/null; then
77+
unzip -o "$ZIPFILE" -x 'META-INF/*' -d $MODPATH >&2
78+
79+
# Default permissions
80+
set_perm_recursive $MODPATH 0 0 0755 0644
81+
fi
82+
83+
# Load customization script
84+
[ -f $MODPATH/customize.sh ] && . $MODPATH/customize.sh
85+
86+
# Handle replace folders
87+
for TARGET in $REPLACE; do
88+
ui_print "- Replace target: $TARGET"
89+
mktouch $MODPATH$TARGET/.replace
90+
done
91+
92+
# Remove stuffs that don't belong to modules
93+
rm -rf \
94+
$MODPATH/system/placeholder $MODPATH/customize.sh \
95+
$MODPATH/README.md $MODPATH/.git* 2>/dev/null
96+
97+
##############
98+
# Finalizing
99+
##############
100+
101+
cd /
102+
$BOOTMODE || recovery_cleanup
103+
rm -rf $TMPDIR
104+
exit 0

addon/Volume-Key-Selector/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ chooseport_legacy() {
1515
elif [ $sel -eq 41 ]; then
1616
return 1
1717
elif $error; then
18-
abort " No version selected, please restart installation"
18+
abort " No option selected, please restart installation"
1919
# abort " installation cannot continue"
2020
else
2121
error=true

apps/AppVault/MonetAppVault.apk

62.6 KB
Binary file not shown.
79.3 KB
Binary file not shown.

apps/Calendar/MonetCalendar.apk

131 KB
Binary file not shown.
157 KB
Binary file not shown.

apps/Cleaner/MonetCleanMaster.apk

96.7 KB
Binary file not shown.
96.7 KB
Binary file not shown.
101 KB
Binary file not shown.
46.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)