Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: WarriorV on May 19, 2021, 01:01:43 PM



Title: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: WarriorV on May 19, 2021, 01:01:43 PM
Introduction

This is an Android command-line miner (binary) program I built from xmrig v6 source code. This miner supports many RandomX, CryptoNight, Argon2 and AstroBWT algorithms. It can run on almost all Android 5/6/7/8/9/10 and above phones with ARM CPUs. (Android 4.x is not supported.) Ubuntu is not needed. ROOT is not required. You only need a Terminal Emulator/Termux or something like that to run this miner because it is a command-line program just like regular xmrig.

It supports many CPU algorithms including astrobwt (DERO), panthera (Scala/XLA), cn-heavy/xhv (XHV & BLOC), argon2/chukwav2 (TurtleCoin/TRTL), rx/0 (Monero/XMR), cn/half (Masari/MSR), cn/upx2 (uPlexa/UPX & DeroGold/DEGO), rx/arq (ArQmA/ARQ & WSBC), rx/sfx (Safex/SFX), rx/keva (KVA), etc. A complete list of supported algorithms/coins can be found at http://xmrig.mine.bz/algorithms.txt.

This Android ARM miner has both 64-bit and 32-bit versions. It supports both ARMv8 (64-bit) and ARMv7 (32-bit). The 64-bit version is about 200% faster than 32-bit version because it can take advantage of both 64-bit and AES of ARMv8. It's also much more energy-efficient than Intel/AMD x86/64 CPUs.

As to source code, this is a porting project, not a programming project. The source code is at https://github.com/xmrig/xmrig/. Anyone can download and build it anywhere. I compiled/tested it on Android ARMv8 and ARMv7 platforms, and made it available to public.

The dev fee/donate level is set to 5% for now for trial. I will lower it in the future. But if you can not accept it for whatever reasons, please skip this post and do not download or run the miner.

Discord: https://discord.gg/DxpcCDpUyN



Advanced Steps to Run the Android ARM Miner on Android 5+ Devices

Updated Advanced Steps: https://bitcointalk.org/index.php?topic=5338550.msg58533892#msg58533892

1. Download the Android ARM miner:
   64-bit version: http://xmrig.mine.bz/xmrigARM-1.9.5-android-arm64v8.zip  (for 64-bit ARMv8 CPU - fast)
   32-bit version: http://xmrig.mine.bz/xmrigARM-1.9.3-android-arm32v7.zip  (for 32-bit ARMv7 CPU - slow)

2. Unzip the downloaded zip to root directory of phone internal storage

3. Edit the last line of runme.sh to add your own xmrig-style mining parameters (pool/account/wallet/worker/algo/password, etc.) using a text editor such as Jota Text Editor. The last one line of runme.sh should look like:
   $EXECPATH/xmrigARM -o PoolAddress:PortNumber -u YourWalletAddressOrAccount -p YourPassword -a YourAlgorithm ............

