storage: dump UFS error history when capturing bugreport

Bug: 264001741
Test: capture bugreport
Change-Id: Ie910377c6378240188ff09b2a686efb02b2ac972
Signed-off-by: Randall Huang <huangrandall@google.com>
This commit is contained in:
Randall Huang 2023-10-13 17:06:46 +08:00
parent 59b961ceeb
commit c299df119e
5 changed files with 109 additions and 0 deletions

View file

@ -1,2 +1,3 @@
on property:ro.build.type=userdebug
write /dev/sys/block/bootdevice/pixel/enable_pixel_ufs_logging 1
chown system /dev/sg3