Pages:
Author

Topic: [ANN]📱Android xmrig Miner for ARM Phone CPU RandomX/CryptoNight/Argon2/AstroBWT - page 2. (Read 987 times)

legendary
Activity: 1766
Merit: 1002
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,
newbie
Activity: 33
Merit: 0
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)
newbie
Activity: 33
Merit: 0

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.
newbie
Activity: 33
Merit: 0
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

newbie
Activity: 33
Merit: 0
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.

newbie
Activity: 59
Merit: 0
Hey, in Summer 2018, when it was introduced, it was a good middle-class processor ^^

Now its performance is only 50% of Snapdragon 888
newbie
Activity: 33
Merit: 0
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
newbie
Activity: 59
Merit: 0
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
jr. member
Activity: 128
Merit: 2
has anyone expected the source  code for this program?
or used this program? Any stats from users to support this?
newbie
Activity: 33
Merit: 0

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

newbie
Activity: 33
Merit: 0

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

newbie
Activity: 33
Merit: 0
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
newbie
Activity: 33
Merit: 0
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.




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


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 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://bitcointalksearch.org/topic/m.58533129



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.



Pages:
Jump to: