[Android Automotive] Problem with Vehicle HAL

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Android Automotive] Problem with Vehicle HAL

Salvatore Amodio-2
I installed android automotive on raspebrry pi. 
I created some applications that are used to control the sensors, for example the speed. But on the raspberry pi they don't work. 
The system log says this:




09-25 17:11:05.516   358   375 W ActivityManager: Scheduling restart of crashed service com.android.car/.CarService in 0ms
09-25 17:11:05.516   358   375 W ActivityManager: Re-adding persistent process ProcessRecord{88eb586 7967:com.android.car/1000}
09-25 17:11:05.541   201   201 D Zygote  : Forked child process 7998
09-25 17:11:05.545   358   387 I ActivityManager: Start proc 7998:com.android.car/1000 for restart com.android.car
09-25 17:11:05.546  7998  7998 I Zygote  : seccomp disabled by setenforce 0
09-25 17:11:05.670  7998  7998 I CAR.SERVICE: Service onCreate
09-25 17:11:05.674   156   156 I hwservicemanager: getTransport: Cannot find entry android.hardware.automotive.vehicle@2.0::IVehicle/default in either framework or device manifest.
09-25 17:11:05.675  7998  7998 E CAR.SERVICE: IVehicle service not registered yet
09-25 17:11:05.676  7998  7998 D AndroidRuntime: Shutting down VM
09-25 17:11:05.677  7998  7998 E AndroidRuntime: FATAL EXCEPTION: main
09-25 17:11:05.677  7998  7998 E AndroidRuntime: Process: com.android.car, PID: 7998
09-25 17:11:05.677  7998  7998 E AndroidRuntime: java.lang.RuntimeException: Unable to create service com.android.car.CarService: java.lang.IllegalStateException: Vehicle HAL service is not available.
09-25 17:11:05.677  7998  7998 E AndroidRuntime: at android.app.ActivityThread.handleCreateService(ActivityThread.java:3965)
09-25 17:11:05.677  7998  7998 E AndroidRuntime: at android.app.ActivityThread.access$1500(ActivityThread.java:219)
09-25 17:11:05.677  7998  7998 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1875)
09-25 17:11:05.677  7998  7998 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:107)
09-25 17:11:05.677  7998  7998 E AndroidRuntime: at android.os.Looper.loop(Looper.java:214)
09-25 17:11:05.677  7998  7998 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7356)
09-25 17:11:05.677  7998  7998 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
09-25 17:11:05.677  7998  7998 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
09-25 17:11:05.677  7998  7998 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
09-25 17:11:05.677  7998  7998 E AndroidRuntime: Caused by: java.lang.IllegalStateException: Vehicle HAL service is not available.
09-25 17:11:05.677  7998  7998 E AndroidRuntime: at com.android.car.CarService.onCreate(CarService.java:82)
09-25 17:11:05.677  7998  7998 E AndroidRuntime: at android.app.ActivityThread.handleCreateService(ActivityThread.java:3953)
09-25 17:11:05.677  7998  7998 E AndroidRuntime: ... 8 more
09-25 17:11:05.681   358   375 V RescueParty: Disabled because of eng build
09-25 17:11:05.682   358   375 W ActivityManager: Process com.android.car has crashed too many times: killing!
09-25 17:11:05.683  7998  7998 I Process : Sending signal. PID: 7998 SIG: 9


Can anyone help me? 
thank you!

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-platform/eb823c22-f7c4-4927-8413-86bee0e21898n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: [Android Automotive] Problem with Vehicle HAL

kiran kadam
Hi Salvatore ,

CAR.SERVICE: IVehicle service not registered yet

check if service detailed in either framework or device manifest XML and after this check using 'lshal' command if service is listed once registered.

Thanks,
Kiran

On Mon, Sep 28, 2020 at 10:02 PM Salvatore Amodio <[hidden email]> wrote:
I installed android automotive on raspebrry pi. 
I created some applications that are used to control the sensors, for example the speed. But on the raspberry pi they don't work. 
The system log says this:




