Repository navigation
Beta Channel (Build 106)
Pre-release
Pre-release
·
26 commits
to main
since this release
π± Phone Control Release β beta-latest
Channel: dev β’ Commit: 7af8f95 β’ Date: 2026-10-03 22:35 UTC
π Changes in this Build
feat(wireless-adb): smart port auto-sleep for Wi-Fi, hotspot and USB tethering
Changes & Fix Notes:
- π Feature: Enabled Smart Port Auto-Sleep by default (
isAutoSleepEnabled = true) so Wireless ADB stays active strictly when connected to Wi-Fi, Hotspot, or USB Tethering. - π Fix: Resolved battery drain on Mobile Data (Cellular) by removing generic
ip route get 1.1.1.1fromgetFallbackIp(), preventing cellular SIM IP addresses from falsely masquerading as local debugging networks. - β‘ Performance & Battery: Added
registerDefaultNetworkCallbackand USB state/power intent receivers toAutoTweakServicefor instant port suspension on cellular handoff and zero idle power consumption. - π¨ UI/UX: Updated SettingsActivity, Quick Settings Tile, and layout strings to clarify that Wireless ADB operates on Wi-Fi, Hotspot, and USB Tethering, while automatically suspending on Mobile Data and offline standby.
- π‘οΈ Guardrails: Preserved existing listening port configuration (
1024..65535), 15s anti-flapping debounce delay, and root elevation safeguards without modifying frozen app or equalizer logic.
Modified Files:
- app/src/main/java/com/example/phonecontrol/WirelessAdbManager.kt: Defaulted auto-sleep to true and restricted IP discovery to local debug interfaces (wlan, ap, rndis, usb, eth).
- app/src/main/java/com/example/phonecontrol/AutoTweakService.kt: Registered default network callback, Ethernet transport, and USB tethering broadcast actions.
- app/src/main/java/com/example/phonecontrol/SettingsActivity.kt: Clarified auto-sleep status indicators and toast feedback.
- app/src/main/java/com/example/phonecontrol/WirelessAdbTileService.kt: Updated QS tile standby subtitles and feedback messages.
- app/src/main/res/layout/activity_settings.xml: Updated descriptive label for Smart Port Auto-Sleep.
- README.md: Documented USB Tethering, Hotspot, and Mobile Data standby protection in network management specs.
π¦ Package & Security Details
- APK Asset:
PhoneControl-Beta.apk - Signing: Unified Cryptographic Release Keystore (Zero Conflict)
- R8 Minification: Enabled (Dead Code & Resources Stripped)
- Architecture: Universal ARM64-v8a