Commit Graph

633 Commits

Author SHA1 Message Date
Volodymyr Zhdanov
d96b060c7d Revert "sm6250-common: Get rid of megvii dependencies in camera.qcom.so"
* doesn't work anymore

This reverts commit f8e46f5022.
2020-12-06 22:48:36 +02:00
Demon000
57ef6285a5 [BLOBS] sm6250-common: move unlinked blobs under their own section 2020-12-06 22:48:36 +02:00
Volodymyr Zhdanov
1f34864fe4 Revert "[BLOBS] sm6250-common: remove megface libraries"
* shim breaks camera now ;c

This reverts commit a6509e0afa.
2020-12-06 22:48:36 +02:00
Volodymyr Zhdanov
e9ac9c8f56 [BLOBS] sm6250-common: unpin nubia blobs 2020-12-06 22:48:36 +02:00
Volodymyr Zhdanov
235325a14e [BLOBS] sm6250-common: update blobs from curtana RKQ1.200826.002 2020-12-06 22:48:36 +02:00
Volodymyr Zhdanov
8f544cff2a [BLOBS] sm6250-common: setup initial sections structure 2020-12-05 04:08:59 +02:00
Volodymyr Zhdanov
7cfdc05ab5 [BLOBS] sm6250-common: kill audiohalext
* we've got oss hal now
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
1a45b009e7 [BLOBS] sm6250-common: update widevine blobs from NX627J RKQ1.200826.002 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
8eb1fc02b5 [BLOBS] sm6250-common: kang soundtrigger hal from NX627J RKQ1.200826.002
* needed for R audio hal:
  soundtrigger: audio_extn_sound_trigger_init: Incompatible API versions ahal:0x200 != sthal:0x101
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
1f17d77bb1 [BLOBS] sm6250-common: override camera.provider@2.4-legacy
* source build one has issues with camera in external apps
* tnx to erfanoabdi for the tip
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
83f3d63bca sm6250-common: build vendor.qti.hardware.display.mapper@2.0.vendor
* needed for 11 adreno blobs
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
85e12fba00 [BLOBS] sm6250-common: update adreno blobs from NX627J RKQ1.200826.002 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
fa1f369e86 [BLOBS] sm6250-common: kang SDM blobs from NX627J RKQ1.200826.002
* needed for R display hal
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
183e7ac408 sm6250-common: create EGL symlinks 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
ee4d23663a [BLOBS] sm6250-common: remove blobs we can symlink from prebuilts 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
25f9a71544 sm6250-common: add new surfaceflinger flags
* since [1] caf sets these for all platforms

[1] https://source.codeaurora.org/quic/la/platform/hardware/qcom/display/commit/?id=1b056c2223143ea401a47f8726a32b7e58656ab2
2020-12-05 00:36:18 +02:00
Weiyin Jiang
bdd5935f43 sm6250-common: audio: add compress recording configurations
Add compress recording configurations

CRs-Fixed: 2764160
Change-Id: I8e8b1f89d7f28d997342c5946d0a35111e941ec1
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
f50bff274a sm6250-common: enable TARGET_USE_QTI_BT_STACK
* needed for common qti bt setup
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
e26b98d4f7 sm6250-common: switch to lineage patchelf 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
17e2b77fc5 sm6250-common: configure livedisplay
* reboot issue fixed with https://review.lineageos.org/c/LineageOS/android_hardware_lineage_livedisplay/+/291215

Revert "sm6250-common: Add config value for a11y color mode"

This reverts commit 97a37101a3208557fc0f701dfa60ca3f8bb2e311.

Revert "sm6250-common: Remove COLOR_MODE_SATURATED"

This reverts commit 05e88c788f1b53edc2df14d7eb8d8e1a673d77f4.

Revert "sm6250-common: Enable adaptive color mode"

This reverts commit 656110c04a11caca5dc3121dd1864d758e51c29c.

Revert "sm6250-common: Override config_availableColorModes"

This reverts commit b9c2b988f01ac77ff476956458783c38f796645f.

Revert "Revert "sm6250-common: add livedisplay support""

This reverts commit a3a4c1544ca797b54bcfe7d6cb195b5ca493cec4.

Revert "Revert "sm6250-common: enable default color mode""

This reverts commit 8cba7668001eff8dd695dbf93db63b6b1f763b49.

Partially revert "sm6250-common: add livedisplay support"
2020-12-05 00:36:18 +02:00
Roshan Pius
7defa6bffb sm6250-common: TetheringOverlay: Change wifi tether regex
The wifi interface names for wifi can either be wlan0 or wlan1.
Change the "config_tether_wifi_regexs" appropriately.

Bug: 80375412
Test: Ensured we display "Hotspot on" in settings when softap is started
on either wlan0 or wlan1.

Change-Id: I0c456412f9b71ef2ee784f3bfa58b01b9287ca73
2020-12-05 00:36:18 +02:00
LuK1337
ac9469a3dd sm6250-common: rro_overlays: Redo TetheringOverlay's blueprint
This now matches WifiOverlay.

Change-Id: I9e4e859b7aca75d41556ea5807e34a4eb4598266
2020-12-05 00:36:18 +02:00
Weilun Du
8ef6293311 sm6250-common: Add Tethering Config
Tethering package is APEX and we need to create a RRO to overwrite
the values for config_tether_wifi_regexs and config_tether_wifi_p2p_regexs.
BUG: 163800715

Signed-off-by: Weilun Du <wdu@google.com>
Change-Id: Ia0834f5215ff8c3b13effa591bd2f84d93419a06
2020-12-05 00:36:18 +02:00
Ajit Vaishya
66f8d29ca8 sm6250-common: Wifi: Default compile of WPA based module
This commit introduce to provide default compilation
for WPA based module.

