Verus Mining using Termux

How To Mine Crypto On Android Using Termux & CCminer

Crypto mining on Android has become a popular experiment among tech enthusiasts. With the help of Termux and CCminer, you can run a lightweight mining setup directly from your smartphone. In this guide, you’ll learn how to install, configure, and start mining step-by-step.

Disclaimer: Mining on smartphones may generate heat, reduce battery life, and can affect long-term device health. Always monitor temperature and use mining responsibly.

Requirements

  • Android smartphone
  • Stable internet connection
  • Latest version of Termux
  • Crypto wallet address
  • Basic understanding of mining pools

Step 1: Prepare Termux

Open the Termux app and run the following commands one by one. Type Y and press Enter whenever prompted.

yes | pkg update -y
yes | pkg upgrade -y
yes | pkg install libjansson wget nano -y

These commands will update packages, upgrade existing components, and install the required dependencies for CCminer.

Step 2: Download CCminer Files

Create a directory for CCminer and download the required files.

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

The files include the miner executable, configuration file, and startup script.

Step 3: Configure Mining Settings

Edit the configuration file using Nano editor:

nano config.json

Inside the file, update:

  • Mining pool address
  • Your wallet address
  • Worker name

The configuration uses a "disabled" option:

  • 0 = Pool Enabled
  • 1 = Pool Disabled

Example:

"disabled": 0

Step 4: Start Mining

Start CCminer with the following command:

~/ccminer/start.sh

The miner will connect to the selected mining pool and begin mining automatically.

Step 5: Stop Mining

To stop the miner at any time, press:

CTRL + C

Tips & Tricks

Disable Battery Optimization

Disable battery optimization and background restrictions for the Termux app to keep mining stable.

Enable Wakelock

You can enable wakelock to continue mining even with the screen off.

  • Long press inside Termux → More → Keep Screen On
  • Or use “Acquire Wakelock” from Termux notification

Use Low Latency Pools

Select mining pools closer to your region for better stability and lower latency.

Wait For Stable Hashrate

Hashrate may fluctuate initially. Allow around 30 minutes to 1 hour for stable readings.

Protect Battery Health

If your device supports battery protection features such as stopping charging at 85%, enable them to reduce battery stress.

Troubleshooting

Termux Update Fails

  • Clear Termux cache
  • Clear app data
  • Reinstall Termux

Miner Not Starting

Check the following:

  • Internet connection
  • Correct wallet address
  • Pool URL
  • File permissions

Run this command again if needed:

chmod +x ccminer start.sh

Is Android Mining Worth It?

Android mining is mainly useful for learning, experimentation, and hobby projects. Most smartphones are not powerful enough for significant mining profits.

Pros:

  • Easy setup
  • No PC required
  • Good learning experience

Cons:

  • Low profitability
  • Battery degradation
  • Heat generation
  • Device wear over time

Final Thoughts

Using Termux and CCminer is a simple way to explore crypto mining directly on Android devices. While it may not generate major profits, it provides a practical introduction to mining technology.

Always monitor:

  • Device temperature
  • Battery health
  • CPU usage

Avoid running mining continuously for long periods to protect your smartphone hardware.

Post a Comment

0 Comments