This is a WIP repo for pre-compiled cpuminer(v23.15) binary with Userland(v23.09.13) and GCC(v11.4.0).
- Download & install latest .apk from Apkmirror or Google Play Store Userland:
https://www.apkmirror.com
- Open Userland app and install Ubuntu accept permissions, we will use minimal environment and terminal or CLI this can take a couple minutes...
- Get Ubuntu ready this can take a while:
- Type
y
then enter key in any prompts!
sudo apt update -y
sudo apt upgrade -y
sudo apt install git nano libcurl4-openssl-dev libjansson-dev -y
- Download cpuminer, config, start:
git clone https://github.com/Darktron/cpuminer.git
cd cpuminer
chmod +x cpuminer start.sh
- Edit your pool, address, worker name:
nano config.json
- Start cpuminer with:
~/cpuminer/start.sh
- Close cpuminer with:
CTRL + c
- View more cpuminer commands with:
~/cpuminer/cpuminer -h
- If having issues consider starting from scratch force close Userland then clear cache & data.
- Disable battery manager, battery optimization for Userland app.
- If you long press anywhere within Termux then click
More
there is an option toKeep screen on
. - Alternatively you can pull down the notification drawer and expand Userland notification to
Acquire wakelock
this will enable you to mine with the screen off (NOTE! not all devices obey this rule is a hit or miss) - Use a pool with low latency to your location/internet.
- Give the miner/stratum time to stabilize hashrate(~30m-1h).