曾经在大麦盒子上安装过 YYF 绑定了迅雷远程下载后,不再用开电脑下载了。各类剧,各类片子。
近来换了个运行快些的盒子,英菲克 i6 性价比很高。小米和天猫也挺好的,只是新版本的一时半会没有工具能 ROOT。
没 ROOT 就没可玩性。否则不知道何时光腚总局抽风,给你屏蔽个 app 什么的,多扫兴。html
取得 盒子最高权限,把安装文件拷贝进盒子,配置成随着盒子后台启动。android
su
,电视上会出现 ROOT 请求提示窗口,选择容许。
ssh 192.168.1.7 -p 2222
mount -o remount,rw /
。Read-only file system
之类的错误提示。mkdir /data/xunlei
mkdir /tmp
scp -P 2222 ./* root@192.168.1.7:/data/xunlei/
/data/xunlei
,执行 ./portal
,看到以下信息表示安装成功initing... try stopping xunlei service first... killall: ETMDaemon: no process killed killall: EmbedThunderManager: no process killed killall: vod_httpserver: no process killed setting xunlei runtime env... port: 9000 is usable. YOUR CONTROL PORT IS: 9000 starting xunlei service... etm path: /data/xunlei execv: /data/xunlei/lib/ETMDaemon. getting xunlei service info... Connecting to 127.0.0.1:9000 (127.0.0.1:9000) THE ACTIVE CODE IS: liwirk go to http://yuancheng.xunlei.com, bind your device with the active code. finished.
“liwirk” 就是激活码,去迅雷远程管理网页,添加绑定就能够了。shell
这个方式比较稳定。
下载 Boot Shell,在盒子上安装。
打开后,先新建一个命令以下:
- 名字,随便填
- 命令 su -c "sh /data/xunlei/portal"
或者 su -c "chmod 777 /data/xunlei/portal ; /data/xunlei/portal"
点击 Excute 执行一下,若是弹出框要求 权限,则授予。
注意:最好不要让内存清理工具清理这个 APP,即加入白名单。windows
用这一个星期,在个人盒子上这种方式不是很稳定,不必定每次开机都能启动成功。可使用上面的 Boot Shell App 启动方式,那比较稳定。
1. 如前面所述,SSH 链接盒子
2. 在 /data/xunlei 目录下 新建立一个文件 叫 xware 内容以下,
mount -o remount,rw rootfs
mkdir /tmp
chmod -R 777 /data/xunlei/*
/data/xunlei/portal -s
/data/xunlei/portal &
请注意,编辑完成后,必定要再复查一下这个文件是否是这个内容,命令是 cat /data/xunlei/xware
。由于我发现文件上传过去可能内容会在末尾多几个字符,用 ES 文件浏览器 编辑去掉便可。
3. 给 /system/etc/yunos_sensor_init.sh 执行权限。
- chmod 755 /system/etc/yunos_sensor_init.sh
4. 此步的编辑可以使用 ES文件浏览器。在 /system/etc/yunos_sensor_init.sh 系统文件里的 “chmod 744 /system/bin/input_boost_helper” 前面添加以下一行并保存
- sh /data/xunlei/xware
4. 重启盒子,登陆 http://yuancheng.xunlei.com/,可看到绑定的盒子为 在线状态。浏览器