Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b066fcc0 authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Dump system and secure settings in bugreport.

Change-Id: I19b7bf83c160b1bd5ce79e64886a9a76b91217b3
parent 63b06804
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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 */