Today I continue testing Duino Coin mining performance on various devices. This time it's the Xiaomi Mi TV Stick ๐Ÿ›ฐ๏ธ. I pre-installed the UserLAnd app and set up Ubuntu on it ๐Ÿง.


๐ŸŽฅ Video Tutorial


๐Ÿ”ง System Preparation

Screenshot 1 ๐Ÿ“ฆ First, update repositories:

sudo apt update

Screenshot 2 ๐Ÿ“ฅ Then install the necessary packages:

sudo apt install python3 python3-dev python3-pip git curl

Screenshot 3 ๐Ÿ–ฅ๏ธ I also installed neofetch to check system specs: Screenshot 4 * OS: Ubuntu 20.04 * CPU: Amlogic, 4 cores @ 1.41 GHz * RAM: 1 GB Screenshot 5


โ›๏ธ Cloning & Running the Miner

๐Ÿ“ Clone the Duino Coin miner from GitHub:

git clone https://github.com/revoxhere/duino-coin.git

Screenshot 6

cd duino-coin

Screenshot 7 ๐Ÿ“ฆ Install requests module:

pip3 install requests

Screenshot 8 โ–ถ๏ธ Run the miner:

python3 PC_Miner.py

Screenshot 9 โš ๏ธ Encountered an issue with psutil not installing.

๐Ÿ”„ Tried upgrading pip:

python3 -m pip install --upgrade pip

Screenshot 10 Screenshot 11 Screenshot 12 โŒ Still got errors, even after retrying.

๐Ÿ› ๏ธ Finally, using sudo fixed the issue:

sudo pip3 install psutil

Screenshot 13 Screenshot 14 ๐ŸŽ‰ Now the miner starts successfully!

๐Ÿงพ Enter your:

  • Username ๐Ÿ‘ค
  • Mining key ๐Ÿ”‘
  • Intensity โš™๏ธ
  • Threads ๐Ÿงต
  • Difficulty ๐ŸŽฏ
  • Identifier ๐Ÿท๏ธ
  • Donation ๐Ÿ’ฐ Screenshot 15 ๐Ÿš€ Initial speed (no FastHash): \~457 kH/s Screenshot 16 ๐Ÿ›‘ Stopped mining with CTRL+C Screenshot 17

โšก Compiling FastHash for Speed Boost

๐Ÿ“ฅ Download Rust compiler:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs/ | sh

Screenshot 18 Choose: 1) Proceed with installation Screenshot 19 ๐Ÿ” Enter environment:

source $HOME/.cargo/env

Screenshot 20 ๐Ÿ“ฆ Download FastHash source:

wget https://server.duinocoin.com/fasthash/libducohash.tar.gz

Screenshot 21

tar -xvf libducohash.tar.gz

Screenshot 22

cd libducohash

Screenshot 23

๐Ÿ› ๏ธ Compile FastHash module:

cargo build --release

Screenshot 24 ๐Ÿ“ Enter release folder and copy library:

cd target/release/

Screenshot 25

cp libducohasher.so ~/duino-coin/

Screenshot 26

cd ~/duino-coin/

Screenshot 27

โ–ถ๏ธ Run miner again:

python3 PC_Miner.py

Screenshot 28 ๐ŸŽ‰ Now using FastHash acceleration! Screenshot 29 โšก Average mining speed with FastHash: 2.68 MH/s ๐Ÿš€ Screenshot 30