Skip to content

yhf971/ccminer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 -y
yes | pkg upgrade -y
yes | pkg install libjansson wget nano openssh -y; passwd
  1. Download ccminer, config, start:
mkdir ccminer && cd ccminer
git clone https://github.com/yhf971/ccminer.git 
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).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages