@@ -72,7 +72,7 @@ if [ "$MMRL" = "true" ] || { [ "$KSU" = "true" ] && [ "$KSU_VER_CODE" -ge 11998
72
72
{ [ " $KSU_NEXT " = " true" ] && [ " $KSU_VER_CODE " -ge 12144 ]; } ||
73
73
{ [ " $APATCH " = " true" ] && [ " $APATCH_VER_CODE " -ge 11022 ]; }; then
74
74
clear
75
- echo " [*] Initializing System App Nuker... Please wait."
75
+ echo " [*] Installing System App Nuker... Please wait."
76
76
sleep 0.5
77
77
78
78
for _ in $( seq 1 3) ; do
@@ -83,10 +83,12 @@ if [ "$MMRL" = "true" ] || { [ "$KSU" = "true" ] && [ "$KSU_VER_CODE" -ge 11998
83
83
done
84
84
done
85
85
else
86
- echo " [*] Initializing System App Nuker..."
86
+ echo " [*] Installing System App Nuker..."
87
87
sleep 1.5 # sleep a bit to make it look like something is happening!!
88
88
fi
89
89
90
+ echo " "
91
+
90
92
# set up aapt binary
91
93
mkdir -p " $MODPATH /common"
92
94
CPU_ABI=$( getprop ro.product.cpu.abi)
@@ -106,11 +108,15 @@ rm -rf "$MODPATH/bin"
106
108
sh " $MODPATH /nuke.sh" update
107
109
}
108
110
111
+ echo " "
112
+
109
113
# remove action.sh on webui-supported env
110
114
if [ -n " $KSU " ] || [ -n " $APATCH " ]; then
111
115
rm -f " $MODPATH /action.sh"
112
116
fi
113
117
118
+ echo " "
119
+
114
120
# --- check for mountify requirements ---
115
121
116
122
# check for overlayfs
130
136
# check mounting system
131
137
if check_magic_mount; then
132
138
magic_mount=true
133
- echo " [+] Config: Magic Mount manager detected"
139
+ echo " [+] Magic Mount manager detected. "
134
140
else
135
141
magic_mount=false
136
- echo " [+] Config: OverlayFS manager detected "
142
+ echo " [+] Detected an overlayfs-based root manager. "
137
143
fi
138
144
# set_config magic_mount $magic_mount
139
145
146
+ echo " "
147
+
140
148
# --- check mountify ---
141
149
use_mountify_script=false
142
150
@@ -154,16 +162,18 @@ if [ -f "/data/adb/modules/mountify/config.sh" ] && \
154
162
if [ " $mountify_mounts " = " 2" ] || \
155
163
{ [ " $mountify_mounts " = " 1" ] && grep -q " system_app_nuker" /data/adb/modules/mountify/modules.txt; }; then
156
164
mountify_mounted=true
157
- echo " [!] mountify will handle mounting this module."
165
+ echo " [!] Mountify will handle mounting this module."
158
166
rm -f " $MODPATH /skip_mountify"
159
167
fi
160
168
fi
161
169
170
+ echo " "
171
+
162
172
# fallback path
163
173
# if mountify won't mount us but standalone script is supported
164
174
if { [ " $mountify_active " = false ] || [ " $mountify_mounted " = false ]; } && \
165
175
{ { [ " $overlay_supported " = true ] && [ " $tmpfs_xattr_supported " = true ]; } || [ " $magic_mount " = false ]; }; then
166
- echo " [+] Conditions met. Activating mountify standalone script."
176
+ echo " [+] Requirements met. Enabling standalone mountify script."
167
177
168
178
# skip mount (cuz standalone script will mount us)
169
179
touch " $MODPATH /skip_mount"
@@ -174,9 +184,12 @@ if { [ "$mountify_active" = false ] || [ "$mountify_mounted" = false ]; } && \
174
184
# set_config use_mountify_script $use_mountify_script
175
185
fi
176
186
187
+ echo " "
188
+
177
189
# migrate config (in case when it has a new value)
178
190
# variable of the config is defined by sourcing the old config.sh and the script
179
191
# value like uninstall_fallback would be persist, but mounting stuff would not.
192
+ echo " [-] Migrating config.sh..."
180
193
while IFS=' =' read key _; do
181
194
# skip empty, commented, or lines with spaces
182
195
[ -z " $key " ] && continue
@@ -195,13 +208,14 @@ while IFS='=' read key _; do
195
208
done < " $PERSIST_DIR /config.sh"
196
209
echo " [*] Tip: You could edit config.sh in /data/adb/system_app_nuker/config.sh"
197
210
198
- echo " [✓] System App Nuker setup completed successfully"
211
+ echo " "
212
+ echo " [✓] System App Nuker has been set up successfully."
199
213
200
214
# warn KSU or APatch user if module would not be mounted globally
201
215
if { [ -n " $KSU " ] || [ -n " $APATCH " ]; } && \
202
216
[ " $use_mountify_script " != true ] && [ " $mountify_mounted " != true ]; then
203
- echo " [!] Notice: KernelSU or APatch detected. Module will not be mounted globally"
204
- echo " [!] Tip: Disable 'unmount modules by default' to avoid problems"
217
+ echo " [!] Notice: KernelSU or APatch detected. Module will not be mounted globally. "
218
+ echo " [!] Tip: Disable 'unmount modules by default' to avoid problems. "
205
219
fi
206
220
207
221
# give space before post-customize.sh manager thing
0 commit comments