In this post i provided Termux commands to install Ccminer in Termux emulator to mine crypto coin via mobile device.#######
So first of all you need to install Termux emulator in your device. ########
To install Termux emulator, i recommend you to install FDroid application in your device. #########
After installation of FDroid search for "Termux" in FDroid application. #####
Script Code:
Install requested packages:-termux-setup-storage
pkg install root-repo
pkg install x11-repo
yes | pkg update && pkg upgrade
yes | pkg install libjansson wget nano
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
nano config.json
Continue setting up your wallet, etc.
Setting up autorun:
cd && cd && cd && nano ../usr/etc/bash.bashrc
Copy this to the bottom line, then press Ctrl+X, save, and press Y, then enter.
cd ccminer/&&./start.sh
Setting up autorun Start:
Download Termux Boot and install it.
cd ccminer
mkdir ~/.termux/boot
cd ~/.termux/boot
nano termux.sh
Copy the script below, press Ctrl+X, save, press Y, enter, and reboot your phone.
#!/data/data/com.termux/files/usr/bin/sh
termux-wake-lock
~/ccminer/start.sh >> ~/miner.log 2>&1
Mining scripts click here
I created configuration file


0 Comments