* Xiaomi is using the earpiece echo reference paths in their HAL,
while CAF uses handset paths.
* Rename the earpiece mixer paths to handset mixer paths in order
to apply the correct echo reference for the CAF hal.
Change-Id: Id917fb33f49009e8145c58638e9fa6d05670473e
* Xiaomi's audio HAL uses the "echo-reference-voip speaker" path during voip
calls in speaker mode, while the CAF hal uses the "echo-reference-voip" path.
* That led to an echo in voip speaker calls since xiaomi appends speaker
to the path name and hence the echo reference wasn't set up properly, because
xiaomi did not apply their echo-reference edits to the default path.
* To fix this we can apply xiaomi's "echo-reference speaker" and
"echo-reference-voip speaker" as "echo-reference" and "echo-reference-voip".
* Remove the "echo-reference speaker" and "echo-reference-voip speaker" paths
because they are the same as "echo-reference" and "echo-reference-voip" and
even if the HAL will support speaker paths one day, it would not be needed for
us since we don't need to differ between speaker and no suffix.
Change-Id: I9c2d42db6870c7f3579f5d96756a8bd4063022c8
Set Header version to 1 for bootimage and Enable
BOARD_INCLUDE_RECOVERY_DTBO.
Change-Id: I165130b412020a6dee7fb3473766296f21a7cdb7
Signed-off-by: Rahul Shahare <rshaha@codeaurora.org>
* Initially based on the list defined by Xiaomi, trimmed to include
only the vendor libs that are also being shipped by us.
Change-Id: I552dc44a32221d2d3cec48e1c64ed72c470d412e
* Setup davinci sku when device is global or chinese.
* Move the nfc manifest entry to davinci hardware sku
variant.
Change-Id: I76ac75cd80f85efa6dfa68753602d934a11000a3
Signed-off-by: Arian <arian.kulmer@web.de>
* libshoebox.so does not exist anymore
* HW_ACCELERATED has been disabled by default as stated in the HAL
E EffectsFactoryConfigLoader: Could not find library in effect directories: libshoebox.so
E EffectsFactoryConfigLoader: Error querying effect 7d1580bd-297f-4683-9239-e475b6d1d69f on lib offload_bundle
E EffectsFactoryConfigLoader: Could not find library shoebox to load effect shoebox
E EffectsFactoryConfigLoader: 3 errors during loading of configuration: /vendor/etc/audio_effects.xml
Change-Id: I2407c03728930995213f16ec0551e4194fbb7476
Signed-off-by: Arian <arian.kulmer@web.de>
* Remove unnecessary dependencies on liblbs_core.so
* Hardcode vendor loc HIDL version to 3.0 to enable vendor HIDL when
building w/o BSP.
Change-Id: I01f661f1d1e038737801f5a9db88e3388d470f74
* Get rid of 1.0 and 1.1 hidl
* Get rid of target_specific_features.mk
* Clean up the top Android.mk
* Drop sample configs
* Drop sample target and board config
Change-Id: I7b45b940812a51306db76f6275ea43049fa62335
-Set max_comp_streams to num of cores since upstream also moves this to
percpu.
Bug: 38249616
Test: boot and run zram-perf showing better performance
Change-Id: I0b92b246d773db85aa03d033b2cecee54347cbd1
* Patch the 2 remaining blobs that depend on it.
* They already need libhidltransport.so so there's
no real need for the shims anymore.
Change-Id: I00f185fd4d1d8798893cf82abf9d64fcb68c3301
* ro.build. properties are set at runtime if not set
already (after libinit runs) in android 10 hence
ro.build.fingerprint wasn't set since the prop did
not contain a value while libinit ran.
Change-Id: I213c4c2c730c294c42a5d4db70359e7b49d7947e
If userdata is on f2fs and encrypted (stock config for userdata),
/cache/recovery/block.map is not created due to this denial:
05-01 13:43:47.512 6538 6538 W uncrypt : type=1400 audit(0.0:10): avc: denied { sys_admin } for capability=21 scontext=u:r:uncrypt:s0 tcontext=u:r:uncrypt:s0 tclass=capability permissive=0
Without block.map the automatic flashing of the OTA without user
interaction fails, and the user needs to manually mount data, and
flash the OTA manually.
Change-Id: I6ecb84e8b730d4c641a8bd8769043dfbfb817b83