GitHub/LineageOS/android_device_motorola_exynos9610-common.git
5 months agoexynos9610: Set manifest target-level to 5
Tim Zimmermann [Sun, 15 May 2022 04:02:43 +0000 (06:02 +0200)]
exynos9610: Set manifest target-level to 5

Change-Id: Ic72d17ebdb388dee9e63e27a36190c93c095fb0c

5 months agoRevert "exynos9610: Enforce vintf kernel requirements"
Nolen Johnson [Thu, 20 Jun 2024 05:00:00 +0000 (01:00 -0400)]
Revert "exynos9610: Enforce vintf kernel requirements"

This reverts commit d207355d893a6c3d47bed644f7a0fd824ea39ef2.

Reason: After moving back to stock-based kernel, subversion is too old.
Change-Id: I61840fc7ef1400e7324034175a734bb8db82b03b

5 months agoexynos9610: Switch to Audio HAL V6
Mikhail Naganov [Fri, 22 Nov 2019 18:56:29 +0000 (10:56 -0800)]
exynos9610: Switch to Audio HAL V6

Switch to Audio HAL V6

Bug: 141989952
Test: atest VtsHalAudioV6_0TargetTest
      atest VtsHalAudioEffectV6_0TargetTest
            manual audio "smoke" test on taimen and walleye

Change-Id: Ieb1cc5c7fdcc5416a328a0a5c4a1996258b81ac8

6 months agoexynos9610: Nuke unused dev.usbsetting.embedded property
Nolen Johnson [Thu, 25 Apr 2024 03:50:24 +0000 (23:50 -0400)]
exynos9610: Nuke unused dev.usbsetting.embedded property

Change-Id: Ic14ff1a41066d95be015c8f37e047b2d284adace

6 months agoexynos9610: sepolicy: Address the last outstanding denials
Nolen Johnson [Thu, 25 Apr 2024 03:43:44 +0000 (23:43 -0400)]
exynos9610: sepolicy: Address the last outstanding denials

Change-Id: I1b6d2ed981974def5716dab29dc8c84fe1e4f93d

6 months agoexynos9610: sepolicy: Don't audit useless dir searches
Nolen Johnson [Thu, 25 Apr 2024 01:48:11 +0000 (21:48 -0400)]
exynos9610: sepolicy: Don't audit useless dir searches

Change-Id: I6cf989e37ff220bd6904ac22372d403b11ad0c7b

6 months agoexynos9610: sepolicy: Mark vendor_ims_app as mlstrustedobject
Nolen Johnson [Thu, 25 Apr 2024 01:45:43 +0000 (21:45 -0400)]
exynos9610: sepolicy: Mark vendor_ims_app as mlstrustedobject

Change-Id: I4822ab9647dcb2c81caa8127df0eeced18387be0

6 months agoexynos9610: Fix early boot denials
Nolen Johnson [Wed, 24 Apr 2024 20:33:46 +0000 (16:33 -0400)]
exynos9610: Fix early boot denials

* Many of these properties are useless or do nothing.

Change-Id: I02335afffef70fa040ccb6f0ea91d9717f7e33ae

7 months agoexynos9610: Enforce vintf kernel requirements
Michael Bestas [Mon, 30 Oct 2023 15:38:30 +0000 (17:38 +0200)]
exynos9610: Enforce vintf kernel requirements

The build system enables this for shipping API level >=29
but we also want it to pass the vintf runtime checks.

Change-Id: Ie2147893a1551b736880913334a3c134a17ca91c

8 months agoexynos9610: Drop legacy trust HAL
Nolen Johnson [Thu, 21 Mar 2024 21:07:42 +0000 (17:07 -0400)]
exynos9610: Drop legacy trust HAL

* Dead, will need to move to newer USB HAL at some
  point if we decide to.

Change-Id: Ic356186642f3a7fc777e2ddc956dbb49842ef451

8 months agoexynos9610: Don't explicitly include updatable_apex.mk
basamaryan [Wed, 20 Mar 2024 05:16:12 +0000 (01:16 -0400)]
exynos9610: Don't explicitly include updatable_apex.mk

It is inherited by base_system.mk as of QPR2

Change-Id: I020a05b233f61ea28d03199cbc76051e6e97e1dc

8 months agoRevert "exynos9610: Switch to legacy WiFi HIDL HAL"
Yumi Yukimura [Fri, 15 Mar 2024 07:17:25 +0000 (15:17 +0800)]
Revert "exynos9610: Switch to legacy WiFi HIDL HAL"

* WiFi AIDL HAL works in U QPR2

This reverts commit ee1c36be2b04cdc4a8ccc178a65ba2a93a60c094.

Change-Id: I4d38fcc7e5999f934344bc364afb4f4d8a049711

8 months agoexynos9610: Add BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Cole Faust [Tue, 3 Oct 2023 22:51:10 +0000 (15:51 -0700)]
exynos9610: Add BUILD_BROKEN_INCORRECT_PARTITION_IMAGES

Qcom has issues that prevent it from working with a hermetic
partition build.

Bug: 205632228
Test: Presubmits
Change-Id: I490a29da38a6f68e7dd3650d8140cb11adaa8c7a

