12

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?

3 Answers 3

12

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.

4
  • Thank you both for the advice! And you especially for the step by step tutorial, will try it shortly.
    – marcrypt
    Nov 12, 2016 at 13:35
  • Here's what I did. On the remote computer: ./monerod --rpc-bind-ip <external.ip.of.node> --restricted-rpc --confirm-external-bind On the phone: ./monero-wallet-cli --wallet-file phone.bin --daemon-host <external.ip.of.node> Use Shift-Ctrl-v to paste in GNUroot. Also, it may be helpful to install [Hackers Keyboard] play.google.com/store/apps/… so you can use the arrows, tab, and other keys. Apr 2, 2017 at 0:53
  • 1
    c789 - are you running the node on the phone or the remote computer? The question was for running a node on the phone. Your commands make it look like your running the node on the remote computer. ..... ?
    – Ginger Ale
    Apr 3, 2017 at 11:25
  • How do you get write permissions to your external sd card? Dec 20, 2019 at 0:44
4

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/

2
  • 2
    This is great! Would you be willing to modify your answer to include the full instructions here instead of just the Reddit link to them?
    – Smart Kid
    Apr 16, 2017 at 19:18
  • 1
    Maybe after the PR gets merged would be better.
    – hyc
    Apr 17, 2017 at 2:02
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.

1
  • Except no phone have 80Gb of internal storage as writing to external sdcard is diabled after kitkat using this method. Dec 20, 2019 at 0:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.