lin
2025-07-30 fcd736bf35fd93b563e9bbf594f2aa7b62028cc9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
 
set -ex
 
if [[ "$@" != *"--no-reboot"* ]]; then
    adb reboot recovery
    echo "Waiting for device to boot into recovery..."
    adb wait-for-recovery
fi
adb root
adb wait-for-recovery
 
# There is no /data in recovery unless mounted.
# Push test to /system directory in the recovery ramdisk
adb push ${ANDROID_PRODUCT_OUT}/data/nativetest64/vintf_object_recovery_test/vintf_object_recovery_test \
       /system/bin/vintf_object_recovery_test
 
adb shell /system/bin/vintf_object_recovery_test