move modem dump to gs-common

Bug: 250475732
Test: adb bugreport
Change-Id: Id6dc2ef02d5e32b71de1b618e5588c202a2b6243
This commit is contained in:
Adam Shih 2022-10-05 10:30:48 +08:00
parent cf7266088f
commit e301fa20c6
5 changed files with 41 additions and 0 deletions

17
modem/dump_modem.sh Normal file
View file

@ -0,0 +1,17 @@
#!/vendor/bin/sh
echo "------ Modem Stat ------"
cat /data/vendor/modem_stat/debug.txt
echo "\n------ Modem SSR history ------"
for f in $(ls /data/vendor/ssrdump/crashinfo_modem*); do
echo $f
cat $f
done
echo "\n------ RFSD error log ------"
for f in $(ls /data/vendor/log/rfsd/rfslog_*); do
echo $f
cat $f
done