Quick installation of mining on Android Phones
- install Userland app (preferably version
2.8.3from appstore or a downloaded apk) on your Android - select Ubuntu in Userland and supply your login details.
- choose SSH
- wait for it to install, enter Ubuntu and log into your account
lscpuIf the output doesn't show Architecture: aarch64 or CPU op-mode(s): 32-bit, 64-bit, then do not bother to continue. Your phone is not running a 64-bit OS.
curl -o- -k https://raw.githubusercontent.com/conwaydean/android-mining/main/install.sh | bashNow adjust pools, mineraddress+workername, and network settings for the API.
exit with <CTRL>-X followed by y and an <ENTER>
nano config.jsonstart mining with ~/ccminer/start.sh
Standard SSH port for Userland is port 2022.
Optional: create an entry in your SSH config file for each phone:
Host Pixel2XL01
Hostname 192.168.25.81
Port 2022
User Pixel2XL01
IdentityFile ~\.ssh\id-rsa_oink-private
Starting the miner:
~/ccminer/start.sh
Monitoring the miner:
screen -x CCminer
exit with CTRL-D key combination followed by A.
Terminating the miner:
screen -X -S CCminer quit
- clone this repo to your own github account
- change the URL on line 14 of the README.md to reflect your own account
- change the SSH key on line 7 of
install.shto reflect your own SSH key - change lines 12+13 to reflect your own github link (especially line 13!!!)
- adjust the
config.jsonto your address and mining details. - optional: change the lines 20-21 of your
config.jsonto your own LAN IP range.
WARNING: The scripts installs my own public SSH key. You may want to remove that from your ~/.ssh/authorized_keys file and replace it with your own for passwordless access.
###I accept no warranties or liabilities on this repo. It is supplied as a service. ###Use at your own risk!!!