From 86250225d10e31a67eefd28e75a1c73c678505e1 Mon Sep 17 00:00:00 2001
From: James Feng Cao
配置文件"/sdcard/uweb/default.cmds"示例:
-
清空浏览数据::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete
VPN::am start -a android.settings.VPN_SETTINGS
无线::am start -a android.settings.WIRELESS_SETTINGS
备份Cookie::toybox cp /data/data/info.torapp.uweb/app_webview/Default/Cookies /sdcard/uweb/.
恢复Cookie::toybox cp /sdcard/uweb/Cookies /data/data/info.torapp.uweb/app_webview/Default/.
清空缓存::toybox rm -rf /data/data/info.torapp.uweb/cache
输出logcat.log::logcat -d > /sdcard/uweb/logcat.log
tgz install::cd /;toybox tar -xzf %f
下面配置需要root权限:
解冻微信::su -c 'pm enable com.tencent.mm'
冻结微信::su -c 'pm disable com.tencent.mm'
解冻拼多多::su -c 'pm enable com.xunmeng.pinduoduo'
冻结拼多多::su -c 'pm disable com.xunmeng.pinduoduo'
下面配置需要termux:
代理8888:termux/*:tinyproxy;am start -a android.settings.WIFI_SETTINGS
剪贴板_至PC:clip:ssh fengcao@192.168.2.102 'DISPLAY=:0 xsel -i'
剪贴板_从PC:/clip:ssh fengcao@192.168.2.102 'DISPLAY=:0 xsel -o'
+清空浏览数据::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete
VPN::am start -a android.settings.VPN_SETTINGS
无线::am start -a android.settings.WIRELESS_SETTINGS
备份Cookie::toybox cp /data/data/info.torapp.uweb/app_webview/Default/Cookies /sdcard/uweb/.
恢复Cookie::toybox cp /sdcard/uweb/Cookies /data/data/info.torapp.uweb/app_webview/Default/.
清空缓存::toybox rm -rf /data/data/info.torapp.uweb/cache
输出logcat.log::logcat -d > /sdcard/uweb/logcat.log
tgz install::/system/bin/toybox tar -xzf %f -C /
下面配置需要root权限:
解冻微信::su -c 'pm enable com.tencent.mm'
冻结微信::su -c 'pm disable com.tencent.mm'
解冻拼多多::su -c 'pm enable com.xunmeng.pinduoduo'
冻结拼多多::su -c 'pm disable com.xunmeng.pinduoduo'
下面配置需要termux:
代理8888:termux/*:tinyproxy;am start -a android.settings.WIFI_SETTINGS
剪贴板_至PC:clip:ssh fengcao@192.168.2.102 'DISPLAY=:0 xsel -i'
剪贴板_从PC:/clip:ssh fengcao@192.168.2.102 'DISPLAY=:0 xsel -o'
代理8888需要安装有tinyproxy(apt install tinyproxy),端口为8888。用户可配置为允许外部PC使用。
剪贴板_PC需更改用户名,PC端安装有xsel,termux安装有ssh (apt install openssh),且配置好ssh无密码登录。