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