Android TV on VIM4

Which version of system do you use? Khadas official images, self built images, or others?

Android 14 VIM4N_android14_v20241105, manifest at 3707e5e

Please describe your issue below:

I’m trying to build a ATV image of Android 14 for the VIM4 board. I managed to build and flash it but for now the board never boot to UI. I get the android animation on screen but after it finishes, black screen.

Here is the modification I made that from what I understood should enable ATV build instead of normal build:

$ repo diff

project device/khadas/
diff --git a/kvim4/kvim4_arm64.mk b/kvim4/kvim4_arm64.mk
index 942f96e..8506501 100644
--- a/kvim4/kvim4_arm64.mk
+++ b/kvim4/kvim4_arm64.mk
@@ -18,8 +18,8 @@
 #
 #ATV version, need compile DRM related modules

-BOARD_COMPILE_ATV := false
-BOARD_COMPILE_CTS := false
+BOARD_COMPILE_ATV := true
+BOARD_COMPILE_CTS := true

 # #Non updatable APEX
 OVERRIDE_TARGET_FLATTEN_APEX := true

Post a console log of your issue below:

I’m not able to get logcat information as if I plug the USB-C cable on my computer, the board doesn’t get enough power to power-up correctly

@Skallwar
Our sdk is aosp. Due to copyright, we are unable to provide the ATV sdk.
There is some code about ATV in our sdk, but the functionality is not fully available.

I saw that VIM3 can be built with ATV launcher with Android 14 from BayLibre. Is there anyway to get similar result with a VIM4? I don’t care about all the Google stuff, just a bare AOSP with TV launcher is good enough to me

@Skallwar

The VIM4 SBC did not collaborate with BayLibre.
Can AML’s MboxLauncher2 meet your requirements?

vendor\amlogic\reference\apps\MboxLauncher2

Yep I know :slight_smile:

Probably, I will have a look with a version compiled without the modification I mentioned.

However I just noticed that this SDK is for VIM4N while I have a VIM4 not N so It probably won’t work, right?
Cf: VIM4-Android-14-v241105 Rom Release

I there any plan on making this work for VIM4 not N

@Skallwar

If your application does not involve NPU, VIM4 can also use the Android SDK.

1 Like