安卓玩机

shizuku#

启动命令:

adb shell sh /storage/emulated/0/Android/data/moe.shizuku.privileged.api/start.sh

自动任务 AutoTask#

自动化任务

Scene#

查看安卓进程管理

App Ops#

App权限监测

ADB#

设置http代理#

adb shell settings put global http_proxy 192.168.105.230:8080
adb shell settings put global https_proxy 192.168.105.230:8080
# 删除代理
adb shell settings delete global http_proxy 
Deleted 1 rows
adb shell settings delete global https_proxy 
Deleted 1 rows
adb shell settings delete global global_http_proxy_host
Deleted 1 rows
adb shell settings delete global global_https_proxy_host
Deleted 0 rows
adb shell settings delete global global_http_proxy_port
Deleted 1 rows
adb shell settings delete global global_https_proxy_port
Deleted 0 rows

# 需要冲起生效 - 有的机器可能不用
adb reboot

小小电脑#

1. 配置ssh#

apt install openssh-server

vim /etc/ssh/sshd_config
# 改配置端口>=1024, 一般用8022
mkdir /run/sshd
sudo /sbin/sshd

# 或者图方便
sudo /sbin/sshd -p 8022

2. 配置自动补全#

sudo apt install bash-completion
echo '[[ -r /etc/bash_completion ]] && . /etc/bash_completion' >> ~/.bashrc && source ~/.bashrc
# ~/.bashrc 中补充
# -> [[ -r /etc/bash_completion ]] && . /etc/bash_completion