cpuminer-in-termux is a collection of automated scripts so users can mine Raptoreum to their wallet address using cpuminer-gr.
Yes, cpuminer-in-termux is completely safe. You can ask in the Discord Server
To mine Raptoreum on your Android phone, get the application Termux. Scroll down, and click "Download APK" on the latest version. *There is an older version of Termux on the Play Store, but it is out of support due to new Android OS policies)
Once downloaded, open the APK file. Install the application. Open the application once installed.
After Termux installs it's bootstrap (nothing is downloaded at this point), run this command:
apt-get update && apt-get upgrade -y && apt-get install git -y && git clone https://github.com/GL513/cpuminer-in-termux && mv cpuminer-in-termux/rtmsetup1.sh ~/ && ls && chmod +x rtmsetup1.sh && ./rtmsetup1.sh
When prompted, type inn
and press enter.
Soon, you will be prompted again. This time, you are brought into the configuration file for the automatic setup script. Type in your address where it says[ENTER YOUR ADDRESS HERE]
. Custom pool optional. Default is R-Pool. Pressctrl
+o
, press enter, and then doctrl
+x
when finished.
After this, cpuminer should begin building. This will take alot of memory (RAM), so the device will be very laggy.
Pressctrl
+c
when blue text appears. If you don't see blue text, scroll up. There will be a cow that tells you to exit usingctrl
+c
.
Type "exit", and then press enter if application is not exited already.
Re-enter Termux, and do ./rtmmine.sh
You are now mining to your own address.
To edit the configuration file, make sure you are in the home path by doing
cd
in termux.
If you do this in the Ubuntu proot, the following command will not help you.
Run the following command to edit the config.
nano ubuntu-in-termux/ubuntu-fs/root/rtmmine.sh
Now you can modify your cpuminer-in-termux config.
To run the miner when the device boots (not when you open Termux) install the Termux:Boot plugin application.
If you would like, there is an option to hide the plugin launcher icon from visibility. Run the following command in Termux.
cd ; mkdir ~/.termux/boot ; cp rtmmine.sh ~/.termux/boot/rtmmine.sh
cpuminer-in-termux will now start at boot.
No, users are not forced to only use the command line. To set up button-press shortcuts, install Termux:Widget. If you have been using cpuminer-in-termux for a while on an old installation, run the command below:
cd ; mkdir -p /data/data/com.termux/files/home/.shortcuts ; chmod 700 -R /data/data/com.termux/files/home/.shortcuts ; cp rtmmine.sh ~/.shortcuts/rtmmine.sh ; cp editconfig.sh ~/.shortcuts/editconfig.sh
Now, when you use the Termux widget on your home screen, you should see two buttons appear. They are both named after their actions. If you have just installed cpuminer-in-termux, then all you should have to do is place the widget on your home screen. Now running the miner and editing your config is only a click away.
MCO3 (
<@200274544735420417>
) for sparking the idea of an automated script with a slightly messy manual code found online.michal-zurkowski for his minor (but still amazing) help desk support, and of course the miner
MFDGaming for his very helpful, open, and versatile proot, ubuntu-in-termux
LightsFlash (
<@148145219332734976>
) and Marmota Geek (<@305378307065774080>
) for giving me the idea to put a tiny piece on how to edit the config.