1 #!/bin/bash 2 adb shell chmod 755 /data/local/tmp/32/vts_shell_driver32 3 adb shell chmod 755 /data/local/tmp/64/vts_shell_driver64 4 adb shell killall vts_hal_driver32 > /dev/null 2&>1 5 adb shell killall vts_hal_driver64 > /dev/null 2&>1 6 adb shell killall vts_shell_driver32 > /dev/null 2&>1 7 adb shell killall vts_shell_driver64 > /dev/null 2&>1 8 adb shell rm -f /data/local/tmp/vts_driver_* 9 adb shell rm -f /data/local/tmp/vts_agent_callback* 10 adb shell LD_LIBRARY_PATH=/data/local/tmp/64 /data/local/tmp/64/vts_hal_agent64 /data/local/tmp/32/vts_hal_driver32 /data/local/tmp/64/vts_hal_driver64 /data/local/tmp/spec /data/local/tmp/32/vts_shell_driver32 /data/local/tmp/64/vts_shell_driver64 11 # to run using nohup 12 # adb shell LD_LIBRARY_PATH=/data/local/tmp nohup /data/local/tmp/vts_hal_agent 13 # /data/local/tmp/vts_hal_driver32 /data/local/tmp/vts_hal_driver64 /data/local/tmp/spec 14 # ASAN_OPTIONS=coverage=1 for ASAN 15