https://github.com/ztftrue/assistant
Assistant
https://github.com/ztftrue/assistant
Last synced: 8 months ago
JSON representation
Assistant
- Host: GitHub
- URL: https://github.com/ztftrue/assistant
- Owner: ZTFtrue
- License: apache-2.0
- Created: 2021-03-29T12:45:03.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-03-04T08:32:01.000Z (over 2 years ago)
- Last Synced: 2025-05-16T10:13:34.802Z (about 1 year ago)
- Language: Java
- Size: 243 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Assistant
Assistant


1. Adaptive brightness, need Modify system settings permission(search in settings`Modify system settings`)
2. Enable or disable heads up (bubbles), need root.
------------------
1. 自动调节亮度, 需要修改系统设置权限(设置里可以搜索到`修改系统设置`)
2. 浮动通知, NFC 开关, 需要root权限
## Command
浮动通知
0 disable , 1 enable
```shell
adb shell settings put global heads_up_notifications_enabled 0
# settings put system screen_brightness_mode 1
# settings get system screen_brightness 10
```
Android12 快捷栏 显示 wifi 和 蜂窝按钮,只能在android12 使用
```shell
adb shell settings put secure sysui_qs_tiles "$(settings get secure sysui_qs_tiles),wifi,cell"
```
关闭横屏时候的旋转提示
```shell
adb shell settings put secure show_rotation_suggestions
```
关闭剪贴板提示
```shell
adb shell device_config put systemui clipboard_overlay_enabled false
#adb reboot
```
需要重启手机
https://stackoverflow.com/questions/72313763/how-to-disable-clipboard-editor-overlay-android-emulator-api-33
NFC控制
```shell
adb shell svc nfc disable
```
## TODO
整合命令