Repository navigation
SwiftSense v1.3
Privacy Tiles & Execution Decoupling
- Background Quick Settings Tile Reliability: Fixed an issue where Camera and Microphone access tiles failed to function when the application was closed or not running as a foreground service by establishing global Application-level initialization.
- Independent Execution Modes: Completely separated command execution between Shizuku and SwiftSense ADB modes. When SwiftSense ADB mode is active, the app no longer queries or depends on Shizuku, and status warnings dynamically reflect the active execution backend.
Turbo Downloader (Multi-Segment Download Engine)
- IDM-Style Parallel Acceleration: Introduced a multi-threaded parallel download engine splitting files across up to 16 concurrent HTTP Range connections directly written using
RandomAccessFile. - Live Chunk Visualizer: Real-time visual progress monitoring showing byte completion across all individual threads.
- Engine Reliability & Resilience: Added automatic recursive HTTP redirect handling (
301,302,303,307,308), adaptive range request probing, and graceful single-stream fallback for servers that do not support byte ranges. - Progress Layout Optimization: Redesigned download card metrics to prevent speed, percentage, and ETA text from wrapping awkwardly on narrower displays.
- Foreground Service & Media Sorting: Uninterrupted background downloads managed by a dedicated foreground service with notifications and categorized storage routing (
Downloads/SwiftSense). - Direct APK Installer Integration: Downloaded APK files can be handed directly to SwiftSense's privileged package installer with a single tap.
Native Floating Package Installer Dialog
- System-Wide Package Installer Dialog: Opening APK, XAPK, APKS, or APKM files from external file managers or browsers now presents a floating Material 3 dialog directly over the current app without launching the main application window.
- Cold-Start Navigation Fix: Resolved a cold-start crash where external package view intents attempted to navigate before the app navigation graph attached.
- Version Detection & Downgrade Warnings: Automatically detects whether a package is a fresh install, update (with version comparison badge), same-version reinstall, or a version downgrade with prominent warning indicators.
- Expandable Advanced Options: Quick on-the-fly toggles for install flags directly within the installation prompt, including data retention (
-r), downgrade permission (-d), low target SDK bypass, auto-granting permissions (-g), test-only builds (-t), verification bypass, and multi-user profile installations. - Comprehensive Error Localization: Mapped over 40 ADB/pm install error codes into clear, user-friendly localized messages in Turkish and English.
- Consistent Staging UI: Maintained persistent header and aligned status transitions across file preparation, installing, success, and error states.
- Malware & Security Warnings on Risky Options: Attempting to toggle "Auto-Grant Permissions (-g)" or "Skip Verification" now triggers an explicit security alert dialog explaining the potential malware and spyware risks, requiring user confirmation before enabling.
UI & Markdown Enhancements
- Interactive Markdown Links: Embedded URL links within in-app release notes are now fully clickable and open seamlessly in the default web browser.
- Streamlined Release Notes: Removed unnecessary card wrappers and padding from release notes displays for a clean, edge-to-edge reading experience.
- Locale Synchronization: Synchronized dialog window and activity locale contexts with the selected in-app language preference.
AMOLED Screen Protection Safety & PenTile Fix
- Resolved Diamond PenTile Blackout: Corrected diamond PenTile matrix calculation where high pixel density (100%) filled 100% of tile pixels with solid black. The new quincunx lattice formula guarantees that 75% to 87.5% of pixels remain completely transparent at all density levels.
- Screen Visibility Safeguards: Enforced strict opacity and alpha caps across all filter modes (clamping noise density to 45% max and capping tint/dimmer alpha to 150) ensuring that the accessibility overlay can never completely black out or cover the display under any setting combination.
Always On Display Automatic System Brightness
- Automatic Device Brightness by Default: AOD now respects the device's system brightness and ambient light sensor (
BRIGHTNESS_OVERRIDE_NONE) instead of forcing fixed brightness values or maxing out the backlight. - Eliminated Full-Brightness Flash: Replaced
SCREEN_BRIGHT_WAKE_LOCKwithSCREEN_DIM_WAKE_LOCKwhen waking or dismissing AOD, preventing sudden 100% brightness spikes. - Auto Brightness Setting Toggle: Added a dedicated toggle in AOD settings allowing users to switch between automatic device brightness and custom manual brightness slider.
SwiftSense Service & Background Stability Optimization
- Lifecycle-Aware Socket Monitoring: Eliminated aggressive 1500ms background polling loops. ShellBridge now tracks application lifecycle, suspending continuous socket checks when the app is in the background to prevent device wakeups, CPU churn, and kernel
TIME_WAITsocket exhaustion. - Daemon v4 Upgrade & Pipe Deadlock Elimination: Upgraded SwiftSense daemon to v4, migrating to
ProcessBuilderwith kernel-level stream redirection (redirectErrorStream(true)). This completely resolves child process deadlocks caused by full 64 KB stderr pipe buffers. - Zombie Process & Leak Safeguards: Ensured graceful process termination (
destroyForcibly()) and resource reclamation in all socket termination and exception paths. - Localhost Security & Port Reuse: Secured daemon ServerSocket by binding exclusively to
127.0.0.1and enablingreuseAddress = true, eliminating network exposure and port-binding collision failures on restart. - Vitality Caching & Zero-Linger Sockets: Added vitality status caching in
SwiftSenseDaemonBridgeand configuredSO_LINGER(0)withTCP_NODELAYto eliminate lingering socket overhead. - Automated Daemon Recovery: Introduced intelligent, throttled auto-revival to seamlessly reconnect and restart the daemon in the background if terminated by OEM battery managers.
- Macro Service Batch Execution: Optimized
SystemMacroServiceto bundle multiple settings commands into a single batch execution, reducing background TCP handshakes and process forks by over 90%.
System Table Macros & Table Viewer Enhancements
- Vertical Table Viewer Layout: Transformed the table viewer card layout to display key and value in a clean vertical arrangement, providing ample width for long system table keys and configuration values.
- Macro Deletion Confirmation: Integrated a confirmation dialog before deleting macros to prevent accidental loss of complex automation configurations.
- One-Click Macro Duplication: Added a dedicated copy/duplicate button to macro cards, enabling quick cloning (
"[Macro Name] (Copy)") for fast variations. - Intelligent Key Auto-Complete & Value Prefilling: Typing setting keys in the macro editor now automatically suggests matching keys from the active system table. Selecting a suggestion auto-fills both the default value and the target value with the device's live setting value.
- Optimized Default Interval: Adjusted the default auto-apply macro service repetition interval from 30 seconds to 1 second, aligning with available options.
Categorized Home Screen Experience
- Structured Tool Categories: Reorganized home screen features into four distinct, intuitive functional sections (Performance & Optimization, Display & Screen, Apps & Package Management, and System & Automation), providing cleaner visual hierarchy and quicker access to tools.
Sensor Optimization & Live Frequency Monitoring
- Live Sensor Values & Precision Monitoring: Real-time axis measurements (
X,Y,Z) alongside an ultra-precise frequency calculation engine based on monotonic interval normalization (SystemClock.elapsedRealtimeNanos()), eliminating sampling jitter and drift. - Zero Delay Mode (SENSOR_DELAY_FASTEST): Added a dedicated option allowing users to bypass nominal OEM hardware rate caps and unlock the highest physical sampling frequency supported by the device's sensor hub.
- Service Isolation & Conflict Prevention: Fully decoupled UI monitoring from background service listeners to eliminate double-registration throttle and prevent artificial service activation states.
Full Changelog: v1.2.8...v1.3