GitHub/moto-9609/android_device_motorola_exynos9610-common.git
4 years agoexynos9610: move LineageActions to system
Joshua Blanchard [Sun, 20 Oct 2019 17:00:34 +0000 (19:00 +0200)]
exynos9610: move LineageActions to system

Change-Id: I843c188bde89e37483fc66dbc4d09e2a600a37fe

4 years agoexynos9610: kang LineageActions from nash
Jan Altensen [Fri, 4 Sep 2020 21:17:43 +0000 (23:17 +0200)]
exynos9610: kang LineageActions from nash

Change-Id: Iaad009cb167850e39b324edcea302eccb5b0fccf

4 years agoexynos9610: Force enable VoLTE and VoWifi
SagarMakhar [Tue, 12 May 2020 13:39:46 +0000 (13:39 +0000)]
exynos9610: Force enable VoLTE and VoWifi

Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Change-Id: Idd8b6a5c1706546356c8c58d23218fd538d7d74d

4 years agoexynos9610: hardcoded id and rev in dtbo config
Jan Altensen [Mon, 24 Aug 2020 11:32:01 +0000 (13:32 +0200)]
exynos9610: hardcoded id and rev in dtbo config

 * mkdtboimg.py does not support parsing DT yet

Change-Id: I16eb0b872c7846aae776042debf775fe7b19d072

4 years agoexynos9610: adopt to new dtbo generation method
Jan Altensen [Mon, 24 Aug 2020 11:30:57 +0000 (13:30 +0200)]
exynos9610: adopt to new dtbo generation method

Change-Id: I90b3c1c8c3e8ee19d0f99ad8a3d9ba8bdb2be55a

4 years agoexynos9610: add stock overlays
Jan Altensen [Sun, 23 Aug 2020 16:36:16 +0000 (18:36 +0200)]
exynos9610: add stock overlays

Change-Id: I45d7dda4b1dce181e59ece2ebbfd3ff75128cc42

4 years agoexynos9610: remove motorola specific audo effects
Jan Altensen [Sun, 23 Aug 2020 16:23:54 +0000 (18:23 +0200)]
exynos9610: remove motorola specific audo effects

 * they break bluetooth audio on AOSP

Change-Id: I483748cf915e2ae31ccc67c472ebe4d191c3e63f

4 years agoexynos9610: Advertise support for extended length nfc
Paul Keith [Sat, 28 Sep 2019 12:24:39 +0000 (14:24 +0200)]
exynos9610: Advertise support for extended length nfc

* Value obtained from decompiling stock NfcNci.apk

Change-Id: I703ca07d0bd28412390e8c4076c7824bab6e1ace

4 years agoexynos9610: set vendor security patch
Jan Altensen [Tue, 18 Aug 2020 16:55:05 +0000 (18:55 +0200)]
exynos9610: set vendor security patch

Change-Id: I893e29cf6bcab7fc185a6611b9caa8600f927e6b

4 years agoexynos9610: Build Trust HAL
Joey [Sun, 13 Jan 2019 09:21:11 +0000 (10:21 +0100)]
exynos9610: Build Trust HAL

Change-Id: I92706987f8d3094cdfb82e71e5331b7efe69e5df

4 years agoexynos9610: Don't apply persist.vendor.usb.config
dianlujitao [Wed, 18 Sep 2019 07:30:54 +0000 (15:30 +0800)]
exynos9610: Don't apply persist.vendor.usb.config

 * Otherwise adb turns on after reboot every time.

Change-Id: I66631f1f38a3e3a16e6d3dad87c83d0a98e6f851

4 years agoexynos9610: build usb hal
Jan Altensen [Sun, 16 Aug 2020 17:37:58 +0000 (19:37 +0200)]
exynos9610: build usb hal

Change-Id: Id7840a26322016a6e55e2aeea2ee4d4e41d10148

4 years agoexynos9610: Rename USB HAL suffix to exynos9610
Rashed Abdel-Tawab [Wed, 21 Aug 2019 23:55:03 +0000 (16:55 -0700)]
exynos9610: Rename USB HAL suffix to exynos9610

Change-Id: Iffc638b3bf747be07e9ce34278edeb546b905948

4 years agoexynos9610: USB: Use -Werror
Chih-Hung Hsieh [Thu, 2 Nov 2017 22:22:43 +0000 (15:22 -0700)]
exynos9610: USB: Use -Werror

