diff --git a/conf/init.debug.rc b/conf/init.debug.rc index 88e8a17f..cd80ae61 100644 --- a/conf/init.debug.rc +++ b/conf/init.debug.rc @@ -20,6 +20,9 @@ on init chown system system /d/maxfg/fg_model chown system system /d/maxfg/registers chown system system /d/maxfg_base/fg_model + chown system system /d/maxfg_base/registers + chown system system /d/maxfg_flip/registers + chown system system /d/maxfg_flip/nv_registers on property:vendor.debug.ramdump.force_crash=true write /sys/kernel/pixel_debug/trigger "null" diff --git a/conf/init.gs201.rc b/conf/init.gs201.rc index e59bb678..1054fed0 100644 --- a/conf/init.gs201.rc +++ b/conf/init.gs201.rc @@ -225,6 +225,7 @@ on init # Dump maxfg chown system system /sys/class/power_supply/maxfg/m5_model_state chown system system /sys/class/power_supply/maxfg_base/m5_model_state + chown system system /dev/maxfg_history # pca9468 : slider+77729: 6-0057; slider+MW A1: 5-0057 chown system system /d/regmap/5-0057-pca9468-mains/registers @@ -234,8 +235,7 @@ on init chown system system /sys/devices/platform/10970000.hsi2c/i2c-5/5-0050/eeprom chown system system /sys/devices/platform/10970000.hsi2c/i2c-4/4-0050/eeprom chown system system /sys/devices/platform/10da0000.hsi2c/i2c-6/6-0050/eeprom - chown system system /dev/battery_history - chmod 0644 /dev/battery_history + chown system system /sys/devices/platform/10da0000.hsi2c/i2c-7/7-0050/eeprom # Modem temperature driver chown radio system /sys/devices/platform/cp-tm1/cp_temp @@ -483,6 +483,10 @@ on early-boot chown system system /dev/sys/block/bootdevice/slowio_unmap_cnt chown system system /dev/sys/block/bootdevice/slowio_sync_cnt + # Dump Battery EEPROM history for pixelstats + chown system system /dev/battery_history + chmod 0644 /dev/battery_history + on boot # Allow to access debugfs for system:system