GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Releases · Dhangofa/NetToggle

Releases · Dhangofa/NetToggle

v1.2.0

v1.2.0 Latest
Latest
@Dhangofa Dhangofa released this 14 Sep 20:30
v1.2.0
f0f53b0
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

🚀 NetToggle v1.2.0

Thrilled to announce the release of NetToggle v1.2.0! This major update introduces a redesigned 3-tab layout, background broadcast automation, native app shortcuts with routine integration, zero-overhead auto-restore on shade pull, pure AMOLED theming, and 5 new language localizations.


🌟 What's New in v1.2.0

🤖 1. Broadcast Automation (Tasker, MacroDroid, Automate & ADB)

  • Silent Background Automation: Added AutomationReceiver to trigger silent network mode switching from third-party tools via com.dhangofa.networktoggle.SET_MODE.
  • Security Tokens: Added customizable authentication tokens to safeguard your automation broadcast endpoints from untrusted apps.
  • Interactive ADB Generator: Build, test, and copy ready-to-run am broadcast shell commands with a single tap inside the Automation tab.

📱 2. App Shortcuts & OS Routines Integration

  • Launcher Shortcuts & Pinned Widgets: Configure up to 4 quick-action network toggles for your home screen.
  • OEM Automation Support: Natively integrated for Samsung Modes and Routines (Bixby Routines) and Google Assistant.
  • Instant Execution: Added zero-UI background executor (ShortcutActionActivity) for instantaneous switching without launching the main dashboard.
  • Capability-Aware Filtering: Shortcuts dynamically adapt based on each SIM slot's modem capabilities.

🔄 3. Auto-Restore on Notification Shade Pull

  • Passive Reversion Guard: Added an opt-in toggle to force your preferred network mode back if the device/carrier unexpectedly reverted to 4G (due to thermal limits, carrier overrides, etc.).
  • Zero Background Battery Drain: Rather than running continuous polling services in the background, NetToggle validates and re-applies your set mode passively whenever you pull down the notification shade (protected by a 30-second cooldown period).

🗂️ 4. Redesigned 3-Tab Interface & Theming

  • Tabbed Experience: Seamless navigation between Home (QS cycles & SIM targets), Automate (shortcuts & broadcasts), and Guides (step-by-step setup walkthroughs).
  • Setup Hero & Progressive Disclosure: Interactive permission cards for Shizuku and Root with live service status indicators and smooth unlock transitions.
  • Themes & AMOLED: Choose between Light, Dark, System Auto, and Pure AMOLED Black, with full Material You dynamic color support on Android 12+ on App Icon.

📶 5. Dual-SIM Targeting & Telephony Engine Overhaul

  • "Both SIMs" Mode: Simultaneously apply network modes to both active SIM slots with a single toggle.
  • Modular Telephony Engine: Rewritten controller pipeline for zero-latency binder switching on Android 11 through Android 16+.
  • Phone State Permission Flow: Smooth, persistent permission onboarding ensuring accurate physical SIM slot detection.

🌐 6. Multilingual Localization (i18n)

Full native translations for:

  • 🇧🇩 Bengali (bn)
  • 🇪🇸 Spanish (es)
  • 🇵🇹 Portuguese (pt)
  • 🇷🇺 Russian (ru)
  • 🇨🇳 Simplified Chinese (zh-rCN)

🐛 Bug Fixes & Stability Improvements

  • Samsung One UI & Android 16 / Recents Persistence: Fixed an issue where closing NetToggle from recent apps would drop Shizuku binder state or cause QS tile failures on Samsung One UI devices.
  • Fixed QS tile state desynchronization on device reboot.
  • Fixed capability detection on dual-SIM devices where Slot 2 has differing modem capabilities.
  • Optimized app startup performance and reduced memory footprint.

💖 Community Thanks & Issue Acknowledgements