* Remove unused variables.
* Return result of registerAsService().

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I79d1add6190e835de20a0b0c247bbbb259096c14

4 years agoexynos9610: USB: Add 'vendor.' prefix to a vendor HAL
Jaekyun Seok [Wed, 30 Aug 2017 01:54:11 +0000 (10:54 +0900)]
exynos9610: USB: Add 'vendor.' prefix to a vendor HAL
 service name

To prevent property name collisions between properties of system and
vendor, 'vendor.' prefix must be added to a vendor HAL service name.
You can see the details in http://go/treble-sysprop-compatibility.

Test: succeeded building and tested on a walleye device
Bug: 36796459
Change-Id: Idc995c550657feca5e0f934444a31805bc3538f9

4 years agoexynos9610: USB: Fix potential racing by wall time change
Wei Wang [Fri, 11 Aug 2017 22:05:46 +0000 (15:05 -0700)]
exynos9610: USB: Fix potential racing by wall time change
 in USBhal

pthread_cond_timedwait used wall time so it might introduce racing,
pthread_cond_timedwait_monotonic_np is Android specific but it is being
deprecated. And now Android support pthread_condattr_setclock so use it
to wait on CLOCK_MONOTONIC instead.

Bug: 64623895
Test: USB switch function works, charging/MTP/PTP
Change-Id: I136533ff90ef1be2b042ef1e0829643f2f7aa968

4 years agoexynos9610: USB: HAL: enable auto suspend for USB headsets
Yueyao Zhu [Wed, 28 Jun 2017 19:13:28 +0000 (12:13 -0700)]
exynos9610: USB: HAL: enable auto suspend for USB headsets

Adds a thread that handles add uevents of USB devices, and
enables auto suspend on that USB device (i.e. set power/control
to auto) if the device idProduct/idVendor is whitelisted.

The android kernel will already autosuspend audio devices,
however this enables autosuspend for the Google USB-C to
3.5mm adapter, which presents an HID-only interface when
no 3.5mm headset is connected.

Test: with the selinux and .rc changes for access permission
- MIR without headset: power/control set to auto
- MIR with headset: power/control set to auto
- regular mouse: power/control set to on

Bug: 38352281
Change-Id: I81572584ea02f6bdc814e70ab3439ab86c34a50a

4 years agoexynos9610: USB: HAL: run as user root, group root system
Yueyao Zhu [Wed, 28 Jun 2017 22:47:38 +0000 (15:47 -0700)]
exynos9610: USB: HAL: run as user root, group root system

This allows USB HAL to write USB sysfs nodes.

Bug: 38352281
Change-Id: Iaf8f1bad1a0394e553996b7a42bc34745b769b16

4 years agoexynos9610: USB HAL: Use 1.1 IUsb intead of 1.0 IUsb
Badhri Jagan Sridharan [Wed, 28 Jun 2017 00:03:49 +0000 (17:03 -0700)]
exynos9610: USB HAL: Use 1.1 IUsb intead of 1.0 IUsb

Use 1.1 IUsb in order to make register the service as 1.1 compatible.
This enables lshal to recognize the hal service as 1.1 implementation.

Bug: 62917546
Test: Manually verified lshal output
android.hardware.usb@1.0::IUsb/default   0/1             782     6024 568
android.hardware.usb@1.1::IUsb/default   0/1             782     6024 568

Change-Id: I9b0817841dbcc345a1d854ee4a5193797181ea3f

4 years agoexynos9610: Usb: HAL: Update wahoo HAL
Badhri Jagan Sridharan [Tue, 13 Jun 2017 17:52:16 +0000 (10:52 -0700)]
exynos9610: Usb: HAL: Update wahoo HAL

This CL rebases wahoo HAL based on the kernel change to update
sysfs interface.

https://partner-android-review.googlesource.com/#/c/836088/

Bug: 62272992
Test: Verify USB dialog on wahoo
Change-Id: I8bc8f494176c7648abeb9783fbd18dc837793bda

4 years agoexynos9610: USB: HAL: update hal to V1_1
Badhri Jagan Sridharan [Wed, 19 Apr 2017 00:41:35 +0000 (17:41 -0700)]
exynos9610: USB: HAL: update hal to V1_1

This CL adds support to notify frameworks when an audio
or debug accessory is attached.

Bug: 36604276
Test: Manually test inserting an Audio accessory.
Change-Id: I9ec0f88ed85ed593b31132ba58bfedb51a435cd8

