Last active
April 2, 2016 15:50
-
-
Save vaibhav-jani/f5dd9db1b12e34381d40 to your computer and use it in GitHub Desktop.
Pulling database from android device batch
This file contains hidden or 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
| #AndroidDev PATH | |
| export PATH=${PATH}:/home/vaibhav/Android/Sdk/tools | |
| export PATH=${PATH}:/home/vaibhav/Android/Sdk/tools-platform | |
| adb pull data/data/your.package/databases/your.db /home/vaibhav/Desktop/ | |
| /usr/bin/sqlitebrowser /home/vaibhav/Desktop/your.db | |
| adb pull data/data/your.package/shared_prefs/application_preferences.xml /home/vaibhav/Desktop/ | |
| gedit /home/vaibhav/Desktop/application_preferences.xml |
This file contains hidden or 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 pull data/data/your.package/databases/yourDb.sqlite C:\Users\Your.Name\Desktop | |
| adb pull data/data/your.package/shared_prefs/your_preference_file_name.xml C:\Users\Your.Name\Desktop | |
| pause | |
| start "" "C:/Program Files (x86)/SqliteBrowser3/bin/sqlitebrowser" C:\Users\Your.Name\Desktop\yourDb.sqlite |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment