Rufid

io.github.rufid
by Zapstore Catalog

Write and recover bootable USB media

Rufid turns an Android phone into a practical USB boot-media tool. It writes local ISO/IMG files to attached USB mass-storage devices, streams direct image URLs, creates a small FreeDOS drive, verifies written media, inspects boot records, runs read benchmarks, backs up a USB device to an Android document, extracts ZIP files, and recovers used boot media back into a normal FAT32 or exFAT drive. Windows installer ISOs can be written as a FAT32 UEFI layout, with install.wim split when it exceeds the FAT32 file-size limit, or as an NTFS data volume with an MBR or GPT UEFI:NTFS helper layout. These paths have been booted to the Windows Setup language screen in QEMU/OVMF. Physical USB controllers and PC firmware remain a separate compatibility test surface. The main workflow is phone-first: select a USB device, inspect it, choose an ISO/IMG, URL, or FreeDOS source, review the plan, write, and verify. Direct URL mode includes quick access to official source pages for Windows, Ubuntu, Fedora, Debian, Linux Mint, Arch Linux, and openSUSE; it does not bundle those operating system images. Destructive USB actions are guarded by an explicit plan screen and confirmation. Rufid shows the selected USB device, size, and available hardware identifiers before write or recovery operations. It is designed for external USB mass-storage devices, not internal Android storage. Rufid has no ad SDK, analytics SDK, billing SDK, Firebase dependency, cloud account system, or remote crash-reporting SDK. Error reports stay local on the device. The F-Droid build path packages the boot payload set from auditable inputs. FreeDOS is assembled from source-built FreeDOS kernel, FreeCOM, SYS, and boot sector artifacts. UEFI:NTFS, wimlib, NTFS-3G tools, and 7-Zip-JBinding are staged from pinned upstream source paths, and the 7-Zip-JBinding Android build excludes RAR/unRAR native sources. No payload is extracted from an opaque third-party APK. USB recovery is a metadata quick-wipe plus FAT32 or exFAT format flow. It is useful for returning a boot USB to normal storage use, but it is not secure erase and not a full-disk wipe.

First release: Dec 5, 2026, 1 total release.

Most recent release: Dec 5, 2026.

Repo

Appears in 0 app stacks.

0 sats / 0 zaps received in the past year.

Sats Received

Underlying data available via MCP: app_zaps, app_releases.

Zap Count

Underlying data available via MCP: app_zaps, app_releases.

Releases

  • Dec 5, 2026 0.3.0
    # Rufid 0.3.0 Rufid 0.3.0 expands Rufid into a modular 4-tab GPL Android USB toolkit (`WRITE`, `FORMAT`, `HEALTH`, `RECOVER`) using pure Kotlin and the existing source-built payload set, with no new third-party native dependencies. ## Write & Boot (`WRITE`) - Optional Windows Setup `autounattend.xml` customizations for FAT32 and NTFS UEFI:NTFS modes (hardware requirement bypass, online Microsoft account bypass / `BypassNRO`, automatic BitLocker disable, and OOBE privacy prompt skip). - Optional automatic read-back verification after raw and `.img.gz` image writes. - Compressed gzip backup (`.img.gz`) and auto-detected `.img.gz` restore. - Direct URL streaming SHA-256 verification with automatic official checksum manifest lookup (`SHA256SUMS` / `sha256sum.txt` / `.sha256`) and expanded official rescue/diagnostic ISO entries.
    More…
    ## Format & Integrity (`FORMAT`) - Pure-Kotlin FAT16 formatter, GPT single- and multi-partition layout writer (Protective MBR + primary/backup GPT CRCs), and standalone NTFS partition formatting via existing source-built `librufidmkntfs.so`. - FAT32 root-directory volume-label entry (`0x08`) matching the boot-sector label for clean `fsck.fat` validation. - Destructive `F3`-style fake-capacity verification (quick boundary probe with binary search and full sequential scan) plus one-click formatting capped to verified usable capacity. - Read-only FAT32/exFAT metadata health check with explicit opt-in dirty-flag clearing, plus destructive write+read throughput benchmarking. ## Drive Health & Rescue (`HEALTH`) - Low-level SCSI BOT pass-through with SAT-16 / SAT-12 ATA IDENTIFY, SMART attributes/thresholds/status, self-test logs, and drive self-test execution (Short, Conveyance, Extended, Abort), with serial-number redaction for shared reports. - NVMe-over-USB health log reader for Realtek RTL9210, ASMedia ASM2362, and JMicron JMS583 enclosures plus a USB Bridge Report Card. - Read-only surface scanner (SCSI `VERIFY` with `READ` fallback, 1 MiB latency buckets, 60 °C thermal safeguard) and resumable `ddrescue`-style rescue copy with persistent mapfiles. - Guarded HDD-only bad-sector write-back (refuses SSD/NVMe drives, restricts targets to scan/log-discovered LBAs, requires typed confirmation code, and keeps unreadable-sector zeroing opt-in). ## Read-Only Browse & Recovery (`RECOVER`) - Pure-Kotlin read-only FAT32, exFAT, and NTFS partition browser and file exporter directly over USB OTG without mounting or modifying the drive. - Deleted file recovery from FAT32 (`0xE5`), exFAT, and NTFS `$MFT` metadata, plus raw signature carving (`PNG`, `JPG`, `GIF`, `PDF`, `ZIP`, `7z`, `WAV`) exporting safely to user-selected Android SAF folders. ## Toolchain & Compatibility - Upgraded build toolchain to AGP 8.13.2, Kotlin 2.4.20, Gradle 8.14.3, Android SDK 36, and JDK 11 bytecode while preserving minSdk 24 compatibility (including API 24 process helpers in `NtfsNativeTools`). - Added GitHub Actions CI (`testDebugUnitTest`, `lintDebug`, `shellcheck`), Dependabot, and a 16 KiB native ELF alignment verification script. ## Validation Scope - Automated suite: 35 suites / 145 unit tests passing, 0 Kotlin compiler warnings, 0 Android Lint errors, `shellcheck` clean. - Host OS cross-verification (Linux): Rufid-formatted FAT16, FAT32, exFAT, and GPT dual-partition images passed `fdisk`/`gdisk`, `fsck.fat`, `fsck.exfat`, and real Linux kernel loop mounts; pure-Kotlin FAT32, exFAT, and NTFS readers/undelete engines recovered active and real OS-deleted files created by `mkfs.vfat`, `mkfs.exfat`, and `mkntfs`+`ntfs-3g` with byte-exact SHA-256 matches. - Physical USB-SATA/NVMe bridge pass-through and real-PC firmware compatibility remain device-specific community verification surfaces.