1#!/system/bin/sh 2 3# Preload the native portion libhidcommand_jni.so to bypass the dependency 4# checks in the Java classloader, which prohibit dependencies that aren't 5# listed in system/core/rootdir/etc/public.libraries.android.txt. 6export LD_PRELOAD=libhidcommand_jni.so 7 8export CLASSPATH=/system/framework/hid.jar 9exec app_process /system/bin com.android.commands.hid.Hid "$@" 10