Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 1 | # Oriole specific init.rc |
| 2 | import /vendor/etc/init/hw/init.gs101.rc |
Robin Peng | 334022f | 2021-05-05 12:01:32 +0800 | [diff] [blame] | 3 | import /vendor/etc/init/hw/init.raviole.rc |
Robin Peng | cd374d8 | 2021-02-23 20:00:46 +0800 | [diff] [blame] | 4 | |
| 5 | on init |
| 6 | # logbuffer |
| 7 | chown system system /dev/logbuffer_5-0057 |
| 8 | # register/nvmem dump |
| 9 | chown system system /d/regmap/5-0036/registers |
| 10 | chown system system /sys/bus/nvmem/devices/4-00500/nvmem |
| 11 | |
Tai Kuo | 7c202b2 | 2021-03-12 16:30:19 +0800 | [diff] [blame] | 12 | # Toggle glove_mode according to touch_sensitivity_mode |
| 13 | on property:persist.vendor.touch_sensitivity_mode=0 && property:sys.boot_completed=1 |
| 14 | write /sys/class/spi_master/spi11/spi11.0/glove_mode 00 |
| 15 | |
| 16 | on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_completed=1 |
| 17 | write /sys/class/spi_master/spi11/spi11.0/glove_mode 01 |
TeYuan Wang | 60d11bc | 2021-03-30 17:14:52 +0800 | [diff] [blame] | 18 | |
| 19 | on late-init && property:ro.boot.hardware.revision=PROTO1.0 |
| 20 | setprop vendor.thermal.config "thermal_info_config_WHI_A.json" |
Cyan_Hsieh | f3cb3c1 | 2021-06-08 16:45:14 +0800 | [diff] [blame^] | 21 | |
| 22 | # For Japan sku, always enforce camera shutter sound |
| 23 | # Since this property is read by the audio server in system service, |
| 24 | # it should be written by the system init. |
| 25 | on property:ro.boot.hardware.sku=GR1YH |
| 26 | setprop audio.camerasound.force true |