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