You've already forked Tricky-Addon-Update-Target-List
mirror of
https://github.com/KOWX712/Tricky-Addon-Update-Target-List.git
synced 2025-09-06 06:37:09 +00:00
Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
62f86ceb50 | ||
|
|
d6fbd0a812 | ||
|
|
6043b1de06 | ||
|
|
c7503a2643 | ||
|
|
6809b69c6d | ||
|
|
af8d3a1723 | ||
|
|
932648bc5b | ||
|
|
12670d26b0 | ||
|
|
e19ba37817 | ||
|
|
7a4fc9d9b5 | ||
|
|
630cdae303 | ||
|
|
5808080237 |
15
README.md
15
README.md
@@ -5,19 +5,28 @@ An addon module for tricky store
|
|||||||
## Description
|
## Description
|
||||||
- Automated script to update tricky store target list.
|
- Automated script to update tricky store target list.
|
||||||
- Custom config: ADDITION and EXCLUDE in `/data/adb/tricky_store/target_list_config`
|
- 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
|
## Requirements
|
||||||
- Tricky store module installed
|
- Tricky store module installed
|
||||||
|
|
||||||
## Instructions
|
## Instructions
|
||||||
**Module will update taget list on every boot.**
|
### Automatic update
|
||||||
|
- On boot
|
||||||
|
|
||||||
|
### Manually update
|
||||||
**Action button method**
|
**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**
|
**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
|
## Links
|
||||||
Download: [GitHub release](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases)
|
Download: [GitHub release](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases)
|
||||||
|
|||||||
@@ -5,13 +5,17 @@ Requirement: Tricky Store module installed
|
|||||||
|
|
||||||
Manually add VerifiedBootHash to /data/adb/modules/TA_utl/boot_hash (optional)
|
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
|
## Changelog
|
||||||
|
### v1.4.1
|
||||||
|
- Fixed Magisk installation issue
|
||||||
|
|
||||||
### v1.4
|
### v1.4
|
||||||
- Migrate ro.boot.vbmeta.digest from system.prop to resetprop
|
- Migrate ro.boot.vbmeta.digest from system.prop to resetprop
|
||||||
|
- Fix config list recognize error on some device
|
||||||
- Refactor code
|
- Refactor code
|
||||||
|
|
||||||
### v1.3.1
|
### v1.3.1
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
- Recommend to run with MT manager
|
- Recommend to run with MT manager
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
### v1.4.1
|
||||||
|
- Remain same with v1.3.1
|
||||||
|
|
||||||
### v1.4
|
### v1.4
|
||||||
- Remain same with v1.3.1
|
- Remain same with v1.3.1
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# by KOW
|
# 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
|
# GitHub Repository: https://github.com/KOWX712/Tricky-Addon-Update-Target-List/blob/master/lite-script_only/README.md
|
||||||
# Telegram channel: https://t.me/kowchannel
|
# Telegram channel: https://t.me/kowchannel
|
||||||
|
|
||||||
|
|||||||
@@ -1,33 +1,33 @@
|
|||||||
#!/sbin/sh
|
#!/sbin/sh
|
||||||
|
|
||||||
#################
|
#################
|
||||||
# Initialization
|
# Initialization
|
||||||
#################
|
#################
|
||||||
|
|
||||||
umask 022
|
umask 022
|
||||||
|
|
||||||
# echo before loading util_functions
|
# echo before loading util_functions
|
||||||
ui_print() { echo "$1"; }
|
ui_print() { echo "$1"; }
|
||||||
|
|
||||||
require_new_magisk() {
|
require_new_magisk() {
|
||||||
ui_print "*******************************"
|
ui_print "*******************************"
|
||||||
ui_print " Please install Magisk v20.4+! "
|
ui_print " Please install Magisk v20.4+! "
|
||||||
ui_print "*******************************"
|
ui_print "*******************************"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
#########################
|
#########################
|
||||||
# Load util_functions.sh
|
# Load util_functions.sh
|
||||||
#########################
|
#########################
|
||||||
|
|
||||||
OUTFD=$2
|
OUTFD=$2
|
||||||
ZIPFILE=$3
|
ZIPFILE=$3
|
||||||
|
|
||||||
mount /data 2>/dev/null
|
mount /data 2>/dev/null
|
||||||
|
|
||||||
[ -f /data/adb/magisk/util_functions.sh ] || require_new_magisk
|
[ -f /data/adb/magisk/util_functions.sh ] || require_new_magisk
|
||||||
. /data/adb/magisk/util_functions.sh
|
. /data/adb/magisk/util_functions.sh
|
||||||
[ $MAGISK_VER_CODE -lt 20400 ] && require_new_magisk
|
[ $MAGISK_VER_CODE -lt 20400 ] && require_new_magisk
|
||||||
|
|
||||||
install_module
|
install_module
|
||||||
exit 0
|
exit 0
|
||||||
@@ -1 +1 @@
|
|||||||
#MAGISK
|
#MAGISK
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
MODDIR=${0%/*}
|
TS="/data/adb/tricky_store"
|
||||||
echo "**********************************************"
|
echo "**********************************************"
|
||||||
echo "- Staring script..."
|
echo "- Staring script..."
|
||||||
echo " "
|
echo " "
|
||||||
|
|
||||||
sh "$MODDIR"/UpdateTargetList.sh
|
sh "$TS"/UpdateTargetList.sh
|
||||||
|
|
||||||
echo "**********************************************"
|
echo "**********************************************"
|
||||||
echo "\(__All set!__)/"
|
echo "\(__All set!__)/"
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Read exclution and addition config
|
# 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")
|
ADDITION=$(grep -vE '^[[:space:]]*#|^[[:space:]]*$' "$MODDIR/ADDITION")
|
||||||
|
|
||||||
# Create or overwrite the target.txt file
|
# Create or overwrite the target.txt file
|
||||||
@@ -24,8 +24,8 @@ TS="/data/adb/tricky_store"
|
|||||||
CONFIG_DIR="$TS/target_list_config"
|
CONFIG_DIR="$TS/target_list_config"
|
||||||
MODNAME=$(grep '^id=' "$MODPATH/module.prop" | awk -F= '{print $2}' | xargs)
|
MODNAME=$(grep '^id=' "$MODPATH/module.prop" | awk -F= '{print $2}' | xargs)
|
||||||
ORG_DIR="/data/adb/modules/$MODNAME"
|
ORG_DIR="/data/adb/modules/$MODNAME"
|
||||||
EXCLUDE=$(grep -vE '^#|^$' "$CONFIG_DIR/EXCLUDE")
|
EXCLUDE=$(grep -vE '^[[:space:]]*#|^[[:space:]]*$' "$CONFIG_DIR/EXCLUDE")
|
||||||
ADDITION=$(grep -vE '^#|^$' "$CONFIG_DIR/ADDITION")
|
ADDITION=$(grep -vE '^[[:space:]]*#|^[[:space:]]*$' "$CONFIG_DIR/ADDITION")
|
||||||
|
|
||||||
if [ -d "$TS" ]; then
|
if [ -d "$TS" ]; then
|
||||||
echo "- Tricky store module installed"
|
echo "- Tricky store module installed"
|
||||||
@@ -74,7 +74,10 @@ add_addition() {
|
|||||||
|
|
||||||
ui_print "- Installing..."
|
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"
|
cp "$MODPATH/module.prop" "$COMPATH/module.prop.orig"
|
||||||
|
|
||||||
if [ -d "$CONFIG_DIR" ]; then
|
if [ -d "$CONFIG_DIR" ]; then
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
id=TA_utl
|
id=TA_utl
|
||||||
name=Tricky Addon: Update Target List
|
name=Tricky Addon: Update Target List
|
||||||
version=v1.4
|
version=v1.4.1
|
||||||
versionCode=140
|
versionCode=141
|
||||||
author=KOWX712
|
author=KOWX712
|
||||||
description=Update tricky store target list with action button. Custom config: ADDITION and EXCLUDE in /data/adb/tricky_store/target_list_config
|
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
|
updateJson=https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/master/update.json
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"version": "v1.3.1",
|
"versionCode": 140,
|
||||||
"versionCode": 131,
|
"version": "v1.4",
|
||||||
"zipUrl": "https://github.com/KOWX712/Tricky-Addon-Update-Target-List/releases/download/v1.3.1/TrickyAddonModule_UpdateTargetList-v1.3.1.zip",
|
"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"
|
"changelog": "https://raw.githubusercontent.com/KOWX712/Tricky-Addon-Update-Target-List/refs/heads/master/changelog.md"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user