Flash disk images to SD cards directly from your Android device
- 🚀 Direct block device writing - Flash images directly to SD cards at maximum speed
- 📦 Compressed image support - Handles
.img,.img.gz,.img.xz, and.zipfiles - 📊 Real-time progress - Live speed, ETA, and progress tracking
- ⚡ Fast writes - 4MB buffer for optimal performance
- 🛡️ Safety first - Confirmation dialogs and partition warnings
- 🎨 Material You - Modern UI with dynamic color support
- Android 7.0+ (API 24)
- Root access (Magisk, KernelSU, or similar)
- SD card slot or USB card reader
Download the latest APK from the Releases page.
git clone https://github.com/theblazehen/sd_flasher.git
cd sd_flasher
./gradlew assembleDebugThe APK will be at app/build/outputs/apk/debug/app-debug.apk
- Grant root access when prompted
- Select an image file using the file picker
- Select the target SD card from the device list
- Tap "Flash Image" and confirm the warning
- Wait for completion - do not remove the SD card!
| Format | Extension | Notes |
|---|---|---|
| Raw Image | .img |
Direct write, fastest |
| GZip Compressed | .img.gz, .gz |
Common for RPi images |
| XZ Compressed | .img.xz, .xz |
High compression ratio |
| ZIP Archive | .zip |
First .img file extracted |
⚠️ Warning: This app writes directly to block devices. Double-check your target device before flashing!
The app includes several safety measures:
- Only removable devices are shown (internal storage is excluded)
- Partition warnings displayed for devices with existing data
- Two-step confirmation before flashing
- Device is unmounted before writing
Android's security model prevents apps from writing to raw block devices. Root access is required to:
- Access
/dev/block/*devices - Unmount mounted partitions
- Write directly to storage hardware
- Kotlin + Jetpack Compose - Modern Android UI
- libsu 6.0.0 - Root shell and RootService by topjohnwu
- Apache Commons Compress - Decompression support
- Hilt - Dependency injection
- Material 3 - Dynamic theming
- Android Studio Hedgehog or newer
- JDK 17
- Android SDK 35
./gradlew assembleDebug./gradlew assembleReleaseContributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
Copyright (C) 2025
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
- libsu by topjohnwu - Root shell library
- Apache Commons Compress - Compression support
Made with ❤️ for the Raspberry Pi and embedded Linux community


