Android set-top box thunder offline + aria2 + yaww Solution

Source: Internet
Author: User

The current Android set-top box is very popular !! Xiaomi box, letv box ~~ Recently I bought a picturesque A3 and want to use it as a carrier. (I have a thunder member, you know) the following process was successfully tested on A3.

First of all, you have to use ADB for debugging and be familiar with Linux commands. In short, you can't be very white, and even Android won't install the application. First, you have to prepare 3 things, ① ADB remote debugging tool/② aria2/③ thunder yaaw plug-in (chrome version, the same as 360 browsers, cheetahs and other chrome cores)

Principle: aira2 is a multi-threaded Multi-Protocol download tool in Linux, and yaaw is a Web client that remotely monitors aria2, the offline plug-in of thunder is the chrome plug-in that enables the offline Web version of thunder to obtain its real content. Our goal is to use the offline Web version of thunder on the computer to directly send download commands to the set-top box, and monitor the download progress and other information through the yaaw of the web version.

 

Step 1: Build a debugging environment

Because our set-top box does not have a USB debugging port, we can only debug the network to connect your computer and set-top box to the same route. Install ADB wireless in the set-top box (which can be installed on Google Play or downloaded from any other place), enable ADB wireless, and press the button to enable ADB network debugging, in the settings, you can set boot start, so you do not need to configure it again next time.

Decompress the ADB debugging tool on windows. There are a lot of debugging tools on the Internet. You can just give a link.

Http://ishare.iask.sina.com.cn/f/21287283.html? From = like

Decompress the package to any directory, go to cmd, and enter the directory where ADB debugging is located.

    adb connect 192.168.x.x

 

 

If connected to 192.168.x.x is displayed, the connection is successful.

 

Step 2: Download aria2

The latest version of aria2 can be found on its official website. You need to download the Android-build version to use it on our set-top box.

Http://sourceforge.net/projects/aria2/files/stable/

I am currently using version 1.16.5, which can also be used in a newer version. I have to decompress the file aria2-1.16.5-android-build1.zip, and only one useful file is aria2c.

 

Step 3: Install aria2 in the set-top box

Copy aria2 to the set-top box. If you use an SD card, you can use the SD card directory in/sdcard/external_sdcard. If you do not have an SD card, you can directly push the SDK by using ADB.

 

  adb push aria2c /sdcard

 

Enter ADB debugging

 

   adb shell   su

 

 

Then you enter the Linux environment. All the Linux commands are used here.

Create directory

 

    mkdir -p /data/data/aria2

Copy aria2 to this directory

 

   cp /sdcard/aria2c /data/data/aria2/ 

(Note the directory where your aria2 is located. If you are in the SD card, it is

 

  cp /sdcard/external_sdcard/aria2c /data/data/aria2/

 

 

Step 4: Execute

Create a file startaria2 in Notepad on your computer. The following is the content of the startup script.

 

 

#!/system/bin/sh/data/data/aria2/aria2c --enable-rpc --rpc-listen-all --rpc-allow-origin-all --file-allocation=none --max-connection-per-server=3 --max-concurrent-downloads=3 --dir=/sdcard/external_sdcard --continue 

Here, -- DIR is the default download path. You can change it by yourself. My path is in the SD card by default. If you are using the hard disk, change the path on your own.

 

Then copy to the set-top box, such

 

    adb push startaria2 /sdcard/

Then execute

 

 

    sh  /sdcard/startaria2

 

 

Set-top box configured

 

 

Step 5: configure the computer
Open chrome or chromium and install the thunder offline Assistant in the store.
Https://chrome.google.com/webstore/detail/eehlmkfpnagoieibahhcghphdbjcdmen
Open the offline web page of thunder
Http://cloud.vip.xunlei.com/
Set in the upper right corner


Note that in the last path, replace the IP address with the IP address of your set-top box. my options are http: // 172.16.10.75: 6800/jsonrpc.

Open the http://app.imchao.net/yaaw/, you will often need this site, so you can add favorites

Open the settings in the upper-right corner and enter the path in thunder just now. OK

Step 6:

In this case, you can directly click the retrieval of an offline task in thunder.

Select yaaw. Then you can view the download progress on the yaaw client !!!

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.