Pages:
Author

Topic: Is it cool to run Bitcoin full node on Android OS? (Read 387 times)

legendary
Activity: 3458
Merit: 6231
Crypto Swap Exchange
From something I posted 7 months ago: https://bitcointalksearch.org/topic/cheap-node-self-hosting-just-because-you-can-does-not-mean-you-should-5399730

It really is true about this. Just because you can, does not mean you should. Yes it can be done.
But, with the know how needed at the moment and the fact that you need a bunch of additional things the answer for now is no.

But as others have said, this is 'for now' you can get tablets with 4/5G and 1TB of SSD storage. Give it a bit and your phone will have it built in too.
NOT using SD cards (which are not the most reliable things in the world) NOT using dongles to attach drives. And so on. Just an app running on a phone eating up all your data and storage.

-Dave
legendary
Activity: 2814
Merit: 1091
--- ChainWorks Industries ---
The main problem I see with this is the cost: powerful phones with enough storage are still expensive. I do have a pile of old phones that I don't use, but those lack performance. Give it a few more years, and many people will have old phones powerful enough to run this. Throw in $20 for a 1 TB microsd card by then, and it's a very cheap way to run a low-power node. So give it time Smiley

What a service that would be, if someone started selling smartphones doubling as Bitcoin Nodes. In fact, 512GB storage capacity is pretty common on high-end phones. Just waiting for 1TB to be more common and the SSD should run it fine.

I wonder if this kind of stuff is even allowed on the App Stores. Basically, wrap the Bitcoin Core full daemon (not the GUI) into an ARM64 module, which you then call from your own bootstrapping code, and then your user interface is just a bunch of RPCs.

It would need to be optimized to spin up and down quickly (something Core is very bad at doing at the moment).

More than likely not ...

Too much data with little knowledge by the 'layman' as to what they are actually installing. Connectivity issues would be rife also. Unless of course you are mainly stationary in an office somewhere using their WiFi of course.

Though probably something to look at in future if worth the effort.

#crysx #cwi
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
What a service that would be, if someone started selling smartphones doubling as Bitcoin Nodes.
Most people would complain it uses up their data Tongue

I like the idea, but connecting a phone to an external USB drive seems ridiculous. A 1 TB microsd card costs well over over €100.
I don't understand what's weird about that, people are using exactly the same thing on Raspberry Pi running Bitcoin nodes, with external hard drives or with SD cards.
People don't bring their Pi with them Wink
legendary
Activity: 2212
Merit: 7064
Cashback 15%
I said "mobile"...
With a phone you have a builtin 3g/4g/5g modem, that makes your node portable if you need.
I saw there is a way to run internet on mobile phones even with ethernet sables, so simple adapter cable would work just fine, and you would probably get better speed.
It wouldn't be portable anymore, but you could always switch between option and choose what you prefer more.
People usually don't move bitcoin nodes with them all the time, but I guess you could also do that in extreme cases if you have unlimited internet.

I like the idea, but connecting a phone to an external USB drive seems ridiculous. A 1 TB microsd card costs well over over €100.
I don't understand what's weird about that, people are using exactly the same thing on Raspberry Pi running Bitcoin nodes, with external hard drives or with SD cards.
You could also use larger USB stick (maybe with adapter) that is usually cheaper than SD card, but it's more expensive than hard drives.
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
The main problem I see with this is the cost: powerful phones with enough storage are still expensive. I do have a pile of old phones that I don't use, but those lack performance. Give it a few more years, and many people will have old phones powerful enough to run this. Throw in $20 for a 1 TB microsd card by then, and it's a very cheap way to run a low-power node. So give it time Smiley

What a service that would be, if someone started selling smartphones doubling as Bitcoin Nodes. In fact, 512GB storage capacity is pretty common on high-end phones. Just waiting for 1TB to be more common and the SSD should run it fine.

I wonder if this kind of stuff is even allowed on the App Stores. Basically, wrap the Bitcoin Core full daemon (not the GUI) into an ARM64 module, which you then call from your own bootstrapping code, and then your user interface is just a bunch of RPCs.

It would need to be optimized to spin up and down quickly (something Core is very bad at doing at the moment).
hero member
Activity: 1234
Merit: 789
I like the idea, but connecting a phone to an external USB drive seems ridiculous. A 1 TB microsd card costs well over over €100.
In my previous post I said that "You can buy it at uneconomical prices or wait for becoming cheaper."

Even 32 GB MicroSd cards cost over 100€ some years ago...
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
I like the idea, but connecting a phone to an external USB drive seems ridiculous. A 1 TB microsd card costs well over €100.

