Commit Graph

521 Commits

Author SHA1 Message Date
Ashish Kumar Dhanotiya
a7342a2063 sdm845-common: wifi: 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-03-10 23:08:32 +00:00
theandroid02
53fd164f98 sdm845-common: Enable HID profile support
This matches MIUI 11 stock configs.

Change-Id: Ied2164bbe38daa415e860d8b8cef4c7249ec3802
2020-03-02 22:26:19 +02:00
1nfrag
ee38d63387 sdm845-common: audio: Remove references to misoundfx lib
Solves:

EffectsFactoryConfigLoader: Could not find library in effect directories: libmisoundfx.so

Change-Id: I9d41ccf067d2c39dc51ee0260c52425ca36bfee4
2020-03-01 10:49:14 +02:00
dianlujitao
1fbd9506c4 sdm845-common: Force enable mobile network settings v2
* AOSP defaults to true but 10 QC telephony extension sets it to false.
 * Restore AOSP behavior by enabling it with a system property which has
   higher priority over global system settings which is used by QCOM w/o
   modifying the jar.

Change-Id: I45854b91bb8cfafabfe811777cda9f1e1840febf
2020-02-25 13:49:57 +05:30
Rashed Abdel-Tawab
612c904042 sdm845-common: Enable vendor and system property isolation
Change-Id: Ic73cd73c13220b804ec1c0a5fd1bd68470cf9db1
2020-02-24 22:43:09 +01:00
Bruno Martins
9cc2093330 sdm845-common: Split system, odm and vendor props
Change-Id: Iee726d7d95d2bc4abb14fcfdffc55a04aca6e1cc
2020-02-24 22:43:09 +01:00
Vinay Verma
64b4ae36cd sdm845-common: Add libdexfile_support to vndk-sp list.
Change-Id: I77c6137add7b0f4eec422f42870236c3bfe91715
2020-02-21 23:13:39 +01:00
Himanshu Agrawal
d8f0ceedfa sdm845-common: Remove *_OUT_INTERMEDIATE_LIBRARIES
Always use the exact libraries like Soong does instead.
Also, update vndk-sp-list as per latest compliance.

Change-Id: Ia3f7b57951aab7ac5eaf4c179b7bfb758e1d598f
2020-02-21 23:13:33 +01:00
Bruno Martins
35f53f8d75 sdm845-common: Remove redundant Treble override flag
Treble is fully enabled for all devices launched with API level 26 or higher
(which applies to all the targets of this common tree), therefore there's
really no need to override it.

Change-Id: Ia79aebda7fb922762f83948d0c19a6356ce343a8
2020-02-19 23:01:12 +01:00
Bruno Martins
dfcd36ae66 sdm845-common: Unset BOARD_VNDK_VERSION
PRODUCT_USE_VNDK will be true in Android-P or later launching devices
and consequently BOARD_VNDK_VERSION will be set to 'current'.
This applies to all targets except polaris, which will instead
override VNDK version in its own tree.

Change-Id: Iaed3eb4875c00742903627d63b4f2968e356781b
2020-02-19 23:01:05 +01:00
Weikai Kong
bdf150e9da sdm845-common: Remove global packages from PRODUCT_DEXPREOPT_SPEED_APPS
This reverts commit 10827db261 and 103e65a875.

Reason for revert: this is now done under vendor/lineage

Change-Id: Idf156ddfce4c1d7627850c47737eb80a374cedb1
2020-02-15 10:58:06 +01:00
kubersharma001
c2f17105bd sdm845-common: Add debug WFC prop to force enable it.
Change-Id: I006154d536c657084dcaa8bca86545bb5e7faf7c
2020-02-13 17:28:24 +01:00
Jorim Jaggi
e8765353ce sdm845-common: Refined early SF configuration for WCG
Test: Use photos, observe no jank
Bug: 110112323
Change-Id: Ib331d0b792ee1790963159a17ec24f36b4a1882a
Merged-In: Ib331d0b792ee1790963159a17ec24f36b4a1882a
2020-02-12 00:41:02 +00:00
Bruno Martins
103e65a875 sdm845-common: Add Trebuchet to PRODUCT_DEXPREOPT_SPEED_APPS
Change-Id: I437cc1af399c82e38128d9a183d49bc86c891915
2020-02-12 00:40:35 +00:00
Jorim Jaggi
7fc0a5ed2f sdm845-common: Enable early phase offsets
Since we frequently hit GL composition during transitions, it
makes sense to enable early phase offsets on crosshatch.

Test: Open apps, observe no jank
Bug: 79173695
Change-Id: Ie44b116b1a4f2c8fde1ba4decbbc6e3316686a5d
2020-02-12 00:40:34 +00:00
Ady Abraham
c9709ea061 sdm845-common: enable GL comp backpressure
Enable backpressure for client composition to avoid jank due to
HWC queue stuffing.

Test: 1. Open Camera
      2. Swipe horizontally to go back to previous app.

