My Passcode is not working

MMEX4Android: Manage your finances on-the-go, encrypted for security, sync via your own cloud

Moderator: Renato

Post Reply
fuzzysimba
New User
Posts: 1
Joined: Mon Dec 26, 2016 10:31 pm
Are you a spam bot?: No

My Passcode is not working

Post by fuzzysimba »

It asks me for my pas scode and I put in the pass code and it will not accept it. I know it is correct. I do not want to lose all my info. I am on a a Samsung S6.

Thanks

Dawn
User avatar
fitikoko
New User
Posts: 4
Joined: Mon Oct 12, 2015 10:15 am
Are you a spam bot?: No

Re: My Passcode is not working

Post by fitikoko »

The same problem on my Sony xperia xz. Can't access my database. I am sure my password is correct. It worked normally until today. Do you guys have any idea what went wrong? 
fleetwood
New User
Posts: 8
Joined: Thu Sep 17, 2015 7:52 am
Are you a spam bot?: No

Re: My Passcode is not working

Post by fleetwood »

Same problem here. Been just like this after my phone got Android Nougat. Same database works fine with other non-Nougat mobile devices.
User avatar
MisterY
Super User
Posts: 137
Joined: Sat Jan 24, 2015 8:11 pm
Are you a spam bot?: No

Re: My Passcode is not working

Post by MisterY »

The problem is that, in Android 7, Google removed some encryption algorithms which were used to encode the PIN.
There is a temporary solution in place for Android 7+.
However, what you need to do is:
- remove the pin on Android 6 or lower,
- set the pin again on Android 7.

Unfortunately, these two schemes are not compatible. Some sort of a better solution needs to be found. Any volunteers are welcome to implement this.
As usual, being an Open Source project, we accept pull request. In fact, this is the only way to get the features into the app as we do not have a regular development team for Android version.
User avatar
fitikoko
New User
Posts: 4
Joined: Mon Oct 12, 2015 10:15 am
Are you a spam bot?: No

Re: My Passcode is not working

Post by fitikoko »

MisterY wrote:The problem is that, in Android 7, Google removed some encryption algorithms which were used to encode the PIN.
There is a temporary solution in place for Android 7+.
However, what you need to do is:
- remove the pin on Android 6 or lower,
- set the pin again on Android 7.

Unfortunately, these two schemes are not compatible. Some sort of a better solution needs to be found. Any volunteers are welcome to implement this.
As usual, being an Open Source project, we accept pull request. In fact, this is the only way to get the features into the app as we do not have a regular development team for Android version.
corse63
New User
Posts: 13
Joined: Sat Feb 18, 2017 11:10 am
Are you a spam bot?: No

Re: My Passcode is not working

Post by corse63 »

Same problem since I switch to ANdroid 7. I applied the trick explained above, it works partially: I cannot have the data base protected and accessible from both Android 6 and 7
USB
New User
Posts: 1
Joined: Thu Mar 02, 2017 7:56 am
Are you a spam bot?: No

Re: My Passcode is not working

Post by USB »

Hi,

I am experiencing the same problem since I update my Sony xperia Z3+ to Android 7.0. The solution to open the database on a android v6 phone is not possible any more as I have no access to such a phone nor can a set this one up to sync with a cloud provider either as I can not get to the settings any more. Is there a solution in sight?
smjohns
New User
Posts: 7
Joined: Thu Jan 24, 2013 1:45 pm
Are you a spam bot?: No

Re: My Passcode is not working

Post by smjohns »

I have just noticed the same problem on my S7. I have just received the Nougat update and now I cannot open my Money file? Please can you advise how I can remove the passcode when I no longer have a phone running Marshmellow? I can still open the file on my Windows desktop but it insists on a passcode on my phone so assume the passcode must be written to the file somewhere? 
User avatar
GabrieleV
Developer
Posts: 158
Joined: Wed Apr 09, 2014 7:45 pm
Are you a spam bot?: No
Location: Italy

Re: My Passcode is not working

Post by GabrieleV »

If you can still open it in Windows, could you cleanup it from your transactions/accounts etc.. and send me a PM with it? I'll try to check if I can fix it at database level
User avatar
MisterY
Super User
Posts: 137
Joined: Sat Jan 24, 2015 8:11 pm
Are you a spam bot?: No

Re: My Passcode is not working

Post by MisterY »

smjohns wrote:I have just noticed the same problem on my S7. I have just received the Nougat update and now I cannot open my Money file? Please can you advise how I can remove the passcode when I no longer have a phone running Marshmellow? I can still open the file on my Windows desktop but it insists on a passcode on my phone so assume the passcode must be written to the file somewhere? 
Hope this helps others, as well. You should be able to open the database with any tool that works with SQLite databases.
On a PC, I would recommend DbBrowser for SQLite, and on Android there is aSQLite Manager.
Once the database is open, navigate to InfoTable. There is a record there that contains the encrypted passcode. You can delete this record and save changes. The database should open without a passcode in the app.
User avatar
GabrieleV
Developer
Posts: 158
Joined: Wed Apr 09, 2014 7:45 pm
Are you a spam bot?: No
Location: Italy

Re: My Passcode is not working

Post by GabrieleV »

