Different scripts on how to mine cryptos using old hardware
PLEASE USE IT AT YOUR OWN RISK!
These steps are based on my attempts to mine bitcoin using old hardware, either mobile phone or old computers.
Mining attempt on Android, UserLAnd and XMRIG
=>BEFORE START
Please check if your mobile phone has more than 4GB RAM. As per my attempt, it didn't work.
'https://github.com/xmrig/xmrig/issues/3286' explains error ".failed to allocate RandomX dataset, switching to slow mode".
=>REFERENCE LINKS:
https://xmrig.com/docs/miner/build/ubuntu
https://xmrig.com/docs/miner/cmake-options
https://xmrig.com/docs/miner/command-line-options
https://xmrig.com/wizard
https://www.unmineable.com/coins
=>STEPS:
1)
Prepare Wallet
2)
Install app UserLAnd - Linus on Android, used Ubunto distribution
2.1) sudo apt update
2.2)
sudo apt upgrade
2.3)
sudo apt-get install git nano wget proot build-essential cmake libuv1-dev libmicrohttpd-dev libssl-dev
2.4)
git clone https://github.com/xmrig/xmrig.git
2.5)
**OLD
cd xmrig
mkdir build
cd build
**NEW
mkdir xmrig/build && cd xmrig/build
2.6)
cmake -DWITH_HWLOC=OFF ..
make
2.7) nano run
(copy paste config below..remember change with your wallet)
2.7.1)
#ATTEMPT 1
./xmrig --randomx-mode=light --cpu-no-yield -threads=1 --url=rx.unmineable.com:3333 -u BTC:{{WALLET}}.nameRig -p x -t 8 -a rx/0
#ATTEMPT 2
./xmrig --randomx-mode=light --cpu-no-yield -threads=1 --url=rx.unmineable.com:443 -u BTC:{{WALLET}}.motog5 -p x -t 8 --algo=rx/0
#ATTEMPT 3
./xmrig -a rx -o stratum+ssl://rx.unmineable.com:443 -u BTC:{{WALLET}}.unmineable_worker_ggzsacex#unmp-fdz5 -p x
./xmrig -a rx -o stratum+ssl://rx.unmineable.com:443 -u BTC:xxx.unmineable_worker_ggzsacex#unmp-fdz5 -p x
#ATTEMPT 4
./xmrig --algo=rx/keva -o stratum+ssl://rx.unmineable.com:443 -u BTC:{{WALLET}}.unmineable_worker_ggzsacex#unmp-fdz5 -p x --randomx-mode=light --threads=4 --cpu-priority=2
#ATTEMPT 5
./xmrig --algo=rx/keva -o stratum+ssl://rx.unmineable.com:443 -u BTC:{{WALLET}}.unmineable_worker_ggzsacex#unmp-fdz5 -p x --randomx-mode=light --threads=8 --cpu-priority=2
#ATTEMPT 6
./xmrig --algo=rx/keva --url=stratum+ssl://rx.unmineable.com:443 --user=BTC:{{WALLET}}.unmineable_worker_ggzsacex#unmp-fdz5 --pass=x --randomx-mode=light --threads=8 --cpu-priority=2
2.8)
chmod +x run
2.9)
(To start mining)
./run
2.10)
(For exit)
ctrl + c