Skip to content

OTA-Pulse - V6.0.0

Latest

Choose a tag to compare

@RemuruSama RemuruSama released this 29 Nov 06:52
· 1 commit to main since this release

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, and reqMode combinations, throttled via Semaphore concurrency limits and centralized in SoftwareUpdateScheduler.
  • 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): Responsive 4x2 and 2x2 layouts 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 by OtaStatusStore.

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 inside OtaDetailsSheet, 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 (+/- 15m steppers and daily frequency hint), 2x3 one-tap preset grid (15m–24h), and compact 15m-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.xml enforcing HTTPS (android:usesCleartextTraffic="false"), verified self-update URLs, sanitized APK filenames, validated APK signing certificates before install, rejected untrusted update/OTA intent extras in MainActivity, removed the exported WIDGET_CHECK_NOW filter, and restricted InAppBrowserScreen initial URLs and external intent:// handling.
  • Path Traversal Protection (CWE-22): Enforced canonical direct parent directory checks in DownloadManager and PartitionExtractorWorker.
  • 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 CancellationException in OkHttpDownloadEngine, guarded against 0-byte payloads and cleaned up failed/cancelled target files in AppUpdateDownloader, and eliminated force-unwraps in DownloadManager and OtaDetailsSheet.
  • ZIP & Payload Parsers: Fixed ZIP64 extra field buffer offset indexing, validated ZIP64 EOCD locator offsets and central directory record bounds in ZipRemoteParser, guarded RangeHttpClient against full-file heap allocations on HTTP 200, padded extent gap blocks with zeros during partition extraction, and added bounds/overflow checks and resource cleanup across OtaExtractor, BsDiffApplier, XblConfigParser, PayloadExtractor, and PayloadManifest.
  • Foreground Service & Storage UX: Promoted DownloadForegroundService to foreground immediately in onStartCommand (preventing foreground service crashes), allowed dismissing (Later) the storage permission banner for catalog browsing without full disk access, and guarded Direct Boot / serialized SharedPreferences persistence.
  • Compatibility & Lifecycle: Added dynamic isGmsAvailable check and FontFamily.SansSerif fallback in Type.kt to prevent Fire OS launch crashes, safely caught pre-Android 12 ACTION_CLOSE_SYSTEM_DIALOGS broadcasts, preserved OTA update intent extras across JsonOutputActivity recreation, fixed cold-start navigation buffering, moved HistoryScreen import/export I/O to OtaHistoryViewModel, and migrated Compose state collection to collectAsStateWithLifecycle.

⚡ Performance, Refactoring & Build

  • Allocation & Cache Optimizations: Precompiled regexes in DeviceUtils, OtaUtils, and FormatUtils; eliminated excessive ByteArray/ByteBuffer allocations in ZipRemoteParser and XblConfigParser; 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 to 9.5.1, KSP to 2.3.13, and Material3 to 1.5.0-rc01, and increased Gradle daemon heap (-Xmx4096M).
  • Docs: Updated README.md and architecture.md with the latest features, tech stack, and version 6.0.0 (build 35).

Full Changelog: 7644dd7...eb7e4b0