GitHub/LineageOS/android_device_motorola_exynos9610-common.git
2 years agoexynos9610: Use PRODUCT_*_SEPOLICY_DIRS to build product sepolicy.
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

2 years agoexynos9610: Automatically add apk/jar/vintf fragments to PRODUCT_PACKAGES
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

2 years agoexynos9610: WifiOverlay: disable Automatic channel selection (ACS)
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

2 years agoexynos9610: These devices doesn't support SIM hot-swap
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

2 years agoexynos9610: Squashed inclusion of MotCamera2
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

2 years agoexynos9610: Kill Wi-Fi Aware feature
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

2 years agoexynos9610: Force restorecon for /data/vendor
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

2 years agoexynos9610: sepolicy: Update for RSB31.Q1-48-36-11
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

2 years agoexynos9610: RSBS31.Q1-48-36-20
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

2 years agoexynos9610: Fix audio through Bluetooth during calls
arch-dev [Sun, 8 Aug 2021 13:44:21 +0000 (15:44 +0200)]
exynos9610: Fix audio through Bluetooth during calls

Change-Id: I7c5d018db222f4fd339ab6545d41bae37d62cc75

3 years agoFix some overlay issues
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

3 years agoexynos9610: sepolicy: remove duplicate label for mobicore_data_registry_file
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

3 years agoexynos9610: Allow 3rd party apps to use fingerprint gestures
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

3 years agoexynos9610: remove proc_last_kmsg type and rules
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

3 years agoexynos9610: Remove USE_XML_AUDIO_POLICY_CONF
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

3 years agoexynos9610: sepolicy: remove duplicate type vendor_wifi_prop
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

3 years agoexynos9610: address update_engine denials
Jan Altensen [Wed, 26 May 2021 02:23:34 +0000 (04:23 +0200)]
exynos9610: address update_engine denials

Change-Id: I79cf65ab2e8af2d3198c0c1890527b1661eebce5

3 years agoexynos9610: Enable call recording
Danny Baumann [Wed, 18 Jul 2018 15:25:32 +0000 (17:25 +0200)]
exynos9610: Enable call recording

Change-Id: I1b4478b330b13cf5d0fe1ed0d40f43e4b3825f33

3 years agoexynos9610: Set auto brightness mode on by default
razorloves [Tue, 28 Apr 2020 02:11:03 +0000 (21:11 -0500)]
exynos9610: Set auto brightness mode on by default

Change-Id: I5cb8e3db27849ebd90459a6d70e053158c05bcc9

3 years agoexynos9610: Add fingerprint configuration to overlay
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

3 years agoexynos9610: extract_utils: Run shellcheck
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

3 years agoexynos9610: Add a check before adding dependencies
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

3 years agoexynos9610: Cleanup properties
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

3 years agoexynos9610: Cleanup
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

3 years agoexynos9610-common: Set proper AVB rollback index
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

3 years agoexynos9610-common: Simplify AVB flag logic
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

3 years agoRevert "exynos9610: copy libGLES_mali.so to vulkan.exynos9610.so"
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

3 years agoexynos9610: add livedisplay implementation
Jan Altensen [Fri, 7 May 2021 18:29:10 +0000 (20:29 +0200)]
exynos9610: add livedisplay implementation

Change-Id: Ia8ef756e0211691d5eeac6c7347930effb5d1eb3

3 years agoRevert "exynos9610: Disable LiveDisplay"
Jan Altensen [Sat, 8 May 2021 04:17:05 +0000 (06:17 +0200)]
Revert "exynos9610: Disable LiveDisplay"

This reverts commit d83ff07e42f1e0d6a4c4c68ad751ea4b36f5f262.

Change-Id: I848350521cbae8feadfbcfc042acbda0242f15e6

3 years agoexynos9610: remove config_availableColorModes
Jan Altensen [Fri, 7 May 2021 09:22:27 +0000 (11:22 +0200)]
exynos9610: remove config_availableColorModes

 * seemingly does nothing

Change-Id: Ib75c870e2b7a4f2558b7b96fbebf68d1a35d57f5

3 years agoexynos9610-common: Enable RRO overlays for lineage-sdk
LuK1337 [Thu, 29 Oct 2020 13:31:02 +0000 (14:31 +0100)]
exynos9610-common: Enable RRO overlays for lineage-sdk

