1 # dumpstate sets the debug.bq25892 property 2 # to trigger the charger chip register dump as root by init 3 set_prop(dumpstate, debug_bq25892_prop) 4 5 # allow dumpstate to execute fwtool in its own domain 6 allow dumpstate fwtool_exec:file rx_file_perms; 7 8 # read /data/misc/fw_logs/bq25892.txt log file 9 allow dumpstate fw_logs_data_file:file r_file_perms; 10 allow dumpstate fw_logs_data_file:dir r_dir_perms; 11 12 # read /data/misc/touchfwup/rmi4update.txt log file 13 allow dumpstate touch_fw_update_log_file:dir r_dir_perms; 14 allow dumpstate touch_fw_update_log_file:file r_file_perms; 15 16 allow dumpstate host1x_device:chr_file rw_file_perms; 17