diff options
author | Amith Yamasani <yamasani@google.com> | 2011-12-09 15:22:39 -0800 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2011-12-09 15:22:39 -0800 |
commit | b066fcc0d8bad893e8045adf21485cf9ac5f4884 (patch) | |
tree | 36edcf624366b2fcb8eaf89f09975b1e40666ac3 /cmds/dumpstate | |
parent | 63b068040f5b8f561ae9d0b9b24bb405156d7029 (diff) | |
download | frameworks_base-b066fcc0d8bad893e8045adf21485cf9ac5f4884.zip frameworks_base-b066fcc0d8bad893e8045adf21485cf9ac5f4884.tar.gz frameworks_base-b066fcc0d8bad893e8045adf21485cf9ac5f4884.tar.bz2 |
Dump system and secure settings in bugreport.
Change-Id: I19b7bf83c160b1bd5ce79e64886a9a76b91217b3
Diffstat (limited to 'cmds/dumpstate')
-rw-r--r-- | cmds/dumpstate/dumpstate.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmds/dumpstate/dumpstate.c b/cmds/dumpstate/dumpstate.c index d5d65c1..aae25a1 100644 --- a/cmds/dumpstate/dumpstate.c +++ b/cmds/dumpstate/dumpstate.c @@ -92,6 +92,9 @@ static void dumpstate() { LOGI("wrote screenshot: %s\n", screenshot_path); } + run_command("SYSTEM SETTINGS", 20, "su", "root", "sqlite3", + "/data/data/com.android.providers.settings/databases/settings.db", + "pragma user_version; select * from system; select * from secure;", NULL); run_command("SYSTEM LOG", 20, "logcat", "-v", "threadtime", "-d", "*:v", NULL); /* show the traces we collected in main(), if that was done */ |