Skip to content

Instantly share code, notes, and snippets.

View xcodian's full-sized avatar
🔧
computering the computer

Martin Velikov xcodian

🔧
computering the computer
  • UNSW Sydney
  • Australia
  • 00:17 (UTC +10:00)
  • LinkedIn in/velikovm
View GitHub Profile
@jevakallio
jevakallio / readme.md
Last active May 20, 2024 19:44
`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.