GitHub/LineageOS/android_device_motorola_exynos9610-common.git
12 days agoexynos9610: Migrate libaudioproxy to Blueprint
Nolen Johnson [Wed, 20 Nov 2024 21:53:31 +0000 (16:53 -0500)]
exynos9610: Migrate libaudioproxy to Blueprint

Change-Id: I26df1f3aed0468347273c40feae9353b1f3c74cb

12 days agoexynos9610: Decommonize Audio/RIL/libhwjpeg
Nolen Johnson [Wed, 20 Nov 2024 21:43:44 +0000 (16:43 -0500)]
exynos9610: Decommonize Audio/RIL/libhwjpeg

Change-Id: I157bf03c688db1a092d4e5290cb37d14671e52f2

3 weeks agoexynos9610-common: Fix a few proprietary-files issues
Nolen Johnson [Sun, 10 Nov 2024 16:59:15 +0000 (11:59 -0500)]
exynos9610-common: Fix a few proprietary-files issues

Change-Id: I4915c6a556044dc090b637174b991912ac68b996

5 weeks agoexynos9610-common: Ensure we build the vendor version of libcrypto_shim
Nolen Johnson [Sun, 27 Oct 2024 20:57:40 +0000 (16:57 -0400)]
exynos9610-common: Ensure we build the vendor version of libcrypto_shim

Reference: Ia42de59ff157cddc930a111f8ce5e36e645055ed
Change-Id: I9c9340b37a1ad0d6c22d3947541fe1196a5efeec

5 weeks agofixup! exynos9610-common: Move libdemange shim to prebuilt
Nolen Johnson [Sun, 27 Oct 2024 21:16:58 +0000 (17:16 -0400)]
fixup! exynos9610-common: Move libdemange shim to prebuilt

Change-Id: I87c187d3f231e1d7f940219b1394b3f13d7d00c6

5 weeks agoexynos9610-common: Move libdemange shim to prebuilt
Nolen Johnson [Sun, 27 Oct 2024 20:32:26 +0000 (16:32 -0400)]
exynos9610-common: Move libdemange shim to prebuilt

* Refuses to build in Android 15.

Change-Id: I3a26cd7a6997d330cea8d33ee4f3c9ca53c3c4a5

5 weeks agoexynos9610-common: Shim libwvhidl with libcrypto_shim
Michael Bestas [Tue, 10 Sep 2024 21:04:13 +0000 (00:04 +0300)]
exynos9610-common: Shim libwvhidl with libcrypto_shim

The following change
https://github.com/google/boringssl/commit/e202e51cb0912f36dafbd2e67cf04d6ec82f3180
removed symbols that our libs require.

[npjohnson]: New Change-ID as previous commit utilized the right one.

Change-Id: I7548ba52b52800f666ee21dac55760864888f054

5 weeks agoexynos9610-common: Use libutils-v32 from hardware/lineage/compat
Nolen Johnson [Sat, 26 Oct 2024 21:53:31 +0000 (17:53 -0400)]
exynos9610-common: Use libutils-v32 from hardware/lineage/compat

Change-Id: I674ec29a5983e15f22fbfab74e49895770ca52bb

5 weeks agoexynos9610-common: Remove quotes in TARGET_RECOVERY_PIXEL_FORMAT
Luofan Chen [Thu, 10 Oct 2024 15:57:32 +0000 (15:57 +0000)]
exynos9610-common: Remove quotes in TARGET_RECOVERY_PIXEL_FORMAT

Change-Id: Ic400a47f0b4b8d2884082b99df3fe2e09c9438f6

5 weeks agoexynos9610-common: Shim strongswan with libcrypto_shim
Michael Bestas [Tue, 10 Sep 2024 21:04:13 +0000 (00:04 +0300)]
exynos9610-common: Shim strongswan with libcrypto_shim

The following change
https://github.com/google/boringssl/commit/e202e51cb0912f36dafbd2e67cf04d6ec82f3180
removed symbols that our libs require.

Change-Id: I1325c34ecec3d339dd68c665010ecb36fa2e6a29

5 weeks agoexynos9610-common: Sync extract scripts with 22 templates
Michael Bestas [Sun, 29 Sep 2024 08:24:29 +0000 (11:24 +0300)]
exynos9610-common: Sync extract scripts with 22 templates

