Commit Graph

168 Commits

Author SHA1 Message Date
P.Adarsh Reddy
6401c73046 msm8953-common: Add build broken flags in BoardConfig.mk
BUILD_BROKEN_USES_BUILD_COPY_HEADERS

Change-Id: I7b115f5bb7990c438c595b4b1ff536598786d529
2021-02-03 13:42:09 -03:00
ix5
479f832aef msm8953-common: Add protobuf vendorcompat lib
Our blobs are compiled against libprotobuf-full-cpp.so, but
starting in R, Android is using a versioned naming approach,
e.g. libprotobuf-cpp-full-3.9.1.so.

See https://r.android.com/1109518

The entry in public.libraries.txt is needed to allow the
linker to find and use the lib outside the VNDK.

See https://source.android.com/devices/tech/config/namespaces_libraries

[wight554: added libprotobuf-cpp-lite as well]

Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
Change-Id: I28222c89e1e07017867088492a726ee9d45d8e6f
2021-02-03 13:42:09 -03:00
jeangraff30
6395a3e605 msm8953-common: Import public native libraries
from deen_sprout:10/QPKS30.54-22-11
2021-02-03 13:42:09 -03:00
Davide Garberi
d60baee4fa msm8953-common: Build libhidltransport and libhwbinder
Change-Id: I1b4b255ce40c94e3bf2e6234b7280fc094a9270b
2021-02-03 13:42:09 -03:00
Steven Moreland
63e44f7f3e msm8953-common: Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: I640a3f0e0839214523627bf0b59fd5ae9dd2c61c
2021-02-03 13:42:06 -03:00
Joshua Blanchard
7f87f1f8a5 Revert "msm8953-common: Sign TimeService app with dedicated certificate"
* No longer present in qcom sepolicy

This reverts commit 9861958ee37d2090a5ac759f44b3ee83a2afcc0d.

Change-Id: Ib24bfa6acd5a1e1e3eefb369e4d59597fa50c858
2021-01-31 18:24:26 -03:00
Jorge Lucas
d096ccf818 msm8953-common: Add missing permission for /dev/pn544 2021-01-31 18:24:26 -03:00
Jorge Lucas
d9313a152a msm8953-common: Add DTV Support
- Add hidl to manifest
- Fix Sepolicy
- Add proper permissions for /dev/isdbt
2021-01-31 18:24:25 -03:00
Jorge Lucas
2478e765f5 msm8953-common: camera: Adress denials 2021-01-31 18:24:25 -03:00
Jorge Lucas
baeea07419 msm8953-common: Camera: Allow persist_camera_prop for cameraserver 2021-01-31 18:24:25 -03:00
Jorge Lucas
2cfc9fb07b msm8953-common: Add fingerprint perms for sanders/potter
Signed-off-by: Jorge Lucas <jorgelucas.sd@gmail.com>
2021-01-31 18:24:25 -03:00
Jorge Lucas
498023ed68 msm8953-common: Import init.recovery.qcom.rc from CAF 2021-01-31 18:24:25 -03:00
CrisBalGreece
718e615a83 msm8953-common: add a vendor copy of com.qualcomm.qti.wifidisplayhal@1.0.so
* It turns out that wifidisplayhalservice also wants a copy of it
  and with VNDK current it cannot read the system copy.
* Without the vendor copy though, Miracast still works, but let's
  provide a vendor copy to fix this error from appearing  in  our
  logcat.

F linker  : CANNOT LINK EXECUTABLE "/vendor/bin/wifidisplayhalservice": library "com.qualcomm.qti.wifidisplayhal@1.0.so" not found

Change-Id: I700a4ba61089eae035e0af3ac3e23ea9c80a5cbc
2021-01-31 18:24:25 -03:00
jeangraff30
5d7dcdfc69 msm8953: kang light hal from moto msm8937 tree 2021-01-31 18:24:06 -03:00
Vachounet
d92733b312 msm8953-common: Add homebutton perms and address denials
Signed-off-by: trpsl <trpsl755@gmail.com>
2021-01-03 21:39:10 -03:00
Joshua Blanchard
20bb266be8 msm8953-common: Give audio hal access to prox and spkr calibration data
* Speaker (and receiver) calibration files are located on persist
  partition. Grant audio permission to find and read these files.

