Skip to content

Instantly share code, notes, and snippets.

@migtibincoski
Created September 28, 2024 21:51
Show Gist options
  • Save migtibincoski/77992b57bf05519e6f050154fad36591 to your computer and use it in GitHub Desktop.
Save migtibincoski/77992b57bf05519e6f050154fad36591 to your computer and use it in GitHub Desktop.
How to mine on any android device with CPUMiner & Termux
# You will need Termux from f-droid: https://f-droid.org/en/packages/com.termux/
termux-setup-storage
pkg update && apt-get update
pkg upgrade -y && apt-get upgrade -y
pkg install wget openssl-tool proot -y
hash -r
wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/Installer/Ubuntu/ubuntu.sh
bash ubuntu.sh
clear && ./start-ubuntu.sh
su
apt-get update && apt-get upgrade -y
apt install git proo automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev zlib1g-dev make g++ -y
git clone https://github.com/tpruvot/cpuminer-multi
cd cpuminer-multi
./build-linux-arm.sh
clear && ./cpuminer -a <ALGO> -o <POOL URL> -u <YOUR POOL USERNAME> -p <YOUR POOL PASSWORD> -t <COUNT OF CPU THREADS>
@bl0z3r
Copy link

bl0z3r commented Feb 17, 2025

Hola me puedes ayudar en la última parte

@bl0z3r
Copy link

bl0z3r commented Feb 17, 2025

En la de ./cpuminer -a - o

@migtibincoski
Copy link
Author

Hi @bl0z3r, how are you? What's your question?

I'll summarize here:

  • The -a argument is not necessary for currencies like Bitcoin, Litecoin, etc.
  • In the -o argument you put the mining URL (e.g. stratum+tcp://us.litecoinpool.org)

@blit14466
Copy link

How much will i earn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment