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:
raghavt20
2021-01-12 18:52:43 +01:00
committed by Arian
parent b69b94ab30
commit 0aa378102c
60 changed files with 78 additions and 5959 deletions

View File

@@ -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