I hope Khadas can fix it soon enough, it seems so broken at the moment
well i think that it needs to be amlogic, but dont get your hopes to high!
I will fix it when i have downloaded the source code on github.
ye @Terry i notice it very slow connection!
Keep us updated when you can, being able to compile into ATV mode will save me a lot of trouble and time. Thanks again!
Hi, superceleron
I have updated the source code on github. And I built it successfully, you can download it again.
# repo sync
# repo start <BRANCH_NAME> --all
thks @Terry
I will do it later today!
Managed to compile into Android TV mode without any issues so far, looks good
Hi, Khadas Staffs!
Hi, Khadas Staffs!
I got the errors message when repo sync the source tree of vim3 pie. Please help me to solve issues.
Thanks a lot.
Allan
Syncing work tree: 97% (666/686)Checking out project android_vendor_amlogic_gpu
Checking out project android_vendor_amlogic_hdcp
Checking out project android_vendor_amlogic_interfaces
Checking out project android_vendor_amlogic_ir_tools
Checking out project android_vendor_amlogic_npu
git-lfs filter-process --skip: 1: git-lfs filter-process --skip: git-lfs: not found
fatal: The remote end hung up unexpectedly
error: Cannot checkout android_vendor_amlogic_npu: GitError: cannot initialize work tree for android_vendor_amlogic_npu
Traceback (most recent call last):
File “/home/plkavi/Khadas_VIM3/.repo/repo/main.py”, line 554, in
_Main(sys.argv[1:])
File “/home/plkavi/Khadas_VIM3/.repo/repo/main.py”, line 529, in _Main
result = repo._Run(argv) or 0
File “/home/plkavi/Khadas_VIM3/.repo/repo/main.py”, line 191, in _Run
result = cmd.Execute(copts, cargs)
File “/home/plkavi/Khadas_VIM3/.repo/repo/subcmds/sync.py”, line 998, in Execute
self._Checkout(all_projects, opt)
File “/home/plkavi/Khadas_VIM3/.repo/repo/subcmds/sync.py”, line 556, in _Checkout
self._CheckoutWorker(**kwargs)
File “/home/plkavi/Khadas_VIM3/.repo/repo/subcmds/sync.py”, line 439, in _CheckoutWorker
success = self._CheckoutOne(opt, project, *args, **kwargs)
File “/home/plkavi/Khadas_VIM3/.repo/repo/subcmds/sync.py”, line 476, in _CheckoutOne
project.Sync_LocalHalf(syncbuf, force_sync=opt.force_sync)
File “/home/plkavi/Khadas_VIM3/.repo/repo/project.py”, line 1384, in Sync_LocalHalf
self._InitWorkTree(force_sync=force_sync, submodules=submodules)
File “/home/plkavi/Khadas_VIM3/.repo/repo/project.py”, line 2608, in _InitWorkTree
raise GitError("cannot initialize work tree for " + self.name)
error.GitError: cannot initialize work tree for android_vendor_amlogic_npu
Take a look at this post from earlier. Android 9 Source Codes for VIM3
Getting exception during build
error: frameworks/base/core/jni/Android.bp:5:8: module "android_util_StatsLog.cpp": cmd: unknown location label "stats-log-api-gen"
error: frameworks/base/Android.bp:725:8: module "framework-statslog-gen": cmd: unknown location label "stats-log-api-gen"
ninja: build stopped: subcommand failed.
22:44:36 soong bootstrap failed with: exit status 1
#### failed to build some targets (29 seconds) ####
Full log:
daz@daz:/rom/khadas_vim$ source build/envsetup.sh
including device/khadas/kvim3/vendorsetup.sh
including sdk/bash_completion/adb.bash
daz@daz:/rom/khadas_vim$ lunch kvim3-userdebug
hardware/amlogic/wifi/configs/wifi.mk:43: warning: WIFI_BUILD_IN is
hardware/amlogic/wifi/configs/wifi.mk:44: warning: WIFI_MOULE is
hardware/amlogic/wifi/configs/wifi.mk:45: warning: MULTI_WIFI_SUPPORT is true
hardware/amlogic/wifi/configs/bluetooth.mk:20: warning: BOARD_HAVE_BLUETOOTH is true
hardware/amlogic/wifi/configs/bluetooth.mk:21: warning: BLUETOOTH_MODULE is BCMBT
device/khadas/kvim3/kvim3.mk:452: warning: ###need_tv_feature=false, is_android_tv=false### ### patch_dir AospOnlyPatch failed,maybe already patched ### patch_dir Bluetooth failed,maybe already patched ### patch_dir BootUpOptimization_aosp_ui failed,maybe already patched ### patch_dir BootVideo_aosp_ui failed,maybe already patched ### patch_dir Browser2 failed,maybe already patched ### patch_dir Build failed,maybe already patched ### patch_dir Camera failed,maybe already patched ### patch_dir CecAudio failed,maybe already patched ### patch_dir Gallery2 failed,maybe already patched ### patch_dir GtvsTest failed,maybe already patched ### patch_dir GtvsTest_aosp_only failed,maybe already patched ### patch_dir HDMI failed,maybe already patched ### patch_dir Input failed,maybe already patched ### patch_dir Libvpx failed,maybe already patched ### patch_dir Logcat failed,maybe already patched ### patch_dir LowMemoryKiller failed,maybe already patched ### patch_dir MediaExt failed,maybe already patched ### patch_dir Music failed,maybe already patched ### patch_dir NPU failed,maybe already patched ### patch_dir Network failed,maybe already patched ### patch_dir Power failed,maybe already patched ### patch_dir Recovery failed,maybe already patched ### patch_dir SecureBoot failed,maybe already patched ### patch_dir Settings failed,maybe already patched ### patch_dir Skia failed,maybe already patched ### patch_dir SurfaceFlinger failed,maybe already patched ### patch_dir SystemServer failed,maybe already patched ### patch_dir Vold failed,maybe already patched ### patch_dir Wifi failed,maybe already patched
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=kvim3
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.0.0-21-generic-x86_64-Ubuntu-19.04
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PPR1.180610.011
OUT_DIR=out
============================================
daz@daz:/rom/khadas_vim$ make -j1 otapackage
hardware/amlogic/wifi/configs/wifi.mk:43: warning: WIFI_BUILD_IN is
hardware/amlogic/wifi/configs/wifi.mk:44: warning: WIFI_MOULE is
hardware/amlogic/wifi/configs/wifi.mk:45: warning: MULTI_WIFI_SUPPORT is true
hardware/amlogic/wifi/configs/bluetooth.mk:20: warning: BOARD_HAVE_BLUETOOTH is true
hardware/amlogic/wifi/configs/bluetooth.mk:21: warning: BLUETOOTH_MODULE is BCMBT
device/khadas/kvim3/kvim3.mk:452: warning: auto patch already applied!
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=9
TARGET_PRODUCT=kvim3
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.0.0-21-generic-x86_64-Ubuntu-19.04
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PPR1.180610.011
OUT_DIR=out
============================================
[1/1] out/soong/.minibootstrap/minibp out/soong/.bootstrap/build.ninja
[55/56] glob prebuilts/ndk/stl.bp
[77/77] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -o out/soong/build.ninja Android.bp
error: frameworks/base/core/jni/Android.bp:5:8: module "android_util_StatsLog.cpp": cmd: unknown location label "stats-log-api-gen"
error: frameworks/base/Android.bp:725:8: module "framework-statslog-gen": cmd: unknown location label "stats-log-api-gen"
ninja: build stopped: subcommand failed.
22:44:36 soong bootstrap failed with: exit status 1
#### failed to build some targets (29 seconds) ####
Did you build VIM3 Android SDK with ubuntu 19.04? That’s too new. I think you can try to build this sdk with ubuntu 16.04.
I built it using 19.04 - will try an earlier version and see what happens. Thank you.
Maybe we can add instructions for Ubuntu 18.04 in the future, as 16.04 is quite old for now.
There is no audio in android for vim3?
I had flashed the latest built and just today i tried playing a video and its without audio.
Can anyone update on this? Anyone else facing the same?
I can provide more details if required
Ignore. I tried few hdmi cables. Now it works fine.
@Terry
Hello!
How to activate status & nav bars in source? I don’t see this settings in display menu…
You can modify the source code.
+++ b/kvim3/overlay/frameworks/base/core/res/res/values/config.xml
@@ -96,6 +96,7 @@
<!-- Keyguard component -->
<string name="config_keyguardComponent" translatable="false">com.droidlogic/com.droidlogic.StubKeyguardService</string>
+ <bool name="config_showNavigationBar">true</bool>
<!-- disable wallpaper, which may consume too much boot time -->
<!-- cannot disable wallpaper, com.android.settings will cra
--- a/kvim3/overlay/frameworks/base/packages/SystemUI/res/values/config.xml
+++ b/kvim3/overlay/frameworks/base/packages/SystemUI/res/values/config.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="config_enableKeyguardService">false</bool>
- <string name="config_statusBarComponent" translatable="false">com.android.systemui.statusbar.tv.TvStatusBar</string>
+ <!--<string name="config_statusBarComponent" translatable="false">com.android.systemui.statusbar.tv.TvStatusBar</string>-->
+ <string name="config_statusBarComponent" translatable="false">com.android.systemui.statusbar.phone.StatusBar</string>
</resources>
What about root? Do you have some instruction for that?
The root is in our list of plans. We will add root support in the feature.