Skip to content

v1.1.0

Choose a tag to compare

@Dhangofa Dhangofa released this 19 Aug 20:00
· 4 commits to main since this release
feb630c

NetToggle v1.1.0

NetToggle v1.1.0 is a major milestone release packed with configurable Quick Settings cycles, seamless network switching for legacy Android versions, an overhaul of the UI and design language, and deep diagnostic capabilities.


🚀 Key Highlights & Features

  • Configurable Quick Settings Tile Cycles:

    • Customize your tile behavior with an ordered sequence of 2 or 3 network modes.
    • Added live cycle sequence previews and selection counters in the configuration interface.
    • Cached state and auto-reset mechanisms ensure smooth transitions across reboots and configuration changes.
  • Expanded Network Modes (3G & 2G):

    • Added dedicated options for Preferred 3G and 2G Only alongside 5G and 4G modes.
    • Updated legacy binary masks for worldwide carrier compatibility (including regional fallback networks).
  • Seamless Legacy Android Support (Android 7–11):

    • Introduced a headless Java reflection payload (NetworkModePayload) executed natively via app_process to interact directly with ITelephony.setPreferredNetworkType.
    • Brings fully automated, seamless switching to older Android versions without requiring Airplane Mode workarounds.
  • Dynamic Capability Filtering & Carrier Sunset Registry:

    • Integrated a 4-stage network capability resolver (NetworkCapabilityResolver) to evaluate hardware ceilings against per-slot capabilities.
    • Added a global LTE-and-above carrier registry reflecting mid-2026 2G/3G sunset data (covering the USA, Japan, Australia, Taiwan, Singapore, and South Korea) to dynamically hide discontinued legacy modes.

🎨 UI & Design Refresh

  • Native Morphing Carousel: Rebuilt the setup and guide carousel using a lightweight, native animation container with mathematical color interpolation and touch-aware state routing.
  • Modern Segmented Controls: Replaced traditional radio buttons with rounded, pill-shaped segmented controls for Execution Modes, Target SIMs, and Tile Cycles.
  • Adaptive Icons (API 26+): Added full adaptive icon support featuring a deep gradient background and 3D optical drop shadow, alongside a dedicated full-scale in-app action bar logo.
  • Edge-to-Edge & Responsive Layouts: Full fitsSystemWindows support eliminates status and navigation bar clipping across both portrait and landscape orientations.
  • UI Authorization Dimming: Contextually dims configuration cards when Root or Shizuku authorization is pending, preventing invalid interactions during initial setup.
  • Polished Touch Feedback: Refined ripple boundaries to strictly respect custom card and button corner radiuses.

⚡ Architecture & Diagnostics

  • Native API Fast-Paths:
    • Network mode readback prioritizes direct Android Settings.Global API queries before falling back to shell calls.
    • SIM resolution leverages native SubscriptionManager APIs with runtime permission handling.
  • Deep Diagnostic Telemetry:
    • Comprehensive execution tracking capturing stdout, stderr, exitCode, and exception messages during Root or Shizuku command failures.
    • Added a structured diagnostic report dialog with quick copy-to-clipboard functionality for troubleshooting.
  • Robust Capability Caching: Hardened carrier matching using exact phrase boundaries and strict CarrierConfig validation to eliminate false negative capability reports.
  • Modular Telephony & Command Layers: Completely decoupled execution modules (CommandExecutorFactory, RootCommandExecutor, ShizukuCommandExecutor) and centralized preference models.

What's Changed

  • Modularize preferences and network mode definitions by @Dhangofa in #8
  • Extract Root and Shizuku command execution by @Dhangofa in #9
  • Add automatic PR validation to release workflow by @Dhangofa in #10
  • Extract SIM resolution and network mode operations by @Dhangofa in #11
  • Add configurable QS tile cycles and refresh the main UI by @Dhangofa in #12
  • Skip artifact upload for pull request builds by @Dhangofa in #13
  • Skip artifact upload for pull request builds by @Dhangofa in #14
  • Skip artifact upload for pull request builds by @Dhangofa in #15
  • Native API Fast-Paths, Dynamic Capability Filtering, UI Overhaul and Diagnostic Tracking by @Dhangofa in #17
  • Integrate setup carousel, enhance diagnostics, and UI refinements by @Dhangofa in #18
  • Harden 5G and carrier capability caching mechanisms by @Dhangofa in #19
  • Replace ViewPager2 with Native Morphing Carousel & Refine Touch Feedback by @Dhangofa in #20
  • Seamless Legacy Network Switching (Android 7-11) & UI Cleanup by @Dhangofa in #21
  • UI Polish, Adaptive Icons, Edge-to-Edge Layout Fixes, and Carousel Simplification by @Dhangofa in #22

Full Changelog: v1.0.32...v1.1.0