Commit graph

1026 commits

Author SHA1 Message Date
Stephen Thomas-Dorin
1e81ec34f8
sdm710-common: overlay: Update config_ims_rcs_package to use new ImsService
Change-Id: I77fcd2a3451c99df5fa47136fa0cd36a5abab9fe
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-01-03 21:17:05 +01:00
Giammarco Senatore
fe1019795c
sdm710-common: switch to S sepolicy_vndr 2022-01-03 19:36:06 +01:00
jjpprrrr
ed50308116
sdm710-common: update DPM, IMS, and RIL system blobs
from LA.QSSI.12.0.r1-05100-qssi.0

sdm710-lenovo: also drop WFD and update remaining libs

Note that ims factory jars are added for the new ImsRcsService.apk.

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-01-03 14:40:57 +01:00
jjpprrrr
e05b539a51
sdm710-common: Address init denial 2021-11-25 20:05:41 +01:00
jjpprrrr
df77b02041
sdm710-common: let's not deal with ELF file copies for now
Basically any non-plain-text files in our proprietary file list
are ELF binaries. Granted that I can use llvm-readobj to check the
headers and build them through cc_prebuilt_binary or
cc_prebuilt_library_shared one by one, but the result is kind of
pointless.

The purpose of cc_prebuilt_binary is to track dependencies by
running check_elf_file.py on them. We have so many proprietary blobs
that it is nearly impossible (and sometimes impractical and undesirable)
to define dependencies.
2021-11-24 20:45:42 +01:00
Giammarco Senatore
153b435cfe
sdm710-common: Update dependencies 2021-11-21 12:35:35 +01:00
lzgmc
63e608a22f
sdm710-common: WifiOverlay: Swap RSSI threshold values
This fixes random Wi-Fi disconnects.
Forgot to pick in 12 branch
2021-11-16 11:37:01 +01:00
Chenyang Zhong
50bb739532
sdm710-common: sepolicy: allow system_server to get app_zygote pgid
avc: denied { getpgid } for scontext=u:r:system_server:s0 tcontext=u:r:app_zygote:s0:c512,c768 tclass=process permissive=0

Appeared during UiBench.

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-11-12 16:17:06 +01:00
Giammarco Senatore
040f8d3543
Revert "sdm710-common: Permissive SELinux"
This reverts commit ddee12f5a5.
2021-10-30 12:58:43 +02:00
jjpprrrr
14ed563a24
sdm710-common: sepolicy: specify the owner of vendor props
vendor_fp_prop is public because apps like Alipay may access it
to enable biometrics payment authentication.
sdm710: Drop a neverallow
2021-10-30 12:58:35 +02:00
hh2333
f0b5986f56
sdm710-common: Disable settings provider model
* When it is enabled, if we have multiple SIM cards, the networks
  settings UX will only show the first SIM card.
2021-10-30 12:23:22 +02:00
Chenyang Zhong
cfb696ab83
sdm710-common: disable blurs
Blurs on android12 are extremely janky, even with EXPENSIVE_RENDERING
raising GPU frequency.

W FrameTracker: Missed SF frame:1
W FrameTracker: Missed SF frame:4
W FrameTracker: Missed SF frame:68
W FrameTracker: Missed SF frame:68
W FrameTracker: Missed SF frame:65
...

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-10-23 13:55:54 +02:00
Rick Yiu
ae1bd89aa2
sdm710-common: rootdir: Remove some camera-daemon commands
Those commands have moved to init.rc.

Bug: 170507876
Bug: 171740453
Test: build pass
Change-Id: Ib7acc0fd83adca37e247cd9f3113c1f117e5196e
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-10-21 19:39:24 +02:00
Wilson Sung
711c2be171
sdm710-common: Set SOC properties for SDM710
Bug: 158284209
Bug: 180589452
Change-Id: I31ec2aff20a4efb3c502ee5c8c6463e31c892bd5
Signed-off-by: Wilson Sung <wilsonsung@google.com>
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-10-21 19:37:13 +02:00
Chenyang Zhong
ed065abb05
sdm710-common: sepolicy: allow vendor_init to read persist_debug_prop
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-10-20 22:42:05 +02:00
Chenyang Zhong
2ebb67f1d4
sdm710-common: relax sysprop owner enforcement
Quoting commit afc09932f6fa07c5f6beffbcdc2bb4691e527321 in
system/sepolicy [1]:

"Devices launching with R or eariler can this by setting following
under BoardConfig.mk"

It is impractical to replace every prop definition from qcom to
vendor_property_type for old platforms like SDM845, so relax the
enforcement to avoid triggering millions of neverallows.

ref:
[1] afc09932f6

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-10-20 22:38:25 +02:00
Yan Wang
c912954421
sdm710-common: iorap: Enable iorapd prefetching
Bug: 141987657
Bug: 139831359