8 months agoexynos9610: Restorecon /data/vendor/wifi on post-fs-data
Nolen Johnson [Sun, 17 Mar 2024 16:55:22 +0000 (12:55 -0400)]
exynos9610: Restorecon /data/vendor/wifi on post-fs-data

* No clue why this just started, but things aren't getting
  labeled right.

Change-Id: I5b732d3b9f963ac4405f3e5abeaf74ca5a23f194

8 months agoexynos9610: Rename chargeonly_data_file to chargeonly_vendor_data_file
Nolen Johnson [Wed, 6 Mar 2024 02:54:53 +0000 (21:54 -0500)]
exynos9610: Rename chargeonly_data_file to chargeonly_vendor_data_file

* For some magical reason, the naming (and not just associations)
  matter as of a few days ago - no clue why.

Change-Id: I6cf12b455dbf460a9be607d796af3536093e8427

8 months agoexynos9610: Include samsung_slsi-linaro soong namespaces
Nolen Johnson [Mon, 26 Feb 2024 16:35:12 +0000 (11:35 -0500)]
exynos9610: Include samsung_slsi-linaro soong namespaces

Change-Id: I90b61dfa6647d290d13e8e30923f0eacee8cd3b5

9 months agoexynos9610: Set broken dup rules
Nolen Johnson [Wed, 21 Feb 2024 04:14:48 +0000 (23:14 -0500)]
exynos9610: Set broken dup rules

* For libhwjpeg for now.

Change-Id: I2a64b3bfb15a5e4476d170c172477f99510a6d34

9 months agoexyno9610: Use stock libhwjpeg
Nolen Johnson [Wed, 21 Feb 2024 00:12:50 +0000 (19:12 -0500)]
exyno9610: Use stock libhwjpeg

* Source built one causes some Camera apps to not work.

Change-Id: Ibf2198b8d1105085f5f53f34f02bc9e7ba537a4a

9 months agoexynos9610: Fix spacing in dependencies
Nolen Johnson [Fri, 16 Feb 2024 20:10:04 +0000 (15:10 -0500)]
exynos9610: Fix spacing in dependencies

Change-Id: I1b1adbde5fd5c2dc73377b169e3ba91e39b1f80e

9 months agoeyxnos9610: Build with Linaro BSP
Nolen Johnson [Sun, 14 Jan 2024 17:32:49 +0000 (12:32 -0500)]
eyxnos9610: Build with Linaro BSP

* Right now we're just focused on building Graphics, OMX, and
  the legal camera bits. Rest can come later if we want it to.

* The only thing worth noting is that libexynosgscaler was
  available in the A10 BSP, but isn't in the A13 one. While
  we can likely just import it, for now we'll leave it prebuilt
  to keep things easy and get things shipping.

* The whole reason we finally did this was OMX broke with prebuilts
  on Android 14.

Change-Id: I88654b3602d5b077f252e0c2ea0ff9855f902d97

9 months agoexynos9610: Fix duplicated vbmeta_device type
Nolen Johnson [Sun, 11 Feb 2024 18:45:30 +0000 (13:45 -0500)]
exynos9610: Fix duplicated vbmeta_device type

Change-Id: Ib6e38ba2ca9a9526238a50f34fda78ac7556c069

9 months agoexynos9610: Switch IWlan to AP-assisted mode
Georg Veichtlbauer [Thu, 13 Oct 2022 06:01:10 +0000 (08:01 +0200)]
exynos9610: Switch IWlan to AP-assisted mode

Change-Id: I404be6397aae686a7a76597a8ee66e43af51d104

9 months agoexynos9610: overlay: Configure aux camera for Aperture
LuK1337 [Mon, 31 Oct 2022 20:59:52 +0000 (21:59 +0100)]
exynos9610: overlay: Configure aux camera for Aperture

Change-Id: I543f078dd4dba30e1b22737d5c22d591e3fb34e6
(cherry picked from commit b2b9dd4146907bd3fc6f7b85642178e174651bd9)

10 months agoexynos9610: Switch to legacy WiFi HIDL HAL
me-cafebabe [Sat, 7 Oct 2023 09:26:01 +0000 (17:26 +0800)]
exynos9610: Switch to legacy WiFi HIDL HAL

* With the new WiFi AIDL HAL, the framework thinks the device
  supports interface combination for some unknown reason,
  even though the service doesn't advertise it. As a result,
  the WiFi service fails on configureChip method.

Change-Id: I0c3fa7b4c947c3525c30f7cef0b2674bee224da7

10 months agoexynos9610: Fix extraction from stock
Nolen Johnson [Wed, 3 Jan 2024 04:26:31 +0000 (23:26 -0500)]
exynos9610: Fix extraction from stock

Change-Id: Ibd74af9bd0926ff02c7752a39b0d4723a0ba012f

10 months agoexynos9610: Update extract_utils from templates
Nolen Johnson [Wed, 3 Jan 2024 03:37:48 +0000 (22:37 -0500)]
exynos9610: Update extract_utils from templates

Change-Id: Id8aa150f3efb961f827ad9f61f3e4c4558c3099f

