1 #!/system/bin/sh 2 3 LOG_FILE="/data/misc/fw_logs/bq25892.txt" 4 5 /system/bin/fwtool ec usbpd 0 > ${LOG_FILE} 6 /system/bin/fwtool ec usbpdpower >> ${LOG_FILE} 7 /system/bin/fwtool ec bq25892 >> ${LOG_FILE} 8 /system/bin/fwtool ec pi3usb9281 >> ${LOG_FILE} 9 /system/bin/fwtool ec console >> ${LOG_FILE} 10 /system/bin/fwtool ec bq27742 >> ${LOG_FILE} 11 chmod a+r ${LOG_FILE} 12