How to install xmrig on termux and run it

How to install xmrig on termux and run it

1. Install Termux from playstore

2. A script to install Ubuntu chroot in Termux

You need to install wget and proot in Termux before using this script.
pkg install wget proot
The script will make its files in the current directory. So if you want your Ubuntu-filesystem at a particular location switch to that folder first and then call the script with it's relative path. Example:
mkdir -p ~/jails/ubuntu
cd ~/jails/ubuntu
After running it you can run "./" to switch into your ubuntu.

3. After ubuntu already running, run this script.
apt-get install git build-essential cmake libuv1-dev libssl-dev libhwloc-dev
git clone
cd xmrig && mkdir build && cd build
cmake ..
4. Run xmrig with this script

./xmrig -o stratum+tcp:// -u UrMinergateEmail -p UrPassword -t 4

5. If u find error With HWLOC Check this

Post a Comment