Page 1 of 1

Bittorrent and browsing in I2P on Android Tv Box with Termux App - Guide + Video

Posted: 04 May 2022 17:13
by robabok978
Bittorrent and browsing in I2P on Android Tv Box with Termux App - Guide + Video

Goal: run i2p router with i2psnark on Android TV box local accessible or remote by ssh port forward
Why: Running a router permanently on a device spread in households, cheap and low power while running 24/7
Easy install for novice users with the result ability to browse and torrent in I2P by one line commands

Used box: A52X 2GB RAM A9-Cortex Armv8

Steps:

Install Termux by
direct website
https://termux.com/
fdroid or playstore

If you use an android mobile instead of an android tv box,
scan and copy the qr code into the clipboard and paste it into the termux app



We need to have the commandline accessible if we are working on the android tv box

One way is to type in the command by hand in Termux on your android device

A second way is to only do:
pkg install openssh
sshd
and then run the line from a ssh remote connection

A third one:
Use pastebin to make the commands available for your browser on your tv box
Which i used in the videos
https://pastebin.com/



The oneliner:
pkg update && pkg upgrade && pkg install openjdk-17 openssh wget && sshd && mkdir ~/i2p && cd ~/i2p && wget http://i2pplus.github.io/installers/i2p ... x-only.jar && java -jar i2pinstall_1.7.0-0+_linux-only.jar -console && ~/i2p/runplain.sh && id

We have to get this line into termux and execute it.
Create on your pc a pastebin post and notice the link.
Open the browser on our android device preferable lightning and open the pastebin.
Copy the oneliner into the clipboard.
Open termux and paste into it by click/touch long and choose paste.
If the oneliner is paste, execute it by touch/click on the return button.
It installs java, gets the i2p+ install from
https://i2pplus.github.io/
gets:
http://i2pplus.github.io/installers/i2p ... x-only.jar
and installs/executes the i2prouter and run a openssh server
The openssh server allows to remote access the files on the android which we downloaded, it also enables us to have access to the videos with kodi to play them.


Access to the files with Kodi:

In Kodi add the sftp/ssh with
add videos
Use the following data:

server localhost
path /data/data/com.termux/files/home/.i2p/i2psnark
port 8022
user your name, if you don't know, type 'id' in termux
pass your password of termux, set it by typing 'passwd' in termux

click i2psnark to access movies

To browse on android:

open up lightning and change the proxy to manual
localhost
port 4444

Now you can browse in i2p. Start with visiting your home of the i2prouter by typing in the addressfield:
https://127.0.0.1:7667/home
Visit your bittorrent service by typing in the addressfield:
https://127.0.0.1:7667/i2psnark/
Bookmark these.

Visit Postman for torrent by clicking on the link in your i2prouter home..
http://tracker2.postman.i2p/?view=Main&reset=1

Click/Touch and hold the magnetic link symbol of your choosen torrent and choose copy link.
Vist i2psnark and paste the link into this field.

Now your torrent will start and downloaded into the folder in the field under.

Use Kodi or use to click in the browser on the files to watch them.

If you have installed it and only want to start it again after a reboot or abort of termux just run:
sshd && ~/i2p/runplain.sh

If you like and find the video/guide useful, you can spread and edit as you like.

Video:

magnet:?xt=urn:btih:ad1ffcdf40cb7ff0eba2ec0481c242afdef37dca&dn=Bittorrent+and+browsing+in+I2P+on+Android+Tv+Box+with+Termux+App+-+Guide+%2B+Video&tr=http://tracker2.postman.i2p/announce.php

you can upload where you like to

clearnet links
https://multiup.org/a9a14267db10782fe3aa3c4181260ffb