/pre-compiled

Pre-compiled CCMiner for various devices.

Primary LanguageShell

Pre-compiled CCMiner for Termux:

This is a WIP repo for pre-compiled ccminer binaries with latest Termux(v0.118.0) and latest Clang(v17.0.6).

Disclaimer: I accept no warranties or liabilities on this repo. Do it at your own risk!!!

This is for any ARMv8 device

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)

Installation:

  1. 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
  1. Get Termux ready:
  • Type y then enter key in any prompts!
yes | pkg update && pkg upgrade
yes | pkg install libjansson wget nano
  1. 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

Usage:

  1. Edit your pools, address, worker name:
  • Pools use the "disabled" feature so 1 = Off (not used) while 0 = 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
  1. Start ccminer with:
~/ccminer/start.sh
  1. Close ccminer with:
CTRL + c

Tips & Tricks:

  • 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 to Keep 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).