Reputation: 893
I was trying to copy an existing database into the system database path, but i'm not sure the operation was succesful so i want to list databases of my tablet, i think they are stored in the directory /data/data/ i tried :
C:\>adb shell find /data -name *.db
But it gives me:
/system/bin/sh: find: not found
Also tried this:
C:\>adb -s c16076b0a607e5f shell find/data -name*.db
And still the same result.
I looked on here for similare cases but found nothing.
Upvotes: 1
Views: 2186
Reputation: 14472
Unfortunately, there is no such thing as "system database path". Databases are stored, by default, in /data/data/name_of_package/databases. Even then, there is no restriction on the DB name - I could call it fred.flintstone if I wanted. So, you will need to recursively search each databases subfolder and list their contents. Even then, you will not see DBs stored in external storage, but, if you just want to see where yours is, then the recursive search will do.
Alternatively, if your phone is rooted, install Root Explorer and take a look!
Out of curiosity, given that there is no database path, where exactly did you copy your DB?
Upvotes: 2