https://github.com/jksalcedo/data-sim-switcher
A lightweight, purely root-based Quick Settings tile to switch the default mobile data SIM on dual-SIM Android devices.
https://github.com/jksalcedo/data-sim-switcher
android-root data-sim-card jetpack-compose kotlin root sim-switcher simcard
Last synced: 18 days ago
JSON representation
A lightweight, purely root-based Quick Settings tile to switch the default mobile data SIM on dual-SIM Android devices.
- Host: GitHub
- URL: https://github.com/jksalcedo/data-sim-switcher
- Owner: jksalcedo
- Created: 2026-06-18T14:18:21.000Z (21 days ago)
- Default Branch: main
- Last Pushed: 2026-06-18T15:11:11.000Z (21 days ago)
- Last Synced: 2026-06-18T17:11:39.275Z (21 days ago)
- Topics: android-root, data-sim-card, jetpack-compose, kotlin, root, sim-switcher, simcard
- Language: Kotlin
- Homepage:
- Size: 138 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Data SIM Switcher (Root Only)
A lightweight, purely root-based Quick Settings tile to switch the default mobile data SIM on dual-SIM Android devices.
Unlike other implementations that rely on Shizuku and persistent daemons, this app uses `libsu` to spawn a Root IPC service for the exact millisecond the tile is tapped. It's incredibly fast, survives reboots reliably, and uses zero background battery.
## Features
* **Zero Daemons:** Uses on-demand Magisk/KernelSU root access.
* **No Permissions Required:** Bypasses Android's `READ_PHONE_STATE` restrictions entirely by doing all calculation logic natively in the root daemon.
* **Backward Compatible:** Uses an internal reflection engine instead of hard-linked AIDL files, making it immune to hidden API signature changes across Android versions (Supports Android 7+).
* **Smart Toggling:** Automatically scans active slots, switches to the next one, and enables the cellular data on the new SIM.
## Setup & Installation
1. Install the APK.
2. Open the app once to grant Superuser privileges via Magisk/KernelSU or manually granting root in your root managers.
3. Pull down your Quick Settings panel, tap edit, and add the "Switch SIM" tile.
## Dependencies
* [libsu](https://github.com/topjohnwu/libsu) - Android Root IPC
* Jetpack Compose - UI
## Credit
Architecture inspired by the reflection engine found in [Mygod/DataSimTile](https://github.com/Mygod/DataSimTile).