Commit Graph

84 Commits

Author SHA1 Message Date
Nolen Johnson
87e7dd6201
msm8974-common: Cleanup dead targets
Offending entries:
audio_policy.msm8974
build/make/core/main.mk:1136: error: Build failed.

Change-Id: I0e4d93f4c3be077d49befa1f547d11d623ca74d5
2020-12-30 12:55:16 -07:00
Kevin F. Haggerty
fd7fe5dd86
Revert "msm8974-common: Build and enable fastbootd"
* This seems to be wholly dead for legacy functionfs. Pour one out,
  she led a great, yet short-lived, life.

This reverts commit 53fd5b0828.
This reverts commit 8b07abf736.

Change-Id: I494769c2106638d8e442f43dfedf399e7f90aa9e
2020-12-30 07:42:55 -07:00
Bruno Martins
30833334a5
msm8974-common: Move graphics composer to hwbinder
The passthrough impl is dead as of Android 11 QPR1.

Change-Id: Ic10e93398363f03551afe39715cb664bbbce1683
2020-12-14 13:43:45 -07:00
Arian
684a57b5dc
msm8974-common: Build new aidl qti power HAL
Change-Id: I4bdea354e54d34d0dfe9b811e228fc6f8762d2ed
2020-12-12 10:00:39 -07:00
Amit Pundir
85a6137a28
msm8974-common: Add gatekeeper software HIDL service.
Use the default software implementation of gatekeeper.

Change-Id: Id696752ad78047155cad6a5dafe7ca1b4fe86345
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
2020-12-12 10:00:39 -07:00
Kevin F. Haggerty
3111569cd9
msm8974-common: Ship libcutils-v29.so for use by libsec-ril*.so
* libsec-ril*.so files need strdup8to16, which is is dropped in the API
  30 library, but can be found in the API 29 prebuilt.

Change-Id: Iaa54b061048a00f832d18396a82212905af0fd7e
2020-12-12 09:06:36 -07:00
Kevin F. Haggerty
b59ddb8101
msm8974-common: Use libprotobuf-cpp-lite-v29.so for libwvdrmengine.so
* libwvdrmengine.so needs _ZN6google8protobuf8internal13empty_string_E
  which is dropped in the API 30 library, but can be found in the
  API 29 prebuilt

Change-Id: I39e3251d53b14f3325282b12e6a6bf741ebcf63a
2020-12-12 09:06:36 -07:00
LuK1337
77c7d91b39
msm8974-common: Enforce vintf manifest override
* Apparently this is now required on all non full treble devices since
  google added a sleep(1) in libhidl...

Change-Id: I6d8492dd7c56bfdb2ca00f3477634a46fa55b1c0
2020-11-30 22:21:22 -07:00
Bruno Martins
ae581bc02d
msm8974-common: Build 2.1 health HAL
The devices fail to boot otherwise.

Change-Id: I5bc6ae361a5319224b87ef6a4d7127b6b5bc9a97
2020-11-30 22:21:22 -07:00
Wang Han
b9a1d97191
msm8974-common: Switch to TimeKeep
* SE policies are imported and modified from
   https://github.com/sonyxperiadev/device-sony-sepolicy.
   Modifications are needed because qcom legacy policy
   contains conflicting labels and rules.

Change-Id: Id04a824dea69976f6fc9d48bef77859cc82971ed
2020-09-07 05:28:51 -06:00
Kevin F. Haggerty
d9fdcde7d2
Revert "msm8974-common: Make the external camera provider ignore internal cameras"
* Even though camera.device@3.4-external-impl still will look for the
  file, this is seemingly no longer required in Q due to changes
  elsewhere in the stack.

This reverts commit cf207232cb.

Change-Id: Ibd19f4d7abeafb7f4d8af1ca6226d6065058538c
2020-09-06 04:12:07 -06:00
Arne Coucheron
7f220cbdb2
msm8974-common: Build common legacy gnss hal
Change-Id: I56095b9c3bba065779c90b6aeb61ebfed6af7e77
2020-06-26 18:07:43 -06:00
Bruno Martins
eac9496d05
msm8974-common: Binderize them all
* Switch to binderized HAL services as possible and update
   HIDL manifest accordingly.

Change-Id: Id50291488d655187aa013c51bdd6890dca010564
2020-05-29 12:14:16 -06:00
Sean Callanan
05bc27344c
msm8974-common: Switch to IMapper 2.1
Test: display CTS
Bug: 62535446
Change-Id: I2d6d0d118014eb2b99a6832b4c900ae21c062517
2020-05-15 10:43:56 -06:00
Alessandro Astone
53fd5b0828 msm8974-common: Build and enable fastbootd
Change-Id: I0b20600fe7203a7aec19cbea8f6849052585c6ab
2020-04-27 18:49:42 -04:00
Wang Han
853a30dffe
msm8974-common: Import loader config for media swcodec
* This config needs to be modified for legacy devices. As
   there is no easy way to split it, import it into device
   tree and bind mount it instead.

 * Head at android-10.0.0_r2
   (3ac371484399da6efbd0c835aa461d3326263ab1).