Change-Id: I7963ae050cfb193c5d0c2636da9c1e8f82bcdbdb

2 months agoexynos9610-common: extract-files improvements
Michael Bestas [Mon, 9 Sep 2024 23:07:58 +0000 (02:07 +0300)]
exynos9610-common: extract-files improvements

Change-Id: I517698ca3b5a93e10a5b167417631c7f8d0ab9e2

2 months agoexynos9610-common: Sync extract scripts with templates
Michael Bestas [Tue, 27 Aug 2024 19:51:30 +0000 (22:51 +0300)]
exynos9610-common: Sync extract scripts with templates

Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc

3 months agoexynos9610: Use prebuilt MotCamera2
Nolen Johnson [Sat, 17 Aug 2024 01:48:03 +0000 (21:48 -0400)]
exynos9610: Use prebuilt MotCamera2

Change-Id: Ie487b1d5c73232af79561da063b3f42a24a3cf20

5 months agoexynos9610: Remove unused blob_fixup's
Nolen Johnson [Tue, 2 Jul 2024 18:43:00 +0000 (14:43 -0400)]
exynos9610: Remove unused blob_fixup's

Change-Id: Id563353ea3f859e28317ed502c4548087eb79269

5 months agoexynos9610: troika_retail-user 11 RSBS31.Q1-48-36-26 9a0b6f-9a0b6f release-keys
Nolen Johnson [Tue, 2 Jul 2024 18:41:21 +0000 (14:41 -0400)]
exynos9610: troika_retail-user 11 RSBS31.Q1-48-36-26 9a0b6f-9a0b6f release-keys

Change-Id: I15ddbada0488ab9a108522dd39134f93e2849717

5 months agoexynos9610: Fix up charger pin
Nolen Johnson [Tue, 2 Jul 2024 18:34:57 +0000 (14:34 -0400)]
exynos9610: Fix up charger pin

Change-Id: Ib35a798720aa6a3702af12fb80495bb103a4d650

5 months agofixup! exynos9610: Swap to common lights HAL soong variable
Nolen Johnson [Wed, 26 Jun 2024 03:07:26 +0000 (23:07 -0400)]
fixup! exynos9610: Swap to common lights HAL soong variable

Change-Id: If5356314b46e396c31e4121e92bcc82951fd9a95

5 months agoexynos9610: Swap to common lights HAL soong variable
Nolen Johnson [Tue, 25 Jun 2024 01:34:16 +0000 (21:34 -0400)]
exynos9610: Swap to common lights HAL soong variable

Change-Id: I951576adcf89f01333176a3cfb71a0b3741acc82

5 months agoexynos9610: use Soong config to handle custom light include directory
Han Sol Jin [Thu, 20 Jun 2024 17:30:12 +0000 (10:30 -0700)]
exynos9610: use Soong config to handle custom light include directory

Change-Id: I828325be95e249fd7da407d7d27ab7c24209eb93

5 months agoexynos9610: Add a device specific FCM
Michael Bestas [Fri, 14 Jun 2024 21:50:24 +0000 (00:50 +0300)]
exynos9610: Add a device specific FCM

Change-Id: I9a36e9b33bf8c73cc0a98d441b141c3c698bc955

5 months agoexynos9610: Health 2.1
Nolen Johnson [Thu, 20 Jun 2024 01:00:59 +0000 (21:00 -0400)]
exynos9610: Health 2.1

Change-Id: I5cd69b6ef73718fbe2a858d06d3f0658dc018979

5 months agoexynos9610: Build missing libraries for 14 QPR3
Michael Bestas [Thu, 13 Jun 2024 21:26:49 +0000 (00:26 +0300)]
exynos9610: Build missing libraries for 14 QPR3

Change-Id: I6a84526ca1e9f4e5140c8068646433cab3fe85b2

5 months agoexynos9610: Include lineage FCM
Michael Bestas [Fri, 14 Jun 2024 21:46:19 +0000 (00:46 +0300)]
exynos9610: Include lineage FCM

Change-Id: Ib4408e941d920a3a38132ba1c8360994f5534c0b

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

7 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

7 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

7 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

7 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

7 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

9 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

10 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

10 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

11 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

11 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

11 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

17 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

17 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