Please note: Using your mobile to mine TurtleCoin is not effective and should only be done for the lulz. It may also cause the phone to overheat and result in premature silicon degradation, shortening the lifespan of your phone.
Downloading and Compiling XMRig
- Download Termux from the Play Store or from F-droid.
- Upon downloading and installing, open the app.
apt install git cmake libuv-dev clang nano -y
git clone --single-branch https://github.com/xmrig/xmrig.git
mkdir build && cd build
cmake .. -DWITH_HTTPD=OFF -DWITH_TLS=OFF
cp ../src/config.json config.json
nano config.jsonand adjust your config settings to match you wallet and pool etc.
- Configure it
Alternatively, instead of copy pasting each command individually you can copy paste what is below into termux after you open it.
apt update && apt upgrade -y && \ apt install git cmake libuv-dev clang nano -y && \ git clone --single-branch https://github.com/xmrig/xmrig.git && \ cd xmrig && \ mkdir build && cd build && \ cmake .. -DWITH_HTTPD=OFF -DWITH_TLS=OFF && \ make && \ cp ../src/config.json config.json && \ nano config.json
Then, it'll open the config file where you can configure it.
After that, you can run
./xmrig-notls to run the miner.
A few notes:
- to navigate between lines, either use the up/down arrows in the right or swipe on the screen
CTRLon the given bar in termux +
Eon the default keyboard
- To edit a line:
- move your cursor to it
^Eto navigate to the end of it
- backspace till where needed and edit appropriately
- make sure you include the ending quote(
") and comma(
,). Not doing this will cause your miner to not work
Find and change the following lines:
"url: "[pool address]"(include the port number)
"user: "[wallet address]"
- be sure to keep the quotes
""around each field
Yto confirm your changes
Press enter/return (on default keyboard) to save file
Continue with normal steps
View your hashrate
The miner automatically prints out hashrate ever so often; however, if you'd like to view it at any time, simply press
Know that this is the most reliable source of your hashrate; the value displayed on your pool is an estimate and may vary wildly from the truth.
When possible, refer to the 15m avg.
Stopping the Miner
In order to stop the miner if ever needed, you can press
To restart it, type
./xmrig-notls. Or, press the up arrow and press enter.
You can also use the commands
r to pause and the resume the miner, respectively.
If all goes well, you should see something like this: