让adb 命令 在xshell带上文件输出
OUT~/device_diag/out_(datemkdir−p"(date %Y%m%d_%H%M%S)
mkdir -p "(datemkdir−p"OUT"
adb devices -l > “KaTeX parse error: Expected EOF, got & at position 27: …devices.txt" 2>&̲1
adb shell get…OUT/02_bootreason.txt…
2026/7/24 6:20:17