4 years agoexynos9610: USB: HIDL: check the status of
Badhri Jagan Sridharan [Wed, 29 Mar 2017 18:45:18 +0000 (11:45 -0700)]
exynos9610: USB: HIDL: check the status of
 registerAsService

registerAsService call could fail. Hence check the return value.

Bug: 36704362
Change-Id: I46dcd74dbee6aba72cf344f10854e5d4b1b6de18

4 years agoexynos9610: The IUsb interface uses "default" service name
Badhri Jagan Sridharan [Tue, 28 Mar 2017 21:24:00 +0000 (14:24 -0700)]
exynos9610: The IUsb interface uses "default" service name

By default, it is expected that the service does not rename itself
unless there is more than one service exposed by the interface. This
CL changes the usb hal service name back to "default" instead of
"usb_hal"

Bug: 36097487
Test: Manually tested role swap and UI behavior
Change-Id: I4a0aa4423c80cd893c578bc58b9276956daba732

4 years agoexynos9610: USB HAL: initial type-c hal
Badhri Jagan Sridharan [Mon, 13 Mar 2017 22:12:36 +0000 (15:12 -0700)]
exynos9610: USB HAL: initial type-c hal

Bug: 36097487
Test: Manually tested role swap and UI behavior
Change-Id: I5ce520da521e0714001b60164ac850dddbd644c3

4 years agoexynos9610: add slsi wpa_supplicant_8_lib to CFI paths
Jan Altensen [Sat, 15 Aug 2020 23:24:11 +0000 (01:24 +0200)]
exynos9610: add slsi wpa_supplicant_8_lib to CFI paths

Change-Id: Ib2bf001d0d104eeb2540682fd15c2df7dcf1518b

4 years agoexynos9610: proprietary-files-vendor: copy wifi debug files
Jan Altensen [Mon, 10 Aug 2020 20:26:50 +0000 (22:26 +0200)]
exynos9610: proprietary-files-vendor: copy wifi debug files

Change-Id: Ifa8af8703f1819b3393df3d0c4c6ac0a2c594981

4 years agoexynos9610: move ro.hardware.sensors to device specific repo
Jan Altensen [Mon, 20 Jul 2020 10:02:49 +0000 (12:02 +0200)]
exynos9610: move ro.hardware.sensors to device specific repo

Change-Id: I76f3efa85a6f87d05a85d8fbd8fe72fd62ce93b6

4 years agoexynos9610: update (p2p|wpa)_supplicant.conf location
Jan Altensen [Wed, 15 Jul 2020 08:48:14 +0000 (10:48 +0200)]
exynos9610: update (p2p|wpa)_supplicant.conf location

Change-Id: I857c05211f9673b885575c0a61be2a774acf8b4c

4 years agoexynos9610: remove seclable from charon, gpsd, thermald and cbd
Jan Altensen [Wed, 15 Jul 2020 04:47:05 +0000 (06:47 +0200)]
exynos9610: remove seclable from charon, gpsd, thermald and cbd

Change-Id: I471825e82b86a74fc8a59e1a024a347259467064

4 years agoexynos9610: split system and vendor props
Jan Altensen [Mon, 13 Jul 2020 03:00:53 +0000 (05:00 +0200)]
exynos9610: split system and vendor props

Change-Id: Ib09cf6c6c53254ade2a29c88354541c9f7f50ea7

4 years agoexynos9610: build all required HALs/libraries
Jan Altensen [Mon, 13 Jul 2020 03:00:02 +0000 (05:00 +0200)]
exynos9610: build all required HALs/libraries

Change-Id: I788e11867048cf19731e962cca8d3d71e4dbcf9e

4 years agoexynos9610: add manifest
Jan Altensen [Mon, 13 Jul 2020 02:46:25 +0000 (04:46 +0200)]
exynos9610: add manifest

Change-Id: I51a44bf6b4d590afa96ca03528a2b77d3e92cece

4 years agoexynos9610: add TARGET_FS_CONFIG_GEN
Jan Altensen [Mon, 13 Jul 2020 02:45:55 +0000 (04:45 +0200)]
exynos9610: add TARGET_FS_CONFIG_GEN

Change-Id: Ib9df6abaacdd4387f004687e9baccfa6ac89fdbd

4 years agoexynos9610: set ENABLE_VENDOR_RIL_SERVICE
Jan Altensen [Mon, 13 Jul 2020 02:44:12 +0000 (04:44 +0200)]
exynos9610: set ENABLE_VENDOR_RIL_SERVICE