10 months agoexynos9610: Patch Shannon applications calls to getSimStateForSlotIndex
Nolen Johnson [Mon, 1 Jan 2024 07:41:10 +0000 (02:41 -0500)]
exynos9610: Patch Shannon applications calls to getSimStateForSlotIndex

* Account for getSimStateForSlotIndex moving from SubscriptionManager to
  TelephonyManager.
* Simply apktool d *.apk, then grep for `getSimStateForSlotIndex`, and
  then replace all references to that to call from `TelephonyManager`
  instead of the existing call to `SubscriptionManager`.
* apktool b *.apk, and boom - functional IMS.

Reference: https://android-review.googlesource.com/c/platform/frameworks/base/+/2484178
Change-Id: I7574369d2a73d8751db8bef940fe8c3271c002ea

11 months agoexynos9610: Set ro.hardware.egl to mali
LuK1337 [Mon, 11 Dec 2023 12:36:54 +0000 (13:36 +0100)]
exynos9610: Set ro.hardware.egl to mali

For whatever reason, after the U QPR1 merge, surfaceflinger is no longer
able to find an OpenGL implementation without this hint.

Change-Id: I59610ce628acb41807bb75b01a8c6cac7d08f740

11 months agoexynos9610: Update makefile to use the AIDL Wifi Vendor HAL.
Gabriel Biren [Mon, 27 Mar 2023 22:33:41 +0000 (22:33 +0000)]
exynos9610: Update makefile to use the AIDL Wifi Vendor HAL.

Bug: 274964641
Test: Pre-submit tests
Change-Id: I4d9114377fe75b593bbfe6a59f03d8f5d607d6a1

11 months agoexynos9610: sort-blobs-list
Nolen Johnson [Tue, 28 Nov 2023 17:54:37 +0000 (12:54 -0500)]
exynos9610: sort-blobs-list

Change-Id: Icee0763b91bd85f3d4bd5777c7952f95152a963e

11 months agoexynos9610: Don't override Aperture
Nolen Johnson [Tue, 28 Nov 2023 07:23:20 +0000 (02:23 -0500)]
exynos9610: Don't override Aperture

Change-Id: Id154dc2d98df4aaf4bb967bc60570ce5d9fe3ad5

11 months agoexynos9610: Add updatable_apex.mk
Jiyong Park [Mon, 15 Apr 2019 05:19:03 +0000 (14:19 +0900)]
exynos9610: Add updatable_apex.mk

The product abstracts configs that need to be set to support updating of APEXes.

Change-Id: Id5aa944ceba6a6846308f1c18a08af8b3bb38589

11 months agoexynos9610: Switch to two-stage init mounting
Sebastiano Barezzi [Wed, 29 Jun 2022 07:29:32 +0000 (09:29 +0200)]
exynos9610: Switch to two-stage init mounting

* Stop handling vendor mounting from kernel, first stage init is gonna
  do that, together with system (which is now /system)
* Use correct mount flags coming from kernel dts
* Move system and vendor mount points to /dev/block/by-name/, we don't
  have bootdevice symlink to that point in init
* Copy fstab to recovery for first stage init

Change-Id: Iaa0ecc3f13c3cfd3fe357ca509549d0f68a29cf0

11 months agoexynos9610: Specify androidboot.boot_devices
Chenyang Zhong [Wed, 16 Feb 2022 09:38:45 +0000 (04:38 -0500)]
exynos9610: Specify androidboot.boot_devices

So that /dev/block/by-name/ symlinks are created.

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Change-Id: I270c1899e4487ed5e7657038c4ed07e407476953

11 months agoexynos9610: Build libprotobuf-cpp-lite-3.9.1-vendorcompat
LuK1337 [Thu, 19 Oct 2023 22:53:15 +0000 (00:53 +0200)]
exynos9610: Build libprotobuf-cpp-lite-3.9.1-vendorcompat

Change-Id: I0aac742db9c2b4b3e48ee20158f19405863893c2

11 months agoexynos9610: Raise VINTF target level to 4
Sebastiano Barezzi [Sun, 11 Sep 2022 23:09:32 +0000 (01:09 +0200)]
exynos9610: Raise VINTF target level to 4

Change-Id: I4c4783dc112102f127f3b1d796e206dcac672faf

16 months agoexynos9610: sepolicy: fixup charging_enabled sysfs permissions
Jan Altensen [Sun, 16 Jul 2023 10:28:48 +0000 (12:28 +0200)]
exynos9610: sepolicy: fixup charging_enabled sysfs permissions

Change-Id: I4fe7ffa43ef5b988f5083f12176dfea06726bf7e

16 months agoexynos9610: sepolicy: Allow Health HAL what it needs
Nolen Johnson [Thu, 29 Jun 2023 16:07:02 +0000 (12:07 -0400)]
exynos9610: sepolicy: Allow Health HAL what it needs

Change-Id: I46f54b481e70cf98307799acddeec6bf3e598976

16 months agoexynos9610: Configure Lineage Health HAL
Nolen Johnson [Tue, 27 Jun 2023 19:44:47 +0000 (15:44 -0400)]
exynos9610: Configure Lineage Health HAL

