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, Travel — plus create your own (name + icon + actions) and delete any you don't want
- Full action editor on every mode — add, configure, and remove actions just like in routines
- Persistent lock-screen banner with End Early and Mute 30 min actions
- Quick Settings tile and a home-screen widget that follows your actual modes (active mode highlighted; taps switch instantly)
- Automatic revert: settings restore when the mode ends
Routines (Automation)
- Triggers: time schedules with a visual clock picker, days of the week, battery level, charging state, battery saver on/off, airplane mode on/off, Do Not Disturb on/off, 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 — time triggers fire via exact per-routine alarms at the window start and end, so Battery Saver-style actions turn on at the start and automatically revert when the window closes (enable Restore When Routine Ends on the action)
- Actions: ringer mode, DND, media/ring volume, brightness, Wi-Fi, Bluetooth, launch app, notifications, Emergency Alarm (loud alarm on the alarm stream — audible even when the phone is silent; pick any system alarm sound, and a notification with a Stop button appears while it rings), Speak Text (text-to-speech voice alerts), Battery Saver on/off (one-time ADB setup — see the in-app guide), Wait/Delay steps between actions, flashlight, vibration, open URL, and more — with restore-on-exit support
- Ready-made template gallery: Sleep Mode, Morning Routine, Battery Saver, Commute, Security Guard and others
Sharing
- Share any routine as a QR code or a share link — the receiving device imports it disabled, ready to review and enable
Triggers without opening the app
- Flip to Shhh — place the phone face down; you choose which mode it starts (any of your modes, or routines-only)
- 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)
Reliability built in
- A permission watchdog notifies you when an enabled automation can't run — e.g. if accessibility gets switched off after a phone restart, or if the Alarms & reminders permission needed for scheduled times is off
- Nothing is enabled by default: freshly installed routines are pre-built examples, all switched off until you turn them on
- The background engine only wakes up when you actually have routines enabled
- Guided battery & startup walkthrough for Xiaomi, Samsung, Huawei, OnePlus, Vivo and stock Android
- Full in-app updater: check for updates, see what's new, download with a progress bar, and install straight from the completion prompt — full changelog one tap away
- Optional 3-step onboarding that explains permissions up front
- Smooth, forgiving navigation: the keyboard closes before sheets do, and opening a trigger's options always returns to the list on back
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
Grab the latest signed APK from Releases:
- Download
AutoMatrix-v1.8.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