A special thank you to our community members for reporting issues, suggesting features, and helping test development builds:

  • @rajarshikhatua (#23) — Thank you for requesting the automatic 5G restoration mechanism, leading to the zero-battery-drain "Auto-Refresh on Notification Shade Pull" implementation with cooldown protection!
  • @BuddhaDiedLaughing (#26) — Thank you for the detailed logs and report regarding Samsung One UI 8.5 / Android 16 Shizuku binder lifecycles and recents stack clearing, helping us make the Shizuku integration rock-solid!
  • Telegram Community ( Hondero_Mad, RainN1ght ) for suggesting features like Automation.

📦 Download & Availability

  • GitHub Releases: Download the signed APK directly from the Releases tab.
  • F-Droid / IzzyOnDroid: Available shortly once repository scrapers build v1.2.0 (34).

Full Changelog

v1.1.0...v1.2.0

Contributors

  • @BuddhaDiedLaughing
  • @rajarshikhatua
BuddhaDiedLaughing and rajarshikhatua
Assets 4
Loading

Uh oh!

There was an error while loading. Please reload this page.

BuddhaDiedLaughing and Moongripped reacted with thumbs up emoji BuddhaDiedLaughing reacted with laugh emoji BuddhaDiedLaughing and faizul726 reacted with hooray emoji BuddhaDiedLaughing reacted with heart emoji BuddhaDiedLaughing reacted with rocket emoji BuddhaDiedLaughing reacted with eyes emoji
All reactions
  • 👍 2 reactions
  • 😄 1 reaction
  • 🎉 2 reactions
  • ❤️ 1 reaction
  • 🚀 1 reaction
  • 👀 1 reaction
3 people reacted

v1.1.0

v1.1.0
@Dhangofa Dhangofa released this 19 Aug 20:00
v1.1.0
feb630c
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

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

Contributors

  • @Dhangofa
Dhangofa
Assets 4
Loading

Uh oh!

There was an error while loading. Please reload this page.

BuddhaDiedLaughing reacted with thumbs up emoji BuddhaDiedLaughing reacted with laugh emoji faizul726 and BuddhaDiedLaughing reacted with hooray emoji BuddhaDiedLaughing reacted with heart emoji BuddhaDiedLaughing reacted with rocket emoji BuddhaDiedLaughing reacted with eyes emoji
All reactions
  • 👍 1 reaction
  • 😄 1 reaction
  • 🎉 2 reactions
  • ❤️ 1 reaction
  • 🚀 1 reaction
  • 👀 1 reaction
2 people reacted

v1.0.32

v1.0.32
@Dhangofa Dhangofa released this 03 Aug 18:57
v1.0.32
ee39635
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

NetToggle v1.0.32

What's Changed

  • Prepare for next build with refreshed UI and release workflow improvements by @Dhangofa in #5

Highlights

  • Refreshed the main app UI with a cleaner modern design.
  • Added updated cards, icons, colors, spacing, and pill-style UI elements.
  • Improved light and dark theme styling.
  • Added a compact version pill in the top bar.
  • Improved status bar icon contrast for light and dark mode.
  • Updated screenshots for the revamped UI.
  • Updated README with app store links, contact details, screenshots, supported ROM/device information, and issue-reporting guidance.
  • Updated Fastlane metadata, short description, full description, and changelog.
  • Added Gradle Wrapper files and distribution checksum support.
  • Updated GitHub Actions release build to use the checked-in Gradle Wrapper.
  • Added a manual workflow for future Gradle Wrapper checksum updates.
  • Fixed Gradle Wrapper executable permission.

Notes

  • This release focuses on UI polish, documentation, metadata, and release build hygiene.
  • Core network switching behavior remains based on the v1.0.31 implementation.

Upgrade Recommendation

Users on v1.0.31 can update normally to v1.0.32.

If switching between GitHub, IzzyOnDroid, and F-Droid builds, Android may require uninstalling first if the installed APK was signed by a different source.

Full Changelog: v1.0.31...v1.0.32

Contributors

  • @Dhangofa
Dhangofa
Assets 3
Loading

Uh oh!

There was an error while loading. Please reload this page.

RizkLee reacted with thumbs up emoji RizkLee reacted with hooray emoji
All reactions
  • 👍 1 reaction
  • 🎉 1 reaction
1 person reacted

v1.0.31

v1.0.31
@Dhangofa Dhangofa released this 02 Aug 04:38
v1.0.31
973cee3
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

NetToggle v1.0.31

Highlights

  • Fixed Samsung One UI dual-SIM switching behavior.
  • Added Target SIM selection with Auto, SIM 1, and SIM 2 options.
  • Auto mode now resolves the active data subscription to the correct physical SIM slot before applying network mode changes.
  • Added Android 10+ native subscription-to-slot mapping using SubscriptionManager.
  • Added dumpsys isub fallback for older Android versions and OEM-specific subscription layouts.
  • Added safe failure behavior when Auto SIM detection cannot resolve a valid SIM slot.
  • Added Toast feedback when Auto SIM detection fails, asking the user to choose SIM manually.
  • Added persistent app warning when Auto SIM detection fails.
  • Cleared cached Quick Settings tile state when execution mode changes.
  • Cleared cached Quick Settings tile state when Target SIM selection changes.
  • Added boot/app-update cache invalidation to avoid stale tile state after reboot or app replacement.
  • Updated network state readback to use subscription IDs for preferred_network_mode reads.
  • Manual SIM readback now resolves SIM slot to subscription ID before reading preferred_network_mode.
  • Expanded preferred network mode mappings for additional OEM/ROM variants.

Preferred Network Mode Mapping Improvements

  • Preferred 4G now recognizes additional legacy modes:

    • 8
    • 10
    • 12
    • 15
    • 17
    • 19
    • 20
    • 22
  • Preferred 5G now recognizes legacy modes from:

    • 24 through 33

Notes

  • Root or Shizuku is still required.
  • Auto Target SIM is recommended for most users.
  • If Auto detection does not work on a device, choose SIM 1 or SIM 2 manually from the app.
  • GitHub release builds and F-Droid builds may use different signing keys, so switching between install sources may require uninstalling first.

Full Changelog: v1.0.30...v1.0.31

Assets 3
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

v1.0.30

v1.0.30
@Dhangofa Dhangofa released this 29 Jul 11:29
v1.0.30
22fd829
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

NetToggle v1.0.30

What's Changed

  • Optimize NetToggle Root/Shizuku handling and QS tile performance by @Dhangofa in #1
  • Add app info, runtime version display, and developer links by @Dhangofa in #2
  • Prepare NetToggle for F-Droid and add app info UI by @Dhangofa in #4

Highlights

This release focuses on improving NetToggle’s reliability, Root/Shizuku permission handling, QS tile responsiveness, active SIM handling, and overall system resource usage.

Root/Shizuku mode handling

  • Fresh install no longer auto-selects Root mode.
  • Added explicit execution mode states:
    • No mode selected
    • Root mode
    • Shizuku mode
  • Root permission is now checked when Root mode is selected or restored.
  • Shizuku permission is requested only when the user selects Shizuku mode.
  • Saved Shizuku mode now checks status without automatically showing the permission popup.
  • Shizuku callbacks now update UI only when Shizuku mode is currently selected.
  • Added safer cleanup for Shizuku listeners when MainActivity is destroyed.
  • Added cleanup for active Root permission check process/thread when MainActivity is destroyed.
  • Prevented stale Root/Shizuku permission callbacks from updating UI after MainActivity closes.

QS tile performance improvements

  • Added proper network state constants instead of raw numeric state values.
  • Added unknown/setup tile state instead of assuming 4G Only on first install.
  • Cached generated QS tile icons to avoid recreating Bitmap/Icon objects on every tile update.
  • Added immediate Switching... tile feedback while a mode change is running.
  • Moved Root/Shizuku command execution off the QS tile click path.
  • Added background executor for network mode switching.
  • Added Android 7+ compatible main-thread UI update handling.
  • Added duplicate-tap protection to avoid queuing multiple toggle commands.
  • Tile state now updates only after command execution succeeds.
  • Previous tile state is preserved if Root/Shizuku command execution fails.

SIM and network mode handling

  • Removed hardcoded -s 0 behavior.
  • Added active data SIM detection using multi_sim_data_call.
  • Mapped active data SIM index to phone command index:
    • multi_sim_data_call=1 → cmd phone -s 0
    • multi_sim_data_call=2 → cmd phone -s 1
  • Added current mode detection using legacy preferred_network_mode1/2 values.
  • Added legacy mode ID mapping:
    • 11 → 4G Only
    • 23 → 5G Only
    • 33 → Preferred 5G
    • 9 → Preferred 4G
  • Current mode is read only when cached tile state is unknown, reducing unnecessary shell/Shizuku calls during normal QS panel refresh.

Resource usage improvements

  • Reduced unnecessary command execution when pulling down Quick Settings.
  • Reduced CPU overhead by using cached tile state during normal QS refresh.
  • Removed repeated Shizuku reflection lookup by caching the newProcess method.
  • Cached regex pattern used for legacy mode parsing.
  • Removed unused command result stderr storage.
  • Added process cleanup after Root/Shizuku command execution.

Adds a lightweight app info/developer section to the NetToggle configuration screen.

  • Show app title and runtime APK version.
  • Add developer section with person icon and developer name.
  • Add icon-only GitHub and Telegram links.
  • Use lightweight VectorDrawable icons.
  • Open GitHub/Telegram links externally using browser/app intent.
  • Keep UI changes isolated to MainActivity and activity_main.xml.
  • No QS tile behavior or background execution changes.

Notes

  • Root or Shizuku is required.
  • On fresh install, open the app and select either Root or Shizuku mode first.

Full Changelog: v1.0-2...v1.0.30

Contributors

  • @Dhangofa
Dhangofa
Assets 3
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

v1.0.2

v1.0.2
@Dhangofa Dhangofa released this 26 Jul 17:25
v1.0-2
ee246d9
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

🔄 Update Notes

This release updates the build configuration to meet the strict Free and Open Source Software ( FOSS ) requirements for inclusion in the IzzyOnDroid repository . There are no changes to the application features or user interface in this update .

Full Changelog: v1.0-1...v1.0-2

Assets 3
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions

v1.0.1

v1.0.1
@Dhangofa Dhangofa released this 25 Jul 19:51
v1.0-1
e693315
This commit was created on GitHub.com and signed with GitHub’s verified signature.
GPG key ID: B5690EEEBB952194
Verified
Learn about vigilant mode.

🎉 Welcome to the First Release of NetToggle!

This is the initial stable release of NetToggle, a lightweight Quick Settings tile designed to force specific cellular network modes directly from your Quick Settings, bypassing OEM restrictions.

✨ Features included in v1.0-1:

  • One-Tap Network Switching: Seamlessly cycle between 4G Only, 5G Only, Pref 5G, and Pref 4G directly from the Quick Settings panel.
  • Dual Execution Modes:
    • Root Mode (su): For rooted users (Magisk/KernelSU/Apatch) requiring zero background overhead.
    • Shizuku Mode (ADB): For non-rooted users, leveraging UID 2000 shell permissions via the Shizuku app.

🛠️ Installation & Setup:

  1. Download the NetToggle-v1.0.1.apk file from the Assets section below.
  2. Install the APK on your device.
  3. Open the NetToggle app from your app drawer.
  4. Select your preferred execution method:
    • If rooted, select Root (su) and grant superuser access when prompted or in root manager.
    • If non-rooted, ensure Shizuku is running in the background, select Shizuku (ADB), and tap "Allow" on the authorization popup.
  5. Pull down your status bar, edit your Quick Settings layout, and drag the NetToggle tile into your active panel.

⚠️ Note on MIUI/HyperOS:

If the tile does not update immediately upon tapping, ensure NetToggle is allowed to run in the background in your device's battery/app settings.
Full Changelog: https://github.com/Dhangofa/NetToggle/commits/v1.0-1

Assets 3
Loading

Uh oh!

There was an error while loading. Please reload this page.

All reactions
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.