Compare commits

..
455 changed files with 9 additions and 13771 deletions

View file

@ -1110,7 +1110,7 @@
},
"gray_250": {
"$type": "color",
"$value": "#736c88"
"$value": "#e6e6e6"
},
"gray_300": {
"$type": "color",
@ -1148,7 +1148,7 @@
"blue": {
"blue_50": {
"$type": "color",
"$value": "#736C88"
"$value": "#f4f4fe"
},
"blue_100": {
"$type": "color",

View file

@ -1110,7 +1110,7 @@
},
"gray_250": {
"$type": "color",
"$value": "#736c88"
"$value": "#e6e6e6"
},
"gray_300": {
"$type": "color",
@ -1148,7 +1148,7 @@
"blue": {
"blue_50": {
"$type": "color",
"$value": "#736c88"
"$value": "#f4f4fe"
},
"blue_100": {
"$type": "color",

View file

@ -2,33 +2,6 @@
#
# Replace [put-theme-id-here] and [theme-id] folder with your theme ID
# Don't forget !
#
# Get base.apk path
dumpsys package com.mbmobile | grep path: > /data/local/tmp/path.txt
sed -i 's| path: ||g' /data/local/tmp/path.txt
APKPATH="$(cat /data/local/tmp/path.txt)"
priorityapp() {
unzip -o "$ZIPFILE" 'template.bin'
unzip -o "$ZIPFILE" 'token_priority.json'
unzip template.bin -o -d '/data/user/0/com.mbmobile/app_flutter/app_theme/unzip/'
chmod 644 /data/user/0/com.mbmobile/app_flutter/app_theme/unzip/{put-theme-id-here}/images/*.png
chmod 644 /data/user/0/com.mbmobile/app_flutter/app_theme/unzip/{put-theme-id-here}/theme/token.json
cp -f token_priority.json '/data/data/com.mbmobile/app_flutter/unzip/{put-theme-id-here}/theme/token.json'
sleep 2
}
classicapp() {
unzip -o "$ZIPFILE" 'template.bin'
unzip template.bin -o -d '/data/user/0/com.mbmobile/app_flutter/app_theme/unzip/'
chmod 644 /data/user/0/com.mbmobile/app_flutter/app_theme/unzip/{put-theme-id-here}/images/*.png
chmod 644 /data/user/0/com.mbmobile/app_flutter/app_theme/unzip/{put-theme-id-here}/theme/token.json
sleep 2
}
if [[ -d /data/data/com.mbmobile/app_flutter ]]; then
echo "[app_flutter] folder found, ignoring first time app open!"
@ -46,10 +19,13 @@ mkdir '/data/user/0/com.mbmobile/app_flutter/app_theme/'
mkdir '/data/user/0/com.mbmobile/app_flutter/app_theme/unzip'
echo ----------
echo Copying themes...
unzip -o "$ZIPFILE" 'template.bin'
unzip template.bin -o -d '/data/user/0/com.mbmobile/app_flutter/app_theme/unzip/'
chmod 644 /data/user/0/com.mbmobile/app_flutter/app_theme/unzip/{put-theme-id-here}/images/*.png
chmod 644 /data/user/0/com.mbmobile/app_flutter/app_theme/unzip/{put-theme-id-here}/theme/token.json
sleep 2
echo ----------
echo "MBCP will open after 5 seconds, please login and then click [Apply] or [Áp dụng] to complete theme installation !"
unzip -l $APKPATH | grep semipriority* && priorityapp || classicapp
rm -rf /data/local/tmp/path.txt
echo -------------
sleep 5
echo "Starting flutter activity..."

Binary file not shown.

Before

Width:  |  Height:  |  Size: 161 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 161 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 161 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 113 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 289 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 289 KiB

View file

@ -1,33 +0,0 @@
#!/sbin/sh
#################
# Initialization
#################
umask 022
# echo before loading util_functions
ui_print() { echo "$1"; }
require_new_magisk() {
ui_print "*******************************"
ui_print " Please install Magisk v20.4+! "
ui_print "*******************************"
exit 1
}
#########################
# Load util_functions.sh
#########################
OUTFD=$2
ZIPFILE=$3
mount /data 2>/dev/null
[ -f /data/adb/magisk/util_functions.sh ] || require_new_magisk
. /data/adb/magisk/util_functions.sh
[ $MAGISK_VER_CODE -lt 20400 ] && require_new_magisk
install_module
exit 0x

Some files were not shown because too many files have changed in this diff Show more