Imava
Privacy-first Android gallery.
A privacy-first Android gallery built around offline-first architecture, secure media storage and a fast native experience.
Overview
What Imava is and why it exists
Imava is a clean, native Android photo and video gallery. It is designed to provide a fast, responsive gallery experience while keeping all user media completely private and strictly local to the device.
Rather than pushing media to third-party cloud servers or running hidden network analytics, Imava operates entirely offline, pairing modern Android UI patterns with an encrypted local media vault.
Problem
Personal observation
Most standard gallery apps on modern smartphones are increasingly tied to cloud backup accounts, continuous background syncing, and user tracking. For users who simply want to browse their photos quickly without transmitting personal data or dealing with ads, options are surprisingly limited.
Imava was created to solve this specific need: a reliable, distraction-free gallery that treats user privacy as a primary feature, not an afterthought.
Technical Architecture
Modern Android Stack
Imava is built using modern Android development practices and components:
UI & Presentation Layer
Jetpack Compose & ViewModels
Fast native UI, fluid gesture controls, and responsive image rendering.
Local Database & Cache
Room, Paging 3, Coil
Local media indexing, fast thumbnail loading, and smooth timeline browsing.
Media Playback Engine
Media3 & Video Player
Native video playback and frame capture without external services.
Encrypted Storage Vault
AES-256-GCM & Android Keystore
Local encryption and biometric authentication for sensitive media.
Jetpack Compose & ViewModels
Declarative UI architecture with unidirectional data flow, ensuring smooth UI state management and fluid gesture navigation.
Room & Paging
Local database indexing with incremental pagination, allowing fast scrolling through large photo libraries without lag.
Coil Image Pipeline
Fast, memory-conscious thumbnail loading with downsampled previews and cached disk storage.
Media3 Video Player
Integrated video playback with playback controls and frame capture support.
WorkManager
Reliable background tasks for cleanup, thumbnail pre-caching, and storage maintenance.
Encrypted Vault & Keystore
Local encrypted storage container protected by hardware keys and biometric authentication.
Security
Media Protection Implementation
Security features implemented directly within the app:
Files placed in the vault are encrypted on-device with authenticated AES-256-GCM using keys stored in the Android Keystore.
Vault backup containers use PBKDF2 password derivation with high iteration counts to protect exported backups against offline guessing.
Vault access supports biometric authentication (fingerprint/face) and device PIN, including attempt rate limiting to prevent brute-forcing.
Vault media is excluded from the main timeline and app previews. In-memory decrypted data is kept transient during active viewing only.
Known Limitations
On rooted devices with superuser access, root processes have kernel-level access and can theoretically read application memory during playback. Scoped Storage on Android also requires explicit user permission prompts when modifying media belonging to other applications.
Performance
Engineered for speed
Performance was prioritized by using downsampled thumbnails for grid views, batched queries when reading device media, and incremental pagination via Paging 3. This keeps scrolling responsive even across libraries with thousands of photos.