Git Product home page Git Product logo

tvhelper's Introduction

盒子助手OpenWrt 命令行版

另见 盒子助手Docker版本如下⬇️


Tips:如何使用SSH

https://github.com/wukongdaily/HowToUseSSH

ADB多功能一键脚本

Static Badge Static Badge Static Badge

wget -O tv.sh https://raw.githubusercontent.com/wukongdaily/tvhelper/master/shells/tv.sh && chmod +x tv.sh && ./tv.sh

不带Bash环境的 用下列命令

Static Badge Static Badge Static Badge Static Badge

wget -O env.sh https://raw.githubusercontent.com/wukongdaily/tvhelper/master/shells/env.sh && chmod +x env.sh && ./env.sh

本套脚本是为了更好的解决原生TV水土不服问题,所以默认我会觉得你的软路由肯定具备科学上网能力。如果上述脚本在下载过程遇到诸如443等提示信息,代表下载失败。 请您自行检查代理问题。包括不限于代理模式?更换节点等操作。 如果非得在普通非科学的openwrt环境里使用 也不是不行。那就在https地址前面在加入代理吧

代理模式请调用如下命令

wget -O tv.sh https://mirror.ghproxy.com/https://raw.githubusercontent.com/wukongdaily/tvhelper/master/shells/tv.sh && chmod +x tv.sh && ./tv.sh proxy

若路由器不带bash环境 则调用

wget -O env.sh https://mirror.ghproxy.com/https://raw.githubusercontent.com/wukongdaily/tvhelper/master/shells/env.sh && chmod +x env.sh && ./env.sh proxy

辅助视频教程

最终效果展示 短视频

在线教学视频 长视频

鸣谢的项目

my-tv

https://github.com/lizongying/my-tv

BBLL

https://github.com/xiaye13579/BBLL

TVBox

https://github.com/takagen99/Box

💰打赏作者💰

tvhelper's People

Contributors

wukongdaily avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tvhelper's Issues

求问一下这个报错是什么意思?本人小白正在摸索学习

admin@RT-AX56U-E000:/tmp/home/root# wget -O tv.sh https://raw.githubusercontent.com/wukongdaily/tvhelper/master/shells/tv.s h && chmod +x tv.sh && ./tv.sh Will not apply HSTS. The HSTS database must be a regular and non-world-writable file. ERROR: could not open HSTS store at '/root/.wget-hsts'. HSTS will be disabled. --2024-03-01 18:05:34-- https://raw.githubusercontent.com/wukongdaily/tvhelper/master/shells/tv.sh Resolving raw.githubusercontent.com... 185.199.108.133 Connecting to raw.githubusercontent.com|185.199.108.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 30096 (29K) [text/plain] Saving to: 'tv.sh' tv.sh 100%[===================================================>] 29.39K --.-KB/s in 0.1s 2024-03-01 18:05:34 (288 KB/s) - 'tv.sh' saved [30096/30096] ./tv.sh: line 33: declare: not found ./tv.sh: line 34: declare: not found ./tv.sh: line 124: syntax error: bad for loop variable

R4S 旁路由模式报错,无法连接

盒子是小米盒子国际版
Error relocating /usr/bin/adb: RSA_size:
symbol not found

Error relocating /usr/bin/adb: BN
rd: symbol not found
get_wo
Error relocating /usr/bin/adb: RSA
symbol not found
free:
Error relocating /usr/bin/adb: EVP
free: symbol not found
PKEY
Error relocating /usr/bin/adb: BN
ee: symbol not found
LCIX
f
Error relocating /usr/bin/adb: BN
symbol not found
free:
Error relocating /usr/bin/adb: BN
symbol not found
_сору:
Error relocating /usr/bin/adb: BN_CTX
w: symbol not found
_ne
Error relocating /usr/bin/adb: PEM_read
RSAPrivateKey: symbol not found

Error relocating /usr/bin/adb: RSA
symbol not found
_new:
Error relocating /usr/bin/adb: EVP. new: symbol not found
PKEY
Error relocating /usr/bin/adb: BN_mod
r: symbol not found

Error relocating /usr/bin/adb: BN_set_bi
t: symbol not found

Error relocating /usr/bin/adb: PEM_write
PrivateKey: symbol not found

Error relocating /usr/bin/adb: RSA_sign:
symbol not found

Error relocating /usr/bin/adb: EVP.
_Encod
eBlock: symbol not found

Error
relocating /usr/bin/adb: BN div: s
ymbol not found

Error relocating /usr/bin/adb: EVP
setl
RSA: symbol not found

使用命令「安装文件管理器+」时报错

其它几个内置的 APK 安装都正常,只有这个不行:

