Commit graph

3452 commits

Author SHA1 Message Date
Michael Bestas
40f4b8134b
sdm660-common: Do not build textclassifier
* Target no longer exists

Change-Id: I2079d7dbbeb59bbe9cd925a56f6bcc84c8a38d7f
2020-12-21 09:19:25 +06:00
Michael Bestas
c3100491c3
sdm660-common: Remove deprecated liboverlay target
* This was removed from display HAL in 2015

Change-Id: I25f675260e8ab166001dd2e2601dc13021bcc15a
2020-12-21 09:19:25 +06:00
Michael Bestas
7f63174bbe
sdm660-common: Switch to patchelf from tools-lineage
Change-Id: If1a7328804fb9bc39ccec70690f1090f2d0509b3
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-21 09:19:25 +06:00
Wang Han
01e20206e2
sdm660-common: Remove custom vsync offsets
* The values are kanged from hammerhead and may introduce
   latency as it is not selected for any of our panels
   and stock does not set these values in the first place.

Change-Id: Iee854ea77d1e8216c8f01aee2f71a178ffcfaf5c
2020-12-21 09:19:25 +06:00
Han Wang
a32adb1d10
Revert "sdm660: Enable GL comp backpressure"
* This is no-op when debug.sf.disable_backpressure=1
   is set. Plus, it lags when it's set alone.
   Just follow CAF here and remove this ricing.

This reverts commit ede4f5c879.

Change-Id: I74c5e4ba830ef23448e4f16822687d7a22746a3b
2020-12-21 09:19:25 +06:00
Danny Lin
c8bce5944f
sdm660-common: Use EXPENSIVE_RENDERING power hint for blurs
We need to boost the GPU for smooth high-radius blurs as blurring is an
expensive rendering job.

Change-Id: Ia3968313601d2b04ce50c01ee61dc9944ee26187
2020-12-21 09:19:25 +06:00
Danny Lin
e36c0630a8
sdm660-common: Enable compositor background blurring
This allows us to create a "glass blur" look throughout the system for
improved visuals.

Change-Id: I77bb13a5711b05b43acf25e12abd9a2f5cd2502d
2020-12-21 09:19:25 +06:00
Han Wang
bb3cb75d39
Revert "Force enable mobile network settings v2"
* This prop is not honored anymore on 11.

This reverts commit c4d7f31a89.
2020-12-21 09:19:25 +06:00
Luca Stefani
7c910f5de2
sdm660-common: Set linker to LLD
Change-Id: Ia165daa55ff707725b0619af12bf3a2e6e79c981
2020-12-21 09:19:25 +06:00
OdSazib
d49eada337
sdm660-common: Update exfat driver
* New kernel replaced sdfat with exfat

signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-21 09:19:25 +06:00
OdSazib
9a192b7de0
sdm660-common: sepolicy: Update sepolicy and cleanup
* Address some denials from android 11
* Fix video recording
* Sort in alphabetic order

Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-21 09:16:25 +06:00
Aayush Gupta
ad4a731b53
sdm660-common: Address init denials regarding socket_device
[    9.346918] type=1400 audit(71454275.960:7): avc: denied { create } for comm="init" name="dpmwrapper" scontext=u:r:init:s0 tcontext=u:object_r:socket_device:s0 tclass=sock_file permissive=0

Ref:
[0]: https://source.codeaurora.org/quic/la/device/qcom/sepolicy/commit/?h=LA.UM.9.2.1.r1-03800-sdm660.0&id=79488292273efa5ab89bc405a5f6ae4dec5d011d

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I262b06821c0625978b3685d0666bd2cf599fbf98
2020-12-13 18:38:07 +06:00
Aayush Gupta
8c68646954
sdm660-common: Allow qti_init_shell to start & stop ril-daemon
[    9.057234] type=1107 audit(71454275.676:6): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=ctl.stop$ril-daemon pid=1122 uid=0 gid=0 scontext=u:r:qti_init_shell:s0 tcontext=u:object_r:ctl_stop_prop:s0 tclass=property_service permissive=0'