09-25 17:11:05.516   358   375 W ActivityManager: Scheduling restart of crashed service com.android.car/.CarService in 0ms
09-25 17:11:05.516   358   375 W ActivityManager: Re-adding persistent process ProcessRecord{88eb586 7967:com.android.car/1000}
09-25 17:11:05.541   201   201 D Zygote  : Forked child process 7998
09-25 17:11:05.545   358   387 I ActivityManager: Start proc 7998:com.android.car/1000 for restart com.android.car
09-25 17:11:05.546  7998  7998 I Zygote  : seccomp disabled by setenforce 0
09-25 17:11:05.670  7998  7998 I CAR.SERVICE: Service onCreate
09-25 17:11:05.674   156   156 I hwservicemanager: getTransport: Cannot find entry android.hardware.automotive.vehicle@2.0::IVehicle/default in either framework or device manifest.
09-25 17:11:05.675  7998  7998 E CAR.SERVICE: IVehicle service not registered yet
09-25 17:11:05.676  7998  7998 D AndroidRuntime: Shutting down VM
09-25 17:11:05.677  7998  7998 E AndroidRuntime: FATAL EXCEPTION: main
09-25 17:11:05.677  7998  7998 E AndroidRuntime: Process: com.android.car, PID: 7998
09-25 17:11:05.677  7998  7998 E AndroidRuntime: java.lang.RuntimeException: Unable to create service com.android.car.CarService: java.lang.IllegalStateException: Vehicle HAL service is not available.
09-25 17:11:05.677  7998  7998 E AndroidRuntime: at android.app.ActivityThread.handleCreateService(ActivityThread.java:3965)
09-25 17:11:05.677  7998  7998 E AndroidRuntime: at android.app.ActivityThread.access$1500(ActivityThread.java:219)
09-25 17:11:05.677  7998  7998 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1875)
09-25 17:11:05.677  7998  7998 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:107)
09-25 17:11:05.677  7998  7998 E AndroidRuntime: at android.os.Looper.loop(Looper.java:214)
09-25 17:11:05.677  7998  7998 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7356)
09-25 17:11:05.677  7998  7998 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
09-25 17:11:05.677  7998  7998 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
09-25 17:11:05.677  7998  7998 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
09-25 17:11:05.677  7998  7998 E AndroidRuntime: Caused by: java.lang.IllegalStateException: Vehicle HAL service is not available.
09-25 17:11:05.677  7998  7998 E AndroidRuntime: at com.android.car.CarService.onCreate(CarService.java:82)
09-25 17:11:05.677  7998  7998 E AndroidRuntime: at android.app.ActivityThread.handleCreateService(ActivityThread.java:3953)
09-25 17:11:05.677  7998  7998 E AndroidRuntime: ... 8 more
09-25 17:11:05.681   358   375 V RescueParty: Disabled because of eng build
09-25 17:11:05.682   358   375 W ActivityManager: Process com.android.car has crashed too many times: killing!
09-25 17:11:05.683  7998  7998 I Process : Sending signal. PID: 7998 SIG: 9


Can anyone help me? 
thank you!

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-platform/eb823c22-f7c4-4927-8413-86bee0e21898n%40googlegroups.com.


--
Regards,
Kiran Kadam

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-platform/CAM6B-E5NWQnFe%3D%2BT45C4DosNm%3D8xP8_CPNM32Mq_Q8m45JHD%3DQ%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: [Solved] [Android Automotive] Problem with Vehicle HAL

Salvatore Amodio
Thanks I solved it

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-platform/06241f99-4c6a-490b-8db6-d904e3d0ed83o%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: [Solved] [Android Automotive] Problem with Vehicle HAL

kiran kadam
Please post your solution which might be useful for others.

Thanks,
Kiran

On Wed, Sep 30, 2020 at 3:41 AM Salvatore Amodio <[hidden email]> wrote:
Thanks I solved it

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-platform/06241f99-4c6a-490b-8db6-d904e3d0ed83o%40googlegroups.com.


--
Regards,
Kiran Kadam

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-platform/CAM6B-E7kR8qqpAWK_TuOq_V-H5tMKLTkFuSzcbouWm7Y%3DuRAdA%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: [Solved] [Android Automotive] Problem with Vehicle HAL

Salvatore Amodio
The solution is what you have suggested.
I added the dependency of Vehicle in the system manifest

Il giorno mercoledì 30 settembre 2020 alle 17:50:13 UTC+2 [hidden email] ha scritto:
Please post your solution which might be useful for others.

Thanks,
Kiran

On Wed, Sep 30, 2020 at 3:41 AM Salvatore Amodio <[hidden email]> wrote:
Thanks I solved it


--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].


--
Regards,
Kiran Kadam

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-platform/32b5c1a4-2cc7-4988-abca-4a174064e584n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: [Solved] [Android Automotive] Problem with Vehicle HAL

Vinayak Soni
Can you share the steps to build Android Automotive on Raspberry Pi? Also, which raspberry pi are you using?

On Thursday, October 1, 2020 at 11:58:51 PM UTC+5:30 [hidden email] wrote:
The solution is what you have suggested.
I added the dependency of Vehicle in the system manifest

Il giorno mercoledì 30 settembre 2020 alle 17:50:13 UTC+2 [hidden email] ha scritto:
Please post your solution which might be useful for others.

Thanks,
Kiran

On Wed, Sep 30, 2020 at 3:41 AM Salvatore Amodio <[hidden email]> wrote:
Thanks I solved it


--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].


--
Regards,
Kiran Kadam

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/android-platform/8ecc9700-7858-4d31-903b-fa0c8be735a2n%40googlegroups.com.