Change-Id: I482f2393e10e90362db2c66b7abb0de837085843

3 years agoexynos9610-common: AB_OTA_UPDATER is BoardConfig variable
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

3 years agoexynos9610-common: Deduplicate handheld_core_hardware.xml copy rule
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

3 years agoexynos9610-common: Remove deprecated boot animation flags
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

3 years agoexynos9610-common: Cleanup dead targets
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

3 years agoexynos9610-common: Remove TARGET_KERNEL_HEADER_ARCH
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

3 years agoexynos9610-common: Kill deprecated TARGET_USES_MKE2FS
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

3 years agoexynos9610: update ShannonIms
Jan Altensen [Sun, 9 May 2021 15:35:11 +0000 (17:35 +0200)]
exynos9610: update ShannonIms

Change-Id: Icf60bd620a1b49d407f1ad4b9b4206c2db0bf69d

3 years agoexynos9610: address IMS related denials
Jan Altensen [Sun, 9 May 2021 08:09:33 +0000 (10:09 +0200)]
exynos9610: address IMS related denials

Change-Id: I20285d510605238f2c0b62890d1e8a6f07b0d651

3 years agoexynos9610: overlay: Remove old configuration and use new config for MMTEL/RCS
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

3 years agoexynos9610: address mediacodec denials
Jan Altensen [Sun, 9 May 2021 05:06:16 +0000 (07:06 +0200)]
exynos9610: address mediacodec denials

Change-Id: I2943deca6987a88e6aa4d289b16ac5d695e6f0cf

3 years agoexynos9610: Don't let builds complete without vendor tree
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

3 years agoexynos9610: fixup frameworks/base overlay
Jan Altensen [Fri, 7 May 2021 08:33:37 +0000 (10:33 +0200)]
exynos9610: fixup frameworks/base overlay

Change-Id: I41123f517cd7fe6fa9b0d8281accd3c2cfdff791

3 years agoexynos9610: import correct power_profile.xml
Jan Altensen [Fri, 7 May 2021 05:12:06 +0000 (07:12 +0200)]
exynos9610: import correct power_profile.xml

Change-Id: I46c4d2e026b44a2c6af88bc5aa93b475019d1dc6

3 years agoexynos9610: initial sepolicy
Jan Altensen [Fri, 30 Apr 2021 04:50:53 +0000 (06:50 +0200)]
exynos9610: initial sepolicy

Change-Id: I8f45bf61337ace5c98931c9036b371c77af627cc

3 years agoexynos9610: inherit samsung_slsi sepolicy
Jan Altensen [Wed, 28 Apr 2021 14:17:28 +0000 (16:17 +0200)]
exynos9610: inherit samsung_slsi sepolicy

Change-Id: I4bb0f9cbd15bf516375c9b7b3583baf26a2c6177

3 years agoexynos9610: shim: fixup audio_route_missing_ctl
Jan Altensen [Wed, 5 May 2021 13:03:01 +0000 (15:03 +0200)]
exynos9610: shim: fixup audio_route_missing_ctl

Change-Id: Ie646fde984bd676a89d1086074a0c594c4eb8f0b

3 years agoexynos9610: shim: add better reverse engineered mixer_read_event
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

3 years agoexynos9610: build lights hal from hardware/samsung
Jan Altensen [Tue, 4 May 2021 00:55:46 +0000 (02:55 +0200)]
exynos9610: build lights hal from hardware/samsung

Change-Id: I81d3bb350319c5449e1a4039da7558ad4c6b0772

3 years agoexynos9610: build fastcharge hal from hardware/samsung
Jan Altensen [Tue, 4 May 2021 00:44:48 +0000 (02:44 +0200)]
exynos9610: build fastcharge hal from hardware/samsung

Change-Id: Ibd59d14c5ca849cf05ce72f8c4f5a3f5471d8cf4

3 years agoexynos9610: build common usb typec hal
Jan Altensen [Tue, 4 May 2021 00:43:07 +0000 (02:43 +0200)]
exynos9610: build common usb typec hal

Change-Id: I3a12e8d96ee4bb347426aaad12545a0afd925779

