0

Is it possible to manually change the contents of the databases an app uses to store all it's formation.

0

2 Answers 2

1

yes of course, so long as you have access to that database.

if we are talking about mobile phone apps, then most will have an embedded SQLite database or equivalent. These typically are "stand alone" databases that don't have user authentication to access, you simply need access to the file ("someapp.db", or "someapp.sqlite", etc) and the proper utility installed to read it (SQLite version 3 for example).

on linux you would do something like

sudo yum install sqlite -y

sqlite3 someapp.db

and it will open the database and you can issue all your SQL commands from there.

Keep in mind some apps go through lengths to "hide" or otherwise make their database impossible for average-joe to access and get into.

EDIT: also, on Android specifically there is an App in the market (paid, like $3 i think) called "SQLite Editor" that allows you to browse all found sqlite databases on the phone and edit them if desired.

3
  • In reference to the app on the Play store, called SQLite Editor this requires root.
    – t0mm13b
    Mar 12, 2013 at 20:34
  • For someone attempting things they shouldn't be, where are the db files generally located?
    – pspahn
    Jun 14, 2016 at 20:46
  • @pspahn They're in each app's own folder. To find all databases with .db extension (assuming they all have it) you can type: find / -name "*.db" You should be root for this to work. Can also do > yourfile at the end of that command to output to the file instead of screen.
    – Emil
    Sep 10, 2017 at 7:17
0

You will also need root access. Without root you won't be able to get into the apps' database folders.

If you download the Adroid SDK you can connect your phone/tablet via usb and run sqlite via the adb shell.

You must log in to answer this question.