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

can't open database msgstore.db #7

Open
diqidevdroid1 opened this issue Dec 22, 2017 · 1 comment
Open

can't open database msgstore.db #7

diqidevdroid1 opened this issue Dec 22, 2017 · 1 comment

Comments

@diqidevdroid1
Copy link

hi, i've tried on android 7 rooted device and got problem can not open database with following message (logcat) :
on script --> Shell.SU.run("chmod 777 /data/data/com.whatsapp/databases/msgstore.db")

Failed to open database '/data/data/com.whatsapp/databases/msgstore.db'
Error Code : 1806 (SQLITE_CANTOPEN_EACCES)
Caused By : Application has no permission to open the specified database file.
(unknown error (code 1806): Could not open database)

but, previously tried on android version 4.4 down can work.
Whether this is related to security mode in android related enforcing and permissive ?, is there a solution to this ?.

thanks..

@diqidevdroid1
Copy link
Author

sorry to add, from the above issue, more precisely the problem on the line:
db = SQLiteDatabase.openOrCreateDatabase (new File ("/ data / data / com.whatsapp / databases / msgstore.db"), null);

thanks..

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

No branches or pull requests

1 participant