Skip to content

Instantly share code, notes, and snippets.

@hoseinit
Created September 26, 2017 09:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hoseinit/0c203d1f99e81fde163f67e0c6fd0f0c to your computer and use it in GitHub Desktop.
Save hoseinit/0c203d1f99e81fde163f67e0c6fd0f0c to your computer and use it in GitHub Desktop.
view android sharedpreferences from SHELL
adb shell
run-as your.app.id
chmod 777 shared_prefs/your.app.id_preferences.xml
exit # return to default user
cp /data/data/your.app.id/shared_prefs/your.app.id_preferences.xml /sdcard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment