xmrig-termux-opencl is android phone arm based opencl cryptonight miner based on xmrig.
GPU mining part based on Wolf9466 and psychocrypt code.
- There is also a CPU version and NVIDIA GPU version.
- High performance.
- Support for backup (failover) mining server.
- CryptoNight-Lite support for AEON.
- Automatic GPU configuration.
- Nicehash support.
- It's open source software.
- use following instructions to use it:
- install termux from play store or aptoide
- termux-setup-storage
- pkg install cmake git libuv* openssl-dev unstable-repo -y
- pkg install libmicrohttpd-dev -y
- git clone https://github.com/xmrig/xmrig
- cd xmrig && mkdir build && cd build
- cmake ..
- make
- cp xmrig ..
- cd ..
- ./xmrig -a cryptonight/r -o stratum+tcp://cryptonightr.eu.nicehash.com:3375 -u 34yFoDVBQdrcupptL8BXSxYWsLCRj22DaE -p x --opencl-devices 0 --opencl-launch 8x8 --opencl-mem-chunk 2 --opencl-strided-index 0 --opencl-unroll 0 --nicehash --no-cache
-a, --algo=ALGO specify the algorithm to use
cryptonight
cryptonight-lite
cryptonight-heavy
-o, --url=URL URL of mining server
-O, --userpass=U:P username:password pair for mining server
-u, --user=USERNAME username for mining server
-p, --pass=PASSWORD password for mining server
--rig-id=ID rig identifier for pool-side statistics (needs pool support)
-k, --keepalive send keepalived for prevent timeout (needs pool support)
--nicehash enable nicehash.com support
--tls enable SSL/TLS support (needs pool support)
--tls-fingerprint=F pool TLS certificate fingerprint, if set enable strict certificate pinning
-r, --retries=N number of times to retry before switch to backup server (default: 5)
-R, --retry-pause=N time to pause between retries (default: 5)
--opencl-devices=N list of OpenCL devices to use.
--opencl-launch=IxW list of launch config, intensity and worksize
--opencl-strided-index=N list of strided_index option values for each thread
--opencl-mem-chunk=N list of mem_chunk option values for each thread
--opencl-comp-mode=N list of comp_mode option values for each thread
--opencl-affinity=N list of affinity GPU threads to a CPU
--opencl-platform=N OpenCL platform index
--opencl-loader=N path to OpenCL-ICD-Loader (OpenCL.dll or libOpenCL.so)
--print-platforms print available OpenCL platforms and exit
--no-cache disable OpenCL cache
--no-color disable colored output
--variant algorithm PoW variant
--donate-level=N donate level, default 5% (5 minutes in 100 minutes)
--user-agent set custom user-agent string for pool
-B, --background run the miner in the background
-c, --config=FILE load a JSON-format configuration file
-l, --log-file=FILE log all output to a file
-S, --syslog use system log for output messages
--print-time=N print hashrate report every N seconds
--api-port=N port for the miner API
--api-access-token=T access token for API
--api-worker-id=ID custom worker-id for API
--api-id=ID custom instance ID for API
--api-ipv6 enable IPv6 support for API
--api-no-restricted enable full remote access (only if API token set)
--dry-run test configuration and exit
-h, --help display this help and exit
-V, --version output version information and exit
Default donation 5% (5 minutes in 100 minutes) can be reduced to 1% via option donate-level
.
- BTC:
34yFoDVBQdrcupptL8BXSxYWsLCRj22DaE