Change-Id: I8d5003d7cd3a471c569844aede4b5ea4c68ae36b
2020-04-25 14:27:00 -06:00
Michael Bestas
5fd2d661c8
msm8974-common: Update to power HAL 1.2
Change-Id: Ic8c5f7e9c77a95befff5661e1634683ec6c25ac4
2020-04-24 18:56:19 -06:00
Bruno Martins
dbe62622f8
msm8974-common: Switch to legacy Wi-Fi service
Change-Id: I690bc80349e47907a29a89b8a6f96659f1c61aba
2020-04-24 18:45:40 -06:00
Bruno Martins
ffa2231296
msm8974-common: Drop mediaextractor seccomp policy
These syscalls are now allowed by default.

Change-Id: I405f609d030331e19031612cbd912a54a3c72339
2020-04-24 16:20:43 -06:00
Kevin F. Haggerty
b46d020e98
msm8974-common: Build the Samsung hwbinder light service
Change-Id: I33c259766914a5a714b05b59735ee2a8d70b0a5c
2020-04-24 15:44:37 -06:00
Paul Keith
5006db0ec0 msm8974-common: Remove unnecessary keylayout files
* Nothing uses these keylayout files

Change-Id: I477445fd226f5fc77125fa5706e42cd8e0fe8b02
2020-03-31 19:23:55 +02:00
Paul Keith
95faaa3643 msm8974-common: Migrate all properties system.prop
* We already set props via system.prop, so let's not mix
  and match between that and PRODUCT_PROPERTY_OVERRIDES.

Change-Id: I92c6863b8393640e2239decd7f089ee890b3c7f7
2020-03-26 17:46:41 +02:00
Paul Keith
50045fa46e msm8974-common: Transition to consumerir HIDL hal
Change-Id: I85950a46eebec0e9a4b34681b2042467231b33b3
2020-01-31 15:08:24 +01:00
Kevin F. Haggerty
66b282da2e
msm8974-common: Build Samsung LiveDisplay service
Change-Id: I74d38aa0df3179bb00b942135e8ff055aa8a5658
2019-05-07 07:20:49 -06:00
Paul Keith
c036f18fe2
msm8974-common: Build vendor.lineage.touch HAL from hardware/samsung
Change-Id: I6eca1e9875cb5793a3a45c6e77bc201946ebd897
2019-04-10 06:45:59 -06:00
Joey
021211d1ea
msm8974-common: Build Trust HAL
Change-Id: I2a426b2c2dda70f41e3c3ea6f85905b0daf65f0d
Signed-off-by: Joey <joey@lineageos.org>
2019-02-24 06:57:36 -07:00
Michael Bestas
a88e2e277a
msm8974-common: Move media configs to vendor
Change-Id: Iffa5bfcac6e363ddd320ef3af5ccdc8c55f7942f
2019-02-19 07:58:26 -07:00
Bruno Martins
99b3981287
msm8974-common: Allow media UID process to access CameraServiceProxy
* This fixes the following error on camera-in-mediaserver devices:

   E CameraService_proxy: Calling UID: 1013 doesn't match expected  camera service UID!

Change-Id: I185e34e8983b286436bfc0fe36cfdf260ef78170
2018-12-31 15:22:36 -07:00
Daniel Jarai
cf207232cb
msm8974-common: Make the external camera provider ignore internal cameras
* The external camera provider occupies our camera v4l2 nodes,
  potentially crashing the kernel driver and blocking the camera HAL.
  Unfortunately, there's no easy way to just disable it, so let's just
  tell it to ignore the internal video devices.

Change-Id: I00c67de1b94a1f7eca1bf458d1d0e4de3507aa81
Signed-off-by: Daniel Jarai <jaraidaniel@gmail.com>
2018-11-12 20:35:01 -07:00
Michael Bestas
482de62af8
msm8974-common: Switch to 1.1 power HAL
Change-Id: I4690a5b913141427a828d6a3a4af407d35a10775
2018-10-06 08:34:19 -06:00
Kevin F. Haggerty
e1b8705691
msm8974-common: Build binderized samsung8974 sensors service
Change-Id: I85010c4ab26c771c585e0dc65d14552853f147c2
2018-09-21 16:02:05 -06:00
Kevin F. Haggerty
68ef2d47da
msm8974-common: Commonize camera packages and manifest entries
Change-Id: I348680ccf6541b13289d1470c7e91111be4992c0
2018-09-15 11:52:02 -06:00
Bruno Martins
d0d2796406 msm8974-common: Switch to common basic USB HAL
Change-Id: I0e0809a2338f006063c5160bb7aec36a555cebab
2018-09-05 22:53:22 +02:00
Hashbang173
5e3b3ba5e3 msm8974-common: Enable HWC2on1 adapter
* This fixes display (see: d265c42386)

