A simple Android application for manually managing ATAK (Android Team Awareness Kit) cache files locally on your device.
- Offload ATAK Cache: Moves
statesaver2.sqlite
to a timestamped backup location (manual only) - Delete ATAK Cache: Permanently removes the current
statesaver2.sqlite
file (manual only) - Restore ATAK Cache: Restores the most recent backup to the active location (manual only)
- Clear ATOS Cache: Moves
atos_history.sqlite
to a timestamped archive location
Note: The app no longer supports scheduled/automated cache operations. All actions are performed manually by the user.
Before any ATAK cache operation (offload, delete, restore), the app will always show a warning dialog:
"ATAK must be closed before performing this operation. Please ensure ATAK is not running, then continue."
You must confirm this warning before proceeding. This is to prevent data corruption or instability in ATAK.
- Active Cache:
/atak/Databases/statesaver2.sqlite
- Backup Location:
/atak/Databases/backup/statesaver2_[timestamp].sqlite
- Active Cache:
/atak/tools/atos/atos_history.sqlite
- Archive Location:
/atak/tools/atos/archive/atos_history_[timestamp].sqlite
- Android 7.0 (API level 24) or higher
- Storage permissions (READ_EXTERNAL_STORAGE, WRITE_EXTERNAL_STORAGE)
- For Android 11+: "All files access" permission
- Download the latest APK from the releases
- Enable "Install from unknown sources" in your Android settings
- Install the APK
- Grant storage permissions when prompted
- Open the ATAK Cache Manager app
- Grant storage permissions if not already granted
- Select the desired cache operation:
- Offload: Creates a backup before clearing
- Delete: Permanently removes cache (use with caution)
- Restore: Brings back the most recent backup
- Clear ATOS: Archives ATOS cache with timestamp
- For ATAK cache operations, you will first see a warning to close ATAK. Confirm to proceed.
- Confirm the action in the dialog
- For ATOS or ATAK-running warnings, a Toast notification will show the operation status or warning.
The app requires the following permissions:
READ_EXTERNAL_STORAGE
: To read ATAK cache filesWRITE_EXTERNAL_STORAGE
: To write backup/archive filesMANAGE_EXTERNAL_STORAGE
: For Android 11+ to access all files
- Android Studio Arctic Fox or later
- Android SDK 36
- Kotlin 1.9+
git clone https://github.com/mjthree/atakcache.git
cd atakcache
./gradlew assembleDebug
app/src/main/java/com/apexclearcache/app/
├── MainActivity.kt # Main UI and permission handling
├── CacheManager.kt # Core cache operations
└── ui/theme/ # Material 3 UI theme
├── Color.kt
├── Theme.kt
└── Type.kt
This project is licensed under the MIT License.
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
This app is designed for managing ATAK cache files. Always backup important data before performing cache operations. The developers are not responsible for any data loss. Never perform ATAK cache operations while ATAK is running.
For issues and feature requests, please use the GitHub Issues page.