Compare commits

...
Message SHA1
community_themes: pitchblack_*: fix color accents in some places
digitalotp notification hint, id screen, profile info, etc...

Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-05-05 01:30:35 +07:00
8a077d7213
feat: template: priority and classic all in one module
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-02-18 10:02:30 +07:00
1af049e50e
theme: add trungthu2025 theme
Signed-off-by: Cuynu <cuynu@proton.me>

Cuynu   commited 2026-01-08 17:02:39 +07:00
723ccd4cf7
39 changed files with 4599 additions and 9 deletions

View file

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

View file

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

View file

@ -2,6 +2,33 @@
#
# 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!"
@ -19,13 +46,10 @@ 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.

After

Width:  |  Height:  |  Size: 279 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 567 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 260 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 566 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 567 KiB

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,33 @@
#!/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

View file

@ -0,0 +1 @@
#MAGISK

View file

@ -0,0 +1,26 @@
# Template theme
- Copy theme images to `theme-id/images/`
- Then copy your theme color pallete (token.json) to `theme-id/theme`
- Rename theme-id folder to your theme id
```
mv 'theme-id' 'your_theme_id'
```
- Replace theme-id with your theme id first, for example:
```
sed -i 's|{theme-id}|your_theme_id|g' createmodule.sh
sed -i 's|{put-theme-id-here}|your_theme_id|g' customize.sh
```
- Replace module name if you want to
```
sed -i 's|Template|Your theme name|g' module.prop
sed -i 's|Template|Your_theme_name|g' createmodule.sh
```

View file

@ -0,0 +1,5 @@
echo "Creating template.bin..."
zip -r9 template.bin 46024a72-3a46-4860-97ca-f837b2ffba3e
echo "Creating module..."
zip -r MBCP_MidAutumnFestival_2025.zip *.sh *.prop *.bin META-INF
rm -rf template.bin

View file

@ -0,0 +1,36 @@
#uhh you might seeing these script, believe me no malicious here at all
#
# Replace [put-theme-id-here] and [theme-id] folder with your theme ID
# Don't forget !
if [[ -d /data/data/com.mbmobile/app_flutter ]]; then
echo "[app_flutter] folder found, ignoring first time app open!"
am force-stop com.mbmobile
else
echo "[app_flutter] folder not found, app need to run the first time!"
am start -n com.mbmobile/io.flutter.plugins.MainActivity
sleep 10
echo "Completed! forcing stop MBCP..."
am force-stop com.mbmobile
fi
echo ----------
echo Creating theme folders....
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/46024a72-3a46-4860-97ca-f837b2ffba3e/images/*.png
chmod 644 /data/user/0/com.mbmobile/app_flutter/app_theme/unzip/46024a72-3a46-4860-97ca-f837b2ffba3e/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 !"
echo -------------
sleep 5
echo "Starting flutter activity..."
am start -n com.mbmobile/io.flutter.plugins.MainActivity
input keyevent KEYCODE_HOME
sleep 1
am start -a android.intent.action.VIEW -d 'https://mbbank.onelink.me/QPF5?af_dp=mbbank%3A%2F%2Finstallingnew&af_force_deeplink=true&ad_dp=theme_detail&id=46024a72-3a46-4860-97ca-f837b2ffba3e' com.mbmobile
echo -------------------

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