First i enable Developer options to enable always screen on while charging, it prevents display turn off and phone sleep To enable Developer options tap 7 times on Build version in Settings/About phone
Next find in Google fdroid or go directly to f-droid.org
Download it
Install it
Open fdroid market and find UserLAnd application
Download it and install it
Open UserLAnd application and choose Ubuntu
Fill username and password for ssh and vnc
Choose ssh and press confirm
Wait while systems starts. After enter your password for ssh.
If all is correct Ubuntu greeting you with Welcome message.
Next need to update repository run command: apt update
Upgrade installed packages, run command: sudo apt upgrade
After system upgraded, installing requested packages, run command: sudo apt install python3 git python3-pip python3-dev
Next clone duino coin github repository, run command: git clone https://github.com/revoxhere/duino-coin.git
Go into clonned repository, run command: cd duino-coin
Install python requested modules, run command: pip3 install requests
run mirer, run command: python3 PC_Miner.py
Fill username, mining intensity, threads
Fill difficulty, identifier if you want, and developerdonation
We get message that fasthash not available for our system
Stop miner by pressing CTRL+C several times
Install curl by running command:
sudo apt install curl
Next download rust compiler, run command:
curl --proto '=https' --tslv1.2 -sSf https://sh.rustup.rs/ | sh
Choose 1
Enter into $HOME/.cargo/env directory by command:
source $HOME/.cargo/env
Download fasthash sources, run command:
wget https://server.duinocoin.com/fasthash/libducohash.tar.gz
Extract downloaded archive, run command:
tar -xvf libducohash.tar.gz
Enter into extracted directory, run command:
cd libducohash
Build fasthash, run commnas:
cargo build --release
Go into directory with compiled fasthash file, run command:
cd target/release
Copy compiled fasthash to miner directory, in my case command is:
cp libducohasher.so /home/user13/duino-coin/
Go to miner directory, in my case command is:
cd /home/user13/duino-coin/
Run miner, run command:
python3 PC_Miner.py
With fasthash library average mining hashrate in 1.56 MH/s
user13