diff --git a/en/_posts/index.xml b/en/_posts/index.xml
index 67b03ac..4b3e37f 100644
--- a/en/_posts/index.xml
+++ b/en/_posts/index.xml
@@ -165,7 +165,7 @@ Click the following links to install termux configurations: .bashrc
.inputrc
z.sh
commacd.sh
-Copy existing termux installation to other devices Using uweb to copy (Long pressing the following links and "open in new tab" to fix/send/receive):
+.profile : only for kshell with naked termux (no initial packages, need the following fix for termux quick crash to be launched)
Click the following links to install commands with uweb browser. Force exit and re-launch the app, then long press the button with clock icon to popup the command menu. Configuration file "default.cmds" examples: Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete VPN::am start -a android.net.vpn.SETTINGS wireless::am start -a android.settings.WIRELESS_SETTINGS Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache tgz install::toybox tar -xzf %f -C / Need root permissions: Need termux: Users should change the IP addresses in the following menus accordingly. In all cases, TV side needs to execute "wait for network msg" first. Send message to network (ex. for android TVs): Send url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500 Send url(player)::printf 'i:5g%u'|/system/bin/toybox nc 192.168.2.155 1500 Sendurl(bookmark)::printf 'i:51../home5:i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500 Send url(fullscreen)::printf 'i:5f%u'|/system/bin/toybox nc 192.168.2.155 1500 Send url(video)::printf 'i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500 Send url(clipboard):clip:(printf 'i:5b';cat)|/system/bin/toybox nc 192.168.2.155 1500 Need root permissions: Need termux: wireless::am start -a android.settings.WIRELESS_SETTINGS Clipboard2PC:clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -i' ClipboardFromPC:/clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -o' Clipboard broadcast:clip:socat - UDP-DATAGRAM:255.255.255.255:1500,broadcast Clipboard from broadcast:/clip:socat -u udp-recvfrom:1500 SYSTEM:'cat;exit' Clipboard2QR:clip/uweb:qrencode -o /sdcard/Download/a.png;echo file:///sdcard/Download/a.png "Send url" needs to modify Android TV ip address. Clipboard2PC needs to modify username, PC needs xsel. ssh needs to be installed inside termux (apt install openssh). .profile : only for kshell with naked termux (no initial packages, need the following fix for termux quick crash to be launched) Using uweb to copy (Long pressing the following links and "open in new tab" to fix/send/receive): 清空浏览数据::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete 本地备份配置::toybox cp -r /data/data/info.torapp.uweb/files /sdcard/Download/uweb 本地恢复配置::toybox cp -r /sdcard/Download/uweb/* /data/data/info.torapp.uweb/files/. VPN::am start -a android.net.vpn.SETTINGS 无线::am start -a android.settings.WIRELESS_SETTINGS 清空缓存::toybox rm -rf /data/data/info.torapp.uweb/cache 输出logcat.log::logcat -d > logcat.log tgz install::toybox tar -xzf %f -C / 以下命令需修改接收端IP定制。另外,发送消息前接收端需首先执行“等待网络消息”命令。 发送url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500 发送url(播放器)::printf 'i:5g%u'|/system/bin/toybox nc 192.168.2.155 1500 发送url(书签)::printf 'i:51../home5:i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500 发送url(全屏)::printf 'i:5f%u'|/system/bin/toybox nc 192.168.2.155 1500 发送url(video)::printf 'i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500 发送剪贴板2:clip:(printf 'i:5b';cat)|/system/bin/toybox nc 192.168.2.155 1500 下面配置需要root权限: 冻结微信::su -c 'pm disable com.tencent.mm' 解冻拼多多::su -c 'pm enable com.xunmeng.pinduoduo' 冻结拼多多::su -c 'pm disable com.xunmeng.pinduoduo' 下面配置需要termux:
-cd:termux/*:cd %f;exit 1
+Send clipboard:clip/uweb:printf 'i:5ji:5b';cat
+VPN::am start -a android.net.vpn.SETTINGS
-Clipboard2PC needs to modify username, PC needs xsel. ssh needs to be installed inside termux (apt install openssh).
+
Clipboard broadcast needs socat(apt install socat)。
Clipboard2QR needs libqrencode.More commands (click to install)
diff --git a/en/index.xml b/en/index.xml
index b0b647e..afb6f49 100644
--- a/en/index.xml
+++ b/en/index.xml
@@ -193,11 +193,11 @@ trace.moe:https://trace.moe/?url=
UI
Customization
@@ -66,7 +66,7 @@
Advanced
Content
diff --git a/en/termux/index.html b/en/termux/index.html
index 3fa0ef9..3f5481f 100644
--- a/en/termux/index.html
+++ b/en/termux/index.html
@@ -53,6 +53,7 @@
+Copy existing termux installation to other devices
diff --git a/en/topposts/index.xml b/en/topposts/index.xml
index 6494ae0..6c66e3b 100644
--- a/en/topposts/index.xml
+++ b/en/topposts/index.xml
@@ -90,11 +90,11 @@ trace.moe:https://trace.moe/?url=
+发送剪贴板:clip/uweb:printf 'i:5ji:5b';cat
解冻微信::su -c 'pm enable com.tencent.mm'
-cd:termux/*:cd %f;exit 1
无线::am start -a android.settings.WIRELESS_SETTINGS
+代理8888:termux/*:tinyproxy;am start -a android.settings.WIFI_SETTINGS
-发送url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500
-发送url(播放器)::printf 'i:5g%u'|/system/bin/toybox nc 192.168.2.155 1500
-发送url(书签)::printf 'i:51../home5:i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500
-发送url(全屏)::printf 'i:5f%u'|/system/bin/toybox nc 192.168.2.155 1500
-发送url(video)::printf 'i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500
-发送剪贴板:clip:(printf 'i:5b';cat)|/system/bin/toybox nc 192.168.2.155 1500
剪贴板_至PC:clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -i'
剪贴板_从PC:/clip:ssh fengcao@192.168.2.120 'DISPLAY=:0 xsel -o'
剪贴板广播:clip:socat - UDP-DATAGRAM:255.255.255.255:1500,broadcast
diff --git a/zh/index.xml b/zh/index.xml index 0fb8dfb..db79272 100644 --- a/zh/index.xml +++ b/zh/index.xml @@ -260,17 +260,17 @@ BugMeNot 清空浏览数据::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -type f -delete 本地备份配置::toybox cp -r /data/data/info.torapp.uweb/files /sdcard/Download/uweb 本地恢复配置::toybox cp -r /sdcard/Download/uweb/* /data/data/info.torapp.uweb/files/. -VPN::am start -a android.net.vpn.SETTINGS -无线::am start -a android.settings.WIRELESS_SETTINGS 合并查询历史至自动填充:uweb:cd /data/data/info.torinfo.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i>a.tmp;mv a.tmp default.autoc;>query.log;echo file:///data/data/info.torinfo.uweb/files/default.autoc 清空缓存::toybox rm -rf /data/data/info.torapp.uweb/cache 清空logcat::logcat -c 输出logcat.log::logcat -d > logcat.log 复制cookie:/clip:printf '%c' tgz install::toybox tar -xzf %f -C / -下面配置需要root权限: -解冻微信::su -c 'pm enable com.tencent.mm' -冻结微信::su -c 'pm disable com. +以下命令需修改接收端IP定制。另外,发送消息前接收端需首先执行“等待网络消息”命令。 +发送剪贴板:clip/uweb:printf 'i:5ji:5b';cat +发送url::printf '%u'|/system/bin/toybox nc 192.168.2.155 1500 +发送url(播放器)::printf 'i:5g%u'|/system/bin/toybox nc 192.168.2.155 1500 +发送url(书签)::printf 'i:51../home5:i:0mc16:%u'|/system/bin/toybox nc 192.168.2.155 1500