Maybe it will peak a bit more interest … If anyone here does any android development and would be willing to compile an AOSP image for testing please get in touch and I’ll fill you in on the specific mod’s required to support Mesa DRM/KMS within the image. (looking for android 8.1 or 7.1.2 specifically)
Here is a quick screen recording of me running an Android KVM on the jetson nano.
Stuff to keep in mind :
Performance is poor while recording however, when nothing is running in the back ground I am getting around 60fps.
The Android image I am using is a pre-built Android 9.0 image built with linaro sources that seems like it was kind of thrown together with peaces of code that don’t really play nice together.
For more information on how this was accomplished please take a look at this post.
Some instructions I found here and tried to replicate. Its for a different base board but since it runs on qemu and not directly on hw, it should have worked on the plain vanilla jetson-nano also…
No. The problem was the startup of services was failing in a loop.
I stopped that line as I want to try proceed with Android 9 instead of 10 (sometime later).
can u give a look inside your log ? I have the same problem as you,it reboots ciclically. So,you should have the same error that I have. Are u asking all around for a workaround ? I don’t want to resign for sure.
The problem with Android for me is that I don’t have a separate powerful machine to build android. Already I spent up $10 on an AWS VM to build that android 10 image and without success.
But I have focus on running armhf VM with KVM and GPU acceleration and I did succeed. Please see my post here for how to run armhf VM on jetson-nano.
you should be more careful when you wrote the commands that u issue. You skip a lot of steps and when I try to replicate,it fails. And u are missing the post with the problems that I found when I tried to replicate your steps. I have the powerful machine that u need to build android. I can make a remote account for you,so that u can work on mine. Go here and check the reason why Anbox does not work in my case :
I’ve thought the same,but after some research I’ve ended thinking that it’s more complicated to port Chrome OS than Android itself. Chrome needs some specific patches necessary to boot it that only a very experienced programmer can do.
I know,but I have some doubts that chromium OS is good as chrome os for running the android apps. Yesterday I found a website that collects a lof of useful android images :
I think that the image that we need is the arm64,right ? there is also a qemu-kernel inside…I tried to boot it,without having success…give a look here :
I think that the road that you have taken is a dead road for many reasons :
chromium os is not easy at all to boot on the jetson nano
chromium os does not support the android stuff,so for what it is useful ? your goal is not to run android on the nano ?
your brunch framework runs on x86_64,it’s not good on the arm platform
yesterday I tried to boot android x86 with qemu-i386. it has been installed without problems,but it is not able to work at all. and even if it worked,it is very slow. I’m also trying some alternative roads,like trying to emulate android for the raspberry PI on the nano with qemu with the parameter raspi3 and kvm…we will lose 64 bit,but maybe it will work. what is working for sure with qemu is windows xp sp3 :P. I’ve read that windows xp supports the android emulator x86. but it will be too slow. it does not worth. It is very slow also the android emulator for arm64. Below I post some promising ideas that could be developed. I mean,try to emulate FydeOS and Lineage 16 with qemu and kvm. These are images which can emulate android on the raspberry. Since we know that we can emulate the raspberry on the nano,maybe with some efforts we can also emulate those images. As u can see,the chromium os is also involved.
See if I get same result as the images I built previously or if something different.
If not working, analyze the manifest.xml file of the ant-micro to see what specific changes they have done and try to do the same for AOSP 9 version and check it.
Android x86 should run fine on any x86 system with virtualisation (not emulation). You can run it using qemu or VirtualBox on Windows or Linux. Emulation is too slow to be of any use.
All other options like running RPi image on nano using qemu wont work because the RPi hw is quite different (VideoCore GPU etc.) and qemu wont be able to virtualize it. At the most emulate it which will be pretty damn slow.
RPi has a large community and they why we see Android and Chromium OS ported to it. Jetson Nano itself will have less support from Nvidia in future
write me the commands that you issue for completing the ant micro tutorial. I’ve repeated a lot of times that tutorial but I still get a different error than you.