mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sm6150-common
synced 2026-01-27 16:26:02 +00:00
sm6150-common: Transform davinci into common tree
* The following things are left in devices, because they're device specific - voip compress properties - HVDCP properties - audio configs - power profile - rounded corner configuration - partition configuration - FOD - camera motor - NFC - board-info - fstab - ipa and graphics firmware - shipping and manifest target level Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com> Co-authored-by: Arian <arian.kulmer@web.de> Change-Id: I8bef29041f8f239361b999fc8ab1a43cc2ebb86b
This commit is contained in:
@@ -41,21 +41,6 @@ on init
|
||||
chown cameraserver cameraserver /dev/cpuset/camera-daemon/tasks
|
||||
chmod 0660 /dev/cpuset/camera-daemon/tasks
|
||||
|
||||
# Camera motor
|
||||
chown system camera /dev/drv8846_dev
|
||||
chown system camera /dev/akm09970
|
||||
chmod 0660 /dev/drv8846_dev
|
||||
chmod 0660 /dev/akm09970
|
||||
|
||||
on init && property:ro.boot.hwc=GLOBAL
|
||||
setprop ro.boot.product.hardware.sku davinci
|
||||
|
||||
on init && property:ro.boot.hwc=CN
|
||||
setprop ro.boot.product.hardware.sku davinci
|
||||
|
||||
on property:ro.boot.product.hardware.sku=davinci
|
||||
enable vendor.nfc_hal_service
|
||||
|
||||
on fs
|
||||
mount_all --early
|
||||
|
||||
@@ -212,17 +197,3 @@ service vendor.nv_mac /vendor/bin/nv_mac
|
||||
user system
|
||||
group system inet net_admin wifi net_raw
|
||||
oneshot
|
||||
|
||||
service vendor.motor /vendor/bin/hw/vendor.xiaomi.hardware.motor@1.0-service
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
writepid /dev/cpuset/system-background/tasks
|
||||
|
||||
service vendor.nfc_hal_service /vendor/bin/hw/android.hardware.nfc@1.2-service
|
||||
override
|
||||
class hal
|
||||
user nfc
|
||||
group nfc
|
||||
writepid /dev/cpuset/system-background/tasks
|
||||
disabled
|
||||
|
||||
Reference in New Issue
Block a user