Passcode issue after Android update

MMEX4Android, Google Play, and F-Droid

Moderator: Renato

frankieorabona
Super User
Posts: 79
Joined: Sat Mar 21, 2015 9:15 am
Are you a spam bot?: No
Location: Italia

Passcode issue after Android update

Post by frankieorabona »

This morning I updated the MMEX app on Android via Play Store, and upon reopening, it is asking for a Passcode. The problem is that I have never set any Passcode, and I cannot access the app in any way.

I tried entering default codes like 00000 or 12345, but they don’t work. I also cleared the app cache, but without success.

I tried uninstalling and reinstalling the app, and after being asked for a (optional) database password, it once again asks for this Passcode. It has always been composed of 5 digits, but I have no idea what it refers to or how to retrieve it.

I was trying to check if synchronization with Google Chrome works, as I have already abandoned Android due to synchronization issues. I was hoping this new version would help, but now I can't even access the app.

Frankly, the Android version of MMEX seems to do everything possible to discourage me from using it. Has anyone encountered the same issue or knows how to fix it?

Thanks in advance.
frankieorabona
Super User
Posts: 79
Joined: Sat Mar 21, 2015 9:15 am
Are you a spam bot?: No
Location: Italia

Re: Passcode issue after Android update

Post by frankieorabona »

If the Passcode depends on the database, how can I recover or change it?

I don’t recall ever setting a Passcode in the past, and until recently, the Android app never asked for one. Additionally, my database is not encrypted, and it opens normally on PC without requesting any password.

I checked my .mmb database using an SQLite editor, but I couldn’t find any clear reference to a Passcode in the INFOTABLE_V1 table.

So:

Where is the Passcode stored within the database?
How can I modify or remove it manually?
Why is the Android app asking for it now when it didn’t before?
Has anyone else experienced this issue and found a solution?


Additional Issue: Stuck on the Passcode Screen
Even if I wanted to open another database, I am completely stuck on this Passcode screen.
Closing and reopening the app does not allow me to select another database.
The only way to try another database is to uninstall and reinstall MMEX, which is very inconvenient.
You do not have the required permissions to view the files attached to this post.
wolfsolver
Super User
Posts: 50
Joined: Mon Mar 28, 2022 6:38 pm
Are you a spam bot?: No

Re: Passcode issue after Android update

Post by wolfsolver »

wolfsolver
Super User
Posts: 50
Joined: Mon Mar 28, 2022 6:38 pm
Are you a spam bot?: No

Re: Passcode issue after Android update

Post by wolfsolver »

App version is 5.1.2?
frankieorabona
Super User
Posts: 79
Joined: Sat Mar 21, 2015 9:15 am
Are you a spam bot?: No
Location: Italia

Re: Passcode issue after Android update

Post by frankieorabona »

I cannot verify as mentioned I am stuck on the screen. However the one currently on the playstore

EDIT:
Extra Information: Database Access by Another User
A few days ago, I sent my .mmb file to @Renato , and he was able to open it without being asked for any Passcode.

If a Passcode was set in the database, he should have been asked to enter it as well.
This suggests that the Passcode is not stored in the database itself or that the PC version of MMEX does not enforce it.
This could mean that the issue is specific to the latest Android version of MMEX, which might be incorrectly enforcing a Passcode that was previously ignored.

Could It Be Related to My Phone’s Lock Code?
If MMEX is asking for my phone’s unlock code, this also seems incorrect.

On my device, I have set up a pattern unlock, not a PIN.
Even when I tried setting a PIN instead of a pattern, the issue did not change—MMEX still asks for a 5-digit Passcode that I never set.
wolfsolver
Super User
Posts: 50
Joined: Mon Mar 28, 2022 6:38 pm
Are you a spam bot?: No

Re: Passcode issue after Android update

Post by wolfsolver »

Did you use mmb or emb file?
I have no issue on 5.1.2 with mmb file. No passcode, no finger print.
frankieorabona
Super User
Posts: 79
Joined: Sat Mar 21, 2015 9:15 am
Are you a spam bot?: No
Location: Italia

Re: Passcode issue after Android update

Post by frankieorabona »

I am using an .mmb file. The issue occurs on the latest Android version of MMEX.
On PC, the file opens normally without asking for any Passcode.
However, on Android, I am stuck on the Passcode screen and cannot open my database.
Even if I uninstall and reinstall MMEX, the problem persists.
frankieorabona
Super User
Posts: 79
Joined: Sat Mar 21, 2015 9:15 am
Are you a spam bot?: No
Location: Italia

Re: Passcode issue after Android update

Post by frankieorabona »

Update: Issue Confirmed on Specific Database

I have confirmed that the problem is specific to my old database file.

- I created a new .mmb database on PC, saved it to Google Drive, then uninstalled and reinstalled MMEX on Android.
- When I opened the new .mmb database on Android, it worked perfectly—no Passcode was requested.
- However, as soon as I try to open my old .mmb database, MMEX asks for an "optional password" (which should only apply to .emb files).
- I leave the password field blank and press OK, but then I am immediately redirected to the Passcode screen, and I cannot do anything from there.
- Closing and reopening the app just brings me back to the Passcode screen, completely locking me out.
- The only way to regain access to MMEX is to uninstall and reinstall the app, but as soon as I try to open my old database, the problem happens again.

Key Findings:
- My old .mmb file opens fine on PC without asking for a Passcode.
- Posssible that MMEX incorrectly treats my old .mmb file like an .emb file?
- This issue started only after the latest update—before that, I could open the same database on Android with no problems.
- Newly created .mmb databases work fine on Android, but my old database is now inaccessible (on android app)
wolfsolver
Super User
Posts: 50
Joined: Mon Mar 28, 2022 6:38 pm
Are you a spam bot?: No

Re: Passcode issue after Android update

Post by wolfsolver »

for reference.

MobilePasscode is stored at DB Level in table InfoKey_V1. After taking a while with @frankieorabona (thanks for patient and cooperation) we see that passcode was setted with fingerprint.
frankieorabona
Super User
Posts: 79
Joined: Sat Mar 21, 2015 9:15 am
Are you a spam bot?: No
Location: Italia

Re: Passcode issue after Android update

Post by frankieorabona »

First of all, I want to say a big thank you to WolfSolver for pointing me in the right direction to solve this issue!

Solution:
The Passcode was actually stored inside the database itself. Here's how I fixed it:

1. I downloaded DB Browser for SQLite (Download here).
2. Opened my .mmb database using the software.
3. Once loaded, I selected the table INFOTABLE_V1.
4. I applied a filter to search for the entry named "Passcode".
5. After identifying the correct entry, I deleted the row.
6. I saved the changes and closed the database.
7. After this, everything started working again! 🎉

So, if anyone else encounters the same issue, this is the way to remove the Passcode manually.

Thanks again to WolfSolver and everyone who helped! 😊
KenK
Senior User
Posts: 20
Joined: Wed Aug 30, 2017 12:42 pm
Are you a spam bot?: No

Re: Passcode issue after Android update

Post by KenK »

I had this, and reached the same solution (thanks to a post on here from 2016!). One other thing: even after deleting the row, ammex was still starting straight to asking for a passcode, without downloading the changed database from OneDrive. I deleted the local-copy database from the phone, then it worked again.