Change-Id: I14b6e4393e9cc55e68b3a7f6bb3b7fb623960ee8

17 months agoexynos9610: Build Lineage Health HAL
Michael Bestas [Fri, 3 Mar 2023 21:43:42 +0000 (23:43 +0200)]
exynos9610: Build Lineage Health HAL

Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf

19 months agoexynos9610: Use minimal GMS if building with it
Bruno Martins [Thu, 9 Jun 2022 13:34:59 +0000 (14:34 +0100)]
exynos9610: Use minimal GMS if building with it

Only minimal GMS fits.

Change-Id: If9ce99880bcd6949354f80882176aaaded9aad85

19 months agoexynos9610: sepolicy: Drop vendor_hwc_prop label
roynatech2544 [Thu, 6 Apr 2023 13:31:52 +0000 (22:31 +0900)]
exynos9610: sepolicy: Drop vendor_hwc_prop label

 - https://github.com/LineageOS/android_device_samsung_slsi_sepolicy/commit/d76e0586dc8562c879cc6a2ded48408c75c75f44

Change-Id: Ieef04d60a2154ce02fd35b668416426653d93674

19 months agoexynos9610: Uncomment FMRadio
Nolen Johnson [Sat, 18 Mar 2023 22:46:37 +0000 (18:46 -0400)]
exynos9610: Uncomment FMRadio

Change-Id: I882eb7ab2ce757bd4791b19b6b1c2fc13ed41b76

20 months agoexynos9610: Remove unneeded NFC packages
Georg Veichtlbauer [Thu, 9 Mar 2023 14:34:20 +0000 (15:34 +0100)]
exynos9610: Remove unneeded NFC packages

* NfcNci and SecureElement are built by handheld_system.mk

Change-Id: I83f686b67778634b584a58d8bae95d237e6dbad1

20 months agoexynos9610: Remove no longer needed aptX blobs
Michael Bestas [Tue, 14 Mar 2023 00:06:52 +0000 (02:06 +0200)]
exynos9610: Remove no longer needed aptX blobs

As of Android 13 QPR2, AOSP Bluetooth APEX supports aptX/aptX HD

Change-Id: I03c210dd5a777f71becb691955c01f9caf0bd207

22 months agoRevert "exynos9610: These devices doesn't support SIM hot-swap"
Nolen Johnson [Thu, 19 Jan 2023 00:37:36 +0000 (01:37 +0100)]
Revert "exynos9610: These devices doesn't support SIM hot-swap"

This reverts commit 42f5882fa4600858c4c75459c0225cc43cb516ff.

Reason for revert: Weirdly they do, but it didn't work before.

Change-Id: I2b1b510d94ca434ab42f3be7b7c7cbc16980e081
(cherry picked from commit 3d0154f2c5848eca5d299a1ec2264931566fd223)
(cherry picked from commit 5e1645478f6ffff741cf038686be44f79f36eef8)

22 months agoexynos9610: Enable AOSP bluetooth audio HAL v2
dianlujitao [Sat, 12 Oct 2019 02:12:37 +0000 (10:12 +0800)]
exynos9610: Enable AOSP bluetooth audio HAL v2

Change-Id: I4d12752ae5fb2829d6612647c8740c84967f5434

23 months agoexynos9610: overlay: Enable option for full screen aspect ratio
Jesse Chan [Tue, 1 May 2018 06:02:55 +0000 (23:02 -0700)]
exynos9610: overlay: Enable option for full screen aspect ratio

Change-Id: I2a1b2acc5ed97ccb6795dc371c2b3ac9cb4f9d03

2 years agoexynos9610: Update vendor patch level to match fingerprint
Nolen Johnson [Sat, 19 Nov 2022 05:55:23 +0000 (00:55 -0500)]
exynos9610: Update vendor patch level to match fingerprint

Change-Id: I3574800d1b30a9996b587efabc045a7cf780d6e2

2 years agoexynos9610: Remove no-op TARGET_KERNEL_ARCH flag
Zhao Wei Liew [Thu, 10 Nov 2016 12:27:36 +0000 (20:27 +0800)]
exynos9610: Remove no-op TARGET_KERNEL_ARCH flag

TARGET_KERNEL_ARCH is a no-op unless it is different from TARGET_ARCH.

Change-Id: If36d5adc3296b76d5efb21da0e196f0b005ae784

2 years agoexynos9610: Fix clock padding after lowering DPI
krazey [Sat, 27 Aug 2022 12:35:17 +0000 (14:35 +0200)]
exynos9610: Fix clock padding after lowering DPI

82bd1bcfcc18ee5f40d2a1bf98e2ddc8ccf4c5d8: exynos9610: Lower DPI to account for Android 12 UI

Signed-off-by: krazey <admin@krazey.de>
Change-Id: I427b0ed4db8ab9251494a0230c21fc299bc8e470

2 years agoexynos9610: TetheringOverlay: Change wifi tether regex
Roshan Pius [Fri, 27 Jul 2018 16:53:51 +0000 (09:53 -0700)]
exynos9610: TetheringOverlay: Change wifi tether regex

The wifi interface names for wifi can either be wlan0 or wlan1.
Change the "config_tether_wifi_regexs" appropriately.

Bug: 80375412
Test: Ensured we display "Hotspot on" in settings when softap is started
on either wlan0 or wlan1.

Change-Id: I0c456412f9b71ef2ee784f3bfa58b01b9287ca73

2 years agoexynos9610: props: Update winupdate property
Ivan Meler [Sun, 19 Jun 2022 16:41:20 +0000 (17:41 +0100)]
exynos9610: props: Update winupdate property

* winupdate needs vendor perfix to be set

Change-Id: If8febd8bc5e0195d53596f87540196e741459dff

2 years agoexynos9610: Remove TARGET_USES_64_BIT_BINDER
Kilian von Pflugk [Mon, 10 Dec 2018 11:31:27 +0000 (12:31 +0100)]
exynos9610: Remove TARGET_USES_64_BIT_BINDER

The TARGET_USES_64_BIT_BINDER option is deprecated and can be removed

Change-Id: Ieab43c6baf17eff134a11312d8f8ee7d1b310d55

2 years agoexynos9610: Drop snap from aux camera package list
Marc Bourgoin [Fri, 3 Jun 2022 00:35:20 +0000 (18:35 -0600)]
exynos9610: Drop snap from aux camera package list

Change-Id: Ia5880e618bcb9a249b537ebcc62c4d34b9348b99

2 years agoexynos9610: Speed profile services and wifi-service to reduce RAM and storage
Mathieu Chartier [Tue, 2 Nov 2021 16:04:43 +0000 (21:34 +0530)]
exynos9610: Speed profile services and wifi-service to reduce RAM and storage

Change-Id: I1d907b24cb2760ddd9cc65ac4335730c8e61a0a3

2 years agoexynos9610: Drop wifi_tether_configure_ssid_default
zlewchan [Fri, 24 Jun 2022 14:07:03 +0000 (16:07 +0200)]
exynos9610: Drop wifi_tether_configure_ssid_default

- We shouldn't set it in common tree as we have 2 devices using it, set this up via overlay directly in the device trees

Signed-off-by: zlewchan <wiktorusyt@protonmail.ch>
Change-Id: I277d9b6f2631f4f7c02fa96eccafeb53a216921c

2 years agoexynos9610: Move /vendor/ueventd.rc to /vendor/etc/ueventd.rc
Steven Moreland [Wed, 26 May 2021 00:41:38 +0000 (00:41 +0000)]
exynos9610: Move /vendor/ueventd.rc to /vendor/etc/ueventd.rc

The root location of this file is deprecated for Android T.

Bug: 189268918
Bug: 178221726
Test: device reaches boot complete after raising API level to 32
Change-Id: I97a6d2e5cacd0ac5eeb81daafeb8b1a0ad5c119b

2 years agoexynos9610: overlay: Update deprecated screen power items
Georg Veichtlbauer [Wed, 30 Mar 2022 10:18:29 +0000 (12:18 +0200)]
exynos9610: overlay: Update deprecated screen power items

* screen.on -> screen.on.display0
* screen.full -> screen.full.display0

AOSP frameworks/base: 8ac63071a4e6da7e0740f5eb6c6753218efcfd3a

Change-Id: Iad50e6cb63368e2d71e6fa1dbb6997c0f95d321e

2 years agoexynos9610: properties: Remove obsolete debug.sf.disable_backpressure
SamarV-121 [Sun, 13 Feb 2022 15:16:01 +0000 (23:16 +0800)]
exynos9610: properties: Remove obsolete debug.sf.disable_backpressure

 * It has been removed in Android S
 * https://android.googlesource.com/platform/frameworks/native/+/2ec5391acfc340c2e195d573cf5a078ff0f280d2

Change-Id: I23a210a37ad257f0c8b7a3c5e1d59b2ac20cde9a

2 years agoexynos9610: Sort proprietary-files listing
Nolen Johnson [Fri, 11 Nov 2022 21:38:04 +0000 (16:38 -0500)]
exynos9610: Sort proprietary-files listing

Change-Id: I939b44b4c89464e90c6ed4374b7c9bc8c5dd6a3a

2 years agoexynos9610: aidl: light: Use pragma once
Bruno Martins [Thu, 13 Jan 2022 20:04:02 +0000 (20:04 +0000)]
exynos9610: aidl: light: Use pragma once

Change-Id: I517d22da79659803c1271f79cb089710efbeba2f

2 years agoexynos9610: Patch wfc-pkt-router to load libip_checksum_shim
Nolen Johnson [Sat, 5 Nov 2022 05:10:43 +0000 (01:10 -0400)]
exynos9610: Patch wfc-pkt-router to load libip_checksum_shim

* In Android T, AOSP moved `libnetutils` to an APEX that is inaccessible
  to the vendor namespace - and it can't be built to vendor in any
  treble-compliant way.

* Our `wfc-pkt-router` blob lives on vendor, and relies on `libnetutils.so`.

* Upon further analysis, we only reply on a few checksum related functions,
  such as the symbol `ipv4_pseudo_header_checksum`, which lives in the (now)
  staticly included dependency of `libnetutils.so`, `libip_checksum`.

