Commit Graph

482 Commits

Author SHA1 Message Date
Adam Shih
3d03327784
davinci: sepolicy: Use prefix to label wakeup nodes
Bug: 161136421
Test: Boot with no system_suspend logs
Change-Id: I92706be9cd806397f62f887b20f589be1dcdd777
2021-04-25 14:52:26 +02:00
Cyan_Hsieh
e5fb6c7b71
davinci: sepolicy: Label symlinks from /sys/class/wakeup
Bug: 145905081
Bug: 155590308
Bug: 160131365
Change-Id: Iece91f90915fc783edd185d6162f319b95fb1c06
2021-04-25 14:52:07 +02:00
Adam Shih
89ea5715e8
davinci: sepolicy: Give system_suspend access to wakeup nodes
Bug: 145905081
Bug: 155590308
Test: reboot and see no error
Change-Id: Id13526831495c397ed39da84a662c9d845b3543f
2021-04-25 14:51:18 +02:00
Michael Bestas
3397396046
davinci: Switch to standalone extract utils
Align with templates while we are at it

Change-Id: I3cd279191c7bd3582f1c1f80c588eb26cf9da933
2021-04-25 14:49:59 +02:00
Michael Bestas
48d2008e82
davinci: Switch to patchelf from tools-lineage
Change-Id: If1a7328804fb9bc39ccec70690f1090f2d0509b3
2021-04-25 14:49:59 +02:00
Arian
dcc5649777
davinci: audio: Increase headphones echo reference channels
Change-Id: Ic5d0ef1e4a5319763a195420919a81c9c39630ce
2021-04-25 14:49:59 +02:00
Arian
67d1c4ce69
davinci: gps: Update from 20.12.28
Change-Id: Id1f630e1f6d4c02a854610eee1b665e8f8b1def0
2021-04-25 14:49:59 +02:00
Arian
2adf4360af
davinci: Add Certificate Authority service
Change-Id: I1b8df9fbd8fea6e23bb8fbd1ff23746ad5642fae
2021-04-25 14:49:59 +02:00
Arian
2b825821f6
davinci: Pin qdcm profiles from 12.0.3
* The chinese beta qdcm profiles defaults to the video33 mode which is horribly yellow tinted.

Change-Id: I4e4cb08446299e1381321a77749c70f362c72138
2021-04-25 14:49:59 +02:00
Jake Weinstein
617bc4471a
davinci: overlay: Disable global mode and CDMA choices
Cleans up mobile network settings

Change-Id: Ib331062fa77a18661bbfcd1a49f62ddf9144228c
2021-04-25 14:49:59 +02:00
Saurabh Shah
18b33141f9
davinci: rootdir: init.qcom.rc: Add owners for brightness nodes
Add owners for new lcd brightness and max_brightness node
/sys/class/backlight/panel0-backlight/brightness
/sys/class/backlight/panel0-backlight/max_brightness

Change-Id: I939ed22dc880a3536d95b397dbc7bed9288bc5df
2021-04-25 14:49:59 +02:00
Bruno Martins
89e12ed874
davinci: lights: Remove LCD backlight handling
Since composer HAL is now able to handle display brightness,
this can be removed from the lights HAL.

Change-Id: Ic10cead638382d448a94205bcec3543177d387f6
2021-04-25 14:49:59 +02:00
Arian
8f53f7de33
davinci: Switch to AOSP NFC stack
Change-Id: I537729ac9262edd3b741380bba74e46e8a588eaf
2021-04-25 14:49:59 +02:00
Arian
2e45a1266b
davinci: Add aptX blobs from Pixel 4A
Change-Id: I90ea22bff76c802bdf2afacc369799733806ee5e
2021-04-25 14:49:59 +02:00
Arian
ec12babff2
davinci: Kang libsdedrm.so from Nubia Z20
Change-Id: I6f3fcf01d82f6326e4e4309f627290083906a40b
2021-04-25 14:49:59 +02:00
Arian
40b126dec9
davinci: Build libplatformconfig from source
Change-Id: I8b4f2272ee47f7652c21918792d9fb72c7018db6
2021-04-25 14:49:59 +02:00
Arian
40956fe0a0
Partially revert "davinci: Disable uplink features in librmnetctl and build it from source"
This partially reverts commit 71a981f61c.

