Compare commits

12 Commits
v1.4 ... v1.4.1

Author SHA1 Message Date
KOWX712
62f86ceb50 Update README.md 2024-10-31 21:09:27 +08:00
KOWX712
d6fbd0a812 update changelog and version 2024-10-31 21:08:59 +08:00
KOWX712
6043b1de06 Update customize.sh 2024-10-31 21:05:46 +08:00
KOWX712
c7503a2643 fix magisk installation issue 2024-10-31 21:03:19 +08:00
KOWX712
6809b69c6d update description 2024-10-29 02:33:28 +08:00
KOWX712
af8d3a1723 optimize 2024-10-29 02:01:08 +08:00
KOWX712
932648bc5b reduce size 2024-10-29 01:40:59 +08:00
KOWX712
12670d26b0 Update update.json 2024-10-28 22:49:20 +08:00
KOWX712
e19ba37817 Update update.json 2024-10-28 22:48:51 +08:00
KOWX712
7a4fc9d9b5 Update update.json 2024-10-28 22:39:50 +08:00
KOWX712
630cdae303 Update changelog.md 2024-10-28 22:32:46 +08:00
KOWX712
5808080237 fix recognize error 2024-10-28 22:29:50 +08:00
11 changed files with 70 additions and 51 deletions

View File

@@ -5,19 +5,28 @@ An addon module for tricky store
## Description
- Automated script to update tricky store target list.
- Custom config: ADDITION and EXCLUDE in `/data/adb/tricky_store/target_list_config`
- System app excluded by default
- This is **not** a necessary module for root hide but for those who lazy to do it manually
## Requirements
- Tricky store module installed
## Instructions
**Module will update taget list on every boot.**
### Automatic update
- On boot
### Manually update
**Action button method**
- If action button feature is available, use action button can update tricky store target list.
- Use action button to update tricky store target list.
- Available for Magisk 27008+, KernelSU 11981+, Apatch 10927+
**Manual script method**
- If action button feature isn't avaliable, you can run `UpdateTargetList.sh` under `/data/adb/tricky_store` manually.
- Run `UpdateTargetList.sh` under `/data/adb/tricky_store` manually.
- MT manager is recommened for this method
## More
- Support to pass Patition Check Fail in Minotaur test
- Put Verfied Boot Hash to `boot_hash` in `/data/adb/modules/TA_utl`, reboot.
## Links
Download: [GitHub release](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases)

View File

@@ -5,13 +5,17 @@ Requirement: Tricky Store module installed
Manually add VerifiedBootHash to /data/adb/modules/TA_utl/boot_hash (optional)
GitHub release: [https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases/latest](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases/latest)
GitHub release: [Tricky Addon: Update Target List](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases/latest)
Telegram channel: [https://t.me/kowchannel](https://t.me/kowchannel)
Telegram channel: [KOW's Little World](https://t.me/kowchannel)
## Changelog
### v1.4.1
- Fixed Magisk installation issue
### v1.4
- Migrate ro.boot.vbmeta.digest from system.prop to resetprop
- Fix config list recognize error on some device
- Refactor code
### v1.3.1

View File

@@ -4,6 +4,9 @@
- Recommend to run with MT manager
## Changelog
### v1.4.1
- Remain same with v1.3.1
### v1.4
- Remain same with v1.3.1

View File

@@ -1,7 +1,7 @@
#!/bin/sh
# by KOW
# Tricky Addon Lite: Update Target List Script v1.4 (v1.3.1)
# Tricky Addon Lite: Update Target List Script v1.4.1 (v1.3.1)
# GitHub Repository: https://github.com/KOWX712/Tricky-Addon-Update-Target-List/blob/master/lite-script_only/README.md
# Telegram channel: https://t.me/kowchannel

View File

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

View File

@@ -1 +1 @@
#MAGISK
#MAGISK

View File

@@ -1,9 +1,9 @@
MODDIR=${0%/*}
TS="/data/adb/tricky_store"
echo "**********************************************"
echo "- Staring script..."
echo " "
sh "$MODDIR"/UpdateTargetList.sh
sh "$TS"/UpdateTargetList.sh
echo "**********************************************"
echo "\(__All set!__)/"

View File

@@ -25,7 +25,7 @@ else
fi
# Read exclution and addition config
EXCLUDE=$(grep -vE '^#|^$' "$MODDIR/EXCLUDE" | tr '\n' '|' | sed 's/|$//')
EXCLUDE=$(grep -vE '^[[:space:]]*#|^[[:space:]]*$' "$MODDIR/EXCLUDE" | sed 's/^[[:space:]]*//;s/[[:space:]]*$//' | tr '\n' '|' | sed 's/|$//')
ADDITION=$(grep -vE '^[[:space:]]*#|^[[:space:]]*$' "$MODDIR/ADDITION")
# Create or overwrite the target.txt file

View File

@@ -24,8 +24,8 @@ TS="/data/adb/tricky_store"
CONFIG_DIR="$TS/target_list_config"
MODNAME=$(grep '^id=' "$MODPATH/module.prop" | awk -F= '{print $2}' | xargs)
ORG_DIR="/data/adb/modules/$MODNAME"
EXCLUDE=$(grep -vE '^#|^$' "$CONFIG_DIR/EXCLUDE")
ADDITION=$(grep -vE '^#|^$' "$CONFIG_DIR/ADDITION")
EXCLUDE=$(grep -vE '^[[:space:]]*#|^[[:space:]]*$' "$CONFIG_DIR/EXCLUDE")
ADDITION=$(grep -vE '^[[:space:]]*#|^[[:space:]]*$' "$CONFIG_DIR/ADDITION")
if [ -d "$TS" ]; then
echo "- Tricky store module installed"
@@ -74,7 +74,10 @@ add_addition() {
ui_print "- Installing..."
cp "$MODPATH/UpdateTargetList.sh" "$TS/UpdateTargetList.sh"
if [ -f "$TS/UpdateTargetList.sh" ]
rm -f "$TS/UpdateTargetList.sh"
fi
mv "$COMPATH/UpdateTargetList.sh" "$TS/UpdateTargetList.sh"
cp "$MODPATH/module.prop" "$COMPATH/module.prop.orig"
if [ -d "$CONFIG_DIR" ]; then

View File

@@ -1,7 +1,7 @@
id=TA_utl
name=Tricky Addon: Update Target List
version=v1.4
versionCode=140
version=v1.4.1
versionCode=141
author=KOWX712
description=Update tricky store target list with action button. Custom config: ADDITION and EXCLUDE in /data/adb/tricky_store/target_list_config
updateJson=https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/master/update.json

View File

@@ -1,6 +1,6 @@
{
"version": "v1.3.1",
"versionCode": 131,
"zipUrl": "https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases/download/v1.3.1/TrickyAddonModule_UpdateTargetList-v1.3.1.zip",
"versionCode": 140,
"version": "v1.4",
"zipUrl": "https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases/download/v1.4/TrickyAddonModule_UpdateTargetList-v1.4.zip",
"changelog": "https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/refs/heads/master/changelog.md"
}