Disclaimer: This guide was written by DERO community for old Atlantis mining, we updated it for DERO Stargate mining and added few more stepts to automatize acquiring termux lock and one-tap autostart mining
Step 1. For best results make sure you dont have Termux installed on the device yet.
Step 2. Go to f-droid.org on your browser. enable any permissions it asks for.
Step 3. Click download (or hold finger on the download button and click "download link" or "save link") and enable any permissions it asks for.
Step 4. Open & Install
Step 5. Click the search icon and in the search bar type Termux, Click and install "Termux Terminal emulator with packages" and enable any permissions it asks for.
Step 6. Open Termux ( then press "ifconfig" and take the miner ip adress, we will use it later to check miner from pc)
Step 7. READ THIS BEFORE STARTING.
After the first command (apt-get update && apt-get upgrade) you will be prompted with a Yes/No. Type Y and hit enter.
next prompt will be N
all following prompts will be Y
Step 8. Enter the following commands into Termux one by one exactly as written below.
apt-get update && apt-get upgrade
apt-get install wget
apt-get install proot
apt-get install git
cd ~
git clone https://github.com/MFDGaming/ubuntu-in-termux.git
cd ubuntu-in-termux
chmod +x ubuntu.sh
./ubuntu.sh
./startubuntu.sh
apt update
apt upgrade
apt-get install git build-essential cmake libuv1-dev libssl-dev libhwloc-dev
git clone https://github.com/xmrig/xmrig.git
mkdir xmrig/build
cd xmrig/build
cmake ..
make -j$(nproc)
exit
exit
Now we have finally build the xmrig on our phone. Let's keep going and build autostart mining termux.
Reopen termux and enter
nano ~/.bashrc
then copy paste 2 commands below:
termux-wake-lock
ubuntu-in-termux/startubuntu.sh ( after you copy them press Ctrl + x then y and then "enter") then press exit and close termux again.
(this will start auto ubuntu in termux and acquire wakelock)
Reopen termux and type:
apt install nano
(then again)
nano ~/.bashrc (go at the end of the file you will see and copy paste this:
xmrig/build/xmrig -o daemon+wss://derosmartcontracts.com:10100 --daemon -u "your wallet address" -a astrobwt/v2 --http-host=0.0.0.0 --http-port=8080 -t 8
again cltr + x then y and then "enter" then
exit
exit
restart termux and you will start mining auto.
(use your own node or mine with your best remote node) in example node is derosmartcontracts.com
Now go on this site http://workers.xmrig.info/ press on add and write https://mineripadress:8080/
With this you can check your worker from your pc
Donation address: clapclap