Skip to content

DevCat3/Auto_Target

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auto Target

Automatically adds installed apps to TrickyStore target.txt with a full WebUI for management, root-hide tools, and smart monitoring.

Latest Release

Requirements

  • TrickyStore module installed
  • KernelSU / APatch / Magisk (25.2+)
  • Android 10+ (API 29+)

Installation

  1. Download the latest ZIP from Releases
  2. Open your root manager β†’ Modules β†’ Install from storage
  3. Select the ZIP and reboot

Features

Feature Status
Auto-add all user-installed apps to target.txt on boot βœ…
Smart monitor β€” detects installs/uninstalls at configurable interval βœ…
Block specific apps from ever being added by the monitor βœ…
Custom packages list β€” persistent across updates βœ…
App Manager tab with display names (via aapt) βœ…
Stats card β€” Targeted / Blocked / Installed counts βœ…
Target.txt editor β€” view and edit directly from WebUI βœ…
Backup & Restore β€” timestamped snapshots of target.txt βœ…
Custom Keybox β€” load keybox.xml from URL or file path βœ…
Deselect Unnecessary β€” remove apps that don't need Attestation βœ…
Security Patch spoofing βœ…
Clear all detection traces βœ…
Fix TEE βœ…
Reset system props by filter pattern βœ…
Quick Action β€” runs all root-hide steps at once βœ…
Boot diagnostics log (auto-saved on every boot) βœ…
Dark / Light theme βœ…
Configurable monitor refresh interval (10–3600s) βœ…

WebUI

Open the WebUI from your root manager's module page.

Main Tab

  • Update Now β€” immediately rebuilds target.txt from all installed apps
  • Clear List β€” empties target.txt
  • View List β€” shows current target.txt content in the terminal
  • Start / Stop Monitor β€” control the background monitor service
  • Custom Packages β€” add or remove a specific package manually
  • Security Tools β€” Security Patch, Clear Traces, Deselect Unnecessary, Fix TEE (optional)
  • Reset Props β€” filter and reset system props by grep pattern (optional)
  • Quick Action β€” runs all root-hide scripts + resets pixel props (optional)

Tools Tab

  • Target.txt Editor β€” load, edit, and save target.txt directly
  • Backup & Restore β€” create timestamped backups, restore or delete them by filename
  • Custom Keybox β€” paste a URL or file path to replace keybox.xml; backup and restore supported
  • Boot Logs β€” list, read, or delete diagnostic logs saved at boot time

Apps Tab (enable from Settings)

Displays all installed user apps with their display names. Tap any app to toggle it in/out of target.txt. Blocked apps are saved permanently β€” the monitor will never re-add them. Use the Refresh button to reload the list manually.

Settings Panel

Setting Default Description
Dark Mode off Toggle light/dark theme
Quick Action off Show Run All button
Reset Props off Show Reset Props section
Fix TEE off Show Fix TEE button
Apps Tab off Show App Manager tab
Monitor Interval 60s How often to check for package changes (10–3600s)
Boot Log on Save diagnostics log on every boot

How It Works

  1. At boot, service.sh waits 30 seconds then starts:

    • build_applist.sh in the background β€” builds app display name cache using aapt
    • monitor.sh in the background β€” watches for package changes at the configured interval
    • boot_logger.sh β€” saves a diagnostic snapshot to logs/
  2. When a package change is detected, update_target.sh rebuilds target.txt:

    • Always includes core Google packages (com.android.vending, com.google.android.gms, com.google.android.gsf)
    • Skips any package in cache/blocked_packages.list
    • Merges custom packages from cache/custom_packages.list
  3. The WebUI reads from cached files for instant load β€” no blocking shell calls on open.

File Structure