Ref:
[0]: https://source.codeaurora.org/quic/la/device/qcom/sepolicy/commit/?h=LA.UM.9.2.1.r1-03800-sdm660.0&id=79488292273efa5ab89bc405a5f6ae4dec5d011d

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I5f062f8c6be56380b40a9428358c5f6c93dd71c8
2020-12-13 18:38:07 +06:00
LuK1337
bb066620d8
sdm660-common: sepolicy: Address radio denials
Change-Id: If37262e6be3d31f51dcd482db04ce647ecd57e4d
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@aosip.dev>
2020-12-13 18:38:07 +06:00
Aayush Gupta
2ccf864f31
sdm660-common: Address denials regarding to access sysfs_kgsl
[   22.419451] type=1400 audit(1601312073.698:17): avc: denied { search } for comm="ImageWallpaper" name="kgsl-3d0" dev="sysfs" ino=29220 scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:sysfs_kgsl:s0 tclass=dir permissive=0 app=com.android.systemui
[    9.476242] type=1400 audit(1601312065.534:13): avc: denied { search } for comm="BootAnimation" name="kgsl-3d0" dev="sysfs" ino=29220 scontext=u:r:bootanim:s0 tcontext=u:object_r:sysfs_kgsl:s0 tclass=dir permissive=0

Change-Id: I80c5de2d9687b3127922d5bc55c26461a797d0f9
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@aosip.dev>
2020-12-13 18:38:07 +06:00
Nolen Johnson
0d7a7d4ef5
sdm660-common: Move rtc contexts to device/qcom/sepolicy
* In device/qcom/sepolicy-legacy-um now.

Change-Id: I80b877d4b65a3d22cf7a61d70e08e48edeb627de
2020-12-13 18:38:07 +06:00
nebrassy
7821f6dc80
sdm660-common: sepolicy: drop seapp_contexts
now labeled in sepolicy-legacy-um

Change-Id: I284d16905a7e67c3d86f300ac9bf73fa1b9490fc
2020-12-13 18:38:07 +06:00
OdSazib
f614ba1ce6
sdm660-common: Clean up sepolicy for Android 11
checkpolicy:  error(s) encountered while parsing configuration

Changes in Android 11
* dpmd > vendor_dpmd
* persist_camera_prop > vendor_persist_camera_prop
* persist_dpm_prop > vendor_persist_dpm_prop

Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-13 18:38:07 +06:00
Bruno Martins
31de151a0d
sdm660-common: Replace BOARD_CHARGER_DISABLE_INIT_BLANK with equivalent prop
Change-Id: I00125a429cde213e8dd22f742c5875e39b80bb5e
2020-12-13 18:38:07 +06:00
Redick Lin
4f7ff6df99
sdm660-common: BOARD_CHARGER_ENABLE_SUSPEND becomes ro.charger.enable_suspend
Define ro.charger.enable_suspend to true as charger no
longer uses BOARD_CHARGER_ENABLE_SUSPEND.

Bug: 153937817
Change-Id: Ic76bf3a66c5e21c74e49607f54d6c0358c31bbac
Signed-off-by: Redick Lin <redicklin@google.com>
2020-12-13 18:37:52 +06:00
nebrassy
7083e0a2bc
sdm660-common: manifest: decommonize Keymaster
Change-Id: Ifdfcd868399b28a77d4a05db584e2c02b47ad2c3
2020-12-13 18:37:01 +06:00
Ramakant Singh
11b714d506
sdm660-common: init: Add vendor prefix for shell
qti_init_shell renamed to vendor_qti_init_shell in order
to avoid SELinux denials

Change-Id: I4cfe1d8e15892a4948ece52aa799b2a60826d5f9
2020-12-13 18:37:01 +06:00
Jiyong Park
87a5439069
sdm660-common: Build init with shared libraries
recovery partition now supports shared librarys. Therefore, init can now
be built as a dynamic executable both for normal and recovery modes.

To save save in the recovery mode, not all libs are dynamically linked.
Libs that are only used by init in the recovery mode are still
statically linked.

Note: init is still a static executable for legacy devices where
system-as-root is not on, because the dynamic linker and shared libs
which are in /system are not available when init starts.

Bug: 63673171
Test: `adb reboot recovery; adb devices` shows the device ID
Test: device boots to the UI in normal mode.
Test: do that for both walleye (system-as-root) and bullhead (legacy
ramdisk).

Change-Id: I30c84ae6a8e507e507ad0bb71acad281316d9e90
2020-12-13 18:37:01 +06:00
Bruno Martins
ae14105f3c
sdm660-common: Drop QC location support
It leaks the IP, location and more to some 3rd party companies.

Change-Id: I77a82306b21030056e30d43eda4e504963554309
2020-12-13 18:37:01 +06:00
LuK1337
470f46ca7d
sdm660-common: Update qcom sepolicy include
Change-Id: I7167575e82eb8c5de2d822643261757edda73a07
2020-12-13 18:37:01 +06:00
LuK1337
b05ef7e05a
sdm660-common: Do not use timeservice_app_cert-legacy-um certificate for TimeService app
* This cert is no longer present in qcom sepolicy.

Change-Id: Ie4e882058825287d9db3f7a3bdd37c641c67a5c2
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
2020-12-13 18:37:01 +06:00
LuK1337
510d313d4e
sdm660-common: sepolicy: Label /persist
Change-Id: I471c0d1fedb51eabc32b54ab35a9823db8efd034
2020-12-13 18:37:01 +06:00
OdSazib
151e86e97b
sdm660-common: Set target screen density to 400
Change-Id: I574b5d322eccc753d37f9fc17599470d12cd9b37
2020-12-13 18:37:01 +06:00
inthewaves
b7b965a7a0
sdm660-common: add config overlay for biometric sensors
Change-Id: Iad81cd680fbeedd1ac3f216727e367d790834423
2020-12-13 18:37:01 +06:00
Manish Sarkar
827e1a8e00
sdm660-common: init: remove lct diag
We dont need you at all

05-28 19:19:49.428     0     0 I init    : Command 'rm /data/vendor/lct_diag/client_*' action=post-fs-data (/vendor/etc/init/hw/init.qcom.rc:371) took 0ms and failed: unlink() failed: No such file or directory

Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
Change-Id: I1d25b638e9385494f7ce883bab71ddab480559e0
2020-12-13 18:37:01 +06:00
OdSazib
0127312090
sdm660-common: fix: unable to decode UID for 'sensors': getpwnam failed
No such file or directory, Yet!

Change-Id: Ibbf773b1b238c1172ea639e47ffe59db2a1112ed
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-13 18:37:01 +06:00
Dan Willemsen
ee0b64d99d
sdm660-common: Still use BUILD_COPY_HEADERS
Bug: 130719878
Test: turn copy headers into an error by default; still builds
Change-Id: Idf228b2e8c4a4d93c3ad43fcd9995564d4feb67d
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-13 18:37:01 +06:00
OdSazib
ec64ed4b97
sdm660-common: remove unnecessary deps from vndk
Co-authored-by: Nebrassy <nebras30@gmail.com>
Co-authored-by: Anush02198 <Anush.4376@gmail.com>
Change-Id: I25982798d27a207d6b5d0343989888ecee22d457
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-13 18:37:01 +06:00
Subhajeet Muhuri
e29416b670
sdm660-common: skip ELF check for vndk-ext
Change-Id: If2fcf4fa960197f071b4f1c3851dfd0974e538d9
2020-12-13 18:37:01 +06:00
Subhajeet Muhuri
9b77a78185
sdm660-common: remove libhwbinder/libhidltransport deps from usb
Change-Id: I0884bd4f4db02f1775e330879e40bf2056ede8c2
2020-12-13 18:37:01 +06:00
Dhananjay Kumar
d857ac4ea0
sdm660-common: rootdir: update audio hal service override as per latest base service definition
Change-Id: I1c57ad2e448a95230a4adfff8fba94ffb0cddead
2020-12-13 18:37:01 +06:00
Subhajeet Muhuri
eedfe19a39
sdm660-common: init: Replace property_set() with android::base::SetProperty()
https: //android.googlesource.com/platform/system/core/+/c88d8f93cfaa8cbf368a0fa94e8bc84bc55c3ece
Change-Id: Ifa21fcb93b9070f063c64521c525ab7d75db6a6d
2020-12-13 18:37:01 +06:00
TheScarastic
1d115a0fe5
sdm660-common: libinit: include full static libbase
Change-Id: Icb67cd6b6759d8cc4fd2e7a98cea74ac68e8ad07
2020-12-13 18:37:01 +06:00
Demon000
19ff6e0599
sdm660-common: Add shim for libdpmframework
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
Change-Id: I5bbfcfafd3898d00b489df2cd057ca6dc043e21c
2020-12-13 18:37:01 +06:00
LuK1337
e87bdd7b32
sdm660-common: Switch vintf manifest from copy files to build targets
* Fixes:
  build/make/core/Makefile:49: error: VINTF metadata found in PRODUCT_COPY_FILES