* Moto's libspeakerbundle needs access to the proximity sensor,
  so allow it to find sensorservice so MotSpeakerHelperProximity
  can instantiate SensorManager.

Change-Id: I888a424fc1c42dea0f130adfc74e02e47927e2b8
2021-01-03 21:39:10 -03:00
Joshua Blanchard
42e6a9e1f8 msm8953-common: sepolicy: Allow camera to read and set calibration data
Change-Id: I9a3d852fd2ac4501f1b38c2660fef366e1f26e30
2021-01-03 21:39:10 -03:00
jeangraff30
8351fcaa10 msm8953-common: switch to Camera2 2020-12-28 20:12:09 -03:00
jeangraff30
c274deb5fb msm8953-common: decomonize camera@1.0-impl
Signed-off-by: jeangraff30 <jeangraff30@gmail.com>
2020-12-28 20:12:09 -03:00
Nolen Johnson
eafd88e2a0 msm8953-common: Decomonize Audio HAL
* Let maintainers decide whether they go prebuilt or source built.
2020-12-28 20:12:09 -03:00
Erfan Abdi
75cbd48ef8 msm8953-common: Wrap libgui_vendor into libwui
Change-Id: Ifa25ec6a2aaf3855c24b2a3a46b80abb8501b189
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2020-12-28 20:12:09 -03:00
Jorge Lucas
80b2a909c9 msm8953-common: Switch to VNDK full runtime
Signed-off-by: Jorge Lucas <jorgelucas@pixelexperience.org>
2020-12-28 20:12:09 -03:00
jeangraff30
a6eeb5ffa5 msm8953-common: decomonize prop cam 2020-12-28 20:12:09 -03:00
jeangraff30
106e3b7277 msm8953-common: add support for albus
Signed-off-by: jeangraff30 <jeangraff30@gmail.com>
2020-12-10 20:31:01 -03:00
jeangraff30
29dcca4f37 msm8953-common: Switch to android.hardware.nfc 1.1 2020-11-22 23:58:03 -03:00
jeangraff30
f62f212def msm8953-common: add missing cryptfshw 2020-11-22 23:58:00 -03:00
jeangraff30
5e3516f0b7 msm8953-common: add missing sensors blob 2020-11-22 18:18:41 +01:00
Aayush Gupta
a791807e4d msm8953-common: Address denials regarding to access sysfs_kgsl
[   45.239076] type=1400 audit(1601312101.298:24): avc: denied { search } for comm="DefaultPool5" name="kgsl-3d0" dev="sysfs" ino=29220 scontext=u:r:untrusted_app:s0:c151,c256,c512,c768 tcontext=u:object_r:sysfs_kgsl:s0 tclass=dir permissive=0 app=com.google.android.apps.maps

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I80c5de2d9687b3127922d5bc55c26461a797d0f9
2020-11-22 18:17:13 +01:00
jeangraff30
43f04a3e8d msm8953-common: kang properties from sdm632 tree 2020-11-22 18:17:11 +01:00
jhenrique09
b71e1a0a79 msm8953-common: Fix portrait mode on moto cam
* Moto cam checks for hwrev prop to allow portrait mode
2020-11-19 20:50:32 +01:00
jeangraff30
801bebb861 Revert "msm8953-common: wifi: Enable 2.4GHz channel bonding"
This reverts commit 065548fb6e.
2020-11-16 03:49:51 +01:00
jeangraff30
c4b73d6758 msm8953-common: Update sepolicy 2020-11-16 03:49:48 +01:00
Erfan Abdi
6f64594d42 msm8953-common: Move egis_input sepolicy to genfs 2020-11-15 21:16:05 +01:00
trpsl
675d96b639 msm8953-common: Address Dolby denials
Co-authored-by: Rohan Hasabe <rohanhasabe8@gmail.com>
2020-11-15 21:16:05 +01:00
jeangraff30
d68a31c631 msm8953-common: sepolicy: Address light hal 2020-11-15 21:16:05 +01:00
jeangraff30
7535f9d5ae msm8953-common: Import sepolicy from sdm660 tree 2020-11-15 21:16:02 +01:00
trpsl
464b0ce482 msm8953-common: Add Moto Dolby 2020-11-15 21:15:16 +01:00
jeangraff30
fe5df91570 msm8953-common: Cleanup Overlays and Import overlay from deen_sprout
* Based sdm632-common motorola

