Repository navigation
OTA Pulse v6.0.0 (Build 35)
A major release introducing the background Device Watchlist, an adaptive Home Screen Widget & Quick Settings Tile, in-app release notes with Chinese-to-English translation, download management controls, navigation & UI refinements, and comprehensive security and parser hardening.
✨ New Features
Device Watchlist & Background Monitoring
- Full Matrix Watchlist Scanner: Added a background Device Watchlist daemon scanning across branches (
A,C,F,H,J), servers, andreqModecombinations, throttled viaSemaphoreconcurrency limits and centralized inSoftwareUpdateScheduler. - Custom & Catalog Pinning: Pin devices directly from the catalog with a regional variant picker dialog, or add custom devices by product model, product name, and target region code.
- Watchlist Import & Export: Export and import watchlist configurations from the top bar overflow menu.
- Redesigned Watchlist Cards & Notifications: Spacious card layout with isolated badges, responsive firmware status banners, and background update notifications with direct action receivers.
Home Screen Widget & Quick Settings Tile
- Adaptive Home Screen Widget (
OtaAppWidgetProvider): Responsive4x2and2x2layouts supporting Material 3 dynamic Monet colors (light/dark), Pure Black (AMOLED) mode synced with app settings, tactile Material ripple feedback, and an inline status spinner during checks. - Quick Settings Tile (
OtaQuickTileService): One-tap update checks directly from Android Quick Settings, backed byOtaStatusStore.
Human-Readable Changelogs & Translation
- In-App OTA Changelogs (
OtaChangelogFetcher&OtaChangelogCard): Parses BBK HTML/text panel URLs and response metadata into clean Markdown rendered with Markwon insideOtaDetailsSheet, complete with expand/collapse controls, clipboard copy, and open-in-browser actions. - Home Update Card Snippet: Displays a changelog snippet on the home update card with tap-to-expand.
- Chinese-to-English Translation: Added CN-to-EN translation support for changelogs.
Download Management & Extraction
- Download Settings: Added Wi-Fi-only download enforcement, bandwidth throttling, and a custom download location picker.
- Streamlined Extraction & Actions: Unified Copy Link, Share, and Download actions into a single bottom action row in OTA details, positioned partition selection below the changelog card, and moved the Extraction Status card to the bottom with smooth auto-scroll.
Logging & Diagnostics
- Structured Logging & Crash Reporting: Integrated Timber structured logging and a basic crash reporting handler.
🎨 UI, Navigation & Web Improvements
- Expandable Pill Bottom Navigation: Redesigned floating pill bottom bar with physics-tuned spring animations, active tab labels, icon crossfades, and dynamic content insets / FAB offsets.
- Preserved Navigation State & Transitions: Preserved page state, scroll positions, and form inputs across navigations, and replaced Navigation Compose 2.10's default predictive-pop scale-down with custom slide transitions (
NavigationAnimations). - Staggered Entrance Animations & Smooth Auto-Scroll: Added staggered entrance animations across OTA Tools screens (
ManualQueryScreen,PartitionExtractionScreen,LinkResolverScreen,ArbCheckerScreen) and empty states, plus smooth auto-scrolling for search and query results. - Redesigned Check Interval Picker (
CheckIntervalDialog): Replaced the 760-line analog clock dialog with a streamlined plain-English duration hero card (+/- 15msteppers and daily frequency hint),2x3one-tap preset grid (15m–24h), and compact15m-stepped fine-tune slider. - Layout & Visual Fixes: Unified top app bar styling and back navigation across all screens, kept the catalog search bar visible when scrolling down, equalized height/alignment on build type and region spec cards, centered empty states in Downloads and History screens, and removed the chat URL and badge from the About creator card.
- Web (
index.html): Improved fluidity, responsiveness, and scroll performance.
🔒 Security Hardening
- Network & Intent Hardening: Added
network_security_config.xmlenforcing HTTPS (android:usesCleartextTraffic="false"), verified self-update URLs, sanitized APK filenames, validated APK signing certificates before install, rejected untrusted update/OTA intent extras inMainActivity, removed the exportedWIDGET_CHECK_NOWfilter, and restrictedInAppBrowserScreeninitial URLs and externalintent://handling. - Path Traversal Protection (CWE-22): Enforced canonical direct parent directory checks in
DownloadManagerandPartitionExtractorWorker. - Release Verification: Documented release integrity verification instructions and cryptographic hashes in
README.md.
🐛 Bug Fixes & Reliability
- Download Engine & Cleanup: Fixed cancellation/pause races and preserved
CancellationExceptioninOkHttpDownloadEngine, guarded against 0-byte payloads and cleaned up failed/cancelled target files inAppUpdateDownloader, and eliminated force-unwraps inDownloadManagerandOtaDetailsSheet. - ZIP & Payload Parsers: Fixed ZIP64 extra field buffer offset indexing, validated ZIP64 EOCD locator offsets and central directory record bounds in
ZipRemoteParser, guardedRangeHttpClientagainst full-file heap allocations on HTTP 200, padded extent gap blocks with zeros during partition extraction, and added bounds/overflow checks and resource cleanup acrossOtaExtractor,BsDiffApplier,XblConfigParser,PayloadExtractor, andPayloadManifest. - Foreground Service & Storage UX: Promoted
DownloadForegroundServiceto foreground immediately inonStartCommand(preventing foreground service crashes), allowed dismissing (Later) the storage permission banner for catalog browsing without full disk access, and guarded Direct Boot / serializedSharedPreferencespersistence. - Compatibility & Lifecycle: Added dynamic
isGmsAvailablecheck andFontFamily.SansSeriffallback inType.ktto prevent Fire OS launch crashes, safely caught pre-Android 12ACTION_CLOSE_SYSTEM_DIALOGSbroadcasts, preserved OTA update intent extras acrossJsonOutputActivityrecreation, fixed cold-start navigation buffering, movedHistoryScreenimport/export I/O toOtaHistoryViewModel, and migrated Compose state collection tocollectAsStateWithLifecycle.
⚡ Performance, Refactoring & Build
- Allocation & Cache Optimizations: Precompiled regexes in
DeviceUtils,OtaUtils, andFormatUtils; eliminated excessiveByteArray/ByteBufferallocations inZipRemoteParserandXblConfigParser; replaced unbounded changelog/translator caches with 100-entry LRU maps; and pruned dead code and unused dependencies (View-system libs, Glide,kapt,gson). - Build & Dependencies: Updated Gradle Wrapper to
9.8.2-all(with SHA-256 verification), AGP to9.5.1, KSP to2.3.13, and Material3 to1.5.0-rc01, and increased Gradle daemon heap (-Xmx4096M). - Docs: Updated
README.mdandarchitecture.mdwith the latest features, tech stack, and version6.0.0(build35).
Full Changelog: 7644dd7...eb7e4b0