3 years agoexynos9610: update vendor security patch level to 2021-04-01
Jan Altensen [Mon, 3 May 2021 05:57:01 +0000 (07:57 +0200)]
exynos9610: update vendor security patch level to 2021-04-01

 * motorola/troika_retail/troika_sprout:10/QSBS30.62-29-11-5/db5cb:user/release-keys
 * motorola/kane_retail/kane_sprout:10/QSAS30.62-33-12/e6aee:user/release-keys

Change-Id: Ie0fb405ceb2a35795cbbde8a78b8623ff7df1f90

3 years agoexynos9610: fix extract-files.sh
Jan Altensen [Mon, 3 May 2021 06:27:26 +0000 (08:27 +0200)]
exynos9610: fix extract-files.sh

 * i forgot to commit these changes previously

Change-Id: I9484c7852d65fcccf84e922d6cd3356b2a79f240

3 years agoexynos9610: correct TARGET_BOARD_PLATFORM value
Jan Altensen [Mon, 3 May 2021 00:59:19 +0000 (02:59 +0200)]
exynos9610: correct TARGET_BOARD_PLATFORM value

Change-Id: I86d8a97d7e61d1d1783684af4fecdf231a7db9a7

3 years agoexynos9610: init: add NET_RAW capability to gpsd
Jan Altensen [Sun, 2 May 2021 22:28:29 +0000 (00:28 +0200)]
exynos9610: init: add NET_RAW capability to gpsd

Change-Id: I399ad0f9c24d71d33f0aa41165f7329472fffc6c

3 years agoexynos9610: init: dont create /data/misc/fm_radio
Jan Altensen [Sun, 2 May 2021 21:42:22 +0000 (23:42 +0200)]
exynos9610: init: dont create /data/misc/fm_radio

Change-Id: I7380d8081d5005b887dd36c779679f210d1c6f77

3 years agoexynos9610: init: dont create /data/camera
Jan Altensen [Sun, 2 May 2021 08:07:15 +0000 (10:07 +0200)]
exynos9610: init: dont create /data/camera

 * its not used

Change-Id: Iaf69a2fae52df0c0443e39ea343bfaa47a9700d8

3 years agoexynos9610: Enable v1.3 clearkey drm plugin
Robert Shih [Tue, 26 Nov 2019 06:25:42 +0000 (22:25 -0800)]
exynos9610: Enable v1.3 clearkey drm plugin

Bug: 139134043
Test: MediaDrmTest
Change-Id: Ie34e59947577988f75fae52d22e3f573f4b92420

3 years agoexynos9610: init: remove unknown/deprecated properties
Jan Altensen [Sat, 1 May 2021 02:30:14 +0000 (04:30 +0200)]
exynos9610: init: remove unknown/deprecated properties

Change-Id: I59fd8e12cf5fc01e9eca65a6f2be7fe406099ad1

3 years agoexynos9610: relocate thermal log file
Jan Altensen [Fri, 30 Apr 2021 04:56:22 +0000 (06:56 +0200)]
exynos9610: relocate thermal log file

Change-Id: I624c12100f59d8034e388fe0166e6cf935e9a04d

3 years agoexynos9610: drop dolby dms service
Jan Altensen [Fri, 30 Apr 2021 04:55:12 +0000 (06:55 +0200)]
exynos9610: drop dolby dms service

Change-Id: Icdc20377ce628eb200964a64baeef28f27866978

3 years agoexynos9610: remove nfc manifest entry
Jan Altensen [Tue, 27 Apr 2021 17:00:21 +0000 (19:00 +0200)]
exynos9610: remove nfc manifest entry

 * its a vintf manifest fragment now

Change-Id: Ie81a0a3d7eb690fccb6987f16250d1c57cb1e8cd

3 years agoexynos9610: build nfc hal from source
Jan Altensen [Sat, 24 Apr 2021 00:54:40 +0000 (02:54 +0200)]
exynos9610: build nfc hal from source

Change-Id: Ief7ef8f2a597b1a978ea4b0ec4e41391cec03a99

3 years agoexynos9610: manifest: Remove Trust interface entry
Michael Bestas [Fri, 1 Jan 2021 03:15:05 +0000 (05:15 +0200)]
exynos9610: manifest: Remove Trust interface entry

This has been turned into a VINTF fragment.

Change-Id: Iaf53a2e1fbac75d53ec11d4c56c51230f4758daf

