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 29Average mining speed with FastHash: 2.68 MH/s 🚀 Screenshot 30