How juniojsv/mtk-easy-su works
Mtk Easy Su is an Android app for attempting bootless superuser access on MediaTek devices. The main workflow is: a user starts the attempt in the activity, the app runs its exploit handler asynchronously, and the activity displays the resulting status and log. The handler extracts bundled Magisk and mtk-su assets, runs shell commands, and checks for /sbin/su. The app also checks GitHub for releases and supports ads and utility UI features. README capabilities are represented where documented; unsampled behavior is not inferred beyond those statements.
Main entry points: ExploitHandler.kt Exploit handler · MainActivity.kt Main screen · GithubRepository.kt Release repository · Keys.kt User preferences
Components 14
Android app
- Main screen
app/src/main/java/juniojsv/mtk/easy/su/MainActivity.kt - User preferences
app/src/main/java/juniojsv/mtk/easy/su/Keys.kt - UI helpers
app/src/main/java/juniojsv/mtk/easy/su/Extensions.kt
Root attempt
- Exploit handler
app/src/main/java/juniojsv/mtk/easy/su/ExploitHandler.kt - Background task
app/src/main/java/juniojsv/mtk/easy/su/CoroutineTask.kt - Root assets
app/src/main/assets - Device shell
- Root access state
Release updates
- Release repository
app/src/main/java/juniojsv/mtk/easy/su/GithubRepository.kt - Release data
app/src/main/java/juniojsv/mtk/easy/su/GithubRelease.kt
External integrations
- GitHub releases API
- Ad service
Other components
- Device user
- Terminal user
Connections 16
- Device user → Main screen: uses
app/src/main/java/juniojsv/mtk/easy/su/MainActivity.kt - Main screen → User preferences: reads and saves
app/src/main/java/juniojsv/mtk/easy/su/MainActivity.kt - Main screen → UI helpers: uses
app/src/main/java/juniojsv/mtk/easy/su/MainActivity.kt - Main screen → Exploit handler: starts attempt
app/src/main/java/juniojsv/mtk/easy/su/MainActivity.kt - Exploit handler → Background task: extends
app/src/main/java/juniojsv/mtk/easy/su/ExploitHandler.kt - Exploit handler → Root assets: extracts
app/src/main/java/juniojsv/mtk/easy/su/ExploitHandler.kt - Exploit handler → User preferences: reads bitness
app/src/main/java/juniojsv/mtk/easy/su/ExploitHandler.kt - Exploit handler → Device shell: runs commands
app/src/main/java/juniojsv/mtk/easy/su/ExploitHandler.kt - Exploit handler → Root access state: checks for su
app/src/main/java/juniojsv/mtk/easy/su/ExploitHandler.kt - Exploit handler → UI helpers: reads output
app/src/main/java/juniojsv/mtk/easy/su/ExploitHandler.kt - Exploit handler → Main screen: returns result
app/src/main/java/juniojsv/mtk/easy/su/MainActivity.kt - Main screen → Release repository: requests latest release
app/src/main/java/juniojsv/mtk/easy/su/MainActivity.kt - Release repository → GitHub releases API: fetches release
app/src/main/java/juniojsv/mtk/easy/su/GithubRepository.kt - Release repository → Release data: returns model
app/src/main/java/juniojsv/mtk/easy/su/GithubRepository.kt - Main screen → Ad service: loads ads
app/src/main/java/juniojsv/mtk/easy/su/MainActivity.kt - Terminal user → Root assets: uses mtk-su
README.md