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
๐ฆ First, update repositories:
sudo apt update
๐ฅ Then install the necessary packages:
sudo apt install python3 python3-dev python3-pip git curl
๐ฅ๏ธ I also installed neofetch to check system specs:
* OS: Ubuntu 20.04
* CPU: Amlogic, 4 cores @ 1.41 GHz
* RAM: 1 GB

โ๏ธ Cloning & Running the Miner
๐ Clone the Duino Coin miner from GitHub:
git clone https://github.com/revoxhere/duino-coin.git

cd duino-coin
๐ฆ Install requests module:
pip3 install requests
โถ๏ธ Run the miner:
python3 PC_Miner.py
โ ๏ธ Encountered an issue with psutil not installing.
๐ Tried upgrading pip:
python3 -m pip install --upgrade pip
โ Still got errors, even after retrying.
๐ ๏ธ Finally, using sudo fixed the issue:
sudo pip3 install psutil
๐ Now the miner starts successfully!
๐งพ Enter your:
- Username ๐ค
- Mining key ๐
- Intensity โ๏ธ
- Threads ๐งต
- Difficulty ๐ฏ
- Identifier ๐ท๏ธ
- Donation ๐ฐ
๐ Initial speed (no FastHash): \~457 kH/s
๐ Stopped mining with CTRL+C
โก Compiling FastHash for Speed Boost
๐ฅ Download Rust compiler:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs/ | sh
Choose: 1) Proceed with installation
๐ Enter environment:
source $HOME/.cargo/env
๐ฆ Download FastHash source:
wget https://server.duinocoin.com/fasthash/libducohash.tar.gz

tar -xvf libducohash.tar.gz

cd libducohash

๐ ๏ธ Compile FastHash module:
cargo build --release
๐ Enter release folder and copy library:
cd target/release/

cp libducohasher.so ~/duino-coin/

cd ~/duino-coin/

โถ๏ธ Run miner again:
python3 PC_Miner.py
๐ Now using FastHash acceleration!
โก Average mining speed with FastHash: 2.68 MH/s ๐