You are probably going to kill your phone faster with this setup.
I don't think so, keeping it wall mounted makes it much less likely to drop it (which is how most phones break).

after watching a YouTube video about Apple's ARM chips, they (and other recent ARM processors) will *probably* have the required CPU performance to run Bitcoin Core, but memory is still a question mark. Disk is obviously a no-no of course.
My current Android phone is 2 years old, and was high end. It has 8 GB RAM and I'm pretty sure both the storage and CPU are much faster than my old netbooks. Possibly also faster than my (aging) laptop.



The main problem I see with this is the cost: powerful phones with enough storage are still expensive. I do have a pile of old phones that I don't use, but those lack performance. Give it a few more years, and many people will have old phones powerful enough to run this. Throw in $20 for a 1 TB microsd card by then, and it's a very cheap way to run a low-power node. So give it time Smiley
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
Running a full Bitcoin node on your smartphone isn't something I would recommend, unless you have plans to replace your phone soon.
You do not have to use the phone you use everyday.
Just take that old phone you have in the drawer and give it a new life instead of throw it.

Maybe this will contradict my previous posts, but after watching a YouTube video about Apple's ARM chips, they (and other recent ARM processors) will *probably* have the required CPU performance to run Bitcoin Core, but memory is still a question mark. Disk is obviously a no-no of course.
hero member
Activity: 1064
Merit: 509
Leading Crypto Sports Betting & Casino Platform

Testing node on an old phone of mine I can't figure out a thing: why the phone is always cold! Shocked


Sounds weird, but it depends on the room temperature and the position of the phone; keeping the phone on hard substance like tables could help regulate the phone temperature. On the other hand, if the phone, with enough memory space, is used to run only bitcoin node the program may not drain the processing power, therefore, maintaining a cool temperature.

They've been some responses that opposes the idea of running a full node on Android OS, but giving it a try, from your responses, better reveals the importance of utilizing a phone for the task. 
hero member
Activity: 1234
Merit: 789
What about space taken and consumption requested by a netbook?

Looking at image shared by OP, space taken between used laptop/netbook and Android phone (including external storage, charging cable and converter cable) shouldn't be that different.
You can still use a MicroSD. You can buy it at uneconomical prices or wait for becoming cheaper.

What about mobile connectivity on Raspberry Pi? Do you have also to to buy a modem in addition to the battery?

That's good point, although if people buy Raspberry Pi, i expect most of them will use WiFi or ethernet cable.
I said "mobile"...
With a phone you have a builtin 3g/4g/5g modem, that makes your node portable if you need.
hero member
Activity: 1234
Merit: 789
Running a full Bitcoin node on your smartphone isn't something I would recommend, unless you have plans to replace your phone soon.
You do not have to use the phone you use everyday.
Just take that old phone you have in the drawer and give it a new life instead of throw it.

Quote
It would undoubtedly harm your phone because it needed you to plug it into electricity, which would cause it to heat up.
Testing node on an old phone of mine I can't figure out a thing: why the phone is always cold! Shocked

Quote
I suggest purchasing a Raspberry Pi or perhaps a decent laptop to power the node.
The previous meme was for rebut this.
member
Activity: 71
Merit: 21
Running a full Bitcoin node on your smartphone isn't something I would recommend, unless you have plans to replace your phone soon. It would undoubtedly harm your phone because it needed you to plug it into electricity, which would cause it to heat up. I suggest purchasing a Raspberry Pi or perhaps a decent laptop to power the node.
hero member
Activity: 1234
Merit: 789
You are probably going to kill your phone faster with this setup. There is absolutely no need for that. Does it look cool? It does if you are into that kind of thing. However there is a much easier setup you can do instead of using a phone. Get a used netbook and replace its hdd with a 1tb one and you are set. Use either win or linux it is up to you. Their batteries last long too. Or you can use a raspberry pi 3 and add an external battery pack.

What about space taken and consumption requested by a netbook? What about mobile connectivity on Raspberry Pi? Do you have also to to buy a modem in addition to the battery?
Phone is ubiquitous!



Besides, in future you could find affordable buying a 1 TB MicroSD and if you even use a SIM instead of wireless connection you can get a portable node!

legendary
Activity: 2212
Merit: 7064
Cashback 15%
If you dedicate an old Android phone as a node, battery dying or Core shutting down if you put the app in the background shouldn't be anything to worry about.
Can android phones work only with charger connected to wall if battery is dead?
If this can be done without issue than I agree you don't have to worry about battery at all, and this would probably be device that spends even less than raspberry Pi, in theory.
Even if battery dies they are cheap to replace and it would be good to have some modular phones like Fairphone, that have easy removable battery.

