Skip to content

Instantly share code, notes, and snippets.

@jevakallio
jevakallio / readme.md
Last active April 8, 2025 09:33
`adb pull` from app data directory without root access

TL;DR;

com.package.name is your app identifier, and the file path is relative to the app user's home directory, e.g. '/data/user/0/com.package.name.

adb shell run-as com.package.name cp relative/path/file.ext /sdcard
adb pull /sdcard/file.ext

See long explanation below.