mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_miatoll.git
synced 2025-07-03 01:09:55 +09:00
miatoll: Decommonized Tree check-in
there is no no need for common tree if all device is this much identical clean overlays
This commit is contained in:
24
rootdir/etc/init.device.rc
Normal file
24
rootdir/etc/init.device.rc
Normal file
@ -0,0 +1,24 @@
|
||||
service thermal-engine /vendor/bin/thermal-engine
|
||||
class main
|
||||
user root
|
||||
group root
|
||||
socket thermal-send-client stream 0660 system oem_2907
|
||||
socket thermal-recv-client stream 0660 system oem_2907
|
||||
socket thermal-recv-passive-client stream 0660 system oem_2907
|
||||
socket thermal-send-rule stream 0660 system oem_2907
|
||||
disabled
|
||||
|
||||
service vendor.nfc_hal_service /vendor/bin/hw/android.hardware.nfc@1.2-service
|
||||
override
|
||||
class hal
|
||||
user nfc
|
||||
group nfc
|
||||
disabled
|
||||
|
||||
on boot && property:ro.product.vendor.device=*
|
||||
mount none /vendor/etc/thermal-engine-map-${ro.product.vendor.device}.conf /vendor/etc/thermal-engine-map.conf bind
|
||||
start thermal-engine
|
||||
|
||||
on init && property:ro.boot.hwname=joyeuse
|
||||
setprop ro.boot.product.hardware.sku joyeuse
|
||||
start vendor.nfc_hal_service
|
Reference in New Issue
Block a user