Task automation and focus modes for Android. Free, offline, and open source.
AutoMatrix turns your phone into an automated, distraction-free environment. Create routines (trigger → condition → action) and focus modes that reconfigure your device in one tap — silencing notifications, adjusting volume and brightness, enabling Do Not Disturb, and more. Everything runs 100% on your device. No account, no cloud, no telemetry.
Think of it as the middle ground between iOS Focus Modes and full automation suites like Tasker or MacroDroid — simple enough to set up in a minute, powerful enough for real workflows.
Shown in dark theme (true black on OLED). Light theme included.
Focus Modes
- One-tap device profiles: Work, Study, Sleep, Driving, Gaming and custom modes
- Persistent lock-screen banner with End Early and Mute 30 min actions
- Quick Settings tile and a home-screen widget for instant switching
- Automatic revert: settings restore when the mode ends
Routines (Automation)
- Triggers: time schedules, battery level, charging state, Wi-Fi networks, Bluetooth devices, headphone plug, screen on/off, boot completed, app launch (accessibility), NFC tags, calendar events
- Conditions: combine triggers with All (AND) / Any (OR) logic and priorities
- Actions: ringer mode, DND, media/ring volume, brightness, Wi-Fi, Bluetooth, launch app, notifications, and more — with restore-on-exit support
- Ready-made template gallery: Sleep Mode, Morning Routine, Battery Saver, Commute, Security Guard and others
Triggers without opening the app
- Flip to Shhh — place the phone face down to silence and focus
- Shake gesture to run your top routine
- Notification triggers — react to notifications from any app, matching the title or text (chat apps like WhatsApp supported, including message updates)
- NFC stickers (write them right inside the app)
Privacy & Design
- Zero analytics, zero trackers, fully offline automation
- The only network use is the manual Check for Updates action in Settings — nothing is ever sent anywhere
- Monochrome black & white interface with a true-black OLED dark theme
- System / Light / Dark theme modes
- JSON backup export & import — your data is yours
Reliability
- Guided battery & startup walkthrough for Xiaomi, Samsung, Huawei, OnePlus, Vivo and stock Android
- In-app update check so sideloaded installs never go stale
- Optional 3-step onboarding that explains permissions up front
Grab the latest signed APK from Releases:
- Download
AutoMatrix-v1.1.0.apk - Open it and allow "Install unknown apps" for your browser/file manager
- Done — the app requests permissions progressively as you use features
The Play Store bundle (
.aab) is also attached to each release.
- Android 7.0+ (API 24); optimized for Android 13–16
- Optional hardware: NFC (for tag triggers), accelerometer (gestures)
- Optional access: Notification listener, Accessibility (app-launch triggers), calendar — all off by default and explained in-app in the Permission Center
git clone https://github.com/Shishir-ip/AutoMatrix.git
cd AutoMatrix
./gradlew :app:assembleRelease- Requires JDK 17+ and the Android SDK (API 36).
local.propertiesorANDROID_HOMEmust point to your SDK. - Without a signing key, the release build falls back to debug signing, so
assembleReleaseworks out of the box. - To produce your own signed build: place
automatrix-release.jksat the project root and provideAUTOMATRIX_STORE_PASSWORD,AUTOMATRIX_KEY_ALIAS,AUTOMATRIX_KEY_PASSWORD(environment variables or Gradle properties).
Run the tests:
./gradlew :app:testDebugUnitTest| Layer | Tools |
|---|---|
| Language | Kotlin 2.2, Coroutines & Flow |
| UI | Jetpack Compose, Material 3, custom monochrome design system |
| Data | Room (SQLite), DataStore Preferences |
| Navigation | Navigation Compose (single-activity) |
| Build | Gradle 9, AGP 9, KSP, R8 minification + resource shrinking |
app/src/main/java/com/shishir/automatrix/
├── automation/ # engine (conditions, actions), receivers, services, scheduler
├── data/ # Room database, repositories, JSON backup
├── domain/ # models and built-in templates
├── permissions/ # permission center logic
├── ui/ # theme, components, screens, view model
└── util/ # NFC manager, refresh-rate helper
Issues and pull requests are welcome. For bigger changes, open an issue first to discuss what you would like to change. Run the unit tests before submitting.
Released under the MIT License. The Inter typeface bundled with the app is licensed under the SIL Open Font License.
Developed by SHISHIR