It's been quite a few years now that we have 4+ GB of RAM and appropriate computing power in Android phones; so there must be a ton of devices going to landfill or sitting in drawers for eternity, that could be used as nodes!
If China can use phones to create millions of bot accounts, than bitcoiners can use them for Bitcoin nodes Wink
hero member
Activity: 882
Merit: 5814
not your keys, not your coins!
And that is why I did not write weak chips, I wrote chips designed (intended) for energy-efficient use.
But the Raspberry Pi is designed for energy-efficient use, as well...

A Raspberry Pi can get more RAM sand USB ports attached and run Bitcoin Core perfectly well. However, most smartphones hardly have any storage space, so the energy-efficient chip is going to be under constant pressure from Core doing I/O activity to some USB port and also (unreliable) network activity.
Raspberry Pi doesn't have any internal storage space, either. If anything, the smartphone will perform better due to having the OS on internal flash memory, meanwhile the Raspberry Pi has to communicate with the microSD card for OS operations and the HDD for Bitcoin Core (as you won't be storing any blocks on the microSD card, just like you won't do that on the phone).
legendary
Activity: 3430
Merit: 10505
on running a phone Node which he recommended for a time like this when running a full node is like owning your own keys.
This whole premise is wrong. In order to have the custody of your own money (owning your own keys) running a full node is not the only option. There are SPV clients designed specifically to run on phones and need minimal disk and CPU specifications. Neither full nodes were designed to run on phones nor phones were designed to run such heavy applications that need a lot of IO and CPU power that runs 24/7.

Such projects are only cool for enthusiasts who want to create new stuff that may not be viable solutions.
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
Nonetheless; I don't share your statement that weak ARM chips shouldn't be used for Bitcoin Core. Some smartphones and single board computers may be too weak to run it, but if they are capable of running a node, I don't see a reason why not to. We know that weak ARM chips can power nodes, looking at Raspiblitz, Umbrel & similar, running on Pi 4's around the world. So it is possible.

And that is why I did not write weak chips, I wrote chips designed (intended) for energy-efficient use.

A Raspberry Pi can get more RAM sand USB ports attached and run Bitcoin Core perfectly well. However, most smartphones hardly have any storage space, so the energy-efficient chip is going to be under constant pressure from Core doing I/O activity to some USB port and also (unreliable) network activity.

Generally when you run Core on this kind of hardware, one of three things will happen:

- It might crash entirely due to lack of resources.
- If it has AC power, the application will be extremely slow (verification in particular)
- Additionally, if it normally runs on batteries, you will wear them out as well.
legendary
Activity: 1344
Merit: 6415
Farewell, Leo
If it's actually too slow, the only thing you lost was some time.
It can evolve into a much worse time waster over time, though. Running a Bitcoin node in a standard way, such as with a RPi by following reputable OSes (e.g., Raspibolt), is going to save you a lot of time, and you're going to do it in the right way. If you an issue emerges, you can address their Github repository. You can of course try to install such OS in the Android device, but an untested and non-reviewed manner is prone to failure.

And if we're talking about spending an extra $50, then I don't think it's worth it.
hero member
Activity: 882
Merit: 5814
not your keys, not your coins!
That does not imply that there are no performance chips for ARM though. I just haven't seen any on the market yet as everyone is focusing on low energy use. Except for AWS Graviton silicon, which you can't buy at retail of course so that's out.
I guess the new Apple M1 Max & similar chips have impressive performance (as well as low energy use).

Nonetheless; I don't share your statement that weak ARM chips shouldn't be used for Bitcoin Core. Some smartphones and single board computers may be too weak to run it, but if they are capable of running a node, I don't see a reason why not to. We know that weak ARM chips can power nodes, looking at Raspiblitz, Umbrel & similar, running on Pi 4's around the world. So it is possible.

Let's say you have an old phone with 6-8GB of RAM with dead battery, that has no value anymore and is not used anymore, at least try to run Bitcoin Core on it, before spending money on new hardware.
If it's actually too slow, the only thing you lost was some time.
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
Don't run a node on any System-on-Chip that is designed for power management over performance, not just smartphones. The ARM ports for Core means it can run on a host of embedded devices, but this is a terrible idea because Core's resource requirements are too demanding for embedded platforms to supply.

That does not imply that there are no performance chips for ARM though. I just haven't seen any on the market yet as everyone is focusing on low energy use. Except for AWS Graviton silicon, which you can't buy at retail of course so that's out.
Pages:
Jump to: