14

I have a spare Android smartphone and thought of running a full node on it, since its power consumption is very low and I wouldn't have to run my PC all day but still would have an up to date monerod in my home network. Thanks to a micro SD slot and Wifi, space and bandwidth is not an issue.

So is it possible to get monerod running on Android?

marcrypt
  • 367
  • 2
  • 6

4 Answers4

13

Yes, there are already people running Monero full nodes with Android using GNURoot (which doesn't require a rooted phone, despite its name) as suggested by villabacho.

The proof of concept can be tested easily according to the steps listed by binaryFate:

  1. Install GNUroot Debian
  2. Launch it, and type the following into the terminal:

apt-get update && apt-get install wget bzip2

wget -O monero.tar.bzip2 https://downloads.getmonero.org/arm

bzip2 -d monero.tar.bzip2

tar -xf monero.tar

rm monero.tar

monero/monero-wallet-cli (use --daemon-host for a remote node)

If you have enough storage and want to have a better privacy, download and store the blockchain on a SD card. Otherwise it may be more feasible to use a remote node, which is faster and easier.

Smart Kid
  • 6,583
  • 2
  • 37
  • 63
5

You can also build monerod with the Android NDK and run it natively, instead of having to install GNURoot and running the Linux binaries.

https://www.reddit.com/r/Monero/comments/651un2/monero_v01031_cli_for_android_arm64/

With no updates from user hyc and no recent visits to SE (last seen, elsewhere, 5 months ago), let's add his post post of full instructions from the Monero Forum; and another link for using up-to-date sources:

https://forum.getmonero.org/5/support/87643/building-monero-v0-10-3-1-for-android (WebArchive Link) https://www.reddit.com/r/Monero/comments/z7kh1b/run_a_monero_node_on_android_cake_wallet_for/ (WebArchive Link)

Rob
  • 388
  • 1
  • 4
  • 23
hyc
  • 4,253
  • 19
  • 21
2

I'd use GNURoot to install and run Linux on your Android device, and then use the Linux version of monerod. This does not require rooting your device.

villabacho
  • 1,215
  • 6
  • 15
1

Now the monero project provides official prebuilt binaries for android armv7 and armv8 environments, so you can directly use them in the Termux app.

You can either download the binaries from getmonero.org or GitHub:

Make sure you have enough free disk space for the full node database. As of December 2024, the database takes around 215G of space. And it took me around 48 hours to sync from scratch on a Snapdragon 8 gen 3 phone with decent network bandwidth.

To speed up the setup process, you can import the db bootstrap snapshot by following this guide:

Broken Pipe
  • 111
  • 3