Change-Id: Iecb1c15b658a453eae1d888e4a824b433205548c
2021-04-25 14:49:59 +02:00
Alistair Delva
5002ab418f
davinci: rootdir: Enable inline encryption
Bug: 137270441
Change-Id: I8fb8822a5f19f3908b662181495550e60d80a3f3
2021-04-25 14:49:59 +02:00
Arian
b14ec9ced2
davinci: rootdir: Check persist
Change-Id: Ifc66f4ff386ef3fd01eb10ebe7d105ff9f18127b
2021-04-25 14:49:59 +02:00
Bruno Martins
6b85e595b0
davinci: Remove android.hardware.biometrics.fingerprint from manifest
This addresses the runtime VINTF parse error:

  E hwservicemanager: getDeviceHalManifest: -2147483648 VINTF parse error: Cannot add manifest fragment /vendor/etc/vintf/manifest/android.hardware.biometrics.fingerprint@2.1-service.xml:HAL "android.hardware.biometrics.fingerprint" has a conflict.

Change-Id: I478c314b46bc6e39206f268d52fc7e445a2df3e4
2021-04-25 14:49:59 +02:00
Arian
804e911c0b
davinci: Add HVDCP properties
Change-Id: I59a058c92d0d854a037d22591dd90a0c55c03748
2021-04-25 14:49:59 +02:00
Arian
4c5bfa0185
davinci: sepolicy: Update mi_thermald property label
Change-Id: Ib0944a93ab4a43c8386de989894b3f6ee38d8088
2021-04-25 14:49:59 +02:00
Arian
770e1d1dd3
davinci: Update props from 20.10.22
Change-Id: Ie923deae7f5a94484279cf36e22a3145846b3051
2021-04-25 14:49:59 +02:00
Sujin Panicker
005863edbf
davinci: audio-hal: Add property for timecheck timeout duration.
Timecheck timeout set to 20sec based on the property
vendor.audio.hal.boot.timeout.ms before system is ready.
It updates to default timeout of 5sec once the system
is ready.

Change-Id: I6d13eb8b8d06f279261cbcb81053f9a1389d073e
2021-04-25 14:49:59 +02:00
Purushottam Kushwaha
e307cc2650
davinci: NAN: set property 'wifi.aware.interface' to use separate interface
This CL is to set 'wifi.aware.interface' property for the targets
where separate NAN discovery interface is supported.

Change-Id: Ib892f2207a9366a5a86071fd6d3c4b37e174b08c
CRs-Fixed: 2680050
2021-04-25 14:49:54 +02:00
Arian
6c7d2472a0
davinci: Import media_codecs_c2.xml
Change-Id: I01052ad711a0df0b5c1f608ab3eec4ea8f6469aa
2021-04-25 14:49:24 +02:00
Arian
64565c7e2c
davinci: Remove unused media_codecs_vendor_audio.xml
Change-Id: I5e81b6aa4409835bae7e9c92754b3ad1a74b7cc8
2021-04-25 14:49:16 +02:00
Shrikara B
6b8f01aeb1
davinci: media: Override ccodec property in vendor
Override debug.stagefright.ccodec property to from vendor side
Without this property in vendor side, codec2 components will
be listed in GSI case, which is not desired.

CRs-fixed: 2476609
Change-Id: Ifcdd5194eafa425ed79596eb2fc06478730001b4
2020-12-30 02:02:59 +01:00
Santhosh Behara
aa65975182
davinci: media: Add and publish Codec2 HAL service
*Add 2 codec2 relates libs to PRODUCT_PACKAGES in order to copy
them to /vendor/lib/

Change-Id: I56da6b774cf0f9b9e628886d7bfe22f5ccae4258
2020-12-30 02:02:59 +01:00
Sujin Panicker
920e444481
davinci: media: Include QC OMX Codecs and fix rank of QC OMX components
Include media_codecs_vendor_audio.xml from within media_codecs.xml
and rank QC OMX SW codecs higher than C2 codecs.

