Khadas Vim3 - Need to Know about Android Stable build version for Android Automotive

Which Khadas SBC do you use?
Khadas Vim3 Pro

Which system do you use? Android, Ubuntu, OOWOW or others?
Ubuntu 20 - Android Pie (9.0) comes with Vim3 Hardware

Hi All,

Recently we have purchased VIM3 pro Hardware with Android Pie(9) build version.

Currently, we have done development for android automotive using Android 12 version(12.0.0_r3) in our development PC.
As per the discussion happened in the below community page, Android 12 is not stable yet in Vim3 Board,

  1. Still, do we have same issue observed in Android 12 build version or Not?.
  2. Can anyone suggest / confirm the stable Android build version to use with VIM3 for Android automotive?.
  3. Also, if possible please provide the flashing procedures too?.

It is not recommended to use this version to develop the project. Because it is unstable. It is best to use Android 9.0 64bit SDK to develop new projects.

@goenjoy

Hi

It is not recommended to use this version to develop the project. Because it is unstable. It is best to use Android 9.0 64bit SDK to develop new projects.

Thanks for your reply.

We have few below queries related to VIM3 hardware,

  1. We have taken common Android 12 AOSP code from official android website and then we have prepared the device build as per the procedures in below link,

https://source.android.com/docs/setup/build/devices

Based on the provided steps in the above link, we have successfully flashed the Android 12 build in to VIM3 board.After flashing, Vim3 device booting up & running and we can able to see Android 12 Mobile version in the hardware.

So, our query is that do we have any option to change this Android 12 mobile version to Android 12 Automotive OS Version?.
If not, Could you please share the procedure for preparing Android 12 Automotive build version for Vim3 hardware?.

2.As per earlier feedback, we understood that Android 9.0(Pie) is the stable version for the development.
But as per our understanding, for preparing the Andorid Aosp build for VIM3 boards , we need to use “lunch yukawa-userdebug” command.
When we checked in Android 9.0(Pie)version , such “lunch yukawa-userdebug” option command is not available.
So, Can you please share the procedure for preparing Android Automotive build version for Vim3 board using Android 9.0?.

  1. For Vim3 device, kernel build procedure mentioned in the below link,

https://source.android.com/docs/setup/build/devices

But when we try to build kernel after cloning the kernal code, we faced some error on executing below command,

“make meson_defconfig”

Error:

“est@test-Latitude-3490:~/home/Kernel/hikey-linaro$ make meson_defconfig Can’t find default configuration “arch/x86/configs/meson_defconfig”!
scripts/kconfig/Makefile:88: recipe for target ‘meson_defconfig’ failed
make[1]: [meson_defconfig] Error 1
Makefile:608: recipe for target ‘meson_defconfig’ failed
make: [meson_defconfig] Error 2”

Can you please check and share the correct procedure for preparing kernel build for Vim3 board?.
Please check whether kernel build procedure available in above android official link is correct or not?.

https://docs.khadas.com/android/vim3/BuildAndroid.html
You can find the answer from the document. The documentation describes how to build VIM3 compiled firmware.