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
Jan Altensen [Thu, 14 Apr 2022 15:45:22 +0000 (11:45 -0400)]
exynos9610: Patch ShannonIms to use updated method for Android S
* `sed -i 's/getDataConnectionNetworkType/getNetworkType/g' ShannonIms/smali/com/shannon/imsservice/conn/proxy/ImsConnectivityProxyListener*`
Change-Id: Ief3ffd2a13e4e263240017e9a60d626e00853a6d
Nolen Johnson [Tue, 5 Apr 2022 19:24:59 +0000 (15:24 -0400)]
exynos9610: Move from HIDL lights HAL to AIDL
Change-Id: Idfc0ec003d899d528248245e907d262364dbb6ba
LuK1337 [Tue, 14 Dec 2021 10:42:44 +0000 (11:42 +0100)]
exynos9610: Build needed HIDL libs into vendor
Change-Id: I1db79176ac103cb7fc8db0fa4b4cfc699e38ad49
linjoey [Wed, 16 Jun 2021 13:29:00 +0000 (21:29 +0800)]
exynos9610: Modify Vulkan and OpenGL version to 2020-03-01
Bug:
191252896
Test: android.graphics.cts.VulkanDeqpLevelTest#testVulkanDeqpLevel pass
Change-Id: I0e598ee8a26cd614dc5076a87c514756ba39d740
Alastair Donaldson [Fri, 18 Dec 2020 13:53:59 +0000 (13:53 +0000)]
exynos9610: Add OpenGL ES and update Vulkan dEQP feature flags
Populates a new feature flag to record the level of OpenGL ES dEQP
test support. Updates the analogous Vulkan dEQP feature flag to the
value for the next dessert release.
Bug:
159841535
Bug:
175706433
Merged-In: Ib0fb8f83732d0b3f56bb11a97c84fdc7727c1026
Change-Id: Ic97a65fba95a67e3e16cedd0eb4f3f209f645421
Edwin Wong [Thu, 25 Mar 2021 16:43:21 +0000 (09:43 -0700)]
exynos9610: Uprev clearkey plugin to drm HAL v1.4
Test: atest
atest CtsMediaTestCases:android.media.cts.MediaDrmClearkeyTest#testGetPlaybackComponent
Bug:
182525516
Change-Id: I106a727f2f29bf5472484402b2801a630b0d6301
Nolen Johnson [Tue, 5 Apr 2022 16:46:44 +0000 (12:46 -0400)]
exynos9610: Remove odex/oat files from pinner list
The pinner now asks the runtime for these files.
Test: adb shell dumpsys pinner
Bug:
144773394
Change-Id: I8de2a2935901cbd3eaa50ce2d8aa09f61080ba02
Merged-In: Ie633ea788dab3389a3407ec9a461b5837befca46
Kevin Jeon [Tue, 19 Jan 2021 22:52:54 +0000 (22:52 +0000)]
exynos9610: Update SurfaceFlinger pin on all targets
This change replaces the '/system/lib64/libsurfaceflinger.so' pin, as
the file was removed in ag/
12524602. The updated pin relies on
go/aog/
1552085, as system_service needs read access to SurfaceFlinger.
Bug:
176197656
Test: adb shell dumpsys pinner (coral)
- shows that /system/bin/surfaceflinger is successfully pinned
adb logcat | grep PinnerService (coral)
- no longer shows a file-not-found error in PinnerService
Change-Id: Iae2a96c5fe4b1f5698d21de9970140321d11c460
Inseob Kim [Tue, 18 Aug 2020 14:29:12 +0000 (23:29 +0900)]
exynos9610: sepolicy: Attach vendor_property_type to properties
We are going to enforce that each property has an explicit owner, such
as system, vendor, or product. This attaches vendor_property_type to
properties defined under vendor sepolicy directories.
Change-Id: Iedbbcc5086c09f549e91e73ece7311563c378347
Roger Ellis [Wed, 13 May 2020 23:56:10 +0000 (16:56 -0700)]
exynos9610: Allow ELF prebuilts in PRODUCT_COPY_FILES
* ELF prebuilts were banned in PRODUCT_COPY_FILES starting
May 11th. See b/
156534160 for long-term fix which should
override this change.
Change-Id: Icd25b40ca4e4285319775046a1b70de30572be07
Tri Vo [Fri, 1 Feb 2019 19:27:25 +0000 (11:27 -0800)]
exynos9610: Use PRODUCT_*_SEPOLICY_DIRS to build product sepolicy.
We are restoring the old behavior of BOARD_PLAT_*_SEPOLICY_DIR that
extends system sepolicy. To that end, we use another make variable to
specify product sepolicy.
Bug:
119305624
Test: m selinux_policy
Change-Id: I67636b7aaff2bd5ae5309981f9fa2f8ce51edf6f
Michael Bestas [Thu, 31 Mar 2022 23:52:31 +0000 (02:52 +0300)]
exynos9610: Automatically add apk/jar/vintf fragments to PRODUCT_PACKAGES
Change-Id: Iaa9d66b0bbdc55f046ee1347cbf83c7eecebb35e
Jan Altensen [Sun, 17 Apr 2022 03:51:03 +0000 (05:51 +0200)]
exynos9610: WifiOverlay: disable Automatic channel selection (ACS)
* this was erroneously enabled when we moved to WifiOverlay
Change-Id: I1794df85fffe6e8163348b87cc257ab0dc6a2e88
Nolen Johnson [Tue, 5 Apr 2022 14:58:42 +0000 (10:58 -0400)]
exynos9610: These devices doesn't support SIM hot-swap
Change-Id: I10baa9b5618fcd80d34f045ddb7f81d4560d47c6
Nolen Johnson [Mon, 4 Apr 2022 20:05:00 +0000 (16:05 -0400)]
exynos9610: Squashed inclusion of MotCamera2
This is a squashed commit of:
Add Moto Camera 2 & priv-app permissions
* Snap APIv2 doesn't support our Aux Cam, or Camera
Mods (considering they are removable and need special
HAL handling for flash, internal Camera/USB disabling,
etc.
* Snap APIv1 doesn't like our front-flash, or video
recording audio (likely fixable). As well as the
aforementioned lack of Camera Mod support.
* Mata ships Klik to support an external Camera "mod"
and sets precedent for shipping OEM Cameras, so we're
just going to go ahead and do it.
Change-Id: I7d5001e7f743cdb9aaeb70c032a19cc008209135 | AOSP
---------------------------------------------------------
Include MotoSignatureApp
* Needed for MotCamera2 to update via the Play Store.
* Also exclude from dex-opt'ing on host, as this app
is known not to like that (see: shamu, clark).
Change-Id: Ibf2aafd731783fdae63b228460753457296de47c | AOSP
----------------------------------------------------------
Override Camera2 with MotCamera2 properly
* Possible as of https://review.lineageos.org/c/LineageOS/android_tools_extract-utils/+/314698.
Change-Id: I88808f7ab795099dc0ea1e80992d7c68aaa90167 | AOSP
---------------------------------------------------------
Change-Id: I89aa823bac2a2fa4b92d324cc0dbcdc6811468de
Nolen Johnson [Tue, 24 Aug 2021 23:15:36 +0000 (19:15 -0400)]
exynos9610: Kill Wi-Fi Aware feature
* Crashes things and causes lag.
* Additionally, Moto removed the NaN stuff in R release.
Change-Id: Ia86a23ee303119655b1deaacd29d51117db97f28
Felix [Fri, 26 Apr 2019 16:02:06 +0000 (18:02 +0200)]
exynos9610: Force restorecon for /data/vendor
The restorecon_recursive directive in init is only applied if the
file_contexts file changed between builds, but not necessarily if any
file or folder inside /efs or /persist has changed.
The restorecon code checks whether an xattr named
"security.sehash" contains a string that matches the current
combined hashes of the SELinux context files and skips restoring labels
if there is a match, see
https://android.googlesource.com/platform/external/selinux/+/refs/tags/android-9.0.0_r35/libselinux/src/android/android_platform.c#1546
Change-Id: Ic0cd848836ee550499d9236f56ed6e939e35f01e
Jan Altensen [Wed, 25 Aug 2021 13:50:37 +0000 (15:50 +0200)]
exynos9610: sepolicy: Update for RSB31.Q1-48-36-11
Change-Id: I6ca1ee2012e68d66e09c7aec8dd38eef1e8c0fb6
Jan Altensen [Tue, 17 Aug 2021 11:20:34 +0000 (13:20 +0200)]
exynos9610: RSBS31.Q1-48-36-20
Co-authored-by: Jan Altensen <info@stricted.net>
Co-authored-by: Nolen Johnson <johnsonnolen@gmail.com>
Change-Id: I6a2cbe2dacad5ef3e02f1c8c80e9ca234d9f02e9
arch-dev [Sun, 8 Aug 2021 13:44:21 +0000 (15:44 +0200)]
exynos9610: Fix audio through Bluetooth during calls
Change-Id: I7c5d018db222f4fd339ab6545d41bae37d62cc75
arch-dev [Sun, 1 Aug 2021 07:39:37 +0000 (09:39 +0200)]
Fix some overlay issues
This fixes the clock padding left issue when pulling down
the qs panel, the carrier padding left on the lockscreen
and the power menu padding top.
In add to these it fixes the bottom rounded corners too.
Change-Id: Id624a07f02291a1bb799b2867598a2a6f00d3b3c
Jan Altensen [Fri, 16 Jul 2021 15:47:02 +0000 (17:47 +0200)]
exynos9610: sepolicy: remove duplicate label for mobicore_data_registry_file
* its now defined and labeled as mobicore_vendor_data_file in android_device_samsung_slsi_sepolicy
Change-Id: I1040e3b97cf46a5011369b6931d9f59739302dd7
razorloves [Mon, 14 Jun 2021 02:28:01 +0000 (21:28 -0500)]
exynos9610: Allow 3rd party apps to use fingerprint gestures
* All moto_exynos9610 devices have rear mounted fingerprint sensor
with swipe-down gesture.
Change-Id: I7f08c640452f169c3e403c7af20ca61e7e90ca5c
Jan Altensen [Fri, 11 Jun 2021 11:06:28 +0000 (13:06 +0200)]
exynos9610: remove proc_last_kmsg type and rules
* it's defined in device/samsung_slsi/sepolicy now
Change-Id: Ibb6415db1bd89d135d9196c2e76903fbd7ee1737
Sebastiano Barezzi [Mon, 7 Jun 2021 16:07:18 +0000 (18:07 +0200)]
exynos9610: Remove USE_XML_AUDIO_POLICY_CONF
* Dead since Q, where XML audio policies weren't enforced yet
Change-Id: I302a0ed97964b052176dc3bb0141db1ba85e78c8
Jan Altensen [Tue, 1 Jun 2021 18:25:55 +0000 (20:25 +0200)]
exynos9610: sepolicy: remove duplicate type vendor_wifi_prop
* its defined in device/samsung_slsi/sepolicy now
Change-Id: Ia2355fff2fbc7d7e41e0511a17efaec70a30f5ac
Jan Altensen [Wed, 26 May 2021 02:23:34 +0000 (04:23 +0200)]
exynos9610: address update_engine denials
Change-Id: I79cf65ab2e8af2d3198c0c1890527b1661eebce5
Danny Baumann [Wed, 18 Jul 2018 15:25:32 +0000 (17:25 +0200)]
exynos9610: Enable call recording
Change-Id: I1b4478b330b13cf5d0fe1ed0d40f43e4b3825f33
razorloves [Tue, 28 Apr 2020 02:11:03 +0000 (21:11 -0500)]
exynos9610: Set auto brightness mode on by default
Change-Id: I5cb8e3db27849ebd90459a6d70e053158c05bcc9
Kevin Chyn [Thu, 23 Jan 2020 22:19:19 +0000 (14:19 -0800)]
exynos9610: Add fingerprint configuration to overlay
The framework was changed in Android R to require explicit authenticator registration.
This change allows apps to continue to use the fingerprint sensor.
Bug:
147445115
Test: Builds
Change-Id: Id3385edc784b2053c8b54ec3153728f4e6e22a45
Nolen Johnson [Mon, 10 May 2021 17:06:09 +0000 (13:06 -0400)]
exynos9610: extract_utils: Run shellcheck
* Ignore `SC2013` as there's no good way to handle this in all shells.
Change-Id: I53e9d5b4d761e7e7ebc0f3cefdd3772aae5aba66
Marc Bourgoin [Thu, 11 Feb 2021 05:38:58 +0000 (22:38 -0700)]
exynos9610: Add a check before adding dependencies
Without a check, when performing a vendor blob regen it'll add another
dependency on top of any existing one
Change-Id: I9c7f17082fd850235c794d44cec3cda0c4b883ef
Nolen Johnson [Mon, 10 May 2021 16:13:22 +0000 (12:13 -0400)]
exynos9610: Cleanup properties
* `persist.sys.bootanim.play_sound=true` - Used to play that god
awful "Hello Moto" sound on stock.
* `{ro.,}ril.ecclist{,1}=911,112` - Auto-generated elsewhere.
* `ro.mot.android_one=true` - for Moto software experience changes.
* `ro.vendor.config.release_version` - Custom Moto prop
* `ro.control_privapp_permissions=enforce` - Default in LineageOS
environments.
* `ro.logd.size=2M` - no need to make log buffer larger.
* `keyguard.no_require_sim=true` - Set in build/ in LineageOS
environments.
* Ringtones/Sounds should be LineageOS default, we don't ship Moto
`.ogg` files anyway.
Change-Id: I5a17e8bca9c896984f3ceca90c8ca9479540072c
Nolen Johnson [Sun, 9 May 2021 20:25:42 +0000 (16:25 -0400)]
exynos9610: Cleanup
* Alphabetize all the things.
* Cleanup extraneous seperators.
* Cleanup extraneous spaces.
* Move to double #'s for titles so latter comments
indentation makes sense.
* Use `comm` and `sort` to compare and ensure we
didn't lose anything:
`comm -23 <( sort new/BoardConfigCommon.mk) <(sort old/BoardConfigCommon.mk)`
Change-Id: If879a307f8e20a2b6b7ad05a76bc32b5a2f4c936
Nolen Johnson [Sun, 9 May 2021 20:06:47 +0000 (16:06 -0400)]
exynos9610-common: Set proper AVB rollback index
* Though disabled, we should still report proper rollback
index.
Change-Id: I05ba499618bfa90795620c9bf73fc8fe5f9e7cee
Nolen Johnson [Sun, 9 May 2021 20:04:34 +0000 (16:04 -0400)]
exynos9610-common: Simplify AVB flag logic
* AVB's `--flags 3` arguement builds a disabled VBMeta with
disabled hashtree, so no need to set both flags individually.
Change-Id: Ibe9ee322a5af58f13e76d53e18dee49451fe8838
Jan Altensen [Sun, 9 May 2021 20:51:57 +0000 (22:51 +0200)]
Revert "exynos9610: copy libGLES_mali.so to vulkan.exynos9610.so"
* apparently symlinks works again?
This reverts commit
e59aee7d73753e9e944839a4a34324d98d7a0225.
Change-Id: I7bee55e415bb30f2fd72bb88480302ef48f72818
Jan Altensen [Fri, 7 May 2021 18:29:10 +0000 (20:29 +0200)]
exynos9610: add livedisplay implementation
Change-Id: Ia8ef756e0211691d5eeac6c7347930effb5d1eb3
Jan Altensen [Sat, 8 May 2021 04:17:05 +0000 (06:17 +0200)]
Revert "exynos9610: Disable LiveDisplay"
This reverts commit
d83ff07e42f1e0d6a4c4c68ad751ea4b36f5f262.
Change-Id: I848350521cbae8feadfbcfc042acbda0242f15e6
Jan Altensen [Fri, 7 May 2021 09:22:27 +0000 (11:22 +0200)]
exynos9610: remove config_availableColorModes
* seemingly does nothing
Change-Id: Ib75c870e2b7a4f2558b7b96fbebf68d1a35d57f5
LuK1337 [Thu, 29 Oct 2020 13:31:02 +0000 (14:31 +0100)]
exynos9610-common: Enable RRO overlays for lineage-sdk
Change-Id: I482f2393e10e90362db2c66b7abb0de837085843
Tao Bao [Tue, 7 May 2019 05:42:02 +0000 (22:42 -0700)]
exynos9610-common: AB_OTA_UPDATER is BoardConfig variable
Bug:
130433003
Test: TreeHugger
Change-Id: I70c7a884df45781e8b14339edd02985ba3de02fd
Bruno Martins [Sun, 3 Jan 2021 11:17:21 +0000 (11:17 +0000)]
exynos9610-common: Deduplicate handheld_core_hardware.xml copy rule
Since Android 10 that this is already done while inheriting from
full_base_telephony.mk.
Change-Id: If533fbf95a9cf9798ddba24955a624d26f550d62
Nolen Johnson [Sun, 9 May 2021 20:28:05 +0000 (16:28 -0400)]
exynos9610-common: Remove deprecated boot animation flags
* These have been dead since, like, cm-11.0.
Change-Id: I9e082ca08425416d865b4384483eb968a8fbfbf3
Nolen Johnson [Mon, 23 Nov 2020 19:46:29 +0000 (14:46 -0500)]
exynos9610-common: Cleanup dead targets
build/make/core/main.mk:1136: warning: device/motorola/hannah/lineage_hannah.mk includes non-existent modules in PRODUCT_PACKAGES
Offending entries:
android.hardware.neuralnetworks@1.2-service-sample-all
wpa_supplicant.conf
build/make/core/main.mk:1136: error: Build failed.
15:35:26 ckati failed with: exit status 1
To do this yourself, put the following line into
lineage_$TARGET.mk:
`$(call enforce-product-packages-exist,)`
Note that the above flag must be in the product
makefile to work.
Change-Id: I0e4d93f4c3be077d49befa1f547d11d623ca74d5
Nolen Johnson [Sun, 9 May 2021 19:56:35 +0000 (15:56 -0400)]
exynos9610-common: Remove TARGET_KERNEL_HEADER_ARCH
* Only matters if it differs from TARGET_KERNEL_ARCH.
Change-Id: I5857a9db7b9e20ab5b0c3a10c65df43990819041
Nolen Johnson [Thu, 25 Jun 2020 21:17:06 +0000 (17:17 -0400)]
exynos9610-common: Kill deprecated TARGET_USES_MKE2FS
* This has been useless since some time in Pie.
* Also, is duplicated here as well.
Change-Id: Ic02238aa0f1c25cfad20a2b827c3c2fe128f3543
Jan Altensen [Sun, 9 May 2021 15:35:11 +0000 (17:35 +0200)]
exynos9610: update ShannonIms
Change-Id: Icf60bd620a1b49d407f1ad4b9b4206c2db0bf69d
Jan Altensen [Sun, 9 May 2021 08:09:33 +0000 (10:09 +0200)]
exynos9610: address IMS related denials
Change-Id: I20285d510605238f2c0b62890d1e8a6f07b0d651
Brad Ebinger [Thu, 5 Dec 2019 19:37:45 +0000 (11:37 -0800)]
exynos9610: overlay: Remove old configuration and use new config for MMTEL/RCS
Remove the old config_ims_package device config and configure the
new MMTEL and RCS configurations in Telephony instead. Also,
configure the RcsService to be the default RCS service.
Bug:
111305845
Test: make checkbuild
Change-Id: I0d709b8248f1c40f0a5b50ec799396706eeadd65
Jan Altensen [Sun, 9 May 2021 05:06:16 +0000 (07:06 +0200)]
exynos9610: address mediacodec denials
Change-Id: I2943deca6987a88e6aa4d289b16ac5d695e6f0cf
Kevin F. Haggerty [Fri, 9 Apr 2021 14:18:37 +0000 (08:18 -0600)]
exynos9610: Don't let builds complete without vendor tree
* There is zero reason to ever build without blobs. We've even seen
this situation with official builds from our servers. It's always
better for a build to fail than it is for it to produce something
that has no chance at working.
Change-Id: I4968795670c91f691e9ecdc0e4af62e16ba3a93a
Jan Altensen [Fri, 7 May 2021 08:33:37 +0000 (10:33 +0200)]
exynos9610: fixup frameworks/base overlay
Change-Id: I41123f517cd7fe6fa9b0d8281accd3c2cfdff791
Jan Altensen [Fri, 7 May 2021 05:12:06 +0000 (07:12 +0200)]
exynos9610: import correct power_profile.xml
Change-Id: I46c4d2e026b44a2c6af88bc5aa93b475019d1dc6
Jan Altensen [Fri, 30 Apr 2021 04:50:53 +0000 (06:50 +0200)]
exynos9610: initial sepolicy
Change-Id: I8f45bf61337ace5c98931c9036b371c77af627cc
Jan Altensen [Wed, 28 Apr 2021 14:17:28 +0000 (16:17 +0200)]
exynos9610: inherit samsung_slsi sepolicy
Change-Id: I4bb0f9cbd15bf516375c9b7b3583baf26a2c6177
Jan Altensen [Wed, 5 May 2021 13:03:01 +0000 (15:03 +0200)]
exynos9610: shim: fixup audio_route_missing_ctl
Change-Id: Ie646fde984bd676a89d1086074a0c594c4eb8f0b
Jan Altensen [Wed, 5 May 2021 11:53:33 +0000 (13:53 +0200)]
exynos9610: shim: add better reverse engineered mixer_read_event
* decompiled output more or less matches now with thats on stock
Change-Id: I5b525342e0cf2b731f93bd3ac74b636fd533969d
Jan Altensen [Tue, 4 May 2021 00:55:46 +0000 (02:55 +0200)]
exynos9610: build lights hal from hardware/samsung
Change-Id: I81d3bb350319c5449e1a4039da7558ad4c6b0772
Jan Altensen [Tue, 4 May 2021 00:44:48 +0000 (02:44 +0200)]
exynos9610: build fastcharge hal from hardware/samsung
Change-Id: Ibd59d14c5ca849cf05ce72f8c4f5a3f5471d8cf4