Change-Id: I3c079cd778f1eb978baaf437fe9ae309dfdc8e54
2020-12-30 02:02:59 +01:00
Arian
5ba7edfe45
davinci: Bump required baseband version to 20.10.20
Change-Id: I1caf9f8a3b5e37840b84814deaebd7ef3a40b68c
2020-12-30 02:02:58 +01:00
Arian
bffe4ca0cf
davinci: Update proprietary files from 20.10.22
Change-Id: Ibaeaae488efbce21fc73ae7db14f9427806e7d66
2020-12-30 02:02:58 +01:00
Arian
cb2dea3ee2
davinci: Update public libraries from 20.10.22
Change-Id: I4e5bb1e668bde581dfec2d17536e9150e96877d4
2020-12-30 02:02:58 +01:00
Arian
160016e0f8
davinci: wifi: Update wcnss config from 20.12.10
Change-Id: I1939c2656daa7ad83647f48a95bbbe85490a9713
2020-12-30 02:02:58 +01:00
Arian
571735465a
davinci: rootdir: Update init.qcom.usb.rc from 20.10.22
Change-Id: I56697dc48c431bd9c6a13a8d0ff1bf16395cd354
2020-12-30 02:02:58 +01:00
Arian
efa81edb6a
davinci: media: Increase max resolution for m4v
Change-Id: I32aa6b15b73e1838028f0e38f523e70b90a4f1cc
2020-12-30 02:02:58 +01:00
Arian
e9a6fe51f4
davinci: media: Disable 4k and 2160p for front camera
Change-Id: Id1814746bf7fdf87af6dc7f2fcea09e704247b01
2020-12-30 02:02:58 +01:00
Arian
542d89bb26
davinci: Import media_profiles.xml from LA.UM.9.1.r1-07300-SMxxx0.0
Change-Id: Ie72e405c6139141bebe2db2b5a93ca832bdaba30
2020-12-30 02:02:58 +01:00
Arian
b4fb99e818
davinci: audio: Add handset backend
Change-Id: Ia9653281b88fb7cfff878665dec7649bf7d37735
2020-12-30 02:02:58 +01:00
Arian
588c8b5040
davinci: audio: Apply cleaned xiaomi mixer_paths changes
Change-Id: I05b46a8274b91ac0fc9c7d7ff86e0e16a54a6dab
2020-12-30 02:02:58 +01:00
Arian
bc93432e65
davinci: audio: Apply cleaned xiaomi audio platform info changes
Change-Id: I5e79f447ef05f2400a709bfe153eda33b5bf0987
2020-12-30 02:02:58 +01:00
Arian
103d331711
davinci: audio: Check out mixer paths and platform info to LA.UM.9.1.r1-07300-SMxxx0.0
Change-Id: I285c7bdadee4f7fe271a2e8b4ab4b991895f2781
2020-12-30 02:02:58 +01:00
Arian
c6d2fcb8a4
davinci: audio: Check out audio policy to LA.UM.9.1.r1-07300-SMxxx0.0
Change-Id: I621c12d3ff8ad185abd5f1277c8a13ad7aa89285
2020-12-30 02:02:58 +01:00
Arian
1cfda5e560
davinci: gps: Update GPS configs from 20.10.22
Change-Id: Id4d195f0a0af0bf870e3a4d8118b648ec06cf464
2020-12-30 02:02:58 +01:00
Arian
f2fb47a4a0
davinci: gps: Update to LA.UM.9.1.r1-06700-SMxxx0.0
Change-Id: I7441cf1b3d067969dad0ad3d57c27bb87a276189
2020-12-30 02:02:58 +01:00
Arian
e6ae9c1b27
davinci: rootdir: Update init.qcom.post_boot.sh from 20.10.22
Change-Id: I1e1405fc24d8670b096c860178f714fbbe906de1
2020-12-30 02:02:58 +01:00
Arian
b80df2fd39
davinci: Build nxp nfc 2.0 service
Change-Id: I75af5a56973c5024ab8c748b4fb27023de0ba632
2020-12-30 02:02:58 +01:00
Jyoti Kumari
45ecc28678
davinci: wlan: ini: Remove TDLS INI from ini file
Remove gEnableTDLSSupport and gEnableTDLSImplicitTrigger
from ini file

Enable this ini from driver header file

Change-Id: I6e4337615e75b5f5288bdf4e50a94f2c7ec3e0d6
CRs-Fixed: 2775227
2020-12-30 02:02:58 +01:00
Ashish Kumar Dhanotiya
43452217c3
davinci: wlan: ini: Remove TxPower2g and 5g from config file
Ini config values TxPower2g and TxPower5g are not
getting used anymore.
Remove TxPower2g and TxPower5g from WCNSS_qcom_cfg.ini
for all the targets.

Change-Id: Id85bec3e4ae3bb8012e13844bb0afa682a593fee
CRs-Fixed: 2607679
2020-12-30 02:02:58 +01:00
sheenam monga
46d0d33183
davinci: wlan: ini: Remove drop_bcn_on_chan_mismatch ini
Currently, with drop_bcn_on_chan_mismatch disable
default value of drop_bcn_on_chan_mismatch is overwritten
and abnormal rssi is observed for some beacons.
To avoid the issue remove drop_bcn_on_chan_mismatch
from ini, So that default value of drop_bcn_on_chan_mismatch
can be used.

Change-Id: I6e7ec9327a2e13d1fed73bec2fedf8b584989930
CRs-Fixed: 2588983
2020-12-30 02:02:58 +01:00