* To work around this, we enabled building `libip_checksum` as a stand-alone
  vendor_available library called `libip_checksum_shim.so`, and `patchelf`
  `wfc-pkt-router` to depend on `lib_up_checksum.so`.

Depends-on: I7dff9ec6c8ff146f6090e9519ece7844b4a057eb
Change-Id: Ibaae5435c20f36469bf3417069a3fa3cfeb3aa9a

2 years agoexynos9610: init: Update init script to use Supplicant AIDL interface.
Gabriel Biren [Wed, 5 Jan 2022 17:21:24 +0000 (17:21 +0000)]
exynos9610: init: Update init script to use Supplicant AIDL interface.

Bug: 196235436
Bug: 213271543
Test: m
Change-Id: I35ffd5390ba835e3b35e55ea38b27f1ab924b291

2 years agoexynos9610: Fix default DRM service drop
krazey [Sun, 6 Nov 2022 14:02:03 +0000 (15:02 +0100)]
exynos9610: Fix default DRM service drop

I hwservicemanager: Since android.hardware.drm@1.0::IDrmFactory/clearkey is not registered, trying to start it as a lazy HAL.
E [   39.845091,6] init: Control message: Could not find 'android.hardware.drm@1.0::IDrmFactory/clearkey' for ctl.interface_start from pid: 265 (/system/bin/hwservicemanager)
W libc    : Unable to set property "ctl.interface_start" to "android.hardware.drm@1.0::IDrmFactory/clearkey": error code: 0x20
I hwservicemanager: Tried to start android.hardware.drm@1.0::IDrmFactory/clearkey as a lazy service, but was unable to. Usually this happens when a service is not installed, but if the service is intended to be used as a lazy service, then it may be configured incorrectly.

Change-Id: I9a2c62ff242652015cbe967be08a7cfbb1cd9950

2 years agoexynos9610: Build moto common overlay
dianlujitao [Fri, 4 Nov 2022 07:21:34 +0000 (15:21 +0800)]
exynos9610: Build moto common overlay

Change-Id: I2547000945e816a5b6cc9876bef4a8430cf38754

2 years agoexynos9610: Add hardware/samsung to soong namespaces
LuK1337 [Thu, 3 Nov 2022 19:57:11 +0000 (20:57 +0100)]
exynos9610: Add hardware/samsung to soong namespaces

See I78b1b9930a57bc01afda722b9f8a196c372f9d8b.

Change-Id: I634b562e12b70a0c060d449d3ba1d4e87204cf5d

2 years agoexynos9610: Include local soong namespace
Nolen Johnson [Sat, 5 Nov 2022 05:03:59 +0000 (01:03 -0400)]
exynos9610: Include local soong namespace

Change-Id: Ibf9779e92d181dae2d4aa729622c784afdef317a

2 years agoexynos9610: Sort blobs list
Nolen Johnson [Thu, 3 Nov 2022 15:42:19 +0000 (11:42 -0400)]
exynos9610: Sort blobs list

Change-Id: I67e8c3b35c6a62b19c3d5d5108a9f285bfeb2e9f

2 years agoexynos9610: Patch sensors libs in the correct location
Nolen Johnson [Thu, 3 Nov 2022 06:02:31 +0000 (02:02 -0400)]
exynos9610: Patch sensors libs in the correct location

Change-Id: I789f71f8222e6a8df2d1fba1a4440efa8b8e2c8e

2 years agoexynos9610: Use libutils from VNDK32 for HWC and sensors
Tim Zimmermann [Wed, 17 Aug 2022 16:08:25 +0000 (18:08 +0200)]
exynos9610: Use libutils from VNDK32 for HWC and sensors

* For hwcomposer, sensors, and libexynosdisplay.so
* Abort message: 'incStrongRequireStrong() called on 0x7586a3a1c0 which isn't already owned'

Change-Id: Ibca93bc356b81e205c77df5992b2ae1ded9bb83b

2 years agoexynos9610: Set block_binder_thread_on_incoming_calls in product.prop
Bruno Martins [Mon, 31 Oct 2022 16:24:31 +0000 (16:24 +0000)]
exynos9610: Set block_binder_thread_on_incoming_calls in product.prop

Fails to be set from vendor otherwise:

  init: Do not have permissions to set 'ro.telephony.block_binder_thread_on_incoming_calls' to 'false' in property file '/vendor/build.prop': SELinux permission check failed

Change-Id: I3c3ea61af240557f3b1053497c3ed1403f7ae318

2 years agoRevert "exynos9610: Add tethering usb props"
Nolen Johnson [Wed, 2 Nov 2022 20:34:04 +0000 (16:34 -0400)]
Revert "exynos9610: Add tethering usb props"

* This is QCOM only, and even then QTI scripts only.

This reverts commit 918341ce10a30a2bc1c4c4d493a1236d77f00222.

Change-Id: I062da6eb4ae83a5cf72777ac7030d174ceabdeb4

2 years agoexynos9610: Set TARGET_KERNEL_CLANG_VERSION to r416183b
Michael Bestas [Mon, 31 Oct 2022 18:39:59 +0000 (20:39 +0200)]
exynos9610: Set TARGET_KERNEL_CLANG_VERSION to r416183b