Change-Id: If2896a5a6ce33da6078473378f50a24a94387718

4 years agoexynos9610: build libbt-vendor
Jan Altensen [Mon, 13 Jul 2020 02:42:41 +0000 (04:42 +0200)]
exynos9610: build libbt-vendor

Change-Id: I40f69d4bcd3c1a77ea38022837045e988807dad0

4 years agoexynos9610: add libaudioproxy shim
Jan Altensen [Sat, 11 Jul 2020 00:42:26 +0000 (02:42 +0200)]
exynos9610: add libaudioproxy shim

Change-Id: Ia33ba25ddda23eb015aea05d92d62d43d98c165d

4 years agoexynos9601: add hidl bootctrl hal
Paul Keith [Mon, 23 Mar 2020 20:33:06 +0000 (15:33 -0500)]
exynos9601: add hidl bootctrl hal

Signed-off-by: Jan Altensen <info@stricted.net>
Co-authored-by: Jan Altensen <info@stricted.net>
Change-Id: Iaa34a28b1d518249ab2d7f21bee28c676af8ac97

4 years agoexynos9610: add custom vibrator hidl hal
Jan Altensen [Wed, 20 May 2020 20:49:05 +0000 (22:49 +0200)]
exynos9610: add custom vibrator hidl hal

Change-Id: Ice6cfcb0f2c98368497f2650f1bd30c5017a5cd8

4 years agoexynos9610: add custom lights hidl hal
Jan Altensen [Mon, 18 May 2020 19:04:47 +0000 (21:04 +0200)]
exynos9610: add custom lights hidl hal

Change-Id: I9f6b94c6d1dee2ec8b09762a8bf94a1d6f3363fb

4 years agoexynos9610: cleanup init files
Jan Altensen [Mon, 18 May 2020 18:47:53 +0000 (20:47 +0200)]
exynos9610: cleanup init files

Change-Id: I48bd976731325aee56b48b8bc533aecdbbf40715

4 years agoexynos9610: import init files
Jan Altensen [Fri, 15 May 2020 19:45:08 +0000 (21:45 +0200)]
exynos9610: import init files

Change-Id: I71f2e36e9ff50bac3753e437e6c1c873f92f6810

4 years agoexynos9610: build needed libraries
Jan Altensen [Mon, 18 May 2020 17:35:09 +0000 (19:35 +0200)]
exynos9610: build needed libraries

Change-Id: Ic6207e669dc1d11669b96aeb2d04f8a823373a79

4 years agoexynos9610: import configuration files
Jan Altensen [Fri, 15 May 2020 11:01:14 +0000 (13:01 +0200)]
exynos9610: import configuration files

Change-Id: Iaab7347758ebfef6cb325828d8d2cb6831edd6a6

4 years agoexynos9610: initial proprietary-files-vendor.txt
Jan Altensen [Mon, 18 May 2020 17:42:53 +0000 (19:42 +0200)]
exynos9610: initial proprietary-files-vendor.txt

Change-Id: Ia5d03d6296b0009edd89d559646ee22a78866113

4 years agoexynos9610: generate vulkan and opencl symlinks
Jan Altensen [Mon, 18 May 2020 10:28:10 +0000 (12:28 +0200)]
exynos9610: generate vulkan and opencl symlinks

Change-Id: I25501e0ffcb86b8e21ee44c648b9f14bbb931b8b

4 years agoexynos9610: copy common permissions
Jan Altensen [Fri, 15 May 2020 11:02:37 +0000 (13:02 +0200)]
exynos9610: copy common permissions

Change-Id: I82aa61b0047978d5e2bf67b57d703544b3b31625

4 years agoexynos9610: build slsi wifi hal
Jan Altensen [Fri, 15 May 2020 10:31:30 +0000 (12:31 +0200)]
exynos9610: build slsi wifi hal

Change-Id: I76ac6d233329ea1db12ee42b56a85a37f5752451

4 years agoexynos9610: build the vendor image
Jan Altensen [Fri, 15 May 2020 10:27:17 +0000 (12:27 +0200)]
exynos9610: build the vendor image

Change-Id: Ic7030f997f7f16fca5f2d39a5dc8d683bbb1e516