3 years agoexynos9610: Switch to patchelf from tools-lineage
Michael Bestas [Thu, 5 Nov 2020 17:50:53 +0000 (19:50 +0200)]
exynos9610: Switch to patchelf from tools-lineage

Change-Id: If1a7328804fb9bc39ccec70690f1090f2d0509b3

3 years agoexynos9610: Switch to standalone extract utils
Michael Bestas [Sat, 19 Dec 2020 00:53:35 +0000 (02:53 +0200)]
exynos9610: Switch to standalone extract utils

* Align with templates while we are at it

Change-Id: Ife50623a3d1b8733f5cc76995c982d8950d39ad4

3 years agoexynos9610: correct recovery pixel format
Jan Altensen [Thu, 24 Dec 2020 19:08:56 +0000 (20:08 +0100)]
exynos9610: correct recovery pixel format

Change-Id: Icd506928128c2a0250b7dfeead64f75b13ea88c1
(cherry picked from commit 407ebf3aec6769947410f7d7a01063953c511a3c)

3 years agoexynos9610: dependencies: fix kernel path
Jan Altensen [Thu, 24 Dec 2020 08:12:33 +0000 (09:12 +0100)]
exynos9610: dependencies: fix kernel path

 * no idea how i havent noticed that earlier

Change-Id: I7bb3dcbc5bbf639840552d155642773412376f07

3 years agoexynos9610: add shim for __cxa_demangle
Jan Altensen [Thu, 15 Oct 2020 16:55:43 +0000 (18:55 +0200)]
exynos9610: add shim for __cxa_demangle

 * `libc++demangle` exists but is a static library
 * cxa_demangle.cpp taken from `refs/tags/android-11.0.0_r1`

Change-Id: I5ffcad94cb8523ea9badf1084f9419136dedf3ad

3 years agoexynos9610: copy vndk29 libprotobuf-cpp-lite and patchelf libwvhidl
Jan Altensen [Mon, 12 Oct 2020 21:01:55 +0000 (23:01 +0200)]
exynos9610: copy vndk29 libprotobuf-cpp-lite and patchelf libwvhidl

Change-Id: I22aa2e9f1bd26fe45318e9e04bcc79e6201114a3

3 years agoexynos9610: remove erroneous entry from ueventd.rc
Jan Altensen [Mon, 12 Oct 2020 21:00:42 +0000 (23:00 +0200)]
exynos9610: remove erroneous entry from ueventd.rc

Change-Id: I06f7477f56b54de3f6c1ee6802a656902ce41398

3 years agoexynos9610: Use Soong namespace to avoid device build conflicts
Ethan Chen [Tue, 2 Oct 2018 11:51:03 +0000 (13:51 +0200)]
exynos9610: Use Soong namespace to avoid device build conflicts

Change-Id: Id04f464102264b6f2e8d49b39389c7e346613b39

3 years agoexynos9610: remove libhidltransport/libhwbinder dependencies from proprietary files
Jan Altensen [Wed, 30 Sep 2020 03:37:30 +0000 (05:37 +0200)]
exynos9610: remove libhidltransport/libhwbinder dependencies from proprietary files

Change-Id: Ic48d4cdf62a3daf855b855c932327c38c842dba7

3 years agoexynos9610: Fix host_init_verifier errors
Jan Altensen [Wed, 30 Sep 2020 02:56:43 +0000 (04:56 +0200)]
exynos9610: Fix host_init_verifier errors

Change-Id: Id9bd0830de1f7d65965e5dbe918efb4091dc182d

3 years agoexynos9610: wifi: Remove hostapd hidl entry from manifest.xml
Ahmed ElArabawy [Fri, 6 Dec 2019 03:55:20 +0000 (19:55 -0800)]
exynos9610: wifi: Remove hostapd hidl entry from  manifest.xml

This CL removes the definition for the hostapd hidl interface from
manifest.xml and rely on vint-fragements entry.
This is to avoid the need to modify the revision in future

Bug: 145780363
Test: builds and wifi softap works
Change-Id: I2a9cb25209efc94f6306f38d89cb5e1ff6f72bed

3 years agoexynos9610: wifi: Move wpa_supplicant VINTF definition to
Jimmy Chen [Fri, 30 Aug 2019 08:45:09 +0000 (16:45 +0800)]
exynos9610: wifi: Move wpa_supplicant VINTF definition to
 wpa_supplicant module

Bug: 36505680
Test: atest FrameworksNetTests
Test: atest VtsHalWifiSupplicantV1_3TargetTest
Test: connect EAP access point and verify PMK cache works correctly.
Change-Id: I2c382765b8e84951fc17bb9f1c3785dcd66e7b51

3 years agoexynos9610: wifi: Remove IWifi hidl entry from manifest.xml
Ahmed ElArabawy [Tue, 23 Jul 2019 22:28:34 +0000 (15:28 -0700)]
exynos9610: wifi: Remove IWifi hidl entry from  manifest.xml

This CL removes the definition for the IWifi hidl interface from
manifest.xml and rely on vint-fragements entry.
This is to avoid the need to modify the revision in future

Bug: 138243400
Test: builds and wifi works
Change-Id: Icaff93193e10d4953d9947d2739b05959ece79f1

3 years agoexynos9610: drop libhidltransport dependencys
Jan Altensen [Mon, 14 Sep 2020 02:38:17 +0000 (04:38 +0200)]
exynos9610: drop libhidltransport dependencys

Change-Id: I803e723ecc791c453bb6be4966aef21898b4f261

3 years agoexynos9610: add shim for android_memset32
Jan Altensen [Wed, 16 Sep 2020 02:27:03 +0000 (04:27 +0200)]
exynos9610: add shim for android_memset32

 * memset32.S and android_memset.S taken from Q

Change-Id: Id0878f89cdc4b754c8af3b4cc0a1920030155fad

3 years agoexynos9610: use MotoActions from hardware/motorola
Jan Altensen [Wed, 23 Dec 2020 15:40:54 +0000 (16:40 +0100)]
exynos9610: use MotoActions from hardware/motorola

Change-Id: Ic63fdbbe9f3e908b515a1a39da1c9de53b9e2ed6

3 years agoexynos9610: update vendor security patch level to 2020-11-01
Jan Altensen [Mon, 7 Dec 2020 07:37:36 +0000 (08:37 +0100)]
exynos9610: update vendor security patch level to 2020-11-01

 * motorola/troika_retail/troika_sprout:10/QSBS30.62-29-9/d809e:user/release-keys
 * motorola/kane_retail/kane_sprout:10/QSAS30.62-33-6/5a953:user/release-keys

Change-Id: I56a9e7d9eb32d21e7890e35ebd22cd4b5ece85d3

3 years agoexynos9610: Use TARGET_SCREEN_DENSITY
Anton Hansson [Fri, 18 Jan 2019 14:10:45 +0000 (14:10 +0000)]
exynos9610: Use TARGET_SCREEN_DENSITY

This variable is used to auto-populate the ro.sf.lcd_density as
well as selecting density bucket for resources in recovery.

Bug: 118676832
Test: adb shell getprop ro.sf.lcd_density
Test: boot into recovery
Change-Id: Ib383d18b61e7a2058a69ae26136aa053fdba4df2

3 years agoexynos9610: Specify the source of common blobs
Bruno Martins [Fri, 17 Apr 2020 19:47:11 +0000 (20:47 +0100)]
exynos9610: Specify the source of common blobs

Change-Id: I38bd7d529f8ac47f108b111f7dbec07141839cd7

3 years agoexynos9610: Ship Snap
Bruno Martins [Fri, 26 Oct 2018 13:11:03 +0000 (14:11 +0100)]
exynos9610: Ship Snap

 * Also allow Snap to use aux camera while at it.

Change-Id: I65beba444c9ae71b2fe248f201448cacd15e764f

3 years agoexynos9610: exynos-thermald: disable logging
Jan Altensen [Thu, 15 Oct 2020 16:03:58 +0000 (18:03 +0200)]
exynos9610: exynos-thermald: disable logging

 * removes the log spam every second

Change-Id: Ib2099717624971df7a08e260bce1e3d19fa205ef

3 years agoexynos9610: add required repositories to lineage.dependencies
Jan Altensen [Tue, 6 Oct 2020 04:58:16 +0000 (06:58 +0200)]
exynos9610: add required repositories to lineage.dependencies

Change-Id: Ic9134e691ea94140cdd2fec94d2c09e05dc6dab3