Change-Id: Ic1eb6f7e3cb54bdb67da2fb963426a240f2edda3

2 years agoexynos9610: Opt-out for LLVM binutils
Bruno Martins [Thu, 8 Sep 2022 11:03:17 +0000 (12:03 +0100)]
exynos9610: Opt-out for LLVM binutils

Change-Id: I353dfb264191e587620b4a88f1f6783e54395d6e

2 years agoexynos9610: Enforce EPPE
Nolen Johnson [Mon, 24 Oct 2022 04:40:31 +0000 (00:40 -0400)]
exynos9610: Enforce EPPE

* FMRadio app isn't brought up yet, so comment it so it
  doesn't get forgotten.

Change-Id: I27aa6895a38b649cb5231ffddd640a9e33fa8c77

2 years agoexynos9610: Correct camera overrides
Nolen Johnson [Thu, 20 Oct 2022 15:34:33 +0000 (11:34 -0400)]
exynos9610: Correct camera overrides

Change-Id: I572a67ad0ab914e3aeaac20af3a3876306f62767

2 years agoexynos9610: Add tethering usb props
jro1979oliver [Thu, 1 Sep 2022 11:48:34 +0000 (11:48 +0000)]
exynos9610: Add tethering usb props

Change-Id: I841feaa53db18b3e765a0a864ca062b6ff4ee27e

2 years agoexynos9610: wifi: Enable set channel on NDP setup
Nate Jiang [Fri, 14 Jan 2022 23:53:46 +0000 (15:53 -0800)]
exynos9610: wifi: Enable set channel on NDP setup

Bug: 190354626
Test: build, CtsVerifier
Change-Id: Ieff18b96ec0f24c1c20c40add4e47a532ece8922

2 years agoexynos9610: wifi: Configure correct overlay configuration.
Les Lee [Wed, 5 Jan 2022 05:27:25 +0000 (13:27 +0800)]
exynos9610: wifi: Configure correct overlay configuration.

ag/16564596 will change default value to false.
Configure correct overlay configuration.

Bug: 212488775
Test: manual test & build
Change-Id: Iaf1a0a23dae69fde5995e591a757a8ef5374d5b5

2 years agoexynos9610: Enable zygote critical window
Woody Lin [Wed, 28 Oct 2020 03:22:19 +0000 (11:22 +0800)]
exynos9610: Enable zygote critical window

Bug: 141948707
Change-Id: I5dc57312118b0f6d95fc9fe164363ec7e15f1b51

2 years agoexynos9610: Migrate to AIDL ClearKey DRM HAL
Bruno Martins [Wed, 14 Sep 2022 13:51:15 +0000 (14:51 +0100)]
exynos9610: Migrate to AIDL ClearKey DRM HAL

Change-Id: Iad5cc1176978137c647069197b33f49fb4d98ab2

2 years agoexynos9610: Drop default DRM service
Bruno Martins [Mon, 30 May 2022 18:27:51 +0000 (19:27 +0100)]
exynos9610: Drop default DRM service

This is not needed, since Widevine DRM and Clearkey DRM
services are available.

Change-Id: I97023f1bab88ddb8fa4cb205df190c516a759951

2 years agoexynos9610: Move Bluetooth power config away from overlay
Georg Veichtlbauer [Wed, 14 Sep 2022 06:54:28 +0000 (08:54 +0200)]
exynos9610: Move Bluetooth power config away from overlay

Same values go to:
- power profile xml for power calculation
- vendor props for the A13 BT stack

Change-Id: I04dbb8736a599c4798223f7e3e317b2fcc873ded

2 years agoexynos9610: Disable LE audio related profiles
Alice Kuo [Fri, 6 May 2022 07:18:16 +0000 (15:18 +0800)]
exynos9610: Disable LE audio related profiles

Bug: 231671426
Test: build
Change-Id: I78e2ddfc636a0fa31b977b5f9ba9a7d7bc0f2a26
Merged-In: I78e2ddfc636a0fa31b977b5f9ba9a7d7bc0f2a26
(cherry picked from commit acb0b19b8348a4b9518d2f46b1599f423f620347)

2 years agoexynos9610: Use the ?= operator so BT properties can be overridden
Sal Savage [Wed, 27 Apr 2022 20:30:38 +0000 (13:30 -0700)]
exynos9610: Use the ?= operator so BT properties can be overridden

System properties set with the "=" operator cannot be overriden. This
device is used elsewhere in the system and some of the properties need
to be overridden. The "?=" operator will use the assigned value if no
other values are assigned elsewhere, allowing for overrides.

Bug: 230638462
Test: adb shell getprop | grep bluetooth
Change-Id: Id6cd7901555edafef141bbc1bbd5e06dc3a54d0c

2 years agoexynos9610: Set default the Bluetooth class of device
Sal Savage [Mon, 25 Apr 2022 23:43:16 +0000 (16:43 -0700)]
exynos9610: Set default the Bluetooth class of device

The class of device is a string with a list of uint8t values:
90,2,12

The meaning is as follows:
{Service Field, Major class, Minor class}

