mirror of
https://github.com/tiann/KernelSU.git
synced 2025-02-20 11:43:32 +08:00
Compare commits
2 Commits
952bcf2f26
...
7fc9b6b417
Author | SHA1 | Date | |
---|---|---|---|
|
7fc9b6b417 | ||
|
8a5c6d817b |
@ -55,7 +55,8 @@ fun getBugreportFile(context: Context): File {
|
||||
shell.newJob().add("ls -alRZ /data/adb > ${adbFileDetails.absolutePath}").exec()
|
||||
shell.newJob().add("du -sh /data/adb/ksu/* > ${ksuFileSize.absolutePath}").exec()
|
||||
shell.newJob().add("cp /data/system/packages.list ${appListFile.absolutePath}").exec()
|
||||
shell.newJob().add("getprop > ${propFile.absolutePath}").exec()
|
||||
// set restricted context to filter privacy props
|
||||
shell.newJob().add("echo -n u:r:untrusted_app:s0 > /proc/thread-self/attr/current; getprop > ${propFile.absolutePath}").exec()
|
||||
shell.newJob().add("cp /data/adb/ksu/.allowlist ${allowListFile.absolutePath}").exec()
|
||||
shell.newJob().add("cp /proc/modules ${procModules.absolutePath}").exec()
|
||||
shell.newJob().add("cp /proc/bootconfig ${bootConfig.absolutePath}").exec()
|
||||
@ -108,4 +109,3 @@ fun getBugreportFile(context: Context): File {
|
||||
|
||||
return targetFile
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user