Bug: 138083790
Change-Id: I3d26aa470c1660b23bd97133f39858f92638aca8
(cherry picked from commit 4e8a210c0e3e6854cd34f432f52e3f4821e7b2d5)
2020-02-12 00:39:17 +00:00
razorloves
824d1d2d86 sdm845-common: Dexpreopt speed compile SystemUI instead of SystemUIGoogle
Change-Id: I3331f8e65898f8696953b2602b9ad963f7e4313d
2020-02-12 00:35:48 +00:00
Wei Wang
10827db261 sdm845-common: add SysUI to PRODUCT_DEXPREOPT_SPEED_APPS
Test: Build
Change-Id: I088938462b389e1ebe783997f773dc5946345666
2020-02-12 00:35:25 +00:00
Bruno Martins
085d5c34bd sdm845-common: Update MIUI offmode charging daemon and its path
Change-Id: I46bda03f9a9eacf19e386d9a32870638650d4505
2020-02-12 00:29:16 +01:00
TheScarastic
a7e383febf sdm845-common: Add vibration tuning from stock MIUI
Change-Id: I8701294921d006f6ca762a1d83b4e80031c7652c
2020-02-12 00:29:16 +01:00
TheScarastic
e852972846 sdm845-common: Force enable VoLTE
For some reason VoLTE wasn't working on some carriers even with
updated carrierconfig overlays, so add it for now.

Change-Id: I18b5356e1f5b8c8623e569a1fc526394e7e9e247
2020-02-12 00:29:16 +01:00
Henrique Pereira
9178dad152 sdm845-common: power: Bring back fts definition
Some variants of dipper have fts instead of fts_ts.

Test: DT2W works again with this touchscreen type on dipper.

Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Change-Id: I75ab85e1badbb4bc22fec073c4382e4da1634593
2020-02-11 16:33:18 +01:00
Bruno Martins
d9a18ba693 sdm845-common: power: Remove CPU freq boost on power key input
Support has been removed from the kernel.

Change-Id: I4db18c2766e81562b1902212bd95b0f86e5db205
2020-02-09 15:35:53 +00:00
Bruno Martins
c64110ca04 sdm845-common: Add "system/" prefix to system blobs path
Change-Id: Id94956fbfd9695f398fd0580548aa17e9d0d126b
2020-02-08 22:37:31 +00:00
Bruno Martins
a189d636ce sdm845-common: Move aptX blobs to proper location
These blobs now live in /product.

Change-Id: Icad7fc3bed1374cc1d8f2383fc649a04b2bf67fc
2020-02-08 22:25:02 +00:00
Bruno Martins
a7af6d2712 sdm845-common: power: Fix FTS touchscreen device input name
Test: D2TW works with this touchscreen type.

Change-Id: Ic15d9622d213a947702e3706db174936a4ee3a3d
2020-02-06 19:34:57 +02:00
kubersharma001
6b1e8d7d96 sdm845-common: Do not enable updatable APEXes on every target
This reverts commit 52a78a2af1.

It can't really be enabled for beryllium, as apexd requires /data/apex
to be available right after boot to update all the Android modules.
As in all FDE devices, /data/apex is encrypted until the device
is unlocked by the user, rendering APEX basically useless as only
the system APEX variants will be loaded at boot.

test:
beryllium(FDE):
Boots with forceencryption after a clean install.
Boots after wiping data, system and flash over MIUI 11 - Q encrypted.

polaris(FBE):
Unaffected, everything still works.

Change-Id: I0649862e5c5b2c1a1cb597914a11df79b3e01957
2020-02-05 23:19:46 +00:00
Bruno Martins
049d8e1444 sdm845-common: Fix A2DP when offload is disabled
Ensure that A2DP still works in case one disables offload in the
Developer options for whatever reason.

Change-Id: I89fd37962b2d063d6e30f84234568d552131fd97
2020-02-04 21:39:34 +01:00
Bruno Martins
174ebc6721 Revert "sdm845-common: Mark as having overridden commands"
This reverts commit de8670a555.

Overriden commands? Not anymore.

Change-Id: Id435e0fda13babadd5fbc2fe1c790e5a1fdba6df
2020-02-04 21:39:26 +01:00
Bruno Martins
e19933276a sdm845-common: Ship all stock audio HAL extensions
Change-Id: I4660a5ea0e29a1fab8d25cd0b5389decc224fa2e
2020-02-04 21:37:21 +01:00
Arian
3f2b0357d8 sdm845-common: Drop QC implemenation for audio sw effects
* AOSP implementation is used since 05a197da8c

Change-Id: I4de7bfcac10c673087ca6be900ed8804c503e7a2
2020-02-04 21:35:51 +01:00
Bruno Martins
eba7658462 sdm845-common: Blob out A2DP offload library
These targets are using prebuilt audio HAL and for some reason,
using the source-built lib breaks A2DP. Just use prebuilt one
and be happy with it.

Change-Id: I37a5601afdbfdcb81a1053b366fad79fadf4eaa7
2020-02-03 23:33:52 +00:00
1nfrag
9c8082c9f8 sdm845-common: Enable BT A2DP offload
Change-Id: I3c7120f5f29605a939d0ca78054894e2cafcca65
2020-02-03 23:33:52 +00:00
Cheney Ni
47a2f9aea8 sdm845-common: Support A2DP offload for Bluetooth Audio HAL V2
Remove primary flags from hearing aid also.