Could you give me the exact report in infotable? I can provide a patch that can be applied with desktop 1.3 debugging feature
User avatar
MisterY
Super User
Posts: 137
Joined: Sat Jan 24, 2015 8:11 pm
Are you a spam bot?: No

Re: My Passcode is not working

Post by MisterY »

The key in InfoTable is "PASSCODEMOBILE".

Generally, I don't find the pass-code protection very useful but some people like it that way.
lcfabris
New User
Posts: 2
Joined: Fri Mar 10, 2017 8:54 pm
Are you a spam bot?: No

Re: My Passcode is not working

Post by lcfabris »

MisterY wrote:The key in InfoTable is "PASSCODEMOBILE".

Generally, I don't find the pass-code protection very useful but some people like it that way.
Thank you for the information. I was almost giving up using the app, which I've been using for several years now.
Problem solved!

Sorry for the bad english (google translate)
User avatar
MisterY
Super User
Posts: 137
Joined: Sat Jan 24, 2015 8:11 pm
Are you a spam bot?: No

Re: My Passcode is not working

Post by MisterY »

@Icfabris, I'm glad that you can use the app again without issues.
However, I'm not sure how best to tackle this problem for everyone else. There is no way to know whether the user really entered a wrong password or not. Also, if there are no encryption libraries, should we simply not use the PIN? This would make the whole feature pointless.

I guess that the migration would be to remove pin on an older version of Android and restore on a new one. That still seems the least painful option.
Cheers
airtay
New User
Posts: 3
Joined: Sun Dec 14, 2008 7:10 pm

Re: My Passcode is not working

Post by airtay »

Hello

I tried to open the sql database, never found the password
I deleted the password on my tablet (android 6.0.1), than save the database
 and when I want to open it from my Xperia Z5 Android 7.0, I  always  have the same issue, the app need a password although I deleted it !

I am close to go to an other app, although I wasusing this one for years (and like it)
Is somebody have an idea ?

Thanks in advance
Airtay
User avatar
MisterY
Super User
Posts: 137
Joined: Sat Jan 24, 2015 8:11 pm
Are you a spam bot?: No

Re: My Passcode is not working

Post by MisterY »

airtay wrote:Hello

I tried to open the sql database, never found the password
I deleted the password on my tablet (android 6.0.1), than save the database
 and when I want to open it from my Xperia Z5 Android 7.0, I  always  have the same issue, the app need a password although I deleted it !

I am close to go to an other app, although I wasusing this one for years (and like it)
Is somebody have an idea ?

Thanks in advance
Airtay
Hi. It seems like you're not getting your database onto the phone. You have to download the database to the phone using some other program. You can not rely on MMEX sync because it needs to open a database first and the database on the phone has the PIN that can not be decrypted.
airtay
New User
Posts: 3
Joined: Sun Dec 14, 2008 7:10 pm

Re: My Passcode is not working

Post by airtay »

Many thanks ! it works
So glad to keep mmex, I don't care about password, my phone and myu tablet are pin protected

Greetings :D
User avatar
MisterY
Super User
Posts: 137
Joined: Sat Jan 24, 2015 8:11 pm
Are you a spam bot?: No

Re: My Passcode is not working

Post by MisterY »

airtay wrote:Many thanks ! it works
So glad to keep mmex, I don't care about password, my phone and myu tablet are pin protected

Greetings :D
Glad to see that. This is exactly my argument - I see no point in encrypting the database or protecting it with a PIN if the device is already secured.
Everyone has their reasons, I guess.
kioler
New User
Posts: 1
Joined: Wed Jun 14, 2017 6:24 am
Are you a spam bot?: No

Re: My Passcode is not working

Post by kioler »

Maybe you need to try to clean your cache. Maybe that will help you
Hi!
BrenW
New User
Posts: 6
Joined: Mon Sep 10, 2018 9:17 pm
Are you a spam bot?: No

Re: My Passcode is not working

Post by BrenW »

MisterY wrote:The key in InfoTable is "PASSCODEMOBILE".

Generally, I don't find the pass-code protection very useful but some people like it that way.
This did not work for me, it is still asking for a passcode.
BrenW
New User
Posts: 6
Joined: Mon Sep 10, 2018 9:17 pm
Are you a spam bot?: No

Re: My Passcode is not working

Post by BrenW »

This did not work for me. Still asking for passcode.
BrenW
New User
Posts: 6
Joined: Mon Sep 10, 2018 9:17 pm
Are you a spam bot?: No

Re: My Passcode is not working

Post by BrenW »

MisterY wrote:
smjohns wrote:I have just noticed the same problem on my S7. I have just received the Nougat update and now I cannot open my Money file? Please can you advise how I can remove the passcode when I no longer have a phone running Marshmellow? I can still open the file on my Windows desktop but it insists on a passcode on my phone so assume the passcode must be written to the file somewhere? 
Hope this helps others, as well. You should be able to open the database with any tool that works with SQLite databases.
On a PC, I would recommend DbBrowser for SQLite, and on Android there is aSQLite Manager.
Once the database is open, navigate to InfoTable. There is a record there that contains the encrypted passcode. You can delete this record and save changes. The database should open without a passcode in the app.

this did not work for me. what else can be done?
Post Reply