Change-Id: I71c32bf3f1b1c406dd27ac643638ea909b849ee6
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-10-20 22:38:25 +02:00
jjpprrrr
397dc77a48
sdm710-common: build the missing libs
Not sure why these aren't there by default anymore.
2021-10-20 22:38:25 +02:00
Nicolas Geoffray
72825aa852
sdm710-common: overlay: Remove odex/oat files from pinner list.
The pinner now asks the runtime for these files.

Test: adb shell dumpsys pinner
Bug: 144773394
Change-Id: Ie633ea788dab3389a3407ec9a461b5837befca46
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-10-20 22:38:25 +02:00
Kevin Jeon
40828afa14
sdm710-common: overlay: Update SurfaceFlinger pin
This change replaces the '/system/lib64/libsurfaceflinger.so' pin, as
the file was removed in ag/12524602. The updated pin relies on
go/aog/1552085, as system_service needs read access to SurfaceFlinger.

Bug: 176197656
Test: adb shell dumpsys pinner (coral)
      - shows that /system/bin/surfaceflinger is successfully pinned
      adb logcat | grep PinnerService (coral)
      - no longer shows a file-not-found error in PinnerService
Change-Id: Iae2a96c5fe4b1f5698d21de9970140321d11c460
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-10-20 22:38:25 +02:00
Edwin Wong
d9972b2bd9
sdm710-common: Update clearkey plugin to drm HAL v1.4
Test: atest
  atest CtsMediaTestCases:android.media.cts.MediaDrmClearkeyTest#testGetPlaybackComponent

Bug: 182525516
Change-Id: I3adf55199301768bacb38103c3ef4ba24807df2f
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-10-20 22:38:25 +02:00
Giammarco Senatore
5b5fd7d902
sdm710-common: Drop updatable APEX 2021-10-20 22:38:24 +02:00
Giammarco Senatore
ddee12f5a5
sdm710-common: Permissive SELinux 2021-10-19 23:37:11 +02:00
Giammarco Senatore
9c817e7254
sdm710-common: Drop WfdCommon boot jars for now 2021-10-19 17:43:01 +02:00
Jeongik Cha
d88dc70552
sdm710-common: Specify version for aidl_interface explicitly
Bug: 150578172
Test: m
Change-Id: I4a9bf218b92252403e9ebbe8f89b10ee1899283f
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-10-19 17:39:33 +02:00
victor10520
53414d84bc sdm710-common: fix package names of rro_overlays
Users complaining about what oneplus sdm845 doing in lenovo builds
2021-09-24 19:54:48 +03:00
Bruno Martins
f28ae5e99e
sdm710-common: Build offline charging daemon dependency
This must be explicitly built as of R. Fixes off mode charging. (not yet here)

Change-Id: Ie013d25d55105b4eb2191b9fd625ed8e02c863c5
2021-08-22 15:50:36 +02:00
Shrikara B
927562f4ae
sdm710-common: media: Update performance points
Update performance points of few video encoders and
decoders

Change-Id: I2bd73a07baf46d5b86e3aacb10fc6ebe38e49c00
2021-08-22 15:23:58 +02:00
Mahesh Lanka
ff8808f4eb
sdm710-common: omx: Publish performance points
Publish performance points for HW codecs

Change-Id: I76fb57f4ff26428982264a3aaebbbcbf3941fa04
2021-08-22 15:23:56 +02:00
Manikanta Kanamarlapudi
3e460972c2
sdm710-common: Change secure max instances to 3
change secure max instances to 3

CRs-Fixed: 2293050
Change-Id: I590fcadaddd4cbe7ffb8b29e99fec0b7fad569e0
2021-08-22 15:23:40 +02:00
uixdess
9f4635840e
sdm710-common: Merge QCOM media codecs configs with ones being parsed
(nuke whole vendor configs here)

 * Without CodeAurora's modifications in frameworks/av, the vendor suffixed
   media codecs configs are not parsed at all. Move select vendor additions
   into the main files in order to enumerate support for hardware-backed
   HEVC encoder.
2021-08-22 15:23:19 +02:00
Giammarco Senatore
030df1de92
Revert "kunlun2: drop livedisplay"
This reverts commit 835641f2cf.
 And remove sunlight
2021-08-19 13:51:58 +02:00
jjpprrrr
13d3363ece
sdm710-common: powerhint: set /dev/cpu_dma_latency value in hex
/dev/cpu_dma_latency accepts values in either s32 or hex format,
so convert 67 (dec) to 43 (hex).

sdm845-common comment:

I assume Google meant to set cpu dma latency to 44 in decimal
rather than hex because 44 is the lowest valid latency value for
C3 LPM state, according to qcom,latency-us in sdm845-pm.dtsi.