4 years ago[DNM] exynos9610: selinux permissive
Jan Altensen [Tue, 28 Apr 2020 01:13:11 +0000 (03:13 +0200)]
[DNM] exynos9610: selinux permissive

Change-Id: I3da4d96a4d446dfab73f01c2e2d19fccd5a6322d

4 years agoexynos9610: copy init.recovery.exynos9610.rc
Jan Altensen [Fri, 15 May 2020 10:29:42 +0000 (12:29 +0200)]
exynos9610: copy init.recovery.exynos9610.rc

Change-Id: I087ee7c3c6b7116bc9fce5e0ab6b20e6390c7a64

4 years agoexynos9610: build fmradio
Jan Altensen [Fri, 15 May 2020 10:22:49 +0000 (12:22 +0200)]
exynos9610: build fmradio

Change-Id: I3094859cd53e442352eb7b9f3c4d8201a52240bc

4 years agoexynos9610: Set shipping API level via inherited makefile
Rashed Abdel-Tawab [Sat, 3 Feb 2018 03:39:50 +0000 (19:39 -0800)]
exynos9610: Set shipping API level via inherited makefile

 * PRODUCT_SHIPPING_API_LEVEL is set there

Change-Id: I8adecfbaafb538277f6451a5dbc8abc279bf0c15

4 years agoexynos9610: add cutout overlay
Jan Altensen [Fri, 1 May 2020 03:54:20 +0000 (05:54 +0200)]
exynos9610: add cutout overlay

Change-Id: I88afeaee262f2b8cc3ff89aa212a24b5a9b16520

4 years agoexynos9610: enable AOD
Jan Altensen [Fri, 1 May 2020 04:19:45 +0000 (06:19 +0200)]
exynos9610: enable AOD

Change-Id: I2dfdf589e2d02510149e1584cacc5f5c624c30a2

4 years agoexynos9610: import stock system properties
Jan Altensen [Thu, 30 Apr 2020 08:49:35 +0000 (10:49 +0200)]
exynos9610: import stock system properties

Change-Id: Iaef8580a7c4648b1a942df100c014ccc827b44fa

4 years agoexynos9610: import stock CarrierConfig overlays
Jan Altensen [Thu, 30 Apr 2020 08:48:54 +0000 (10:48 +0200)]
exynos9610: import stock CarrierConfig overlays

Change-Id: Ia7ec3b2bd1f05920013ce4337ab18fa989adb81e

4 years agoexynos9610: proprietary-files: import ShannonIms
Jan Altensen [Tue, 28 Apr 2020 15:39:54 +0000 (17:39 +0200)]
exynos9610: proprietary-files: import ShannonIms

Change-Id: I9defbd912640e1d0fba2e8285ae1ab70757a0801

4 years agoexynos9610: build nfc packages
Jan Altensen [Tue, 28 Apr 2020 15:36:24 +0000 (17:36 +0200)]
exynos9610: build nfc packages

Change-Id: I1577cb9e1c5ef60c9b0acb65b85b6bd8002c69f1

4 years agoexynos9610: proprietary-files: import aptx blobs
Jan Altensen [Tue, 28 Apr 2020 15:32:33 +0000 (17:32 +0200)]
exynos9610: proprietary-files: import aptx blobs

Change-Id: Ie322b0b30200b4388167344210198cc47578614f

4 years agoexynos9610: import HotwordEnrollement
Jan Altensen [Tue, 28 Apr 2020 15:26:04 +0000 (17:26 +0200)]
exynos9610: import HotwordEnrollement

Change-Id: I1e196c46b18f2c55df428906be4cc085d0aa0f70

4 years agoexynos9610: build the dtb.img and install it as 2ndbootloader
Jan Altensen [Tue, 28 Apr 2020 01:11:49 +0000 (03:11 +0200)]
exynos9610: build the dtb.img and install it as 2ndbootloader

Change-Id: I0ab1092df1b0d14f3d9bd71e7dc3abaf9f598ec0

4 years agoexynos9610: build the dtbo image
Jan Altensen [Tue, 28 Apr 2020 01:09:56 +0000 (03:09 +0200)]
exynos9610: build the dtbo image

Change-Id: I5d1a9499a2d81729ed8cecec1e943be742f66add

4 years agoexynos9610: initial common device tree
Jan Altensen [Wed, 22 Apr 2020 14:27:46 +0000 (16:27 +0200)]
exynos9610: initial common device tree

Change-Id: I026a8f227fe40c3c61378dccd3285ed36858881f