Hi Forum,
I hope you can help me.
I build android automotive for 845C, but I receive following error loop after loop animation ended on startup:
07-23 13:16:05.588 325 11779 W libc : Unable to set property “ctl.interface_start” to “android.hardware.automotive.vehicle@2.0::IVehicle/default”: error code: 0x20
07-23 13:16:05.588 325 11779 I hwservicemanager: Tried to start android.hardware.automotive.vehicle@2.0::IVehicle/default as a lazy service, but was unable to. Usually this happens when a service is not installed, but if the service is intended to be used as a lazy service, then it may be configured incorrectly.
07-23 13:16:05.589 736 778 W ActivityManager: Process com.android.car has crashed too many times, killing! Reason: crashed quickly
01-02 15:49:40.996 1 1 E init : Control message: Could not find ‘android.hardware.automotive.vehicle@2.0::IVehicle/default’ for ctl.interface_start from pid: 325 (/system/bin/hwservicemanager)
07-23 13:16:05.591 11761 11761 I Process : Sending signal. PID: 11761 SIG: 9
07-23 13:16:05.605 736 778 I ActivityManager: Process com.android.car (pid 11761) has died: pers PER
07-23 13:16:05.605 602 602 I Zygote : Process 11761 exited due to signal 9 (Killed)
07-23 13:16:05.606 736 827 I libprocessgroup: Successfully killed process cgroup uid 1000 pid 11761 in 0ms
07-23 13:16:05.608 736 778 W ActivityManager: Scheduling restart of crashed service com.android.car/.CarService in 0ms for persistent
07-23 13:16:05.609 736 778 W ActivityManager: Re-adding persistent process ProcessRecord{a82b0cf 11761:com.android.car/1000}
07-23 13:16:05.612 736 778 W libc : Access denied finding property “pm.dexopt.priv-apps-oob”
07-23 13:16:05.613 736 778 W libc : Access denied finding property “pm.dexopt.priv-apps-oob-list”
07-23 13:16:05.614 736 778 D CompatibilityChangeReporter: Compat change id reported: 135634846; UID 1000; state: DISABLED
07-23 13:16:05.615 736 778 D CompatibilityChangeReporter: Compat change id reported: 177438394; UID 1000; state: DISABLED
07-23 13:16:05.616 736 778 D CompatibilityChangeReporter: Compat change id reported: 135772972; UID 1000; state: DISABLED
07-23 13:16:05.616 736 778 D CompatibilityChangeReporter: Compat change id reported: 135754954; UID 1000; state: ENABLED
07-23 13:16:05.617 736 826 W ActivityManager: com.android.localtransport inode == 0 (b/152760674)
07-23 13:16:05.632 602 602 D Zygote : Forked child process 11780
07-23 13:16:05.632 736 826 I ActivityManager: Start proc 11780:com.android.car/1000 for restart com.android.car
07-23 13:16:05.640 11780 11780 I com.android.car: Using CollectorTypeCMC GC.
07-23 13:16:05.643 11780 11780 E com.android.car: Not starting debugger since process cannot load the jdwp agent.
07-23 13:16:05.652 11780 11780 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 1000; state: ENABLED
07-23 13:16:05.653 11780 11780 D CompatibilityChangeReporter: Compat change id reported: 242716250; UID 1000; state: ENABLED
07-23 13:16:05.656 11780 11780 D CompatibilityChangeReporter: Compat change id reported: 3400644; UID 1000; state: ENABLED
07-23 13:16:05.659 11780 11780 D nativeloader: Configuring clns-shared-4 for other apk /system/priv-app/CarService/CarService.apk. target_sdk_version=10000, uses_libraries=, library_path=/system/priv-app/CarService/lib/arm64:/system/priv-app/CarService/CarService.apk!/lib/arm64-v8a:/system/lib64, permitted_path=/data:/mnt/expand:/data/user/0/com.android.car:/system/priv-app/CarService:/system/lib64
07-23 13:16:05.664 11780 11780 E ContextImpl: Data directory doesn’t exist for package com.android.car
07-23 13:16:05.664 11780 11780 E ContextImpl: java.lang.Throwable
07-23 13:16:05.664 11780 11780 E ContextImpl: at android.app.ContextImpl.getDataDir(ContextImpl.java:2963)
07-23 13:16:05.664 11780 11780 E ContextImpl: at android.app.ContextImpl.getCacheDir(ContextImpl.java:864)
07-23 13:16:05.664 11780 11780 E ContextImpl: at android.app.ActivityThread.setupGraphicsSupport(ActivityThread.java:6444)
07-23 13:16:05.664 11780 11780 E ContextImpl: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6741)
07-23 13:16:05.664 11780 11780 E ContextImpl: at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
07-23 13:16:05.664 11780 11780 E ContextImpl: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2140)
07-23 13:16:05.664 11780 11780 E ContextImpl: at android.os.Handler.dispatchMessage(Handler.java:106)
07-23 13:16:05.664 11780 11780 E ContextImpl: at android.os.Looper.loopOnce(Looper.java:201)
07-23 13:16:05.664 11780 11780 E ContextImpl: at android.os.Looper.loop(Looper.java:288)
07-23 13:16:05.664 11780 11780 E ContextImpl: at android.app.ActivityThread.main(ActivityThread.java:7949)
07-23 13:16:05.664 11780 11780 E ContextImpl: at java.lang.reflect.Method.invoke(Native Method)
07-23 13:16:05.664 11780 11780 E ContextImpl: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
07-23 13:16:05.664 11780 11780 E ContextImpl: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:952)
07-23 13:16:05.666 11780 11780 W ContextImpl: Failed to ensure /data/user/0/com.android.car/cache: mkdir failed: ENOENT (No such file or directory)
07-23 13:16:05.666 11780 11780 W ContextImpl: Failed to update user.inode_cache: stat failed: ENOENT (No such file or directory)
07-23 13:16:05.668 11780 11780 V GraphicsEnvironment: GLES system driver is ‘’
07-23 13:16:05.668 11780 11780 V GraphicsEnvironment: Legacy GLES driver is ‘’
07-23 13:16:05.668 11780 11780 V GraphicsEnvironment: Currently set values for:
07-23 13:16:05.668 11780 11780 V GraphicsEnvironment: angle_gl_driver_selection_pkgs = []
07-23 13:16:05.668 11780 11780 V GraphicsEnvironment: angle_gl_driver_selection_values =[]
07-23 13:16:05.668 11780 11780 V GraphicsEnvironment: getDriverForPackage(): No per-application setting
07-23 13:16:05.668 11780 11780 V GraphicsEnvironment: ANGLE GameManagerService for com.android.car: false
07-23 13:16:05.668 11780 11780 I GraphicsEnv: Using the (system) Legacy GLES driver for package ‘com.android.car’
07-23 13:16:05.668 11780 11780 V GraphicsEnvironment: Neither updatable production driver nor prerelease driver is supported.
07-23 13:16:05.674 11780 11780 V SLog : static_init took to complete: 0ms
07-23 13:16:05.674 11780 11780 D UpdatablePackageContext: No eligible RRO package to enable.
07-23 13:16:05.678 11780 11780 D nativeloader: Configuring clns-shared-5 for other apk /apex/com.android.car.framework/priv-app/CarServiceUpdatable@AOSP.MAIN/CarServiceUpdatable.apk. target_sdk_version=10000, uses_libraries=, library_path=/apex/com.android.car.framework/priv-app/CarServiceUpdatable@AOSP.MAIN/lib/arm64:/system/lib64, permitted_path=/data:/mnt/expand::/apex/com.android.car.framework/priv-app/CarServiceUpdatable@AOSP.MAIN:/system/lib64
07-23 13:16:05.678 11780 11780 D nativeloader: InitApexLibraries:
07-23 13:16:05.678 11780 11780 D nativeloader: com_android_appsearch: libicing.so
07-23 13:16:05.678 11780 11780 D nativeloader: com_android_art: libartservice.so
07-23 13:16:05.678 11780 11780 D nativeloader: com_android_btservices: libbluetooth_jni.so
07-23 13:16:05.678 11780 11780 D nativeloader: com_android_conscrypt: libjavacrypto.so
07-23 13:16:05.678 11780 11780 D nativeloader: com_android_os_statsd: libstats_jni.so
07-23 13:16:05.678 11780 11780 D nativeloader: com_android_tethering: libcronet.114.0.5735.84.so:libframework-connectivity-jni.so:libframework-connectivity-tiramisu-jni.so:libandroid_net_connectivity_com_android_net_module_util_jni.so:libservice-connectivity.so
07-23 13:16:05.678 11780 11780 D nativeloader: com_android_uwb: libuwb_uci_jni_rust.so
07-23 13:16:05.678 11780 11780 D nativeloader: com_android_virt: libvirtualizationservice_jni.so:libvirtualmachine_jni.so
07-23 13:16:05.693 11780 11780 I CarServiceUtils: Starting HandlerThread:AidlVehicleStub
07-23 13:16:05.693 11780 11780 I CAR.SERVICE: No AIDL vehicle HAL found, fall back to HIDL version
01-02 15:49:41.105 320 320 I servicemanager: Could not find android.hardware.automotive.vehicle.IVehicle/default in the VINTF manifest.
07-23 13:16:05.695 325 325 I hwservicemanager: Since android.hardware.automotive.vehicle@2.0::IVehicle/default is not registered, trying to start it as a lazy HAL (if it’s not configured to be a lazy HAL, it may be stuck starting or still starting).
07-23 13:16:05.695 11780 11780 E CAR.HidlVehicleStub: IVehicle/default service not registered yet
07-23 13:16:05.696 11780 11780 D AndroidRuntime: Shutting down VM
07-23 13:16:05.696 11780 11780 E AndroidRuntime: FATAL EXCEPTION: main
07-23 13:16:05.696 11780 11780 E AndroidRuntime: Process: com.android.car, PID: 11780
07-23 13:16:05.696 11780 11780 E AndroidRuntime: java.lang.RuntimeException: Unable to create service com.android.car.CarService: java.lang.IllegalStateException: Vehicle HAL service is not available.
07-23 13:16:05.696 11780 11780 E AndroidRuntime: at android.app.ActivityThread.handleCreateService(ActivityThread.java:4514)
07-23 13:16:05.696 11780 11780 E AndroidRuntime: at android.app.ActivityThread.-$$Nest$mhandleCreateService(Unknown Source:0)
07-23 13:16:05.696 11780 11780 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2168)
07-23 13:16:05.696 11780 11780 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
07-23 13:16:05.696 11780 11780 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:201)
07-23 13:16:05.696 11780 11780 E AndroidRuntime: at android.os.Looper.loop(Looper.java:288)
07-23 13:16:05.696 11780 11780 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7949)
07-23 13:16:05.696 11780 11780 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-23 13:16:05.696 11780 11780 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
07-23 13:16:05.696 11780 11780 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:952)
07-23 13:16:05.696 11780 11780 E AndroidRuntime: Caused by: java.lang.IllegalStateException: Vehicle HAL service is not available.
07-23 13:16:05.696 11780 11780 E AndroidRuntime: at com.android.car.VehicleStub.newVehicleStub(VehicleStub.java:87)
07-23 13:16:05.696 11780 11780 E AndroidRuntime: at com.android.car.CarServiceImpl.onCreate(CarServiceImpl.java:58)
07-23 13:16:05.696 11780 11780 E AndroidRuntime: at com.android.car.ServiceProxy.onCreate(ServiceProxy.java:51)
07-23 13:16:05.696 11780 11780 E AndroidRuntime: at android.app.ActivityThread.handleCreateService(ActivityThread.java:4501)
07-23 13:16:05.696 11780 11780 E AndroidRuntime: … 9 more
even I added the right manifest which includes IVehicle:
DEVICE_FRAMEWORK_MANIFEST_FILE += device/google_car/common/manifest.xml
# Auto modules
PRODUCT_PACKAGES += \
android.hardware.broadcastradio@2.0-service \
android.hardware.automotive.vehicle@2.0-service \
lshal does also not display it… it somehow does not get registered.
do you know any hint, why android.hardware.automotive.vehicle@2.0-service can be run in latest aosp?