fs_mgr: harden adb-remount-test.sh
Harden adb-remount-test.sh script. Add --no-color and --color options. Allows --serial to be passed in. Add a recovery handler that restores the device to verity enabled if possible. List the partitions sizes as they may be relevant to triaging errors. Allow for devices that have a mixed set of remounts, some direct, some with overlayfs. Allow two scripts to run at the same time on a host machine targetting different devices. Detect if wrong adb is used for adb reboot-fastboot. Add a build target for adb-remount-test.sh so that the script is landed into the host tools bin for easy pickup. Test: adb-remount-test.sh Bug: 123079041 Change-Id: I6369a245a656419067ec4350a4dbdf78c9b0533e
Loading
Please register or sign in to comment