Change-Id: I0a7ddebff54563f7901b6ce5d6af9580ea201a77
2020-12-13 18:37:01 +06:00
PIPIPIG233666
dbc4a7b0f5
sdm660-common: Patch qti-telephony-common to remove MIUI dependencies
Originally authored by Cosmin Tanislav on P (c06b5ad985dced77d08c95c326df73bbc2d4a2fb)
Adapted to R.

smali edit patch: https://gist.github.com/PIPIPIG233666/72806386c8b93729ce7f2b2c263d8889

Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@aosip.dev>
2020-12-13 18:37:01 +06:00
Sandeep Gutta
d5b3e3b880
sdm660-common: Update hidl-wrapper and telephony-utils jar path
Include system_ext path for both hidl-wrapper and telephony-utils jar's

Change-Id: I7cdd93c71bd4a029971188cab60ed98e401be583
CRs-Fixed: 2637090
2020-12-13 18:37:01 +06:00
Sandeep Gutta
2e9e63f853
sdm660-common: Move qti-telephony-common jar to system_ext partition
Move qti-telephony-common jar to system_ext partition.

Change-Id: Ib4c366b2c3ceeea59734902aa1825126e7fa402c
CRs-Fixed: 2608010
2020-12-13 18:37:00 +06:00
Davide Garberi
7d648ced7c
sdm660-common: Update qti-telephony-common from cmi
Change-Id: Ic31142ca3a72d29323a2c7851b84a79bcef6fc12
2020-12-13 18:37:00 +06:00
Felix
8fecc32ed8
sdm660-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
2020-12-13 18:37:00 +06:00
LuK1337
80d02cda27
sdm660-common: Build libhidltransport/libhwbinder
* Needed for old blobs

Change-Id: I43fc0e46547dfc126a4b2ac9dcc82c7c4f2ee172
2020-12-13 18:37:00 +06:00
dianlujitao
4c0f154250
sdm660-common: Add LOCAL_CHECK_ELF_FILES := false for libpowermanager
Signed-off-by: Aryan Gupta <guptaaryan189@gmail.com>
Change-Id: I052316f7852d775059d3a95a1f6fdf0b6cb59a31
2020-12-13 18:37:00 +06:00
Arian
eb93de8d19
sdm660-common: Load vndk 29 libprotobuf for libril-qc-hal-qmi and libwhvdil
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
Change-Id: I14e2ceef71541003a452775e1dd7f44c8b3b2b5a
2020-12-13 18:37:00 +06:00
Jiyong Park
80a9405ac4
sdm660-common: move VNDK APEX to vendor partition
... for aosp_* targets so that we don't need to update vendor.img everytime
there is a change in the VNDK libraries

Bug: 140136207
Test: build, m
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
Change-Id: Ibfe67b4cca6ef6648ad39a50154cb539348b008a
2020-12-13 18:37:00 +06:00
Robert Shih
262f018a5e
sdm660-common: Enable v1.3 clearkey drm plugin
Bug: 139134043
Test: MediaDrmTest
Change-Id: Ie34e59947577988f75fae52d22e3f573f4b92420
Signed-off-by: Arian <arian.kulmer@web.de>
2020-12-13 18:37:00 +06:00