manager: Use global mount namespace to gather logs
This commit is contained in:
@@ -34,7 +34,7 @@ fun getBugreportFile(context: Context): File {
|
|||||||
val bootConfig = File(bugreportDir, "boot_config.txt")
|
val bootConfig = File(bugreportDir, "boot_config.txt")
|
||||||
val kernelConfig = File(bugreportDir, "defconfig.gz")
|
val kernelConfig = File(bugreportDir, "defconfig.gz")
|
||||||
|
|
||||||
val shell = getRootShell()
|
val shell = getRootShell(true)
|
||||||
|
|
||||||
shell.newJob().add("dmesg > ${dmesgFile.absolutePath}").exec()
|
shell.newJob().add("dmesg > ${dmesgFile.absolutePath}").exec()
|
||||||
shell.newJob().add("logcat -d > ${logcatFile.absolutePath}").exec()
|
shell.newJob().add("logcat -d > ${logcatFile.absolutePath}").exec()
|
||||||
|
|||||||
Reference in New Issue
Block a user