Select language: EN | CN
This is the big boi compile-it-yourself version of XMRig for Termux on Android.
It is recommended to get the latest version of termux here.
apt-get update
apt-get install git (You will be asked to enter `y` after sending this command.)
pkg install cmake (You will be asked to enter `y` after sending this command.)
Now on to cloning XMRig repo.
apt update
apt upgrade
git clone https://github.com/xmrig/xmrig.git
cd xmrig
or cloning MoneroOcean XMRig repo.
apt update
apt upgrade
git clone https://github.com/MoneroOcean/xmrig.git
cd xmrig
It should look something like this now.
mkdir build
cd build
cmake -DWITH_HWLOC=OFF ..
After running cmake you have to 'make' it. NOTE: This step might take a while depending on what phone you are on!
make
Now you should have everything set up. (You can enter clear
to clear the screen for better overview.)
Enter ls
and you will get a list of everything within the folder you're in.
Enter this to start the miner.
./xmrig -a cn-pico -o norpool.org:3333 -u SEKRaddressHere -p x -t numberOfThreads