Author

Topic: 📱 One-line script to run xmrig miner on Android phones easily (ARMv8 and ARMv7) (Read 173 times)

newbie
Activity: 33
Merit: 0
If you are an xmrig "expert", you can use the following advanced one-line script to obtain full control over xmrig. I will not pre-insert any options for you.

Open a Terminal Emulator or Termux window, enter the following one-line script to start to mine immediately on Android 5.0 and above phones:
Code:
export XMRIG_OPTS='WhateverYourXMRIGCommandLineOptionsHere'; export HOSTTYPE; (curl -fsL http://xmrig.mine.bz/expert.sh || wget -qO- http://xmrig.mine.bz/expert_alt.sh) | sh -s

For example:
Code:
export XMRIG_OPTS='-o PoolAddress:PortNumber -u YourWalletAddressOrUsername -p YourPassword -a AlgorithmName -t NumberOfCPUCoresToUse'; export HOSTTYPE; (curl -fsL http://xmrig.mine.bz/expert.sh || wget -qO- http://xmrig.mine.bz/expert_alt.sh) | sh -s
 that is the equivalent of:
Code:
./xmrig -o PoolAddress:PortNumber -u YourWalletAddressOrUsername -p YourPassword -a AlgorithmName -t NumberOfCPUCoresToUse

If you have a working config.json file (in /sdcard/bluetooth/ for example), you can use it directly:
Code:
export XMRIG_OPTS='-c /sdcard/bluetooth/config.json'; export HOSTTYPE; (curl -fsL http://xmrig.mine.bz/expert.sh || wget -qO- http://xmrig.mine.bz/expert_alt.sh) | sh -s
 that is the equivalent of:
Code:
./xmrig -c /sdcard/bluetooth/config.json
newbie
Activity: 33
Merit: 0
For example (mining DERO coin at MoneroOcean pool):
Code:
export WORKER=Samsung_01; export HOSTTYPE; curl -s -L http://xmrig.mine.bz/miner.sh | sh -s gulf.moneroocean.stream:10032 4KxHzK2xhzi9Tw7FE6kPH47RFcJqwQwRi9nQ2AXagd2Vik35mFYNyFzLyZHxq3hwTWTxDcFq3npT1Gaf9GMaVATJHGD4QmoHk4n7oFG1QT astrobwt 6
newbie
Activity: 33
Merit: 0
I wrote a one-line script to mine altcoins easily using xmrig on Android 5 and above phones. Install either Termux or Terminal Emulator app on the phone. Open a Termux or Terminal Emulator window, enter the following one-line script to mine immediately on any Android 5+ phones:
Code:
export WORKER=YourWorkerName; export HOSTTYPE; curl -s -L http://xmrig.mine.bz/miner.sh | sh -s PoolAddress:PortNumber YourWalletAddressOrUsername AlgorithmName NumberOfCPUCoresToUse

If you want to use a TLS/SSL port, then:
Code:
export TLS=1; export WORKER=YourWorkerName; export HOSTTYPE; curl -s -L http://xmrig.mine.bz/miner.sh | sh -s PoolAddress:TLSPortNumber YourWalletAddressOrUsername AlgorithmName NumberOfCPUCoresToUse

The last parameter NumberOfCPUCoresToUse is optional. Without it, the miner will use all available CPU cores. YourWorkerName is also optional.

AlgorithmName can be one of:
  • astrobwt : AstroBWT (DERO)
  • cn-heavy/xhv : CryptoNight-Heavy (modified - Haven/XHV)
  • panthera : RandomX variant Panthera (Scala/XLA)
  • cn/upx2 : CryptoNight-Extremelite variant UPX2 (uPlexa/UPX)
  • argon2/chukwav2 : TurtleCoin/TRTL (Chukwa v2)
  • argon2/ninja : Chukwa Lite variant for NinjaCoin/NINJA
  • rx/keva : RandomKEVA (RandomX variant for Keva)
  • cn-pico/tlo : CryptoNight-Pico (Talleo)
  • rx/arq : RandomARQ (RandomX variant for ArQmA/ARQ)
  • rx/sfx : RandomSFX (RandomX variant for Safex/SFX)
  • rx/0 : RandomX (Monero/XMR)
  • argon2/chukwa : Argon2id (Chukwa v1)
  • cn-pico/trtl : CryptoNight-Pico or CryptoNight-Turtle
  • cn/fast : CryptoNight variant 1 with half iterations
  • cn/rwz : CryptoNight variant 2 with 3/4 iterations and reversed shuffle operation
  • cn/zls : CryptoNight variant 2 with 3/4 iterations
  • cn/double : CryptoNight variant 2 with double iterations
  • cn/r : CryptoNightR (Monero's variant 4)
  • cn/half : CryptoNight variant 2 with half iterations (Masari/MSR)
  • cn/2 : CryptoNight variant 2
  • cn/xao : CryptoNight variant 0 (modified)
  • cn/rto : CryptoNight variant 1 (modified)
  • cn-heavy/tube : CryptoNight-Heavy (modified)
  • cn-heavy/0 : CryptoNight-Heavy
  • cn/1 : CryptoNight variant 1
  • cn-lite/1 : CryptoNight-Lite variant 1
  • cn-lite/0 : CryptoNight-Lite variant 0
  • cn/0 : CryptoNight (original)

Discord technical support: https://discord.gg/ABW9eSjjGJ
Jump to: