axolotl: audio: switch to open source sound trigger hal

The audio hal expects the version of the android and sound trigger
hal to match.

As the prebuilt sound trigger hal is built with a BSP based on
Android 10, the version is older than expected and sound trigger fails
to initialize.

11-11 11:37:55.774  4103  4107 I soundtrigger: audio_extn_sound_trigger_init: Enter
11-11 11:37:55.775  4103  4107 I soundtrigger: audio_extn_sound_trigger_init: DLOPEN successful for /vendor/lib/hw/sound_trigger.primary.sdm845.so
11-11 11:37:55.775  4103  4107 E soundtrigger: audio_extn_sound_trigger_init: Incompatible API versions ahal:0x200 != sthal:0x101

Test: atest CtsSoundTriggerTestCases
Test: atest VtsHalSoundtriggerV2_0TargetTest
Test: atest VtsHalSoundtriggerV2_1TargetTest
Test: atest VtsHalSoundtriggerV2_2TargetTest

Depends-On: https://review.lineageos.org/344863
Change-Id: I23b052149bf243f86ebfa13dbbc5053abe4b92e1
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
3 files changed
tree: ef25c109605610be66e5166c74e5108f0a111b89
  1. audio/
  2. bootctrl/
  3. configs/
  4. gpt-utils/
  5. interfaces/
  6. libshims/
  7. overlay/
  8. overlay-lineage/
  9. parts/
  10. rootdir/
  11. rro_overlays/
  12. seccomp/
  13. sepolicy/
  14. vintf/
  15. .gitignore
  16. Android.bp
  17. Android.mk
  18. AndroidProducts.mk
  19. BoardConfig.mk
  20. device.mk
  21. extract-files.sh
  22. full_axolotl.mk
  23. LICENSE
  24. lineage.dependencies
  25. lineage_axolotl.mk
  26. odm.prop
  27. product.prop
  28. proprietary-files.txt
  29. README.md
  30. setup-makefiles.sh
  31. system_ext.prop
  32. vendor.prop
README.md

Device Tree for SHIFT6mq ("axolotl")

SHIFT6mq

The SHIFT6mq (codenamed "axolotl") is a flagship smartphone from SHIFTPHONES, which was initially released in 2020 with Android™ 10.

Specifications

BasicSpec Sheet
ChipsetQualcomm® Snapdragon™ 845
CPU4x ARM Cortex-A75, 4x ARM Cortex-A55 (64 bit)
GPUAdreno 630
Memory8 GB RAM LPDDR4X (SK Hynix)
MicroSDUp to 512 GB
Storage128 GB UFS 2.1
------------------------------------------------------------------------
BatteryLi-Ion 3850 mAh battery
CameraBack: 16 MP Sony IMX519 + 24 MP Samsung S5K2X7SP
CameraFront: 16 MP Samsung S5K3P9SP04-FGX9
DisplayAMOLED, 1080 x 2160 pixels, 6 inches (~402 ppi pixel density)
------------------------------------------------------------------------
Bluetooth5.0
Dual SIMYes
NFCSupported
------------------------------------------------------------------------
SoftwareInitial launch with Android™ 10
AdvancedSpec Sheet
DisplayDP over USB-C supported

License

See LICENSE in this repository.

Copyright (C) 2020-2021 SHIFT GmbH
Copyright (C) 2021 The LineageOS Project

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.