Change-Id: Ic0a1cd4383102dea83ea9c3d80177677ea2e59b7
CRs-Fixed: 2410589
2020-12-05 00:36:18 +02:00
LuK1337
2b220fa218 sm6250-common: Enable RRO overlays for lineage-sdk and Snap
Change-Id: I482f2393e10e90362db2c66b7abb0de837085843
2020-12-05 00:36:18 +02:00
PIPIPIG233666
5663d13d8b sm6250-common: Split component-overrides to support pure aosp/qti bt stack
Change-Id: Ia40a996ba5164ba8a6fc5dde0dfb3ef859af1477
2020-12-05 00:36:18 +02:00
Ryan Mitchell
a6db72a1fc sm6250-common: Use component-override to configure Bluetooth
Runtime Resource Overlays (RROs) can no longer change the value of
resources in manifest when read during PackagerParser.

This change uses component-override to enable the service by default
on sunfish devices.

Remove usages of profile_supported_* from overlays as they no
longer configure the enable state of Bluetooth componenets.

Bug: 135048762
Test:
      adb shell pm query-services \
      com.android.bluetooth/.a2dpsink.A2dpSinkService
      adb shell pm query-services \
      com.android.bluetooth/.avrcp.AvrcpTargetService
      adb shell pm query-services \
      com.android.bluetooth/.avrcpcontroller.AvrcpControllerService
      adb shell pm query-services \
      com.android.bluetooth/.ba.BATService
      adb shell pm query-services \
      com.android.bluetooth/.hfpclient.HeadsetClientService
      adb shell pm query-services \
      com.android.bluetooth/.hid.HidDeviceService
      adb shell pm query-services \
      com.android.bluetooth/.sap.SapService

Change-Id: If41df9fdefbcd952f8387451dc137565343e3d75
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
98c9d2a95b sm6250-common: overlay: Add pinned files from stock 2020-12-05 00:36:18 +02:00
Bruno Martins
b8e451aeec sm6250-common: overlay: Pin standard SystemUI instead of Google's
Change-Id: If96bb13d6cc2c2156d8df111a1037247c96c6e0f
2020-12-05 00:36:18 +02:00
Nicolas Geoffray
590ca15581 sm6250-common: overlay: Update in pinned files.
Remove or update paths that don't exist.

Bug: 119800099
Test: boots
Change-Id: Idd0066e2ab737c9edcf9a745a19aca7421f62575
2020-12-05 00:36:18 +02:00
Jeongik Cha
3b8553c99f sm6250-common: overlay: Update config overlay with new SystemUI location
The app is moving to /product

Test: m
Test: check if it can boot
Bug: 137908189
Change-Id: Ifd73ba03884543e33d61c74d933ad8171dd3b259
2020-12-05 00:36:18 +02:00
Martin Stjernholm
b69a68b581 sm6250-common: overlay: Update paths to the new ART APEX.
Test: Presubmits
Bug: 135753770
Change-Id: If522ab29b6c4e9aab91f5ba41e10947799315f33
2020-12-05 00:36:18 +02:00
Rick Yiu
ac2981bdca sm6250-common: overlay: sync pinner service configs from crosshatch
Bug: 130103428
Test: verified with dumpsys pinner
Change-Id: I8ffe5eee1d40a5ac6be2112621ccda4b4dd5be1a
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
6d2752203e [BLOBS] sm6250-common: remove prebuilt libplatformconfig
* let's build from source along with vendor.qti.hardware.capabilityconfigstore@1.0
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
2e458c4a5f Revert "sm6250-common: media: Tune perf xml"
* to be inline with R configs

This reverts commit https://source.codeaurora.org/quic/la/platform/hardware/qcom/media/commit/?id=a592ac66eb9710438b3a1e5075dd2bf3b262806a
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
338fe2ab6c [BLOBS] sm6250-common: update widevine blobs from davinci RKQ1.200826.002 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
4d07a67f33 sm6250-common: sepolicy: label fingerprint service 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
6a2025c8b1 sm6250-common: build our fingeprint service 2020-12-05 00:36:18 +02:00
Pig
173559b256 sm6250-common: fingerprint: Clean up duplicated includes
* Move all includes to header.

Change-Id: I36b26dcf16c8b51958129707242cafa712a17bf1
2020-12-05 00:36:18 +02:00
LuK1337
fa541228c0 sm6250-common: fingerprint: Don't set ro.boot.fpsensor
* It's useless.

Change-Id: I29357c1fbbd7752f3631d9b7f1ce63b61bb41cd0
2020-12-05 00:36:18 +02:00
LuK1337
24cdd87ecc sm6250-common: fingerprint: Brackets should be here
Change-Id: I8093287b3f4e1b1d0c3deff384a1cb5e6e17dbff
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
f5a6695e08 sm6250-common: fingerprint: update for xiaomi sm6250 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
2f0646f292 sm6250-common: import fingeprint service from xiaomi msm8998 tree 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
711bdb7e1f [BLOBS] sm6250-common: remove prebuilt fingerprint service 2020-12-05 00:36:18 +02:00
Ethan Chen
7e6a71be58 sm6250-common: Use non-conflicting consumerir HAL name
Change-Id: Ifdd31a03f2f8d28ec100581af127a073ffa81129
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
27e4f91c33 sm6250-common: build IR HAL from source 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
e6d159847b [BLOBS] sm6250-common: remove prebuilt IR blobs 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
140603d594 sm6250-common: build servicetracker interfaces from source 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
161d5d1c62 [BLOBS] sm6250-common: remove prebuilt servicetracker interfaces
* we can build these from source
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
dcee65c43f sm6250-common: build libsensorndkbridge from source 2020-12-05 00:36:18 +02:00