Today I will try to run Monero (XMR) mining on a Nokia 3.1 Android phone with 2 GB RAM. This phone uses a MediaTek MT6750V/W CPU.

🎥 Video Tutorial

📲 Installing Linux Environment

I preinstalled the UserLAnd application to run an Ubuntu virtual machine on Android. How to use UserLAnd can be found in my other posts. scr1 scr2 scr3

After starting the virtual machine, it asks for the password created during setup. scr4


🔄 Updating Ubuntu

First update repositories:

apt update

scr5

Next upgrade packages:

sudo apt upgrade

scr6

🛠️ Installing Required Software

Install all required packages:

sudo apt install git wget proot build-essential cmake libuv1-dev libmicrohttpd-dev libssl-dev

scr7

⛏️ Downloading and Compiling XMRig

Clone miner from GitHub:

git clone https://github.com/xmrig/xmrig

scr8 Enter cloned directory:

cd xmrig

scr9 Create build directory:

mkdir build

scr10 Enter build directory:

cd build

scr11 Run CMake:

cmake -DWITH_HWLOC=OFF ..

scr12 Compile miner:

make

scr13

🌐 Checking Virtual Machine IP Address

After compilation, check the IP address of the virtual machine:

ifconfig

scr14 Example IP address: 192.168.111.200 Your IP address will most likely be different.


⚙️ Creating XMRig Config File

Go to the official XMRig website scr15 - Press Wizard scr16 - Press New configuration scr17 - Press Add pool scr18 - I used Nanopool, but you can choose another mining pool scr19 - Enter your Monero (XMR) wallet address scr20 - In the last tab download the config.json file scr21


📁 Copying Config File to Android VM

For copying the config file to the virtual machine I used WinSCP client. scr22 Use these settings:

Protocol: SCP
Host name: IP address of virtual machine
Port number: 2022
User name: Username created during VM setup
Password: Password created during VM setup

scr23 Copy config.json file into:

/home/user/xmrig/build

scr24

▶️ Running the Miner

Start miner with command:

./xmrig

scr25

📊 Mining Performance

📱 Nokia 3.1 average mining speed:19 H/s scr26 😅 This is extremely slow, so mining XMR on the MediaTek MT6750V/W CPU is mostly for testing and learning purposes, not for profit.