In this post i provided Termux commands to install Xmrig in Termux emulator to mine crypto coin via mobile device.#######
So first of all you need to install Termux emulator in your device. ########
To install Termux emulator i recommend you to install FDroid application in your device. #########
After installation of FDroid search for "Termux" in FDroid application. ######
Termux Mining commands
1. First i update all packages by command:-
apt update
2. Next upgrade packages:-
apt upgrade
3. Install requested packages:-
apt install proot wget git
4. Clone Ubuntu for Termux from GitHub:-
git clone https://github.com/MFDGaming/ubuntu-in-termux.git
4.Go into cloned directory:-
cd ubuntu-in-termux
5. Make Ubuntu installation script executable:-
chmod +x ubuntu.sh
6. Ubuntu started, update repositories:-
apt update
7. Then upgrade it:-
apt upgrade
8. Install all requested packages:-
apt-get install git build-essential cmake libuv1-dev libssl-dev libhwloc-dev
9. After packages installed, clone xmrig miner from GitHub:-
git clone https://github.com/xmrig/xmrig
10. Go into cloned directory:-
mkdir xmrig/build
11. Make directory build:-
mkdir build
12. Go into created directory:-
cd xmrig/build
13. Compile:-
cmake ..
14. Make:-
make -j$(nproc)
17. After compiling and making finished, run miner:-
./xmrig --url=upx.pool-pay.com:5485 --user=UPX1PstbTGC5coxabzhTuoGP1NYFPrVQn1osqvaGY24RBiXfK9HAVH3CcsqjUCVGzpbut4ZGLjTb1eM1gejJKVgT23R1tZG48L --threads=8 -k --algo=cn/upx2
exit
"""""""""""""""""""""""""""""""""""""""""""""""""""""”""""""""""""""""
1. To run miner from beginning:-
proot-distro login ubuntu
cd ubuntu-in-termux
cd xmrig/build
2. Connect config.json file after initiated the miner:-
./xmrig --url=upx.pool-pay.com:5485 --user=UPX1PstbTGC5coxabzhTuoGP1NYFPrVQn1osqvaGY24RBiXfK9HAVH3CcsqjUCVGzpbut4ZGLjTb1eM1gejJKVgT23R1tZG48L --threads=8 -k --algo=cn/upx2
"""""""""""""""""""""""""""""""""""""""""""""""""""""”""""""""""""""""""""""""""""""""""""""
Download all Commands Directly:-
I created configuration file on xmrig website xmrig.com
Added pool upx.pool-pay.com:5485
Added my wallet, and worker name
In the end of wizard, downloaded config file and stored it on my phone
Now running miner again:
./xmrig --
Miner started and average mining speed is 4.99 KH/s.


0 Comments