..

mardi 31 mars 2015

[Q] audioflinger recompilation with TEE_SINK topic


I'm trying to enable audio debugging as described here: https//source.android.com/devices/audio/debugging.html . Got it working in stock emulator, but replacing libaudioflinger.so on device - Samsung i9190 causes mediaserver segfaults and renders it unbootable.

The build and CPU of the phone matches build configuration below afaik. What I did wrong? Or it needs some Samsung-specific patch?

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.2
TARGET_PRODUCT=aosp_flo
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=krait
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.17.8-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=KOT49H
OUT_DIR=out
============================================

xda-developers