GitHub/LineageOS/android_device_motorola_exynos9610-common.git
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

3 years agoexynos9610: adopt to new dtbo generation method
Jan Altensen [Mon, 24 Aug 2020 11:30:57 +0000 (13:30 +0200)]
exynos9610: adopt to new dtbo generation method

Change-Id: I90b3c1c8c3e8ee19d0f99ad8a3d9ba8bdb2be55a

3 years agoexynos9610: add stock overlays
Jan Altensen [Sun, 23 Aug 2020 16:36:16 +0000 (18:36 +0200)]
exynos9610: add stock overlays

Change-Id: I45d7dda4b1dce181e59ece2ebbfd3ff75128cc42

3 years agoexynos9610: remove motorola specific audo effects
Jan Altensen [Sun, 23 Aug 2020 16:23:54 +0000 (18:23 +0200)]
exynos9610: remove motorola specific audo effects

 * they break bluetooth audio on AOSP

Change-Id: I483748cf915e2ae31ccc67c472ebe4d191c3e63f

3 years agoexynos9610: Advertise support for extended length nfc
Paul Keith [Sat, 28 Sep 2019 12:24:39 +0000 (14:24 +0200)]
exynos9610: Advertise support for extended length nfc

* Value obtained from decompiling stock NfcNci.apk

Change-Id: I703ca07d0bd28412390e8c4076c7824bab6e1ace

3 years agoexynos9610: set vendor security patch
Jan Altensen [Tue, 18 Aug 2020 16:55:05 +0000 (18:55 +0200)]
exynos9610: set vendor security patch

Change-Id: I893e29cf6bcab7fc185a6611b9caa8600f927e6b

3 years agoexynos9610: Build Trust HAL
Joey [Sun, 13 Jan 2019 09:21:11 +0000 (10:21 +0100)]
exynos9610: Build Trust HAL

Change-Id: I92706987f8d3094cdfb82e71e5331b7efe69e5df

3 years agoexynos9610: Don't apply persist.vendor.usb.config
dianlujitao [Wed, 18 Sep 2019 07:30:54 +0000 (15:30 +0800)]
exynos9610: Don't apply persist.vendor.usb.config

 * Otherwise adb turns on after reboot every time.

Change-Id: I66631f1f38a3e3a16e6d3dad87c83d0a98e6f851

3 years agoexynos9610: build usb hal
Jan Altensen [Sun, 16 Aug 2020 17:37:58 +0000 (19:37 +0200)]
exynos9610: build usb hal

Change-Id: Id7840a26322016a6e55e2aeea2ee4d4e41d10148

3 years agoexynos9610: Rename USB HAL suffix to exynos9610
Rashed Abdel-Tawab [Wed, 21 Aug 2019 23:55:03 +0000 (16:55 -0700)]
exynos9610: Rename USB HAL suffix to exynos9610

Change-Id: Iffc638b3bf747be07e9ce34278edeb546b905948

3 years agoexynos9610: USB: Use -Werror
Chih-Hung Hsieh [Thu, 2 Nov 2017 22:22:43 +0000 (15:22 -0700)]
exynos9610: USB: Use -Werror

* Remove unused variables.
* Return result of registerAsService().

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I79d1add6190e835de20a0b0c247bbbb259096c14

3 years agoexynos9610: USB: Add 'vendor.' prefix to a vendor HAL
Jaekyun Seok [Wed, 30 Aug 2017 01:54:11 +0000 (10:54 +0900)]
exynos9610: USB: Add 'vendor.' prefix to a vendor HAL
 service name

To prevent property name collisions between properties of system and
vendor, 'vendor.' prefix must be added to a vendor HAL service name.
You can see the details in http://go/treble-sysprop-compatibility.

Test: succeeded building and tested on a walleye device
Bug: 36796459
Change-Id: Idc995c550657feca5e0f934444a31805bc3538f9

3 years agoexynos9610: USB: Fix potential racing by wall time change
Wei Wang [Fri, 11 Aug 2017 22:05:46 +0000 (15:05 -0700)]
exynos9610: USB: Fix potential racing by wall time change
 in USBhal

pthread_cond_timedwait used wall time so it might introduce racing,
pthread_cond_timedwait_monotonic_np is Android specific but it is being
deprecated. And now Android support pthread_condattr_setclock so use it
to wait on CLOCK_MONOTONIC instead.

Bug: 64623895
Test: USB switch function works, charging/MTP/PTP
Change-Id: I136533ff90ef1be2b042ef1e0829643f2f7aa968

3 years agoexynos9610: USB: HAL: enable auto suspend for USB headsets
Yueyao Zhu [Wed, 28 Jun 2017 19:13:28 +0000 (12:13 -0700)]
exynos9610: USB: HAL: enable auto suspend for USB headsets

Adds a thread that handles add uevents of USB devices, and
enables auto suspend on that USB device (i.e. set power/control
to auto) if the device idProduct/idVendor is whitelisted.

The android kernel will already autosuspend audio devices,
however this enables autosuspend for the Google USB-C to
3.5mm adapter, which presents an HID-only interface when
no 3.5mm headset is connected.

Test: with the selinux and .rc changes for access permission
- MIR without headset: power/control set to auto
- MIR with headset: power/control set to auto
- regular mouse: power/control set to on

Bug: 38352281
Change-Id: I81572584ea02f6bdc814e70ab3439ab86c34a50a

3 years agoexynos9610: USB: HAL: run as user root, group root system
Yueyao Zhu [Wed, 28 Jun 2017 22:47:38 +0000 (15:47 -0700)]
exynos9610: USB: HAL: run as user root, group root system

This allows USB HAL to write USB sysfs nodes.

Bug: 38352281
Change-Id: Iaf8f1bad1a0394e553996b7a42bc34745b769b16