Change-Id: Ic749a38828563be7dacd005aeb91dbce3121ae07
2018-08-20 17:53:16 -06:00
Kevin F. Haggerty
96aaef5008 msm8974-common: Use TARGET_COPY_OUT_VENDOR instead of explicit path
Change-Id: I5a35a481fcdee8b1f85e0b9aa9a5c726909b928f
2018-08-20 06:30:23 -06:00
Kevin F. Haggerty
245828cf0c msm8974-common: No tenemos HWC2
Change-Id: I56932ab5ed3ae6ab930f40a549fdcf7b3806c5e2
2018-04-04 18:38:42 -06:00
Kevin F. Haggerty
993b723e0b Revert "Revert "msm8974-common: Use QTI HIDL power HAL""
This reverts commit 24d70a1aec.

* The new HIDL power HAL seems to be appropriately riced^Wfixed for
  8974 now.

Change-Id: I629ab2314dec4698a0d4d45d77cdc48bf92a4d74
2018-02-27 20:37:50 -07:00
Paul Keith
a6a77f987c msm8974-common: Wire up mDNIe features
Change-Id: Ib5d2825bb50c90b6743157bd624e7156c6d5ad01
2018-02-22 23:27:10 +01:00
Kevin F. Haggerty
6e24e03dd3 msm8974-common: Set TARGET_BOOTANIMATION_HALF_RES to true
* No apparent resolution difference
* Much smoother animation
* Much faster boot
* What's not to like?

Change-Id: I2119fe826146a3103da50b4862ad88f5950a97ec
2018-02-10 17:38:46 +00:00
Kevin F. Haggerty
24d70a1aec Revert "msm8974-common: Use QTI HIDL power HAL"
This reverts commit e955914336.

* As it turns out, the brand new HIDL power HAL isn't ready, at
  least not for legacy devices like msm8974. Symptoms were that
  after waking from sleep, cores 1-3 are not brought back online
  consistently.
* Let's go back to the old thing, at least for now.

Change-Id: Ica2ddbeb42635662167efe0b48f0fe4051591b26
2018-02-06 00:32:32 +00:00
Michael Bestas
635b864067 msm8974-common: Move permissions to vendor
Change-Id: Idf4022e03ba376f7971d02be973444e70dbc4521
2018-02-03 15:07:03 -07:00
Paul Keith
e955914336 msm8974-common: Use QTI HIDL power HAL
* Let's use the new shiny binderized HAL in hardware/qcom/power

Change-Id: I2abf4ca9b0b5a0cb031f12c400a1159962f5e94c
2018-01-19 20:08:00 +00:00
Kevin F. Haggerty
04e9f0c1e4 msm8974-common: Build the GPS HAL and copy config files
Change-Id: I86fb9fff481b7bcf926b1ddce4f79fe0d87325a6
2018-01-18 04:37:27 -07:00
Ethan Chen
84b97c9d61 msm8974-common: Add seccomp policy
Change-Id: I1d5017228a4a9318f8a77ef4036532d64718ecbb
2018-01-04 21:59:45 -07:00
Bruno Martins
034ccb8eb6 msm8974-common: Ship RenderScript HAL
Change-Id: Ia13a26c46c803f6853b1188449547c70d3305bfa
2018-01-02 06:55:04 -07:00
Kevin F. Haggerty
fe30e6b05f msm8974-common: Use shared blobs from vendor/
Change-Id: I8f8675b9fd1950cd7c64538f160e73514209be19
2018-01-01 09:02:19 -07:00
Kevin F. Haggerty
9f8650d177 msm8974-common: Make the common tree more common
* Compare things that are used in hlte, klte, lt03lte, and mondrian
  wifi and move the stuff that's truly common to here. This will
  greatly ease O bring-up of the child trees.

Change-Id: I8fc5a099a348fa7feb502e3afe9b43df6e22d00b
2017-12-29 13:07:21 -07:00
Kevin F. Haggerty
dd2586956d msm8974-common: Drop audiod
Change-Id: I455752ca3bc0b444ef15274be03df791120bb00a
2017-12-28 15:11:44 -07:00
Bruno Martins
a20ebf7ef3 msm8974-common: Build graphics allocator service
Change-Id: Id3964c10aa474d94c85da7e1a65e65e7f8f6bc76
2017-12-22 17:22:56 -07:00
Kevin F. Haggerty
4d80ead591 msm8974-common: Add power HAL impl
Change-Id: I914858837ad99c5a1c2793cafba2edf1eab8e6ae
2017-11-03 09:13:21 -06:00