Service Field: 0x5A -> 90
    Bit 17: Networking
    Bit 19: Capturing
    Bit 20: Object Transfer
    Bit 22: Telephony
MAJOR_CLASS: 0x02 -> 2 (Phone)
MINOR_CLASS: 0x0C -> 12 (Smart Phone)

Bug: 217452259
Test: make -j; -- check that bluetooth.device.class_of_device is
correct

Change-Id: I24fd57bacbf6786a26f7079e7a6e9857dbe170d1

2 years agoexynos9610: Update LE Audio profile properties to match spec and implementation
Sal Savage [Thu, 7 Apr 2022 22:54:04 +0000 (15:54 -0700)]
exynos9610: Update LE Audio profile properties to match spec and implementation

Bug: 217448211
Test: atest BluetoothInstrumentationTests
Change-Id: I9312b9b70b51603aca6da6f4081533ab73c1614d

2 years agoexynos9610: Move BT profiles props to vendor
Alexander Koskovich [Wed, 20 Jul 2022 16:16:53 +0000 (09:16 -0700)]
exynos9610: Move BT profiles props to vendor

 * Makes it GSI compatible

Change-Id: I8f7caf241d508af59c16482e6185c42f23f8a460

2 years agoexynos9610: Enable bluetooth profiles with product.prop
Sal Savage [Fri, 4 Feb 2022 17:41:57 +0000 (09:41 -0800)]
exynos9610: Enable bluetooth profiles with product.prop

Bug: 217448211
Test: make -j
Change-Id: Idd7e52b7822915ed61299f1c0b29bf87ca0339fe

2 years agoexynos9610: Move to android_memset32 shim in hardware/lineage/compat
Nolen Johnson [Wed, 21 Sep 2022 16:32:05 +0000 (12:32 -0400)]
exynos9610: Move to android_memset32 shim in hardware/lineage/compat

Change-Id: I4b37149335452dbcd0e40cd21144b5af1e00bdce

2 years agoexynos9610: Set config_sustainedPerformanceModeSupported
Srinath Sridharan [Wed, 27 Jul 2016 22:01:12 +0000 (15:01 -0700)]
exynos9610: Set config_sustainedPerformanceModeSupported

This config will support the Sustained Performance Mode.

Change-Id: Ic992ea6fd910cf679a940b273c95968f4c60adbb

2 years agoexynos9610: Lower DPI to account for Android 12 UI
Nolen Johnson [Sun, 19 Jun 2022 05:20:58 +0000 (01:20 -0400)]
exynos9610: Lower DPI to account for Android 12 UI

Change-Id: Id2963f421fdc441347b5275dd0378ef804590cfc

2 years agoexynos9610: allow hal_camera_default to read/write m2m1shot_device
Jan Altensen [Thu, 5 May 2022 23:08:00 +0000 (01:08 +0200)]
exynos9610: allow hal_camera_default to read/write m2m1shot_device

Change-Id: I8a6ce897fe85ae19e220a28773191b6122e633d4

2 years agoexynos9610: drop android_hardware_samsung_nfc from lineage.dependencies
Jan Altensen [Thu, 28 Apr 2022 03:36:24 +0000 (05:36 +0200)]
exynos9610: drop android_hardware_samsung_nfc from lineage.dependencies

 * this repo is synced by default from aosp

Change-Id: I6131eaedf55071b565ed8875db845f4fb6894598

2 years agoexynos9610: sepolicy: Allow multiple services to search system data dirs
Nolen Johnson [Thu, 28 Apr 2022 02:16:26 +0000 (22:16 -0400)]
exynos9610: sepolicy: Allow multiple services to search system data dirs

* /data/user_de/0 specifically.

Change-Id: I6c3dc06e66b02e13c627922b483966250fba3532

2 years agoexynos9610: sepolicy: Allow gpsd to read bootanim_system_prop
Nolen Johnson [Sun, 17 Apr 2022 00:27:42 +0000 (20:27 -0400)]
exynos9610: sepolicy: Allow gpsd to read bootanim_system_prop

Change-Id: I52b6b5da47921cf238fb98da50b452b1f6cbcdd2

2 years agoexynos9610: sepolicy: Bringup for Android 12
Nolen Johnson [Fri, 15 Apr 2022 22:13:12 +0000 (18:13 -0400)]
exynos9610: sepolicy: Bringup for Android 12

Change-Id: I3b631e708833caea694b0a2c118a3da6b1bdc854

2 years agoexynos9610: restorecon_recursive fpdata/keystore directories
Nolen Johnson [Fri, 15 Apr 2022 22:12:34 +0000 (18:12 -0400)]
exynos9610: restorecon_recursive fpdata/keystore directories

* These are getting mis-labeled and causing a neverallow.

Change-Id: If1546db8876d4a9fe0f05b0cbdbf9b8c5fa0bfa4

2 years agoexynos9610: Remove system_server neverallow reading vendor_radio_prop
Nolen Johnson [Thu, 14 Apr 2022 15:49:10 +0000 (11:49 -0400)]
exynos9610: Remove system_server neverallow reading vendor_radio_prop

* Not even needed anymore.

Change-Id: I960939d5706b195d43469a974e6d2b3cdec9c47a