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

SD Maid does not find databases that do not end in .db #182

Closed
d4rken opened this Issue Oct 15, 2014 · 2 comments

Comments

1 participant
@d4rken
Owner

d4rken commented Oct 15, 2014

Originally reported by: Bitbucket: h4ku, GitHub: h4ku


Apps that have databases in the /data/data//databases/ dir but do not have any file extension, e.g. '/data/data/com.example.app/databases/things', or have a different extension such as '.sqlite', are not found by the database cleaner.
When subclassing SQLiteOpenHelper the JavaDoc just says "name of the database file".
So I did a quick survey of apps on my phone, here is a sample of the many that do not end in .db:

#!

/data/data/ ...
./bbc.iplayer.android/databases/beacon.sqlite
./bbc.iplayer.android/databases/pickupaprogramme
./com.android.inputmethod.latin/databases/pendingUpdates
./com.android.inputmethod.latin/databases/pendingUpdates.com.google.android.inputmethod.latin
./com.android.settings/databases/su.sqlite
./com.android.settings/databases/superuser.sqlite
./com.google.android.gms/databases/auth.proximity.permit_store
./com.google.android.gms/databases/com.google.android.gms.ads.db/localstorage/http_googleads.g.doubleclick.net_0.localstorage
./com.google.android.gms/databases/com.google.android.gms.ads.db/localstorage/https_googleads.g.doubleclick.net_0.localstorage
./com.keramidas.TitaniumBackup/databases/custom
./com.keramidas.TitaniumBackup/databases/filters
./com.keramidas.TitaniumBackup/databases/schedules
./com.keramidas.TitaniumBackup/databases/sysinfo
./com.seazon.feedme/databases/FeedMeDB
./org.connectbot/databases/hosts
./org.connectbot/databases/pubkeys
./org.fdroid.fdroid/databases/fdroid

Looks like developers are not very consistent, not that SQLite has ever had a clear file extension, e.g. https://stackoverflow.com/questions/808499/sqlite-extension-name .


@d4rken

This comment has been minimized.

Owner

d4rken commented Oct 15, 2014

Original comment by Bitbucket: d4rken, GitHub: d4rken:


Valid issue :)

@d4rken d4rken added enhancement and removed bug labels Jan 26, 2016

@d4rken

This comment has been minimized.

Owner

d4rken commented Mar 4, 2016

Next update.

@d4rken d4rken closed this Mar 4, 2016

@d4rken d4rken referenced this issue Mar 6, 2016

Closed

Databases #319

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment