Tag Archives: SQLite

Android Protip: Copy a SQLite database

Disclaimer: NO Root access required

Sometimes you need to export your app’s SQLite database to your computer for further analysis. Seeing that there isn’t a ‘cp’ command, this is how you’d go about doing it:

adb shell ‘run-as cat /data/data/ > /sdcard/mydb.sql’

Leave a comment

Posted by on August 14, 2013 in Android


Tags: , ,