Created
August 4, 2016 04:21
-
-
Save tuanchauict/80b0c0dad8e300077297e716ba4594ec to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adb shell << 'END' | |
run-as <package_id> | |
chmod 777 shared_prefs/<prefs_file_name>.xml | |
exit | |
cp /data/data/<package_id>/shared_prefs/<prefs_file_name>.xml /sdcard/Download/prefs.xml | |
exit | |
END | |
adb pull /sdcard/Download/prefs.xml ./prefs.xml | |
adb shell << 'END' | |
rm /sdcard/Download/prefs.xml | |
exit | |
END | |
open prefs.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment