Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there anyway to recover a forgotten PIN # on my personal Android phone?? #38

Closed
guitarfax opened this issue Jan 2, 2014 · 15 comments
Labels

Comments

@guitarfax
Copy link

No description provided.

@janmoller
Copy link

The only way to do this is by rooting your phone (without erasing it, not all devices support this), and browse through the file system and locate the PIN setting in the Mycelium app private data.
Alternatively you can restore your Mycelium backup on a different device. You should always have a backup.

@guitarfax
Copy link
Author

Hi Jan
I have been successful in doing a complete backup of my Samsung Galaxy 3 to my computer through a program called MobileGo.
In the list there is a folder named (com.mycelium.wallet.apk) it size is 2.13MB how would I open this folder down to files to look for the pin#?

Bob

----- Original Message -----
From: "Jan Moller" notifications@github.com
To: "mycelium-com/wallet" wallet@noreply.github.com
Cc: "guitarfax" soundsignal@comcast.net
Sent: Tuesday, January 28, 2014 9:15:56 AM
Subject: Re: [wallet] Is there anyway to recover a forgotten PIN # on my personal Android phone?? (#38)

The only way to do this is by rooting your phone (without erasing it, not all devices support this), and browse through the file system and locate the PIN setting in the Mycelium app private data.
Alternatively you can restore your Mycelium backup on a different device. You should always have a backup.


Reply to this email directly or view it on GitHub .

@guitarfax
Copy link
Author

Actually it is a file with the extension .APK

----- Original Message -----
From: "Jan Moller" notifications@github.com
To: "mycelium-com/wallet" wallet@noreply.github.com
Cc: "guitarfax" soundsignal@comcast.net
Sent: Tuesday, January 28, 2014 9:15:56 AM
Subject: Re: [wallet] Is there anyway to recover a forgotten PIN # on my personal Android phone?? (#38)

The only way to do this is by rooting your phone (without erasing it, not all devices support this), and browse through the file system and locate the PIN setting in the Mycelium app private data.
Alternatively you can restore your Mycelium backup on a different device. You should always have a backup.


Reply to this email directly or view it on GitHub .

@apetersson
Copy link
Contributor

after you have rooted the phone you can access the pin at
/data/data/com.mycelium.wallet/shared_prefs/settings.xml

inside is a "PIN" entry in the xml file.
the apk has nothing to do with it. this apk is just the program that is distributed.

@guitarfax
Copy link
Author

Ok
Thank you

----- Original Message -----
From: "Andreas Petersson" notifications@github.com
To: "mycelium-com/wallet" wallet@noreply.github.com
Cc: "guitarfax" soundsignal@comcast.net
Sent: Friday, January 31, 2014 10:35:06 AM
Subject: Re: [wallet] Is there anyway to recover a forgotten PIN # on my personal Android phone?? (#38)

after you have rooted the phone you can access the pin at
/data/data/com.mycelium.wallet/shared_prefs/settings.xml

inside is a "PIN" entry in the xml file.
the apk has nothing to do with it. this apk is just the program that is distributed.


Reply to this email directly or view it on GitHub .

@jfkirkley
Copy link

On a stock (non-rooted) android 4.4.2, do you know if running adb backup (or any other backup utility) will make a backup of all the wallet files under /data/data/com.mycelium.wallet ?

If I root my phone to find my PIN on my Nexux 4 it will erase everything, so I will need a backup that I can restore after rooting.

@apetersson
Copy link
Contributor

No, mycelium is exempt from backup.

@jfkirkley
Copy link

OK, great, thank you.

I also responded on reddit: http://www.reddit.com/r/nexus4/comments/21pfp7/on_a_stock_nonrooted_nexus_4_running_442_can_i/

@2pac1
Copy link

2pac1 commented Feb 19, 2021

For future references, what one could try is:

Get the second phone, same as this one to test it on first multiple times if needed.
Once you are confident with backup phone, then move to real device.

  1. unlock the bootloader, being careful not to lose any data
  2. install TWRP
  3. boot into TWRP and then go to >> TERMINAL
  4. Navigate to: /data/data/com.mycelium.wallet/shared_prefs/
    (cd /data/data/com.mycelium.wallet/shared_prefs/)
  5. Then do the: cat settings.xml
    (that should list the contents of the file and you should find the PIN saved within the text as a clear text).

This has been tested and verified on:
Phone: Nexus 5 (not rooted)
Android OS: 6.0.1
Bootloader: unlocked (in order to install TWRP)
TWRP: installed, 3.3.1-0

@Zab0x
Copy link

Zab0x commented Mar 9, 2021

For future references, what one could try is:

Get the second phone, same as this one to test it on first multiple times if needed.
Once you are confident with backup phone, then move to real device.

  1. unlock the bootloader, being careful not to lose any data
  2. install TWRP
  3. boot into TWRP and then go to >> TERMINAL
  4. Navigate to: /data/data/com.mycelium.wallet/shared_prefs/
    (cd /data/data/com.mycelium.wallet/shared_prefs/)
  5. Then do the: cat settings.xml
    (that should list the contents of the file and you should find the PIN saved within the text as a clear text).

This has been tested and verified on:
Phone: Nexus 5 (not rooted)
Android OS: 6.0.1
Bootloader: unlocked (in order to install TWRP)
TWRP: installed, 3.3.1-0

Hi 2pac1, i have forgotten my Pin and i'm not really tech savy so it would be very helpfull if you could help me.

I use a Samsung S10 Note

Is it possible to extract it from there?

I'm very thankfull for any help cause i'm not able to do it myself 🙄🙏🏻

@Giszmo
Copy link
Contributor

Giszmo commented Mar 9, 2021

WARNING!!!

The above methods are not recommended by Mycelium and we do not vet them in any way. You might lose your coins to a scammer. You might destroy your phone. Be careful!

The PIN protection is a feature and we do not endorse any way of circumvention but can't rule out that experts would be able to reset the PIN in any way.

@2pac1
Copy link

2pac1 commented Mar 9, 2021 via email

@code-vagabond
Copy link

code-vagabond commented Nov 16, 2021

I used a version of Mycelium which still allows for unlimited retries when inputting the PIN (prior to 2.8.4), yours might be as well.

I'm currently cracking my PIN by connecting my old phone to a computer, stream the screen and wrote some script to try out all 1000 000 possible combinations. The advantage is that this method is less invasive then the others so if this one fail you can still try out the others.

I might be able to help, just ping me a line on Twitter (https://twitter.com/codevagabond)

@Giszmo
Copy link
Contributor

Giszmo commented Nov 17, 2021

Android does not allow to down-grade the app to an older version. To install an old version, you either have to delete the app with its data or you need access that would allow to extract the key or delete the pin trivially anyway.

@code-vagabond
Copy link

Android does not allow to down-grade the app to an older version. To install an old version, you either have to delete the app with its data or you need access that would allow to extract the key or delete the pin trivially anyway.

Yes I was referring to people who still have the older version on their phone. The brute-force worked for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants