mirror of
https://github.com/tiann/KernelSU.git
synced 2025-02-20 11:43:32 +08:00
Merge 8a5c6d817b077fdc7d687f853a6a98a06f023152 into 6e3d5569601e89b3edff657a9c9eec016a0e581a
This commit is contained in:
commit
952bcf2f26
@ -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