Skip to content

CPU Miner for devices based on ARM architecture like Raspberry Pi and even Android!

Notifications You must be signed in to change notification settings

marek-guran/cpuminer-arm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To run use:

docker run -d \
--name minerd \
-e ALGO="scrypt" \
-e URL="stratum+tcp://pepeguild.com:3333" \
-e EMAIL="email-or-wallet-or-worker_name" \
-e PASSWORD="x" \
-e THREADS="1" \
emgi2/cpuminer-arm:latest

Warning

Some pools have too high dificulty that they will kick you out of pool resulting Stratum connection interrupted. This is because you have very little hash power. So it is recommended to use all threads of devices like Raspberry Pi 4B and if possible overclocked. Miner was not tested on Raspberry Pi 5. Let me know what configuration worked for you.

What you can mine

  • Pepecoin or anything that uses scrypt
  • LTC
  • BTC

Running on Android or natively on Linux

  1. Install: https://play.google.com/store/apps/details?id=tech.ula&hl=en_US
  2. Choose your distro and boot it (recommended debian)
  3. Execute commands:
sudo apt update && sudo apt upgrade -y && sudo apt install -y libjansson4 wget && wget --no-check-certificate https://github.com/marek-guran/cpuminer-arm/releases/download/1.0.1/minerd-arm64 && chmod 777 minerd-arm64
  1. Run it with
./minerd-arm64 -o stratum+tcp://pepeguild.com:3333 -u email.or-wallet-or-worker_name -p anything -t 1

If you dont specify -t, it will use all CPU threads and if it wont start, try running it with sudo. You can start it later by clicking sessions section in app. Please note that mining on devices with batteries can result in damage.

⚠️ If you use device with battery in it, remove it so you don't start a fire, explosions and something else from batteries in device. You are responsible for these actions.

Tested devices and their configurations (Based on your feedback)

  1. Xiaomi Redmi Note 9 Pro - 17 KH/s - threads 7 (8 crashes miner) - no modifications
  2. Xiaomi Mi A2 - 14 KH/s - all threads - running rooted ArrowOS custom rom
  3. Raspberry Pi 4B - 8 KH/s - all threads - no overclock
Based on

https://github.com/pooler/cpuminer