module/
β”œβ”€β”€ action.sh                         # Magisk action button β†’ runs run_all.sh
β”œβ”€β”€ service.sh                        # Boot service
β”œβ”€β”€ post-fs-data.sh                   # Early boot (empty β€” nothing runs here)
β”œβ”€β”€ bin/
β”‚   β”œβ”€β”€ arm64-v8a/aapt
β”‚   └── armeabi-v7a/aapt
β”œβ”€β”€ scripts/
β”‚   β”œβ”€β”€ update_target.sh              # Rebuild target.txt
β”‚   β”œβ”€β”€ clear_target.sh               # Empty target.txt
β”‚   β”œβ”€β”€ view_target.sh                # Print target.txt
β”‚   β”œβ”€β”€ monitor.sh                    # Background package watcher
β”‚   β”œβ”€β”€ build_applist.sh              # Build app name cache at boot
β”‚   β”œβ”€β”€ get_applist.sh                # Fast read from cache for WebUI
β”‚   β”œβ”€β”€ toggle_blocked.sh             # Block / unblock a package
β”‚   β”œβ”€β”€ add_custom.sh                 # Add to custom list
β”‚   β”œβ”€β”€ remove_custom.sh              # Remove from custom list
β”‚   β”œβ”€β”€ list_custom.sh                # Show custom list
β”‚   β”œβ”€β”€ run_all.sh                    # Run all root-hide steps
β”‚   β”œβ”€β”€ auto_security_patch.sh        # Security patch spoofing
β”‚   β”œβ”€β”€ clear_all_detection_traces.sh # Wipe detector app data/cache
β”‚   β”œβ”€β”€ auto_fix_broken_tee.sh        # Fix TEE
β”‚   β”œβ”€β”€ view_props.sh                 # List props by filter
β”‚   β”œβ”€β”€ reset_props.sh                # Delete props by filter
β”‚   β”œβ”€β”€ deselect_unnecessary.sh       # Remove non-Attestation apps from target
β”‚   β”œβ”€β”€ target_editor.sh              # Read / write target.txt via WebUI
β”‚   β”œβ”€β”€ backup_target.sh              # Create / restore / list / delete backups
β”‚   β”œβ”€β”€ keybox_manager.sh             # Load / backup / restore keybox.xml
β”‚   β”œβ”€β”€ get_stats.sh                  # Return JSON stats for WebUI header
β”‚   β”œβ”€β”€ boot_logger.sh                # Save boot diagnostics log
β”‚   └── set_monitor_interval.sh       # Write monitor interval to config
└── webroot/
    β”œβ”€β”€ index.html
    β”œβ”€β”€ scripts.js
    └── styles.css

Data Paths

Path Description
/data/adb/tricky_store/target.txt Main target file (TrickyStore reads this)
/data/adb/tricky_store/keybox.xml Keybox file
/data/adb/modules/auto_target/cache/packages.list Cached package list
/data/adb/modules/auto_target/cache/custom_packages.list Persistent custom packages
/data/adb/modules/auto_target/cache/blocked_packages.list Permanently blocked packages
/data/adb/modules/auto_target/cache/appnames.cache App display name cache
/data/adb/modules/auto_target/config/monitor_interval Monitor interval in seconds
/data/adb/modules/auto_target/config/boot_log_enabled Boot log flag (1/0)
/data/adb/modules/auto_target/backups/ target.txt backups
/data/adb/modules/auto_target/logs/ Boot diagnostic logs

CLI Reference

MODDIR=/data/adb/modules/auto_target

# Core
su -c "sh $MODDIR/scripts/update_target.sh"
su -c "sh $MODDIR/scripts/view_target.sh"
su -c "sh $MODDIR/scripts/clear_target.sh"

# Custom packages
su -c "sh $MODDIR/scripts/add_custom.sh com.example.app"
su -c "sh $MODDIR/scripts/remove_custom.sh com.example.app"
su -c "sh $MODDIR/scripts/list_custom.sh"

# Block / unblock
su -c "sh $MODDIR/scripts/toggle_blocked.sh com.example.app 1"   # block
su -c "sh $MODDIR/scripts/toggle_blocked.sh com.example.app 0"   # unblock

# Security
su -c "sh $MODDIR/scripts/run_all.sh"
su -c "sh $MODDIR/scripts/auto_security_patch.sh"
su -c "sh $MODDIR/scripts/clear_all_detection_traces.sh"
su -c "sh $MODDIR/scripts/reset_props.sh 'pixel|pihook'"

# Backup & restore
su -c "sh $MODDIR/scripts/backup_target.sh create"
su -c "sh $MODDIR/scripts/backup_target.sh list"
su -c "sh $MODDIR/scripts/backup_target.sh restore target_20260101_120000.txt"

# Keybox
su -c "sh $MODDIR/scripts/keybox_manager.sh url https://example.com/keybox.xml"
su -c "sh $MODDIR/scripts/keybox_manager.sh file /sdcard/keybox.xml"
su -c "sh $MODDIR/scripts/keybox_manager.sh backup"
su -c "sh $MODDIR/scripts/keybox_manager.sh restore"

# Monitor interval
su -c "sh $MODDIR/scripts/set_monitor_interval.sh 120"

Building

No build step required. The GitHub Actions workflow packages module/ into a ZIP on every push to main and creates a GitHub Release automatically when version in module.prop changes.

cd module
zip -r ../Auto_Target-v3.6.zip . -x "*.DS_Store" -x "__MACOSX/*"

License

GPL-3.0 β€” see LICENSE

Credits

Support

Telegram: @DevCatowa