Bug: 124277691
Bug: 124014853
Test: manual with BluetoothAudioHAL enabled / disabled
Change-Id: Ibc86687a6a6c2f0767a213ccd408e7bb5de98985
2020-02-03 23:33:52 +00:00
Bruno Martins
c5925481a0 sdm845-common: Bump security patch level to match MIUI 11
Change-Id: I4a74b696806b99ff1dfd7477b0faeeaf7cc73df5
2020-02-04 00:33:17 +01:00
dianlujitao
f624be2453 sdm845-common: Enable QC framework value-adds
Change-Id: I1987d3509b3db7cd4204537a6f2dc2ff4c611278
2020-02-04 00:32:50 +01:00
Bruno Martins
c9e636964f sdm845-common: Build missing WiFi Display libs
Change-Id: I96e83b50d7581d4d74ade83451418b71989f7a64
2020-02-02 10:27:40 +00:00
LuK1337
d14f5c5ed1 sdm845-common: Enable VNDK runtime isolation
Change-Id: If4e0a0dd1909211a784f059260ea80c5f40a24a8
2020-02-02 10:27:40 +00:00
Bruno Martins
a67d0f4694 sdm845-common: Update destination path for HotwordEnrollment permission file
HotwordEnrollment has been moved to /product in Q.

Change-Id: Ifc30940dcfc6ef236ed507ddfec1189b7e4f547b
2020-02-02 10:27:40 +00:00
Bruno Martins
088db4f99a Revert "sdm845-common: camera: Make shim for libui"
No longer required with Q blobs.

This reverts commit 30efe4e2af.

Change-Id: If4a97452391d195be19c6e5026731164278896b4
2020-02-02 10:27:40 +00:00
1nfrag
7c4488d71e sdm845-common: Update to Q-based audio configs
Taken from: Xiaomi/polaris/polaris:10/QKQ1.190828.002/V11.0.3.0.QDGMIXM:user/release-keys

Change-Id: I9dc0736cec5ef1a541fd31038a50c314a4aff565
2020-02-02 10:27:35 +00:00
dianlujitao
9151ed1048 sdm845-common: Enable AOSP bluetooth audio HAL v2
Change-Id: I4d12752ae5fb2829d6612647c8740c84967f5434
2020-02-02 10:09:14 +00:00
argraur
c95707185e sdm845-common: Build vendor variant of libdng_sdk for watermark
10-26 17:49:35.063  6856  6856 E CamX    : [ERROR][UTILS  ] camxosutilslinux.cpp:911 LibMap() dlopen: dlopen failed: library "libdng_sdk.so" not found, on '/vendor/lib/camera/components/com.qti.node.watermark.so'

Signed-off-by: argraur <argraur@gmail.com>
Change-Id: Id5d4a73d29418bd3b7c0c9f92e4d5efd8be68c3b
2020-02-02 10:09:14 +00:00
argraur
f0a88a841e sdm845-common: IGnss: update to 2.0
Signed-off-by: argraur <argraur@gmail.com>
Change-Id: I91f04e346f23ead5f1e10a3945b14654a8fad9e1
2020-02-02 10:09:14 +00:00
Weiyin Jiang
cee411948c sdm845-common: audio: add voice multi session property
Add voice multi sessoin property.

CRs-Fixed: 2489604
Change-Id: Ib906db560268a4c9e183747896130522b45d6566
2020-02-02 10:09:14 +00:00
Sujin Panicker
0537e670ca sdm845-common: Declare low-latency and pro audio capability
Declare low-latency and pro audio capability in device
make files to indicate low-latency and pro audio support
exists

Change-Id: I0b10d74db354889069ecadfdf4f03857a0d6506b
2020-02-02 10:09:14 +00:00
Weiyin Jiang
dde03b5b04 sdm845-common: clean up stale audiosphere implementation
Now that we have GEF based implementation, clean up stale one.

CRs-Fixed: 2484430
Change-Id: I7dcad43401650c51e637fce202f5b45d40b3852e
2020-02-02 10:09:14 +00:00
Weiyin Jiang
4337cb8218 sdm845-common: audio: udate pbe property
SW effects are reverted to stock implementation, disabling pbe property
to keep h/w effect aligned.

CRs-Fixed: 2478472
Change-Id: I7b2112365dfa0bae752a949286e6f056b4da90eb
2020-02-02 10:09:14 +00:00
Ramjee Singh
05a197da8c sdm845-common: configs: Use AOSP implementation for sw effects
Change-Id: I46197c387c9af88e1b8c22ffcc42d4dcf16bc31f
2020-02-02 10:09:14 +00:00
Ramjee Singh
ce2a7580cd sdm845-common: configs: Enable frame ctl for aac codec format
Change-Id: Id43ab138deb892e564ed710e4dd5c9b644852f44
2020-02-02 10:09:14 +00:00