r/Monerujo • • Jan 03 '20

2k Bounty on github? ))

Greetings,

To summary a little - I'm willing to pay someone 2,000$ to get back to Monerujo (android) not the desktop wallet. I have both password for wallet - main main.address.txt main.keys. My android was running rooted custom rom, and i had monero there with quite a big amount.. and of course havent made a backkup of seed.. However my ROM just stopped loading up, and it just started looping and android os never loaded up. It's Lineage OS + microg on OnePlus 6t.

So, i was not able to boot up GUI for the phone, but i did not have a problem to fastboot twrp, do full backup and get the monero wallet files too..

Much surprisingly Android Monerujo wallet has something called CrAzYpass (Yup, Correct) spelling... There is even white paper on it and write up.

https://www.monerujo.io/recources/crazy_secure_passphrase.pdf

https://medium.com/@anhdres/how-monerujos-crazypass-crazy-secure-password-scheme-works-dc4f99a99ff0

Crazy Secure Protection for Android Monero Wallets - crazy_secure_passphrase.pdf - thhis is white paper should be found easly in medium along with article explaining it.

I still have same phone, hoewever did refresh to fresh lineage os, but can always restore old "non working" version if neeeded.

Basically - I'm looking for someone to either help me to make this work, by either setting up somehow the phone back to work with the wallet, or just "decrypt" the other password from my password NEED READ DOCS ABOVE.

Here is my thread on github maybe with more details, and on Monerujo reddit

https://github.com/m2049r/xmrwallet/issues/651

RTFM I guess.

82 Upvotes

11 comments sorted by

1

u/ninjabz Jan 03 '20

Cleaned the post little bit, made it more easier to read.

1

u/[deleted] Jan 03 '20

so basically you are trying to decrypt the password/keys files to regain access to your wallet?

If monerujo creates a wallet.dat (or wallet.txt) and wallet.keys file you can copy-paste those file to any desktop and use official GUI to open the wallet file with your password. If monerujo makes proprietary wallet file within app you are most likely SOL unless you can decrypt sha256 and then that would not be good.

2

u/ninjabz Jan 03 '20

If i'm correct something along those lines - monerujo has a funny function called CrAzYpass.

Basically it encrypts your regular pass you would use with this wallet on getmonero original wallet.

It somehow gets encrypted with android keydrive mechanism, so it's locked to that specific device.

https://monerujo.io/recources/crazy_secure_passphrase.pdf
https://medium.com/@anhdres/how-monerujos-crazypass-crazy-secure-password-scheme-works-dc4f99a99ff0

More about this CraAzypass )

1

u/s-m-e-e-again Jan 03 '20 edited Jan 03 '20

How bad is that phone? Maybe it's easier to repair that if you find someone skilled enough?

1

u/ninjabz Jan 03 '20 edited Jan 03 '20

Hardware wise it's complete nothing wrong with it. Just ROM is messed up, wouldnt boot up. I'm using custom degoogle rom, etc.

I already refreshed the phone back to lineage os default, and was able to boot it...and tried using those files.

However still got TWRP backup filesystem copies for all old files, can always restore them back if need.

1

u/s-m-e-e-again Jan 06 '20

I'm assuming you have already tried looking for help in XDA and LOS forums?

2

u/s-m-e-e-again Jan 03 '20

Monerujo does encrypt these files with a crazypass. The files can be decrypted localy with just the user's password but once moved the entire crazypass is needed.

1

u/rbrunner7 Jan 03 '20

It might depend on the phone model. I read in this Android dev article about the keystore that on some (presumably) newer models the RSA keys necessary to transform your password into the Crazypass are not stored just in normal files somewhere in the file system, but in a special memory inside some TPM, where you probably won't get them out.

1

u/ninjabz Jan 03 '20

Yeah. I'm not much of the developer, or even android developer... and for my brain simply does't work how would i not be able to access the wallet if i still have same phone, and same files....

However I did flashed phone after doing backup to lineage os, but i can always flash it back to previous broken state.

1

u/rbrunner7 Jan 03 '20

Well, a TPM as explained e.g. in Wikipedia here is an independent component of some computers and smartphones. It has its own memory, that you can't read out just like that, therefore can't back up and not flash back either. If the RSA key used by Monerujo is in there, as far as I understand the whole mechanism, your only chance would be to get that particular phone running again.

But maybe you are lucky, your phone does not have a TPM, and the RSA key is to be found in some file within the file system. Then it might be possible to transfer the file to some other phone that also does not have a TPM and make Monerujo accept the key.

1

u/0x64786d Feb 10 '20

If you have the password can you not extract the monerujo wallet files from your backup, in /sdcard/monerujo/, import it to the app and type in the password to unlock it? Or is that not how this works?