3 years agoexynos9610: update vendor security patch level to 2020-09-01
Jan Altensen [Mon, 5 Oct 2020 07:20:42 +0000 (09:20 +0200)]
exynos9610: update vendor security patch level to 2020-09-01

 * motorola/troika_retail/troika_sprout:10/QSBS30.62-29-7/0ea60:user/release-keys
 * motorola/kane_retail/kane_sprout:10/QSAS30.62-33-4/2d332:user/release-keys

Change-Id: If39b9a041008b2a3bda861153b51d53fd3701039

3 years agoexynos9610: decommonize ro.radio.imei.sv
Jan Altensen [Mon, 5 Oct 2020 07:17:31 +0000 (09:17 +0200)]
exynos9610: decommonize ro.radio.imei.sv

Change-Id: If3a884908ff5f099d91ef73c69e81a4b62ecc518

3 years agoexynos9610: decommonize libril_sitril and libsitril
Jan Altensen [Mon, 5 Oct 2020 07:13:00 +0000 (09:13 +0200)]
exynos9610: decommonize libril_sitril and libsitril

 * apparently they are different for troika and kane

Change-Id: I683cb107938d9895996971da173c45805f76deb4

3 years agoexynos9610: Exclude lineage-sdk overlays from RRO
Dan Pasanen [Fri, 1 Nov 2019 12:19:07 +0000 (07:19 -0500)]
exynos9610: Exclude lineage-sdk overlays from RRO

* lineage-sdk overlays don't work with RRO

Change-Id: Iff826faf1864388066a488acc9682636b98d1098

3 years agoexynos9610: Enforce RRO for all resource overlays
Anton Hansson [Wed, 7 Nov 2018 16:10:05 +0000 (16:10 +0000)]
exynos9610: Enforce RRO for all resource overlays

Bug: 118823052
Test: make
Change-Id: I579d09480c7a482543ea616dd5c493d825bb98b1

3 years agoexynos9610: Enforce RRO on framework-res
Jaekyun Seok [Wed, 5 Apr 2017 02:23:26 +0000 (11:23 +0900)]
exynos9610: Enforce RRO on framework-res

Overlays only for framework-res will be converted into RROs.

Other overlays can't be converted due to some known issues on app RRO.

Bug: 36231603
Change-Id: Idca30fdbbcc990fd124de16a06a112a346612a61

3 years agoexynos9610: fix wifi hotspot
Jan Altensen [Fri, 25 Sep 2020 18:03:56 +0000 (20:03 +0200)]
exynos9610: fix wifi hotspot

Change-Id: Ie8542357cc8418dc98d4559b9417e5b16d2af421

3 years agoexynos9610: Disable LiveDisplay
Nolen Johnson [Tue, 11 Feb 2020 22:34:03 +0000 (22:34 +0000)]
exynos9610: Disable LiveDisplay

Co-authored-by: Paul Keith <javelinanddart@gmail.com>
Co-authored-by: Nolen Johnson <johnsonnolen@gmail.com>
Co-authored-by: Michael W <baddaemon87@gmail.com>
Change-Id: I86f19316f7291debc057a0a2e96e3a67a8c8a1f9

3 years agoexynos9610: add fingerprint navigation support
Jan Altensen [Wed, 9 Sep 2020 10:09:13 +0000 (12:09 +0200)]
exynos9610: add fingerprint navigation support

Change-Id: I74a41888ff12c9eed31efa5b56c9a61757dd6531

3 years agoexynos9610: copy libGLES_mali.so to vulkan.exynos9610.so
Jan Altensen [Tue, 8 Sep 2020 18:09:26 +0000 (20:09 +0200)]
exynos9610: copy libGLES_mali.so to vulkan.exynos9610.so

 * symlinks arent working for some reason

Change-Id: Ic0b8f5158577447bdfd23d3fa7499fc70bb73f33

3 years agoexynos9610: move LineageActions to system
Joshua Blanchard [Sun, 20 Oct 2019 17:00:34 +0000 (19:00 +0200)]
exynos9610: move LineageActions to system

Change-Id: I843c188bde89e37483fc66dbc4d09e2a600a37fe

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

Change-Id: Iaad009cb167850e39b324edcea302eccb5b0fccf

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

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

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

 * mkdtboimg.py does not support parsing DT yet

Change-Id: I16eb0b872c7846aae776042debf775fe7b19d072