请输入选项的序号(输入q退出): 14
--2024-02-20 18:08:39-- https://github.com/wukongdaily/tvhelper/raw/master/apks/File_Manager_Plus.apk
Resolving github.com... 20.205.243.166
Connecting to github.com|20.205.243.166|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/wukongdaily/tvhelper/master/apks/File_Manager_Plus.apk [following]
--2024-02-20 18:08:39-- https://raw.githubusercontent.com/wukongdaily/tvhelper/master/apks/File_Manager_Plus.apk
Resolving raw.githubusercontent.com... 0.0.0.0
Connecting to raw.githubusercontent.com|0.0.0.0|:443... connected.
ERROR: cannot verify raw.githubusercontent.com's certificate, issued by 'O=OpenWrtF1538897CFFDB557,CN=OpenWrt,L=None,ST=Somewhere,C=ZZ':
Self-signed certificate encountered.
ERROR: certificate common name 'OpenWrt' doesn't match requested host name 'raw.githubusercontent.com'.
To connect to raw.githubusercontent.com insecurely, use `--no-check-certificate'.
正在推送和安装apk,请耐心等待...
..

APK安装失败:Error: Failed to parse APK file: /data/local/tmp/File_Manager_Plus.apk

Exception occurred while executing:
java.lang.IllegalArgumentException: Error: Failed to parse APK file: /data/local/tmp/File_Manager_Plus.apk
at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:471)
at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:1060)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:169)
at android.os.ShellCommand.exec(ShellCommand.java:104)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:22135)
at android.os.Binder.shellCommand(Binder.java:881)
at android.os.Binder.onTransact(Binder.java:765)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4892)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4166)
at android.os.Binder.execTransactInternal(Binder.java:1021)
at android.os.Binder.execTransact(Binder.java:994)
Caused by: android.content.pm.PackageParser$PackageParserException: Failed to parse /data/local/tmp/File_Manager_Plus.apk
at android.content.pm.PackageParser.parseApkLiteInner(PackageParser.java:1597)
at android.content.pm.PackageParser.parseApkLite(PackageParser.java:1582)
at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:464)
... 10 more
临时文件/tmp/File_Manager_Plus.apk已清理
按任意键继续...


  •  当前的路由器型号: FriendlyElec NanoPi R4S
    
  •  当前路由器访问Github延时:0.172ms
    
  •  与电视盒子的连接状态:已连接且已授权
    
  •  当前电视盒子型号:Sony BRAVIA 4K VH21
    

提示找不到tv.sh

root@OpenWrt:# ls
tv.sh
root@OpenWrt:
# tv.sh
-ash: tv.sh: not found
root@OpenWrt:~# wget -O tv.sh https://raw.githubusercontent.com/wukongdaily/tvhe
lper/master/shells/tv.sh && chmod +x tv.sh && ./tv.sh
--2024-03-06 17:11:44-- https://raw.githubusercontent.com/wukongdaily/tvhelper/master/shells/tv.sh
Resolving raw.githubusercontent.com... 185.199.109.133, 185.199.110.133, 185.199.111.133, ...
Connecting to raw.githubusercontent.com|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 30096 (29K) [text/plain]
Saving to: 'tv.sh'

tv.sh 100%[===================>] 29.39K --.-KB/s in 0.06s

2024-03-06 17:11:46 (517 KB/s) - 'tv.sh' saved [30096/30096]

-ash: ./tv.sh: not found

用ls看了下,有tv.sh,用cat看了下,内容也有。
但就是执行不了。

我是在openwrt里的ttyd终端操作的,用putty连接操作也同样的问题。

t

互联网受限的情况下,修改重启后也无法连接到阿里云地址。
尝试多次WIFI仍受限,后来手动adb将NTP设为openwrt软路由提供的内网时间服务地址(如192.168.1.1),才成功。

内核版本6.1.81的R2S无法安装脚本

运行脚本是出现如下错误提示:
--2024-03-24 22:40:37-- https://raw.githubusercontent.com/wukongdaily/tvhelper/master/shells/tv.sh
Resolving raw.githubusercontent.com... 0.0.0.0
Connecting to raw.githubusercontent.com|0.0.0.0|:443... connected.
ERROR: cannot verify raw.githubusercontent.com's certificate, issued by 'O=OpenWrtD20A2EBFDC7B3603,CN=OpenWrt,L=None,ST=Somewhere,C=ZZ':
Self-signed certificate encountered.
ERROR: certificate common name 'OpenWrt' doesn't match requested host name 'raw.githubusercontent.com'.
To connect to raw.githubusercontent.com insecurely, use `--no-check-certificate'.

wget失败

wget -O tv.sh https://raw.githubusercontent.com/wukongdaily/tvhelper/master/shells/tv.sh && chmod +x tv.sh && ./tv.sh

root@BleachWrt:~# wget -O tv.sh https://raw.githubusercontent.com/wukongdaily/tvhelper/master/shells/tv.sh && chmod +x tv.sh && ./tv.sh
--2024-04-01 22:40:18-- https://raw.githubusercontent.com/wukongdaily/tvhelper/master/shells/tv.sh
Resolving raw.githubusercontent.com... 198.18.0.52
Connecting to raw.githubusercontent.com|198.18.0.52|:443... connected.
Unable to establish SSL connection.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.