This is a WIP repo for pre-compiled ccminer binaries with latest Termux(v0.118.0) and latest Clang(v17.0.6).
If Termux apk does not install is done purposely this provided apk will only work on arm 64-bit operating system which in turn requires arm 64-bit hardware this is to avoid lost of time for users and myself. (Mining on 32-bit devices is not profitable)
- Download & install latest arm64-v8a Termux:
https://github.com/termux/termux-app/releases/download/v0.118.0/termux-app_v0.118.0+github-debug_arm64-v8a.apk
- Get Termux ready:
- Type
y
then enter key in any prompts!
yes | pkg update && pkg upgrade
yes | pkg install libjansson wget nano
- Download ccminer, config, start:
mkdir ccminer && cd ccminer
wget https://raw.githubusercontent.com/Darktron/pre-compiled/generic/ccminer
wget https://raw.githubusercontent.com/Darktron/pre-compiled/generic/config.json
wget https://raw.githubusercontent.com/Darktron/pre-compiled/generic/start.sh
chmod +x ccminer start.sh
- Edit your pools, address, worker name:
- Pools use the
"disabled"
feature so1
= Off (not used) while0
= On (will use this pool) - Address & worker name is near the bottom of the config.json in format
address here.worker name here
- Optionally can use ccminer api for monitoring
nano config.json
- Start ccminer with:
~/ccminer/start.sh
- Close ccminer with:
CTRL + c
- If Termux can't complete update & upgrade please clear app cache and data.
- Disable battery manager, battery optimization for Termux app.
- If you have a "protect battery" option to stop charge at 85% or similar enable it to help preserve battery health.
- 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 Termux 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).