SwiftSense
1.3 · GitHub
More about this app
Gaming tuner that uses Shizuku to freeze background apps, disable packages and raise sensor sampling rates.
SwiftSense
SwiftSense is an advanced, privacy-first Android system tuning and optimization toolkit. It enables deep hardware-level tweaks, display optimizations, and package management without root—either via its built-in Wireless Debugging daemon or through Shizuku.
Features
Material 3 Design & Dynamic Theming
- Expressive M3 Interface: Clean, modern, and cohesive Material 3 design across all modules.
- Dynamic & Custom Theming: Android 12+ wallpaper-based dynamic color matching, plus dedicated accent tones (Pistachio Green, Ocean Blue, Violet Purple, Amber Orange) in light and dark modes.
Standalone Wireless Debugging & Shizuku
- Built-in ADB Daemon: Direct local Wireless Debugging connection without requiring third-party tools.
- Flexible Shell Bridge: Seamlessly toggle between SwiftSense's internal ADB daemon and Shizuku according to your preference.
Package & APK Installer
- Multi-Format Support: Fast, native installation for
.apk,.xapk,.apks, and.apkmpackages. - Power-User Flags: Reinstall (
-r), allow downgrade (-d), allow test-only builds (-t), grant runtime permissions (-g), and bypass verification checks. - Certificate Inspection & Multi-User: View package signature SHA-256 fingerprint, requested permissions, and install across specific user profiles or all accounts simultaneously.
In-App Releases & Update Center
- GitHub Release Explorer: Directly fetch and read SwiftSense changelogs and release notes with full Markdown rendering.
- One-Tap APK Download: Download the latest
app-release.apkwith live progress tracking and trigger the installation handoff instantly.
Multi-User & Second Space Support
- Dynamic Device Profile Discovery: Automatically scans device user profiles (
Owner,Work,Dual Apps,Second Space) with actual profile labels. - Interactive Profile Switcher: Easily target actions in App Manager and App Stopper to specific user profiles.
AMOLED Screen Protection
- Subpixel Mesh Filters: Protects OLED/AMOLED panels against burn-in using physically aligned micro-mesh patterns (Diamond PenTile, Dynamic Phase Inversion, Blue Subpixel Shield, Checker Matrix, Micro Dots).
- Pixel Tint & White Attenuation: Softens harsh white and high-energy blue subpixels with customizable color overlays (Amber, Red, Sepia, Dimmer, or custom hex).
- Dynamic Shifting: Continuous or periodic micro-movements to equalize diode wear.
- Custom Viewports: Apply protection across the entire screen, status bar, navigation bar, or a specific vertical area.
Always-On Display (Beta)
- Lightweight lock screen overlay displaying time, date, battery status, and notifications.
- Built-in burn-in protection modes (Smooth Bounce, Random Jump, RGB Shift).
- Custom battery indicator styles with live charging speed (wattage / mA).
- Double-tap and power button wake integrations.
Background App Stopper
- Automated background service to periodically or reactively stop selected background apps when launched.
- Quick Settings tile for instant batch force-stop or monitoring toggle.
- Search and category filters (User, System, Active) with safe exclusions for critical services.
App Manager
- Package inspection sheet with UID, install paths, target SDK, and status flags.
- Fast batch enable/disable and freeze operations powered by privileged shell commands.
Sensor Boost
- Unlocks sensor sampling rates (gyroscope, accelerometer) to their maximum hardware limits for lower input latency.
- Real-time sensor frequency monitor (Hz).
Screen Resolution & DPI Tuner
- Adjust display resolution and density on the fly.
- Save and switch between custom profiles (e.g. Performance vs. Battery Saving).
System Table Macros
- View and modify Android
System,Secure, andGlobalsettings tables. - Create, run, export, and import multi-setting tweak macros via JSON.
- High-frequency loop intervals down to 500ms (500ms to 10 minutes).
Screen Recorder
- Hardware-accelerated (HEVC/AVC) screen recorder with minimal overhead.
- Supports internal audio capture and customizable resolution, framerate, and bitrate (up to 1080p, 60 FPS).
- Includes Quick Settings tile for quick capture.
Privacy Quick Settings Tiles
- Camera Access Tile: Instantly toggle global camera access on or off via privileged shell (
cmd sensor_privacy). - Microphone Access Tile: Instantly toggle global microphone access on or off via privileged shell (
cmd sensor_privacy). - Persistent Local State: Retains the toggle state seamlessly across sessions using local DataStore storage.
Feature Requirements
| Feature | Requirement | Purpose |
|---|---|---|
| Material 3 Theming | Android 8.0+ (Dynamic colors Android 12+) | Visual customization & wallpaper palettes |
| Always-On Display | Android 8.0+ | Lock screen overlay with burn-in protection |
| AMOLED Screen Protect | Android 8.0+ | Subpixel anti-burn-in overlay & color tint |
| Sensor Boost | Android 8.0+ | Maximum hardware rate sensor sampling |
| Screen Recorder | Android 10+ | Internal audio & hardware screen capture |
| In-App Releases & Updates | Internet permission | GitHub API check & APK downloading |
| Background App Stopper | Standalone ADB or Shizuku | Automated background app freezing |
| App Manager | Standalone ADB or Shizuku | Package enable/disable & profile control |
| Resolution & DPI Tuner | Standalone ADB or Shizuku | Display scaling and density tweaks |
| System Table Macros | Standalone ADB or Shizuku | System/Secure/Global settings automation |
| Package & APK Installer | Standalone ADB or Shizuku | Privileged multi-format package installation |
| Privacy Tiles (Camera & Mic) | (Standalone ADB or Shizuku) + Android 12+ | Global hardware sensor privacy toggles |
Privacy & Security
- Strict Internet Permission Usage: The
android.permission.INTERNETpermission is declared and used strictly for two transparent purposes:- Communicating locally with the device's internal Wireless Debugging service on loopback (
localhost). - Querying the public GitHub Releases API (
api.github.com) and downloading official update APKs when manually initiated by the user.
- Communicating locally with the device's internal Wireless Debugging service on loopback (
- Zero Analytics or Telemetry: No trackers, advertisements, telemetry SDKs, or background metric gathering. All app data and system settings remain strictly on your device.
- Rootless Privileged Access: Uses standard Android Wireless Debugging or user-authorized Shizuku APIs, avoiding dangerous root modifications.
Google Play Protect Notice
Because SwiftSense interacts with system-level configuration tables and uses elevated debugging APIs, Google Play Protect may occasionally flag an advisory during installation. This is a false positive common to developer tools and system tweaking utilities. SwiftSense is completely open-source, contains zero trackers, and is safe to use.
License
This project is open-source and licensed under the GNU General Public License v3.0.
How Shizuku is used
Can enable or disable apps, stop background apps, install APKs, clear caches, change resolution, edit system settings and toggle sensors via `newProcess` shell commands.
This is an AI-assisted analysis of Shizuku-related usages in the app's public source code. It is best effort, so it may not catch every single usage.
How this app uses Shizuku
SwiftSense uses Shizuku to run privileged shell commands for gaming tuning, cleanup and device customization.
- Enable or disable apps: Turn individual apps on or off or process batches of selected apps for chosen users with
pm enableandpm disable-usershell commands through Shizuku. - Stop background apps: Force stop or kill selected apps on demand or automatically on a timer with
am force-stopandam killshell commands through Shizuku. - Install APK packages: Install staged APK sets with options for reinstall, downgrade, test builds and user target with the
pm installshell command through Shizuku. - Clear app caches: Wipe reclaimable cached data for all apps in one tap with the
pm trim-cachesshell command through Shizuku. - Change screen resolution: Apply custom width, height and density chosen in settings, check current and physical values, and reset to defaults with the
wm sizeandwm densityshell commands through Shizuku. - Edit system settings: View system, secure and global tables and apply, revert or schedule setting values and macros, including automatic reapply on a timer, with the
settings listandsettings putshell commands through Shizuku. - Toggle display helpers: Enable or disable always on display helpers by reading and updating accessibility settings with the
settings getandsettings putshell commands through Shizuku. - Toggle camera and microphone: Turn camera and microphone availability on or off from quick tiles with the
cmd sensor_privacyshell command through Shizuku.
Android APIs or commands used
pm enablepm disable-userpm installpm trim-cachespm list packagespm list packages -dpm list usersam force-stopam killwm sizewm densitysettings listsettings getsettings putcmd sensor_privacycmd user listdumpsys user
Changelog
What's new for version 1.3
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: https://github.com/itsmelissadev/SwiftSense/compare/v1.2.8...v1.3
Permissions
17 permissions requested