AnsweredAssumed Answered

Android 9 Car variant for sabresd board

Question asked by Babu Alikapati on Aug 16, 2019
Latest reply on Aug 16, 2019 by Babu Alikapati

Hello, 

I am trying to build android 9 car variant for sabresd board. i am getting following error. Tried to add respective hardware  HAL packages in amnifest_car.xml buid is success but failed at boot logs are posted in this post.

Build Steps:

# source build/envsetup.sh

# lunch  sabresd_6dq_car-userdebug

# make -j8

 

Build Error Logs: 

FAILED: out/target/product/sabresd_6dq/gen/ETC/framework_compatibility_matrix.xml_intermediates/compatibility_matrix.xml
/bin/bash -c "PRODUCT_ENFORCE_VINTF_MANIFEST=\"true\" out/host/linux-x86/bin/assemble_vintf -i out/target/product/sabresd_6dq/system/etc/vintf/compatibility_matrix.legacy.xml:out/target/product/sabresd_6dq/system/etc/vintf/compatibility_matrix.1.xml:out/target/product/sabresd_6dq/system/etc/vintf/compatibility_matrix.2.xml:out/target/product/sabresd_6dq/system/etc/vintf/compatibility_matrix.3.xml:out/target/product/sabresd_6dq/system/etc/vintf/compatibility_matrix.device.xml -o out/target/product/sabresd_6dq/gen/ETC/framework_compatibility_matrix.xml_intermediates/compatibility_matrix.xml -c \"out/target/product/sabresd_6dq/obj/ETC/device_manifest.xml_intermediates/manifest.xml\""
Not compatible: HALs incompatible. Matrix level = 1. Manifest level = 1. The following requirements are not met:
android.hardware.audio:
required:
@2.0::IDevicesFactory/default OR
@4.0::IDevicesFactory/default
provided:
android.hardware.audio.effect:
required:
@2.0::IEffectsFactory/default OR
@4.0::IEffectsFactory/default
provided:
android.hardware.configstore:
required: @1.0-1::ISurfaceFlingerConfigs/default
provided:
android.hardware.drm:
required: @1.0::IDrmFactory/default
provided:
android.hardware.drm:
required: @1.0::ICryptoFactory/default
provided:
android.hardware.gatekeeper:
required: @1.0::IGatekeeper/default
provided:
android.hardware.keymaster:
required:
@3.0::IKeymasterDevice/default OR
@4.0::IKeymasterDevice/default
provided:
android.hardware.media.omx:
required: @1.0::IOmxStore/default
provided:
android.hardware.media.omx:
required: @1.0::IOmx/default
provided:

 

Boot Error Logs: 

binder: undelivered TRANSACTION_COMPLETE
binder: release 684:722 transaction 2546 in, still active
binder: send failed reply for transaction 2546, target dead
init: starting service 'netd'...
init: Created socket '/dev/socket/netd', mode 660, user 0, group 1000
init: starting service 'zygote'...
init: Created socket '/dev/socket/dnsproxyd', mode 660, user 0, group 3003
init: Created socket '/dev/socket/zygote', mode 660, user 0, group 1000
audit: audit_lost=1589 audit_rate_limit=5 audit_backlog_limit=64
init: Created socket '/dev/socket/mdns', mode 660, user 0, group 1000
init: Created socket '/dev/socket/fwmarkd', mode 660, user 0, group 3003
audit: rate limit exceeded
init: starting service 'vendor.audio-hal-2-0'...
init: starting service 'surfaceflinger'...
init: Failed to bind socket 'pdx/system/vr/display/client': No such file or directory
type=1400 audit(646.380:1738): avc: denied { dac_read_search } for pid=1 comm="init" capability=2 scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=capability permissive=0 duplicate messages suppressed
type=1400 audit(647.380:1766): avc: denied { open } for pid=756 comm="surfaceflinger" path="/vendor/lib/hw/android.hardware.graphics.composer@2.1-impl.so" dev="dm-1" ino=83 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
type=1400 audit(647.380:1766): avc: denied { open } for pid=756 comm="surfaceflinger" path="/vendor/lib/hw/android.hardware.graphics.composer@2.1-impl.so" dev="dm-1" ino=83 scontext=u:r:surfaceflinger:s0 tcontext=u:object_r:vendor_file:s0 tclass=file permissive=0
audit: audit_lost=1616 audit_rate_limit=5 audit_backlog_limit=64
audit: rate limit exceeded
type=1400 audit(647.710:1767): avc: denied { dac_read_search } for pid=1 comm="init" capability=2 scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=capability permissive=0
binder: release 757:757 transaction 2811 out, still active

 

Best Regards

Babu A

Outcomes