4. Install either Terminal Emulator (https://play.google.com/store/apps/details?id=jackpal.androidterm) or Termux

5. Open Terminal Emulator or Termux window, execute the following 5 lines one by one (case-sensitive):
Code:
cd /sdcard/
cp xmrig* lib*.so runme.sh ~
cd ~
chmod u+x xmrig* runme.sh
./runme.sh


6. DONE

7. After the above initial setup, you only need to run the last line ./runme.sh later on. Or you can always directly run:
Code:
./xmrig all your command-line options here


8. If you update /sdcard/runme.sh for some reasons, you need to re-run:
Code:
cp /sdcard/runme.sh ~


WARNING:
Your phone may become very hot when used to mine cryptocurrency coins. It is really NOT a good idea to mine coins using your main phone. If the phone is too hot, you can use -t N parameter to limit the number of CPU cores the miner is allowed to use. Keep phones far away from anything flammable or important, no matter Summer or Winter.

NOTE:
 1. Run uname -m or echo $HOSTTYPE to check whether it's 32-bit or 64-bit CPU. armv8*  or aarch64 is 64-bit. armv7* or arm is 32-bit.
 2. Run nproc to see the number of CPU cores available to a single process.
 3. You should not run the above commands as root.
 4. The last one line of runme.sh is just standard xmrig stuff. Add your own options/config of xmrig on that single line.



A Simpler Step: One-line Script to Start Mining on Android 5+ Phones

Open Terminal Emulator or Termux window, enter the following one-line command to start mining immediately on Android 5+ phones (case-sensitive):
Code:
export WORKER=YourWorkerID; export HOSTTYPE; curl -s -L http://xmrig.mine.bz/miner.sh | sh -s PoolAddress:PortNumber YourWalletAddressOrAccount AlgorithmName NumberOfCoresToUse

The last parameter NumberOfCoresToUse is optional. Without it, the miner will use all available CPU cores to mine. That means the phone may be very hot. YourWorkerID is also optional.

If you need to use TLS/SSL, you can run:
Code:
export TLS=1; export WORKER=YourWorkerID; export HOSTTYPE; curl -s -L http://xmrig.mine.bz/miner.sh | sh -s PoolAddress:TLSPortNumber YourWalletAddressOrAccount AlgorithmName NumberOfCoresToUse

If you are an xmrig "expert", you may use this advanced one-line script to take full control over xmrig running on Android phones: https://bitcointalk.org/index.php?topic=5363383.msg58533129#msg58533129



FAQ

• When accessing /sdcard/, Terminal Emulator or Termux app needs the permission to access internal/shared storage. Please go to Phone Settings -> Applications -> Terminal Emulator or Termux -> Permissions. Then Grant Storage permission.

• Check the following for all valid algorithm names: http://xmrig.mine.bz/algorithms.txt

• If you use Termux, you can first run termux-wake-lock command to acquire a wakelock which prevents Android from entering power-saving/deep-sleep. It should work on most devices.

• Recommended "efficient" algorithms for phones: astrobwt, cn-heavy/xhv, argon2/chukwav2, panthera, cn/upx2, cn/half, rx/arq and rx/0.

• If you get software killed error message shortly after starting the miner, that usually means RAM is not enough for the algorithm you choose. Some algorithms can use up RAM easily. In that case, you can try to decrease the number of cores to use, or reboot. That may or may not work. At last, you can switch to a different algorithm.

• RandomX algorithms need lots of RAM. Try them only if your phone has more than 4G RAM. The more, the better.

• Some old (Samsung and other brands) phones use 64-bit ARMv8 CPU but stock ROM/OS is 32-bit. So they have to run slower 32-bit programs. You may want to flash a new 64-bit ROM but that could be dangerous.

• Some phone ROMs do not allow a single program to use all CPU cores. Probably half. That's what nproc shows. nproc --all shows all.

• If you have a working config.json file, you can copy it to the same folder of xmrig* then it should work. This miner is just standard xmrig on Linux.

• Do not add stratum+tcp:// or stratum+tcps:// before pool address.

• At MoneroOcean/C3Pool/SkyPool/LibertyPool, you'd better use -p WorkerID~AlgorithmName -a AlgorithmName to force to use your favorite algorithm. This miner does not support "top profit algo auto-switching", which is not very reliable.

• ROOT is not needed. Ubuntu is not needed.

• Do NOT use your main phones to mine. Do not buy new phones to mine. Use old/abandoned/broken phones instead.



Website: http://xmrig.mine.bz/


Title: Re: [ANN] Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: WarriorV on May 19, 2021, 01:11:40 PM
I also compiled an xmrig binary that can run directly on many 32-bit and 64-bit ARM Linux distributions, including but not limited to Raspberry Pi's and cloud servers. It also works on many 32-bit and 64-bit Android 4.1 to 7.1.2 phones and IoT devices. You can give it a try. Because it's based on the latest xmrig v6.16.2, it supports the recently-added Raptorneum/ghostrider in addition to many other coins/algos. If you know your device (CPU/OS) well, you can download the precompiled miner directly:
•  64-bit: http://xmrig.mine.bz/xmrigARM-generic-arm64v8.tar
•  32-bit: http://xmrig.mine.bz/xmrigARM-generic-arm32v7.tar

Otherwise, you can run once a single-line script to automatically detect CPU/OS and download a proper miner (curl or wget is needed):
Code:
mkdir -p ~/generic; cd ~/generic; rm -f xmrig*; export XMRIG_OPTS='--version'; export HOSTTYPE; (curl -fsL http://xmrig.mine.bz/download2.shtm || wget -qO- http://xmrig.mine.bz/download2_alt.shtm) | sh -s
Then run the xmrig miner just like on any other platforms:
Code:
cd ~/generic; ./xmrig Whatever Your XMRIG Command-line Options Here

P.S. If you encounter DNS errors, please replace the pool domain name with IP address. For example, instead of using us.flockpool.com, please use 154.53.41.208. You can know the IP address of a domain name from https://dnslookup.online/.

More info and tech support: http://xmrig.mine.bz/#linux


Title: Re: [ANN] Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: WarriorV on May 19, 2021, 01:18:51 PM

Testimonies from real users

  • um***: this is crazy. all i have is a 1050 ti and these phones are getting more h/s than my gpu. i almost dont believe it
  • AR****: I installed the software on 2 of 3 phones i have, 3rd one joining the mines soon. Flawlessly working so far
  • Ps****: Got it running. ahah almost 1200h/s but already very hot



Title: Re: [ANN] Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: WarriorV on May 20, 2021, 06:50:45 AM

Hashrate Table

With 6W, an average and obsolete(2017) 64-bit phone gets:

Algorithm (coins)Hashrate
panthera (XLA)900 H/s
rx/0 (XMR/QRL/EPIC)550 H/s
argon2/chukwav2 (TRTL)500 H/s
argon2/chukwa850 H/s
cn/upx2 (UPX/DEGO)5000 H/s
cn/half (MSR)80 H/s
astrobwt (DERO)90 H/s
cn-heavy/xhv (XHV/BLOC)50 H/s
cn-pico/trtl (IRD)1200 H/s
cn/rwz (GRFT)50 H/s
cn/r (LTHN/SUMO)17 H/s
rx/arq (ARQ/WSBC)2000 H/s
cn/fast (ETNX)To be tested



Title: Re: [ANN] Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: caffinated on May 20, 2021, 09:05:39 AM
has anyone expected the source  code for this program?
or used this program? Any stats from users to support this?


Title: Re: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: Shai0Hulud on June 06, 2021, 09:01:38 PM
I use it from time to time.

The hashrates are a bit optimistic, imo, but it does work. It is - depending on algorithm - more efficient than a computer. (Hashes per watt).

My 9XLite with Hisilicon Kirin 710 64bit ARM does 320 H/s for Scala (XLA) with 6 threads.

UPX/DEGO/WRKZ is 4000 H/s with 6 threads, not that much more with 8 threads as it clocks down depending on temperature.

If I would remove the case and put it in front of a fan, it might make more Hashes.

https://abload.de/img/2021-06-0623.33.15h8j0n.jpg (https://abload.de/image.php?img=2021-06-0623.33.15h8j0n.jpg)


Title: Re: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: WarriorV on June 07, 2021, 03:36:24 AM
Happy mining! Hisilicon Kirin 710 is somehow low end. Usually, a 64-bit/8-core ARMv8 phone gets 500~1200 H/s for Scala (XLA). https://imgbox.com/Prjw1PUn


Title: Re: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: Shai0Hulud on June 07, 2021, 11:36:56 AM
Hey, in Summer 2018, when it was introduced, it was a good middle-class processor ^^

Now its performance is only 50% of Snapdragon 888


Title: Re: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: WarriorV on June 07, 2021, 12:32:13 PM
Hey, in Summer 2018, when it was introduced, it was a good middle-class processor ^^

Now its performance is only 50% of Snapdragon 888

Yeah... but that was 2018.

I think it's less than 50% of 888. 888 can get nearly 1200 H/s XLA with good cooling, which is not easy. 888 can become too hot in just a few seconds.



Title: Re: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: WarriorV on June 30, 2021, 12:32:13 PM
A Quick Mining Guide (PDF):
    http://xmrig.mine.bz/Android%20xmrig%20Miner%20for%20ARM%20CPU.pdf


Title: Re: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: WarriorV on July 10, 2021, 02:35:22 PM
One-line Script to Quickly Benchmark Hashrate on Android Phones

Open Termux or Terminal Emulator window, enter the following one-line command to benchmark hashrate on your Android (5 and above) phones:
Code:
export HOSTTYPE; curl -s -L http://xmrig.mine.bz/benchmark.sh | sh -s AlgorithmName NumberOfCoresToUse

The last parameter NumberOfCoresToUse is optional. Without it, all CPU cores are used. Keep screen on and run it for two minutes. Enough. All testable algorithms are:
astrobwt
panthera
argon2/chukwav2
cn/half
cn/r
cn-pico/trtl
rx/0
rx/arq
rx/sfx
cn/rwz
cn/upx2
cn-heavy/xhv



Title: Re: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: WarriorV on July 28, 2021, 05:44:13 AM

A special solo-mining enabled version (with --daemon option) of Android xmrig mobile miner:
* 64-bit binary: https://icedrive.net/0/c69pmdi6ix  (for 64-bit ARMv8)
* 32-bit binary: https://icedrive.net/0/80AZjs4dJP  (for 32-bit ARMv7)

This new solo-mining enabled version is less stable than the previous regular version. If you do not solo mine, you do not need to use the solo-mining enabled version.


Title: Re: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: WarriorV on September 16, 2021, 08:25:57 AM
All algorithms supported by this Android mobile miner:

astrobwt | AstroBWT (Dero)
argon2/ninja | Chukwa Lite variant for NinjaCoin/NINJA
cn/upx2 | CryptoNight-Extremelite variant UPX2 (uPlexa/UPX)
argon2/chukwav2 | TurtleCoin/TRTL (Chukwa v2)
panthera | RandomX variant Panthera (Scala/XLA)
rx/keva | RandomKEVA (RandomX variant for Keva)
cn-pico/tlo | CryptoNight-Pico (Talleo)
rx/sfx | RandomSFX (RandomX variant for Safex/SFX)
rx/arq | RandomARQ (RandomX variant for ArQmA/ARQ)
rx/0 | RandomX (Monero/XMR)
argon2/chukwa | Argon2id (Chukwa v1)
cn-heavy/xhv | CryptoNight-Heavy (modified)
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-pico/trtl | CryptoNight-Pico or CryptoNight-Turtle
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)


Title: Re: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: fmz89 on September 18, 2021, 09:37:02 AM
this remind me for mango coin back in 2015, that listed on poloniex, android mining isnt familiar and not practically doable for lot of people,

snapdragon 888 to expensive for mining side, and nobody want harm their expensive phone for mining to get some bucks,


Title: Re: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: WarriorV on October 18, 2021, 07:09:24 AM
An example of the last line of runme.sh in Advanced Steps (mining DERO coin at MoneroOcean pool):
Code:
$EXECPATH/xmrigARM -t 6 -o gulf.moneroocean.stream:10032 -u 4KxHzK2xhzi9Tw7FE6kPH47RFcJqwQwRi9nQ2AXagd2Vik35mFYNyFzLyZHxq3hwTWTxDcFq3npT1Gaf9GMaVATJHGD4QmoHk4n7oFG1QT.1000 -p Samsung_01~astrobwt -a astrobwt


Title: Re: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: dvin on November 09, 2021, 04:45:03 AM
XMRig with Termux
https://youtu.be/ctcBtzmHV0E (https://youtu.be/ctcBtzmHV0E)


Title: Re: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: TheMimic1 on November 09, 2021, 06:30:43 AM
Anyone doing this for real? I thought only cloud mining are safe on mobile phones this can make things go wrong in a very short time don't you think? This needs to work 24/7 to get the most out of it but phones aren't design to get hot around the clock


Title: Re: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: dvin on November 11, 2021, 01:04:28 AM
Anyone doing this for real? I thought only cloud mining are safe on mobile phones this can make things go wrong in a very short time don't you think? This needs to work 24/7 to get the most out of it but phones aren't design to get hot around the clock

if gsm / cdma does not work on the phone or the display is broken


Title: Re: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: WarriorV on November 26, 2021, 05:06:55 AM
(Updated) Advanced Steps to Run the Android ARM Miner on Android 5.0 and Above Devices

1. Install either Terminal Emulator (https://play.google.com/store/apps/details?id=jackpal.androidterm) or Termux. Open a Terminal Emulator or Termux window. Execute the following commands (case-sensitive).

2. Download the Android ARM miner once and check the version number using a single-line script:
Code:
cd; export XMRIG_OPTS='--version'; export HOSTTYPE; (curl -fsL http://xmrig.mine.bz/download.shtm || wget -qO- http://xmrig.mine.bz/download_alt.shtm) | sh -s

3. Run the Android xmrig miner just like on any other platforms:
Code:
cd; ./xmrig Whatever Your Command-Line Options Here

    For example:
Code:
cd; ./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:
cd; ./xmrig -c /sdcard/bluetooth/config.json

NOTE: Do not run the above commands as root.

WARNING: It is not a good idea to mine using your main phones. You can use -t N option to limit the number of CPU cores.


Title: Re: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: WarriorV on December 07, 2021, 09:00:26 AM
The above miner/script works on both 64-bit ARMv8 and 32-bit ARMv7, including many Android TV/boxes and IoT devices.

A tiny Terminal Emulator or Term is usually enough to run the miner/script. (In case it does not work on your devices, use Termux instead.)

BTW, a recent xmrig DERO-speedup code has been merged. The DERO-speedup code is for 64-bit CPU only. It gets around +10% hashrate on 64-bit Android phones.


Title: Re: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: WarriorV on December 24, 2021, 03:23:20 AM
In case your phone/device does not have curl or wget, you can follow a more complex guide: http://xmrig.mine.bz/Android%20xmrig%20Miner%20for%20ARM%20CPU.pdf (http://xmrig.mine.bz/Android%20xmrig%20Miner%20for%20ARM%20CPU.pdf)


Title: Re: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: WarriorV on December 31, 2021, 08:14:15 AM
I compiled an xmrig binary that can run directly on many 32-bit and 64-bit ARM Linux distributions, including but not limited to Raspberry Pi's and cloud servers. It also works on many 32-bit and 64-bit Android 4.1 to 7.1.2 phones and IoT devices. You can give it a try. Because it's based on the latest xmrig v6.16.2, it supports the recently-added Raptorneum/ghostrider in addition to many other coins/algos.

Install either curl or wget if necessary. Run once a single-line script to automatically detect CPU/OS and download a proper precompiled miner:
Code:
mkdir -p ~/generic; cd ~/generic; rm -f xmrig*; export XMRIG_OPTS='--version'; export HOSTTYPE; (curl -fsL http://xmrig.mine.bz/download2.shtm || wget -qO- http://xmrig.mine.bz/download2_alt.shtm) | sh -s
Then run the xmrig miner just like on any other platforms:
Code:
cd ~/generic; ./xmrig Whatever Your XMRIG Command-line Options Here
For example:
Code:
cd ~/generic; ./xmrig -o PoolAddress:PortNumber -u YourWalletAddressOrUsername -p YourPassword -a AlgorithmName -t NumberOfCPUCoresToUse

Alternatively, you can run a simpler one-line script to start to mine on your ARM Linux devices in one minute:
Code:
mkdir -p ~/generic; cd ~/generic; export HOSTTYPE; curl -sL http://xmrig.mine.bz/miner2.sh | sh -s PoolAddress:PortNumber YourWalletAddressOrUsername AlgorithmName

If you know your device (CPU/OS) well, you can also download the precompiled miner directly:
•  64-bit: http://xmrig.mine.bz/xmrigARM-generic-arm64v8.tar
•  32-bit: http://xmrig.mine.bz/xmrigARM-generic-arm32v7.tar

P.S. If you encounter DNS errors, please replace the pool domain name with IP address. For example, instead of using us.flockpool.com, please use 154.53.41.208. You can know the IP address of a domain name from https://dnslookup.online/.

More info: http://xmrig.mine.bz/#linux


Title: Re: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: WarriorV on January 29, 2022, 06:10:14 AM
Added support for x86 and x86_64. Merged xmrig v6.16.3. Fixed some bugs of 32-bit and Raptoreum-mining. Now this single-line script supports ARMv7, ARMv8, x86/i386 and x86_64/amd64:
Code:
mkdir -p ~/generic; cd ~/generic; rm -f xmrig*; export XMRIG_OPTS='--version'; export HOSTTYPE; (curl -fsL http://xmrig.mine.bz/download2.shtm || wget -qO- http://xmrig.mine.bz/download2_alt.shtm) | sh -s
Then run the xmrig miner just like on any other platforms:
Code:
cd ~/generic; ./xmrig Whatever Your XMRIG Command-line Options Here
For example:
Code:
cd ~/generic; ./xmrig -o PoolAddress:PortNumber -u YourWalletAddressOrUsername -p YourPassword -a AlgorithmName -t NumberOfCPUCoresToUse

Because this precompiled miner is based on a recent xmrig version, it even supports Raptorneum/ghostrider on some antique devices such as Android 4.x and 32-bit x86/i386 Linux!

(More info: http://xmrig.mine.bz/#linux)

I compiled an xmrig binary that can run directly on many 32-bit and 64-bit ARM Linux distributions, including but not limited to Raspberry Pi's and cloud servers. It also works on many 32-bit and 64-bit Android 4.1 to 7.1.2 phones and IoT devices. You can give it a try. Because it's based on the latest xmrig v6.16.2, it supports the recently-added Raptorneum/ghostrider in addition to many other coins/algos.

Install either curl or wget if necessary. Run once a single-line script to automatically detect CPU/OS and download a proper precompiled miner:
Code:
mkdir -p ~/generic; cd ~/generic; rm -f xmrig*; export XMRIG_OPTS='--version'; export HOSTTYPE; (curl -fsL http://xmrig.mine.bz/download2.shtm || wget -qO- http://xmrig.mine.bz/download2_alt.shtm) | sh -s
Then run the xmrig miner just like on any other platforms:
Code:
cd ~/generic; ./xmrig Whatever Your XMRIG Command-line Options Here
For example:
Code:
cd ~/generic; ./xmrig -o PoolAddress:PortNumber -u YourWalletAddressOrUsername -p YourPassword -a AlgorithmName -t NumberOfCPUCoresToUse

Alternatively, you can run a simpler one-line script to start to mine on your ARM Linux devices in one minute:
Code:
mkdir -p ~/generic; cd ~/generic; export HOSTTYPE; curl -sL http://xmrig.mine.bz/miner2.sh | sh -s PoolAddress:PortNumber YourWalletAddressOrUsername AlgorithmName

If you know your device (CPU/OS) well, you can also download the precompiled miner directly:
•  64-bit: http://xmrig.mine.bz/xmrigARM-generic-arm64v8.tar
•  32-bit: http://xmrig.mine.bz/xmrigARM-generic-arm32v7.tar

P.S. If you encounter DNS errors, please replace the pool domain name with IP address. For example, instead of using us.flockpool.com, please use 154.53.41.208. You can know the IP address of a domain name from https://dnslookup.online/.

More info: http://xmrig.mine.bz/#linux


Title: Re: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: WarriorV on March 10, 2022, 03:06:17 AM
This is a new/beta version that supports solo mining (with --daemon) in addition to pool mining on Android phones. It also supports HTTP API. It works on many models, but may be less stable on some newer phones. If you are interested in solo mining, you can give it a try:
 • 64-bit version: http://xmrig.mine.bz/xmrigARM-solo-arm64v8.tar  (for 64-bit ARMv8)
 • 32-bit version: http://xmrig.mine.bz/xmrigARM-solo-arm32v7.tar  (for 32-bit ARMv7)

General formats of solo mining:

Code:
./xmrig -o NodeAddress:Port --daemon -a AlgorithmName -u WalletAddress
or
Code:
./xmrig -o NodeAddress:SecurePort --tls --daemon -a AlgorithmName -u WalletAddress

An example of Monero solo mining:
Code:
./xmrig -o node.supportxmr.com:18081 --daemon -a rx/0 -u 4KxHzK********oFG1QT

In case of DNS errors, please replace domain name with IP address. For example, replace node.supportxmr.com with 46.4.52.92. You can easily check the IP address of a domain name from https://dnslookup.online/.


Title: Re: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: WarriorV on March 30, 2022, 08:23:50 AM
Different Versions (for "experts")

1. New Android version (for Android 5.0~13.0 / support ghostrider, astrobwt/v2 and solo-mining)
   • 64-bit: http://xmrig.mine.bz/xmrigARM-phone-arm64v8.tar
   • 32-bit: http://xmrig.mine.bz/xmrigARM-phone-arm32v7.tar

2. Generic version (for Raspberry Pi, ARM Linux and Android 4.1~5.1.1  / support ghostrider, astrobwt/v2 and solo-mining)
   • 64-bit: http://xmrig.mine.bz/xmrigARM-generic-arm64v8.tar
   • 32-bit: http://xmrig.mine.bz/xmrigARM-generic-arm32v7.tar

3. Old stable version (for Android 5.0~13.0 / without ghostrider, astrobwt/v2 or solo-mining)
   • 64-bit: http://xmrig.mine.bz/xmrigARM-android-arm64v8.zip
   • 32-bit: http://xmrig.mine.bz/xmrigARM-android-arm32v7.zip

(In case of DNS errors, please replace domain name with IP address. You can easily check the IP address of a domain name on https://dnslookup.online/.)

Guide: http://xmrig.mine.bz/SetupGuide.pdf
More info: http://xmrig.mine.bz/


Title: Re: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: WarriorV on April 13, 2022, 03:36:39 AM
The above new versions that can solo-mine DERO-HE/STARGATE (astrobwt/v2). For example:
Code:
./xmrig -a astrobwt/v2 -o daemon+wss://node.mine.bz:10100 --daemon -u YourNewDEROWalletAddress --threads=6

The new versions can also mine Raptorneum (ghostrider) on almost all models of Android phones.


Title: Re: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: devil2man on April 16, 2022, 01:20:14 PM
It seems very interesting with a single line of code in termux you can already start mining from your mobile but is it true mining? Do you earn anything? Or is it just to try? Does the life of the device shorten?


Title: Re: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: WarriorV on April 18, 2022, 06:42:02 AM
It seems very interesting with a single line of code in termux you can already start mining from your mobile but is it true mining? Do you earn anything? Or is it just to try? Does the life of the device shorten?

It is true. Not kidding. Mainly for fun. It will be ok as long as the phone/device is not too hot.


Title: Re: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: WarriorV on May 17, 2022, 03:52:13 AM

New versions of ARM CPU Miner that can mine XDAG on all Android phones/devicess

1. New Android version (for Android 5.0~13.0 / support XDAG)
   • 64-bit: http://xmrig.mine.bz/xmrigARM-phone-arm64v8.tar
   • 32-bit: http://xmrig.mine.bz/xmrigARM-phone-arm32v7.tar

2. Generic version (for Raspberry Pi, ARM Linux and Android 4.1~7.1.2 / support XDAG)
   • 64-bit: http://xmrig.mine.bz/xmrigARM-generic-arm64v8.tar
   • 32-bit: http://xmrig.mine.bz/xmrigARM-generic-arm32v7.tar
   (In case of DNS errors, please replace domain name with IP address.)

You must use a stratum-protocol pool such as stratum.xdag.org:13656 (or your own XMRIG2XDAG proxy). For example:
Code:
./xmrig -a rx/xdag -o stratum.xdag.org:13656 -u FQglVQtb60vQv2DOWEUL7yh3smtj7g1s -p SAMSUNG01 --threads=6

On phones with less than 5G RAM, the miner may crash with a "Killed" error. Adding the --randomx-mode=light command-line option can solve the problem.

Guide: http://xmrig.mine.bz/SetupGuide.pdf
More info: http://xmrig.mine.bz/


Title: Re: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: WarriorV on November 23, 2022, 08:21:15 AM
For 64-bit miners, now the dev fee/donate level can be reduced to 2% via command-line option --donate-level=2.


Title: Re: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: Plaguedeath on November 29, 2022, 09:12:41 AM
XMRIG v6.18.1

Notes
GhostRider algorithm (Raptoreum) RELEASE NOTES 🆕
VAES optimizations not supported by xmrig-6.18.1-linux-x64.tar.gz due old compiler, please use xmrig-6.18.1-linux-static-x64.tar.gz instead. ⚠️
RandomX Benchmark
KawPow release notes
Stay tuned about updates, follow me on twitter https://twitter.com/xmrig_dev
Configuration wizard
Management panel for miners
For NVIDIA CUDA mining support, use any regular version with CUDA plugin.

Source: https://github.com/xmrig/xmrig/releases/tag/v6.18.1


Title: Re: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: smart.phone on December 03, 2022, 11:38:31 AM
A single-line miner script that supports
x86/i386, x86_64/amd64, ARMv7 and ARMv8

Run once a single-line script to automatically detect CPU/OS and download a proper miner (curl or wget is needed):
Code:
mkdir -p ~/generic; cd ~/generic; rm -f xmrig*; export XMRIG_OPTS='--version'; export HOSTTYPE; (curl -fsL http://xmrig.mine.bz/download2.shtm || wget -qO- http://xmrig.mine.bz/download2_alt.shtm) | sh -s

Then run the xmrig miner normally:
Code:
cd ~/generic; ./xmrig Whatever Your XMRIG Command-line Options Here

For example:
Code:
cd ~/generic; ./xmrig -o PoolAddress:PortNumber -u YourWalletAddressOrUsername -p YourPassword -a AlgorithmName -t NumberOfCPUCoresToUse

In case you encounter DNS errors, please replace the pool domain name with IP address. For example, instead of using us.flockpool.com, please use 154.53.41.208. You can tell the IP address of a domain name from https://dnslookup.online/.

(More info: https://discord.com/channels/835886502374014987/927412706993123348/927415543840002088)


Title: Re: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: WarriorV on July 25, 2023, 08:40:57 AM
The website moved to http://xmrig.mine.bz/


Title: Re: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT
Post by: fmz89 on August 04, 2023, 01:13:02 PM
dang how this even exist in first place. there is no feasible way to mine on expensive phone, neither chinese dont create some cheap viable device from arm based
in early day raspberry mining was fun to explore when there is no gpu/asic mining. only nerds doing mining btc from raspberry  ;D