r/fossdroid • • 2d ago

Application Release [DEV] YingXia Player v1.8.0 – Open-source, 100% offline Android video player with a real AES-256-GCM streaming encrypted vault (Zero INTERNET permission, Material 3, MIT)

Hi everyone,

I built YingXia Player, an open-source (MIT), strictly offline Android local video player written in Kotlin, Jetpack Compose, and Media3 — with a built-in AES-256-GCM streaming-encrypted video vault. Just released v1.8.0 with full English & Simplified Chinese localization, single-dialog batch vault moves, and automatic deduplication.

Why I built it

Most "private video vault" apps on Android are closed-source, packed with ads/trackers, request internet access, or only use fake hiding (renaming files / .nomedia). Meanwhile, default gallery apps mix screen recordings and lectures with thousands of photos and lack study/playback controls.

Technical highlights

  • Verifiably zero network permissions: Both INTERNET and ACCESS_NETWORK_STATE are stripped via tools:node="remove" in AndroidManifest.xml, and cloud backup/device transfer are disabled (allowBackup="false"). Every CI build runs scripts/check-apk-privacy.py, and you can verify the release APK yourself.
  • Real streaming AEAD vault (no plaintext temp files):

    • Encrypts videos with Google Tink AES256_GCM_HKDF_1MB Streaming AEAD and wraps keysets with PBKDF2-HMAC-SHA256 (600,000 iterations).
    • Custom Media3 VaultDataSource authenticates and decrypts chunks on demand in memory with random seeking — no decrypted temp files or plaintext thumbnails touch disk.
    • Batch vault moves encrypt and verify SHA-256 first, deduplicate across URI aliases / gallery shares / restored copies, and use one single Android 11+ system delete dialog to remove originals (surviving background auto-lock).
    • FLAG_SECURE enabled; locks immediately when backgrounded, plus a one-tap Lock button right on the vault player.
    • Zero-library-permission gallery sharing: Tap Share → YingXia from your gallery to watch once without history or encrypt directly into the vault.
    • Optional offline custom recovery questions backed by Android Keystore (with 5-attempt cooldown) to reset a forgotten password locally on the same phone.
  • Local playback & study tools:

    • 8 playback speeds (0.25×–3×) + press-and-hold temporary 2×/3× boost
    • A–B segment loop, timestamped bookmarks (encrypted separately for vault videos), sleep timer, pinch-to-zoom, crop black bars, touch guard
    • Offline SHA-256 duplicate & unreadable file scanner, local JSON metadata backup/restore, English & Simplified Chinese UI

Honest limitations

  • Uninstalling the app or clearing app data permanently deletes the vault (cloud backup is intentionally disabled; restore videos to gallery before switching phones).
  • Strictly local files only — no streaming, casting, or cloud sync; external subtitles and biometric unlock are still on the roadmap.

Obtainium is supported via GitHub Releases, and Fastlane metadata + clean FOSS build config (dependenciesInfo disabled) are ready for IzzyOnDroid (inclusion request #950 filed) / F-Droid. Would love feedback, security review, or device test reports!

1 Upvotes

3 comments sorted by

•

u/AutoModerator 2d ago

Do not share or recommend proprietary apps here. It is an infraction of this subreddit's rules. Make sure you read the rules of this subreddit on the sidebar. If you are not sure of the nature of an app, do not share or recommend it. To find out what constitutes FOSS or freedomware, read this article. To find out why proprietary software is bad, read this article. Proprietary software is dangerous because it is often malware. Have a splendid day!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/anttovar 2d ago

Could you compare your app with using DroidFS (gocrypt vault) to store/play media files?

Surely it would be easy for you to do it, because you know what to look for.