First install f-droid market from f-droid-org. just simply find in Google.
Download and install
Run f-droid market and find Userland application. Download and install that.
Run UserLand application and choose Ubuntu.
Create username for Ubuntu system, SSH and VNC password.
Choose SSH
When system starts enter your defined password.
First, need to update repositories, run command:
apt update
When repositories updated, upgrade packets with command:
sudo apt upgrade
Next installing all required packages, run command:
sudo apt install git proot wget build-essential cmake libuv1-dev libmicrohttpd-dev libssl-dev
After all packages installed, clone xmrig from GitHub, run command:
git clone https://github.com/xmrig/xmrig
Enter in cloned directory:
cd xmrig
Make build directory:
mkdir build
Enter build directory:
cd build
Run cmake with attributes:
cmake -DWITH_HWLOC=OFF ..
Then make:
make
When xmrig compiled, install net-tools to check IP address of Ubuntu system:
sudo apt install net-tools
Run ifconfig to check IP address:
ifconfig
wlan0 interface have 192.168.111.213 IP address
Next going to PC, open in browser xmrig.com website and press on wizard button.
Click on new configuration
Click on Add pool
And choose pool, i chosen nanopool.org
Enter your wallet address
And in the end of configuration wizard download config file
Coping config file to phone
I use winscp program
Click on New sessionNew Site
Enter hostname IP address (wlan0 IP address can be checked by ifconfig)
Port it will be 2022 if you use Userland created machine
username that you defined in Userland application
Password, SSH password your created in Userland application
Copy config.json file to /home/yourusername/xmrig/build folder
Check on phone in build folder copied file exists or not by command:
ls
If config file exists run miner
./xmrig
Miner starts and on Blackview BV6600 Pro maximum hash rate is 182 h/s.
user13