Signed-off-by: jeangraff30 <jeangraff30@gmail.com>
2020-11-10 01:37:23 +01:00
Michael Wright
7d990b11a8 msm8953-common: Enable haptic text cursor.
Support has landed in WebView, so time to turn it on in framework!

Change-Id: I064cf3512928637895932b3405adaec74b1ceed2
2020-11-10 01:37:22 +01:00
Amit Mahajan
3946254392 msm8953-common: Change to add config overlay for VZW for flag config_LTE_eri_for_network_name.
This ensures that eri is not used to detect network name when voice
tech is LTE on VZW.

Bug: 18161228
Change-Id: I3382a0fc68272c58893848c32df024d0c4681279
2020-11-10 01:37:21 +01:00
Haran Govindan
d03d7a41f7 msm8953-common: Give proper permissions for /dev/diag
* This gives proper permission to /dev/diag node so that diag driver can load successfully

Before in log:
Diag_Lib:  Diag_LSM_Init: Failed to open handle to diag driver, error = 13

After in log:
Diag_Lib: qpLogDiagInit <== result : 1
Diag_Lib: QMID : gIsQXDMDisabled 0, gIsADBDisabled 1, gIsDebugDisabled 0, gIsIMSLogsDisabled 0

Change-Id: If42a58753fa71d345f19d615bb70720fc26c95fe
2020-11-10 01:37:20 +01:00
jeangraff30
66a6b56ff2 msm8953-common: Add missing blobs widevine 2020-11-10 01:37:19 +01:00
Hai Shalom
7742bdeef5 msm8953-common: Add supplicant 1.2 to init.qcom.rc
Add missing supplicant 1.2

Change-Id: I34577cac4892563774f035d3a68ed17cc1edeeb9
2020-11-10 01:37:18 +01:00
Erfan Abdi
a0759bb84a msm8953-common: Switch back to 1.1 radio
* This device doesn’t use qcrild yet

Change-Id: Ief0c6a254c8c4cc166e72371e29d7b5865327547
2020-11-10 01:37:17 +01:00
jeangraff30
4afbcb9acc msm8953-common: Update blobs to deen_sprout QPKS30.54-22-13 2020-11-10 01:37:16 +01:00
Wang Han
1f20523c34 msm8953-common: overlay: Configure number of physical SIM slots
* Needed by telephony-common

Change-Id: I18c058d295ed2eaf23e8ca5d1f3933b65806ed48
2020-11-10 01:37:14 +01:00
Lucas Dupin
93cc0fc138 msm8953-common: Kang walleye offsets for GPU composition
Window animations now have rounded corners, meaning that
the shader that we use is more expensive than it used to be.

Because of this, we need to adjust the SF offsets, to make sure
that we'll have enough time to finish the GPU composition without
dropping frames.

These offsets as similar to blueline's, adjusted slightly because
we were getting false "frame missed" signals if composition
starts too early.

Change-Id: I8173e12b006bc1cab6b4cb0b3a5db9f9b3489819
2020-11-10 01:37:13 +01:00
Erfan Abdi
ded46b8613 msm8953-common: Set carrier prop using libinit 2020-11-10 01:37:13 +01:00
Geofferey Eakins
5025e448d2 msm8953-common: prima WCNSS cfg enable McastBcastFilter
Our packet filter changes to the moto prima opensource driver now requires setting this flag to achieve maximum power savings when sleeping by filtering out broadcast and multicast messages.
2020-11-10 01:37:12 +01:00
Naseer Ahmed
d9bcb15498 msm8953-common: power: Use log.h from VNDK
Change-Id: I8aa8566036a44b1587f5cfe6c745e11a3dd19481
2020-11-10 01:37:11 +01:00