ManageSensors
1.0 · GitHub
More about this app
Utilizes Shizuku to call AppOps APIs for fine-grained app permission control
ManageSensors
Table of Contents
- Project Overview
- Current Status
- Features
- Usage Instructions
- Known Issues
- Special Notes
- Contribution
- License
Project Overview
ManageSensors is an Android application based on Shizuku that enables fine-grained control over app permissions through AppOps, specifically addressing the issue of certain apps still triggering vibrations in silent or Do Not Disturb mode.
Current Status
Test Environment
- Shizuku (via ADB or root access)
- Android 15
- Realme Devices (OS Version: Realme UI 6.0)
Test Results
- Some AppOps settings may not take effect.
- The primary goal (disabling vibrations in silent/Do Not Disturb mode) has been successfully achieved.
- The OS version (Realme UI 6.0) has minimal impact on functionality, and it is expected to work on other Android 15-based devices as well.
Features
- Utilizes Shizuku to call AppOps APIs for fine-grained app permission control.
- Resolves the issue of apps vibrating in silent/Do Not Disturb mode, improving user experience.
- Provides a clean and simple user interface for easy app permission management.
Usage Instructions
- Ensure that Shizuku is installed and running on your device (refer to the Shizuku Documentation for details).
- Download and install ManageSensors.
- Open the app and grant Shizuku permissions.
- Select the target app from the list and adjust the relevant permission settings.
Known Issues
- Some AppOps settings may not take effect, possibly due to system restrictions or device compatibility.
- Currently tested only on Android 15 and Realme Devices (Realme UI 6.0); compatibility issues may exist on other devices and Android versions.
Special Notes
- As a non-professional Android developer, the majority of the code was generated using Cursor, an AI-powered code generation tool. If there are any copyright issues, please raise an Issue, and I will address it promptly.
- Although the testing environment is limited (Realme devices, Realme UI 6.0), it is expected that this will not significantly impact functionality.
Contribution
Issues and Pull Requests are welcome to help improve ManageSensors. When contributing, please note the following:
- When submitting an Issue, please provide a detailed description of the problem or suggestion.
- When submitting a Pull Request, ensure that the code style is consistent and include relevant test results.
License
This project is licensed under the MIT License. For more details, please refer to the LICENSE file.
How Shizuku is used
Can view and toggle per-app AppOps permissions and quick-toggle mic and vibration via `appops set/get` through Shizuku.
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
ManageSensors uses Shizuku to read and change per-app AppOps states that normal apps cannot modify.
- Browse installed apps: pick any installed app from the main list to open its detail screen for permission management.
- View AppOps states: check whether each AppOps entry is allowed or denied for the selected app with the
appops getshell command through Shizuku. - Toggle app permissions: enable with allow or disable with ignore and deny for about 47 entries covering location, sensors, storage, contacts, calendar, SMS, phone, camera, microphone, background run, notifications, clipboard, Bluetooth, WiFi and network access, applied with the
appops setshell command through Shizuku. - Quick-toggle Douyin controls: use menu actions to enable or disable vibration and microphone recording for the Douyin app with the same privileged AppOps path.
Android APIs or commands used
appops setappops get
Changelog
What's new for version 1.0
Permissions
3 permissions requested