远程控制安卓终端步骤
1.root设备
2.安装termux
3.termux下执行pkg install openssh
4.访问端创建私钥并生成公钥文件
5.pc端安装并配置adb环境,用usb线连接设备
6.adb push 公钥路径 storage/self/primary/
7.adb shell
8.su
9.cd storage/self/primary/
10.cp <公钥>.pub data/data/com.termux/files/home/.ssh/
11.cat <公钥>.pub >> authorized_keys
12.termux下执行whoami得到用户名
13.xshell通过秘钥的方式连接安卓设备
//https://www.cnblogs.com/dtting/p/6541392.html
14.setprop service.adb.tcp.port 5555
15.start adbd
16.adb connect 安卓设备的ip