The pm qos request is only active when the fd is kept open, so
the dummy value of 100 does not really matter. Keep it as is.

Test: hexdump -C /dev/cpu_dma_latency

00000000  2c 00 00 00                                       |,...|
00000004

Test: kernel pr_err() in pm_qos_power_write() before
      pm_qos_update_request()

Inspired by Artem's commit "qos: Workaround for faulty libperfmgr
config".

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-08-19 00:45:23 +02:00
Giammarco Senatore
b799885863
sdm710-common: Update dependencies 2021-08-19 00:23:23 +02:00
Giammarco Senatore
c2918e4349
sdm710-common: Add file_contexts for neuralnetworks hal 2021-08-18 13:16:08 +02:00
Giammarco Senatore
ea5649d744
sdm710-common: Add missing init.msm.usb.configfs.rc from stock
- files are same on both jd2019 and kunlun2
2021-08-17 22:36:47 +02:00
Giammarco Senatore
32471d788e
sdm710-common: Fix green screen WFD 2021-08-16 21:55:24 +02:00
Giammarco Senatore
b3fae0714c
sdm710-common: Drop duplicated gralloc1 config 2021-08-16 21:55:24 +02:00
Udaya Bhaskara Reddy Mallavarapu
4cd1b6296d
sdm710-common: Enable 64 bit DRM plugins compilation
Enable 64 bit compilation for DRM plugins.
This will generate DRM plugins, HALs & oemcrypto_test in 64 bit.

Change-Id: I451db39edea3446d9816fcaba77caa8d3b097afb
2021-08-16 21:55:24 +02:00
Giammarco Senatore
df5cd8ff7e
sdm710-common: Drop unneeded sensors libs
we use prebuilt 2.0
2021-08-16 21:55:24 +02:00
Giammarco Senatore
31177d1229
sdm710-common: Drop unwanted codec2 seccomp policy
and lib
2021-08-16 21:55:24 +02:00
Giammarco Senatore
07b514cd94
sdm710-common: Drop health entry in manifest
we use 2.1 that has fragment vintf
2021-08-16 21:55:23 +02:00
Giammarco Senatore
6b05d70854
Revert "Add build broken flags in BoardConfig.mk"
This reverts commit ce11e64add.
2021-08-16 21:55:23 +02:00
Demon000
6687ec44b2
sdm710-common: Build separate system and vendor HIDL libs
and cleanup sdm710.mk

Change-Id: If8e2211e643bdb0ff67fb248e7fe33b78077a06e
2021-08-16 21:55:23 +02:00
Robert Shih
d5172c8756
sdm710-common: Enable v1.3 drm plugins
Bug: 139134043
Test: MediaDrmTest
Change-Id: Iacab99903846ef5d63e7535f163190a9bd476f79
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-08-16 21:55:23 +02:00
Chenyang Zhong
3cacb8f7b0
sdm710-common: clean up display stack
libdisplayconfig was replaced by libdisplayconfig.qti on R. While
we are at it, build vendor.disiplay.config@1.0.vendor as well so
that QSEECOMD is happy.

E QSEECOMD: : Init dlopen(libsecureui.so, RLTD_NOW) is failed.... dlopen failed: library "vendor.display.config@1.0.so" not found: needed by /vendor/lib64/libsecureui.so in namespace (default)

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-08-16 21:55:23 +02:00
David Ng
08f71ce1db
sdm710-common: Add common config.fs AID/fs configuration file
Common config.fs/$TARGET_FS_CONFIG_GEN AID/fs configuration
file for all chipset inheriting from base.mk.

Since legacy device-specific android_filesystem_config.h and
config.fs do not co-exist, temporarily include config.fs only
if legacy file is absent.  Once all legacy, device-specific
files have been deleted, config.fs can be made unconditional.

Change-Id: Ie100d0cd9db808b82d99be7139f0709390c7f3a2
2021-08-16 21:55:23 +02:00
Giammarco Senatore
3bb90fc389
sdm710-common: Update permissions from xiaomi-sdm845 2021-08-16 21:55:22 +02:00
Yan Wang
9586b17baa
sdm710-common: iorap: Turn pinner on for camera
Bug: 157667363
Test: Check the pinner in dumpsys
Change-Id: I6313e4c7a0ad0e8236390d773f29b2109a82c615
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-08-16 21:55:22 +02:00
jjpprrrr
e34b106c55
sdm710-common: Update all common blobs
ADSP, CDSP, charger, CNE, Configstore, Display, DPM, DRM,
ESE, Adreno, Vulkan, IMS, Media, Peripheral, Power-off Alarm, QMI,
RIL, SCVE, Soter, Time services, TEE, TUI, VPP, Widevine, WFD
2021-08-16 21:55:18 +02:00