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
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
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
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
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
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
Nolen Johnson [Mon, 26 Feb 2024 16:35:12 +0000 (11:35 -0500)]
exynos9610: Include samsung_slsi-linaro soong namespaces
Change-Id: I90b61dfa6647d290d13e8e30923f0eacee8cd3b5
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
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
Nolen Johnson [Fri, 16 Feb 2024 20:10:04 +0000 (15:10 -0500)]
exynos9610: Fix spacing in dependencies
Change-Id: I1b1adbde5fd5c2dc73377b169e3ba91e39b1f80e
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
Nolen Johnson [Sun, 11 Feb 2024 18:45:30 +0000 (13:45 -0500)]
exynos9610: Fix duplicated vbmeta_device type
Change-Id: Ib6e38ba2ca9a9526238a50f34fda78ac7556c069
Georg Veichtlbauer [Thu, 13 Oct 2022 06:01:10 +0000 (08:01 +0200)]
exynos9610: Switch IWlan to AP-assisted mode
Change-Id: I404be6397aae686a7a76597a8ee66e43af51d104
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)
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
Nolen Johnson [Wed, 3 Jan 2024 04:26:31 +0000 (23:26 -0500)]
exynos9610: Fix extraction from stock
Change-Id: Ibd74af9bd0926ff02c7752a39b0d4723a0ba012f
Nolen Johnson [Wed, 3 Jan 2024 03:37:48 +0000 (22:37 -0500)]
exynos9610: Update extract_utils from templates
Change-Id: Id8aa150f3efb961f827ad9f61f3e4c4558c3099f
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
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
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
Nolen Johnson [Tue, 28 Nov 2023 17:54:37 +0000 (12:54 -0500)]
exynos9610: sort-blobs-list
Change-Id: Icee0763b91bd85f3d4bd5777c7952f95152a963e
Nolen Johnson [Tue, 28 Nov 2023 07:23:20 +0000 (02:23 -0500)]
exynos9610: Don't override Aperture
Change-Id: Id154dc2d98df4aaf4bb967bc60570ce5d9fe3ad5
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
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
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
LuK1337 [Thu, 19 Oct 2023 22:53:15 +0000 (00:53 +0200)]
exynos9610: Build libprotobuf-cpp-lite-3.9.1-vendorcompat
Change-Id: I0aac742db9c2b4b3e48ee20158f19405863893c2
Sebastiano Barezzi [Sun, 11 Sep 2022 23:09:32 +0000 (01:09 +0200)]
exynos9610: Raise VINTF target level to 4
Change-Id: I4c4783dc112102f127f3b1d796e206dcac672faf
Jan Altensen [Sun, 16 Jul 2023 10:28:48 +0000 (12:28 +0200)]
exynos9610: sepolicy: fixup charging_enabled sysfs permissions
Change-Id: I4fe7ffa43ef5b988f5083f12176dfea06726bf7e
Nolen Johnson [Thu, 29 Jun 2023 16:07:02 +0000 (12:07 -0400)]
exynos9610: sepolicy: Allow Health HAL what it needs
Change-Id: I46f54b481e70cf98307799acddeec6bf3e598976
Nolen Johnson [Tue, 27 Jun 2023 19:44:47 +0000 (15:44 -0400)]
exynos9610: Configure Lineage Health HAL
Change-Id: I14b6e4393e9cc55e68b3a7f6bb3b7fb623960ee8
Michael Bestas [Fri, 3 Mar 2023 21:43:42 +0000 (23:43 +0200)]
exynos9610: Build Lineage Health HAL
Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
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
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
Nolen Johnson [Sat, 18 Mar 2023 22:46:37 +0000 (18:46 -0400)]
exynos9610: Uncomment FMRadio
Change-Id: I882eb7ab2ce757bd4791b19b6b1c2fc13ed41b76
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
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
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)
dianlujitao [Sat, 12 Oct 2019 02:12:37 +0000 (10:12 +0800)]
exynos9610: Enable AOSP bluetooth audio HAL v2
Change-Id: I4d12752ae5fb2829d6612647c8740c84967f5434
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
Nolen Johnson [Sat, 19 Nov 2022 05:55:23 +0000 (00:55 -0500)]
exynos9610: Update vendor patch level to match fingerprint
Change-Id: I3574800d1b30a9996b587efabc045a7cf780d6e2
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
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
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
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
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
Marc Bourgoin [Fri, 3 Jun 2022 00:35:20 +0000 (18:35 -0600)]
exynos9610: Drop snap from aux camera package list
Change-Id: Ia5880e618bcb9a249b537ebcc62c4d34b9348b99
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
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
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
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
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
Nolen Johnson [Fri, 11 Nov 2022 21:38:04 +0000 (16:38 -0500)]
exynos9610: Sort proprietary-files listing
Change-Id: I939b44b4c89464e90c6ed4374b7c9bc8c5dd6a3a
Bruno Martins [Thu, 13 Jan 2022 20:04:02 +0000 (20:04 +0000)]
exynos9610: aidl: light: Use pragma once
Change-Id: I517d22da79659803c1271f79cb089710efbeba2f
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
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
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
dianlujitao [Fri, 4 Nov 2022 07:21:34 +0000 (15:21 +0800)]
exynos9610: Build moto common overlay
Change-Id: I2547000945e816a5b6cc9876bef4a8430cf38754
LuK1337 [Thu, 3 Nov 2022 19:57:11 +0000 (20:57 +0100)]
exynos9610: Add hardware/samsung to soong namespaces
See I78b1b9930a57bc01afda722b9f8a196c372f9d8b.
Change-Id: I634b562e12b70a0c060d449d3ba1d4e87204cf5d
Nolen Johnson [Sat, 5 Nov 2022 05:03:59 +0000 (01:03 -0400)]
exynos9610: Include local soong namespace
Change-Id: Ibf9779e92d181dae2d4aa729622c784afdef317a
Nolen Johnson [Thu, 3 Nov 2022 15:42:19 +0000 (11:42 -0400)]
exynos9610: Sort blobs list
Change-Id: I67e8c3b35c6a62b19c3d5d5108a9f285bfeb2e9f
Nolen Johnson [Thu, 3 Nov 2022 06:02:31 +0000 (02:02 -0400)]
exynos9610: Patch sensors libs in the correct location
Change-Id: I789f71f8222e6a8df2d1fba1a4440efa8b8e2c8e
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
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
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
Michael Bestas [Mon, 31 Oct 2022 18:39:59 +0000 (20:39 +0200)]
exynos9610: Set TARGET_KERNEL_CLANG_VERSION to r416183b
Change-Id: Ic1eb6f7e3cb54bdb67da2fb963426a240f2edda3
Bruno Martins [Thu, 8 Sep 2022 11:03:17 +0000 (12:03 +0100)]
exynos9610: Opt-out for LLVM binutils
Change-Id: I353dfb264191e587620b4a88f1f6783e54395d6e
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
Nolen Johnson [Thu, 20 Oct 2022 15:34:33 +0000 (11:34 -0400)]
exynos9610: Correct camera overrides
Change-Id: I572a67ad0ab914e3aeaac20af3a3876306f62767
jro1979oliver [Thu, 1 Sep 2022 11:48:34 +0000 (11:48 +0000)]
exynos9610: Add tethering usb props
Change-Id: I841feaa53db18b3e765a0a864ca062b6ff4ee27e
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
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
Woody Lin [Wed, 28 Oct 2020 03:22:19 +0000 (11:22 +0800)]
exynos9610: Enable zygote critical window
Bug:
141948707
Change-Id: I5dc57312118b0f6d95fc9fe164363ec7e15f1b51
Bruno Martins [Wed, 14 Sep 2022 13:51:15 +0000 (14:51 +0100)]
exynos9610: Migrate to AIDL ClearKey DRM HAL
Change-Id: Iad5cc1176978137c647069197b33f49fb4d98ab2
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
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
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)
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
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
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
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
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
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
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
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
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
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
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
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
Nolen Johnson [Fri, 15 Apr 2022 22:13:12 +0000 (18:13 -0400)]
exynos9610: sepolicy: Bringup for Android 12
Change-Id: I3b631e708833caea694b0a2c118a3da6b1bdc854
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
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
Nolen Johnson [Tue, 5 Apr 2022 16:59:26 +0000 (12:59 -0400)]
exynos9610: Remove now duplicated labels/types
Change-Id: I35ea9ccb2042927961a399f7ff7919f66b620a63
Inseob Kim [Tue, 28 Jul 2020 07:34:50 +0000 (16:34 +0900)]
exynos9610: Rename exported3_radio_prop to radio_control_prop
The context name exported3_radio_prop is ambiguous and does not reflect
the usage and role of the properties. This changes its name to
radio_control_prop.
Some downstream branches are still using exported3_radio_prop, so
get_prop(domain, radio_control_prop) is added to avoid regression. It's
just a workaround and to be removed soon, after all exported3_radio_prop
are cleaned up.
Exempt-From-Owner-Approval: cherry pick
Bug:
162214733
Test: boot a device with a sim and see basic functions work
Change-Id: I1bdb3d92377ead1faf4f1296f50846bdce89c596
Merged-In: I1bdb3d92377ead1faf4f1296f50846bdce89c596
Alexander Koskovich [Thu, 27 Jan 2022 21:23:56 +0000 (14:23 -0700)]
exynos9610: Drop support for Snapdragon Camera
* Won't be implemented this cycle (or ever again hopefully).
Change-Id: Ie2a346319dfe814deaf9833cb31640505cc6b7dc
Georg Veichtlbauer [Thu, 10 Mar 2022 15:03:55 +0000 (16:03 +0100)]
exynos9610: Remove CLANG compile flag
Defaults to true now project-wide.
Change-Id: I1e0ff5adadc889d81c90c816457a72d2621e4b5a
Alexander Koskovich [Thu, 3 Dec 2020 10:26:15 +0000 (10:26 +0000)]
exynos9610: Disable the usage of ConfigStore.
* As per commit https://github.com/LineageOS/android_hardware_interfaces/commit/
11a113a67e87a8da9a9bf0a73883f2325de90934 ("Add disable_configstore").
[SebaUbuntu] Remove manifest entry as well
Change-Id: I5482989a8a96227a3e2a5317eacf613c641bfa8e
Tim Zimmermann [Sat, 29 Jan 2022 07:06:53 +0000 (08:06 +0100)]
exynos9610: Specify encryption format for adoptable storage
Change-Id: I781d803627330d81b4011321ca721ff4abba4339
Wilson Sung [Wed, 3 Mar 2021 10:08:45 +0000 (18:08 +0800)]
exynos9610: Set SOC properties for exynos9610
Bug:
158284209
Bug:
180589452
Change-Id: I31ec2aff20a4efb3c502ee5c8c6463e31c892bd5
Signed-off-by: Wilson Sung <wilsonsung@google.com>
Midas Chien [Fri, 10 Apr 2020 13:12:56 +0000 (21:12 +0800)]
exynos9610: Uprev graphics.composer to 2.4
Move sunfish to composer 2.4 interface for the R api additions.
Bug:
148836379
Test:
1. $adb shell lshal | grep 'composer'
android.hardware.graphics.composer@2.4::IComposer/default
2. $adb shell lshal --init-vintf
<hal format="hidl">
<name>android.hardware.graphics.composer</name>
<transport>hwbinder</transport>
<fqname>@2.4::IComposer/default</fqname>
</hal>
3. adb shell ps | grep 'composer'
system ... android.hardware.graphics.composer@2.4-service-sm8150
4. vts-tf > run vts -m VtsHalGraphicsComposerV2_4Target
5. Check FOSS work
Change-Id: Ic3e78b7ff04802120765b04f782021b405d2494f
Arvind Kumar [Thu, 9 Jan 2020 06:38:57 +0000 (12:08 +0530)]
exynos9610: Enable graphics mapper version 2.1
Enable graphics mapper version 2.1
Change-Id: Iad70754a980eadcfd68752c76e569b503d398fae