#!/usr/bin/env bash PACKAGE_NAME=com.your.package DB_NAME=data.db rm -rf ${DB_NAME} adb shell "run-as ${PACKAGE_NAME} chmod 666 /data/data/${PACKAGE_NAME}/databases/${DB_NAME}" adb pull /data/data/${PACKAGE_NAME}/databases/${DB_NAME} /tmp/ adb shell "run-as ${PACKAGE_NAME} chmod 600 /data/data/${PACKAGE_NAME}/databases/${DB_NAME}" sqlite3 /tmp/${DB_NAME
[Android Tips] 10. Pull out /data/data/${package_name} files without root access