6

I have a fairly straightforward question that's still unanswered after googling for days for a definite answer, I hope you guys can help me out with this one here.

Background: I have Mycelium Bitcoin Wallet installed on my Android phone [ROOT], I have backed up my HD wallet which also contains Local Trader account, and have been successful in restoring said backup[s] (by means of un-installing app, wiping it's old data and re-installing / loading wallet from backup (Master seed)). I also have redundant backups of the app and it's data (I assume that includes the wallet file?) made with Titanium Backup.

Question: I however still do not know where Mycelium's wallet resides, is it on my SD extCard? SD Card? Data partition? Protected Storage? Is it just determined by the Master Seed and hence resides nowhere?

Final Note: I'm eagerly awaiting this piece of information to be at ease with my policies, knowing that I can manually backup/encrypt my wallet file (if there is one) is really important to me.

Thanks in advance!

2 Answers 2

8

For Mycelium, the actual file that contains the encrypted keys are in the sqlite3 file. You can see in the source code that though there is in-memory storage, it's used mostly for testing and that the main way in which Mycelium data is stored is in a sqlite3 file. Sqlite, if you aren't familiar, is a very simple relational database that contains the whole database in a single file.

You can see the actual relational database table layout in the source code.

To answer the question about exactly where the wallet is, mycelium does not have the installLocation attribute and therefore is only going to be stored in internal storage, or on the phone itself.

2
  • Thank you very much! Time to review that wallet handling code.
    – Dhuum
    Jan 29, 2015 at 15:11
  • 1
    Thanks again, your answer proved most useful. Yes I'm used to work with SQL frameworks. Will wait a bit before I mark your answer as best, see if anybody else has anything to add.
    – Dhuum
    Feb 2, 2015 at 13:59
-1

I was just looking for this very same information. My response is based on the current version of Mycelium (Sep 2016). This is what I found:

The backup is embedded in the 12 words Mycelium generates. So let's say you drop your phone in the ocean and get a new one. When you install the Mycelium app and restore the wallet, Mycelium will regenerate the wallet from those 12 words. Nothing is stored outside of the phone or on a server.

1
  • Does not answer the question -- this is about the actual wallet file. Sep 23, 2017 at 3:32

Your Answer

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

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