File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
app/src/main/java/com/anatdx/icepatch/util Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ fun getBugreportFile(context: Context): File {
1717
1818 val dmesgFile = File (bugreportDir, " dmesg.txt" )
1919 val logcatFile = File (bugreportDir, " logcat.txt" )
20+ val defconfigFile = File (bugreportDir, " defconfig.gz" )
2021 val tombstonesFile = File (bugreportDir, " tombstones.tar.gz" )
2122 val dropboxFile = File (bugreportDir, " dropbox.tar.gz" )
2223 val pstoreFile = File (bugreportDir, " pstore.tar.gz" )
@@ -33,6 +34,7 @@ fun getBugreportFile(context: Context): File {
3334
3435 shell.newJob().add(" dmesg > ${dmesgFile.absolutePath} " ).exec()
3536 shell.newJob().add(" logcat -d > ${logcatFile.absolutePath} " ).exec()
37+ shell.newJob().add(" cp /proc/config.gz ${defconfigFile.absolutePath} 2>/dev/null || true" ).exec()
3638 shell.newJob().add(" tar -czf ${tombstonesFile.absolutePath} -C /data/tombstones ." ).exec()
3739 shell.newJob().add(" tar -czf ${dropboxFile.absolutePath} -C /data/system/dropbox ." ).exec()
3840 shell.newJob().add(" tar -czf ${pstoreFile.absolutePath} -C /sys/fs/pstore ." ).exec()
You can’t perform that action at this time.
0 commit comments