Repository navigation
Frog Reader BETA 3 is a landmark release introducing the native Rust engine (frogreader-core), full PDF reading & annotation support, a Room 3 + SQLite FTS5 storage architecture, and a permanent RSA-4096 release signing certificate ready for future seamless updates, Google Play, and F-Droid builds. This release covers all changes since BETA 2.
Install and upgrade
Download FrogReader-BETA-3.apk from the assets below. The accompanying SHA256SUMS.txt records the APK checksum.
Important
Clean install required when moving from Beta 2 or earlier:
- New permanent signing certificate: Starting with BETA 3, Frog Reader transitions from the legacy Android Debug key to a permanent RSA-4096 PKCS12 production signing certificate (
CN=KNITIPKA, SHA-25627:FA:5C:18:99:1F:E9:53:AC:25:BE:BD:7A:64:61:99:4A:90:42:AA:BA:93:E8:95:6A:AC:99:DA:6B:B9:A7:70). Uninstall any earlier beta before installing Beta 3. - New SQLite database & Backup format v4: Beta 3 replaces the legacy pre-SQLite JSON storage with Room 3 + SQLite and Backup format v4 (
database/frogreader.db). Pre-SQLite backups created by Beta 2 or earlier (format v2) cannot be restored into Beta 3 — re-import your original ebook/PDF files after installing Beta 3.
All future releases from BETA 3 onward share this permanent signing key and SQLite backup format, allowing seamless in-place updates and backup restores.
- Application ID:
knitipka.frogreader(Frog Reader) - Minimum Android version: Android 9.0 (API 28)
- Backup format: Version 4 (compacted SQLite snapshot via
VACUUM INTOwithPRAGMA quick_check+PRAGMA foreign_key_checkvalidation and rollback protection)
What's new
Native Rust Engine (frogreader-core)
- Direct Rust parsers & FRB v2 binary cache: EPUB (ZIP/OPF/NCX/NAV, CSS cascade & selectors, HTML/MathML/SVG/Ruby), FB2, Markdown (GFM tables/footnotes), TXT, and MOBI/AZW3 (KF8) now parse in native Rust and stream directly into LZ4 + CRC32 chunked
.frbcaches with tiny JVM/native memory peaks. - Native Rust WOFF & WOFF2 (Brotli): Full WOFF 1.0 and WOFF 2.0 decompression (
brotli-decompressor) runs in native Rust;org.commonmarkandorg.brotli:decare completely removed from the release APK (0runtime classes). - SIMD native book search: Full-text in-book search scans compressed
.frbblocks directly in native memory without allocating JVMChaptertrees. - 5× faster full-book pagination & instant jumps: 6-worker parallel chapter pagination with lock-free typography/font resolvers and a direct Android
StaticLayoutfast path (verified pixel-for-pixel identical to ComposeTextMeasureracross 336 matrix cases on Android 16), plus anchor-sliced instant jumps from.rpifor huge chapters (500+ pages) and zero-flash seek/TOC navigation. - Optional Reader Loading HUD: English developer diagnostics overlay toggleable in Settings → Reading → Screen and startup (off by default) showing per-stage timings (
ms/s), first-paint latency, pagination throughput (pg/s), and jump durations.
Native PDF Reader (:pdf-viewer)
- AndroidX PDF + PDFium integration: Native PDF rendering, isolated document service, text selection, word-map native JNI binding, outline/TOC cache, highlights, notes, bookmarks, saved passages, and dedicated PDF reader settings.
Room 3 + Bundled SQLite FTS5 Storage
- Single ACID SQLite 3.50+ database: Library metadata, reading progress, shelves, quotes, bookmarks, reading queue, reading log, daily stats, achievements, and FTS5 instant full-text search indexes live in
frogreader.dbvia Room 3 +BundledSQLiteDriver(WAL mode, foreign keys enforced). - Backup Format v4: Atomic
VACUUM INTOdatabase snapshots with pre-swap integrity verification and.pre_restore_bakrollback.
Distribution & Store Readiness
- Permanent RSA-4096 PKCS12 signing (
CN=KNITIPKA, valid through 2054) — no debug-key fallback in release builds. - F-Droid & reproducible source build ready:
dependenciesInfois disabled (includeInApk = false,includeInBundle = false), and source builds without signing credentials produce a clean unsigned release APK/AAB. - 16 KiB page-size alignment: All native
.sobinaries (arm64-v8a,armeabi-v7a,x86,x86_64) and the release APK passPT_LOAD0x4000andzipalign -c -P 16verification.
See CHANGELOG.md for the complete technical changelog.
Verification
- Rust workspace:
cargo fmt --check,cargo clippy -- -D warnings(0 warnings),cargo test --locked(232 passed, 0 failed). - JVM unit tests:
./gradlew test— 2,418 passed, 8 skipped, 0 failures, 0 errors. - Android Lint:
:app:lintDebugand:app:lintRelease— 0 errors. - Physical device (Google Pixel 9a, Android 16 / API 36):
- 100% direct Rust-vs-Kotlin EPUB parity on Hebrew Bible (
122/122chapters,11,972notes,40,558link targets,0diffs). - Re:Zero (
677chapters,35,929pages): FRB build1.29 s(was38.8 s), full R8 pagination21.57 s(was108.7 s, 5.04× faster), warm.rpireopen< 1 s. IndexedPaginationPassTest(4/4),IndexedReaderUiTest(core 5/5 + real-corpus seek & frame matrix),RustEngineDeviceBenchmarkTest(3/3).
- 100% direct Rust-vs-Kotlin EPUB parity on Hebrew Bible (
- Release binaries:
zipalign -c -P 16 -v 4passed,apksigner verifyV2 passed (CN=KNITIPKA, RSA-4096), non-debuggableversionCode=7,versionName=BETA 3,0org/commonmark&0org/brotliruntime classes,app-release.aabbundle verified.
Source and license
Licensed under GPL-3.0-only. See THIRD_PARTY_NOTICES.md. Source is pinned at tag beta-3.