Anbox on jetson nano

Yeah, it looks looks DBus has some issues with root

rreddy78@jetson-nano:~/android-cuttlefish$ sudo anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity
[ 2021-03-24 08:56:02] [daemon.cpp:61@Run] Failed to connect to DBus

Without sudo it runs well.

hip hip hurra’. it works also for me.

I see that you are working on the installation of android cuttlefish on the jetson nano with qemu and kvm. me too. I’m trying to compiling it on my pc. Not on the amazon ws,because it costs money. I have a PC that’s powerful enough to do that.

For cuttlefish android you dont need to build. The images are found here:

Branch Grid?

I got the hints from here:
https://android.googlesource.com/device/google/cuttlefish/

There are other problems though. The main issue is that the launchers are x86 binaries and to run on them on arm64 is problematic - this is the biggest hurdle.

for this reason,you have to compile the arm64 image by yourself,like im trying to do. This is the tutorial that I’m following.

But Im stuck somewhere. Do u wanna try ? let me know how it goes for you.

Actually it does not matter. I also followed this tutorial. Still the host cvd binaries (e.g. lauch_cvd) are always x86. So for arm64 you need qemu emulation:
This step does not seem easy at least on jetson nano. Have to check in forum if anyone has solved.

From the tutorial:

[on ARM64] Setup to run x86_64 binaries

Do following as root user:

apt install qemu-user-static
dpkg --add-architecture amd64
You may need to correct /etc/apt/source.list file here.  See an example at this link
apt install libc6:amd64

I’ve reached the end of the tutorial without taking shortcuts and this is what happened :

root@zi-desktop:/home/zi/Desktop/Work/cuttlefish/android-cuttlefish2# ./go.sh

warning: TCG doesn’t support requested feature: CPUID.01H:ECX.vmx [bit 5]
launch_cvd W 03-30 23:33:11 21670 21670 cuttlefish_config.cpp:52] No user or non-vsoc user, returning default config
launch_cvd I 03-30 23:33:11 21670 21670 flags.cc:646] Assuming prior files of /root/cuttlefish_runtime/* /root/.cuttlefish.sh /root/.cuttlefish_config.json
launch_cvd I 03-30 23:33:12 21670 21670 flags.cc:347] No ramdisk present; assuming system-as-root build
launch_cvd I 03-30 23:33:12 21670 21670 subprocess.cpp:117] Started (pid: 21684): /home/zi/Desktop/Work/Android/host/bin/extract-vmlinux
launch_cvd I 03-30 23:33:12 21670 21670 subprocess.cpp:120] /root/cuttlefish_runtime/kernel
launch_cvd I 03-30 23:33:13 21670 21670 data_image.cc:142] misc partition image: use existing
launch_cvd I 03-30 23:33:13 21670 21670 data_image.cc:132] /home/zi/Desktop/Work/Android/image//userdata.img exists. Not creating it.
launch_cvd I 03-30 23:33:13 21670 21670 subprocess.cpp:117] Started (pid: 21882): /home/zi/Desktop/Work/Android/host/bin/cf_bpttool
launch_cvd I 03-30 23:33:13 21670 21670 subprocess.cpp:120] make_table
launch_cvd I 03-30 23:33:13 21670 21670 subprocess.cpp:120] --input=/dev/stdin
launch_cvd I 03-30 23:33:13 21670 21670 subprocess.cpp:120] --output_json=/dev/stdout
launch_cvd I 03-30 23:33:13 21670 21670 subprocess.cpp:117] Started (pid: 21885): /home/zi/Desktop/Work/Android/host/bin/cf_bpttool
launch_cvd I 03-30 23:33:13 21670 21670 subprocess.cpp:120] make_table
launch_cvd I 03-30 23:33:13 21670 21670 subprocess.cpp:120] --input=/dev/stdin
launch_cvd I 03-30 23:33:13 21670 21670 subprocess.cpp:120] --output_gpt=/dev/stdout
launch_cvd I 03-30 23:33:13 21670 21670 main.cc:300] The following files contain useful debugging information:
launch_cvd I 03-30 23:33:13 21670 21670 main.cc:304] Android’s logcat output: /root/cuttlefish_runtime/logcat
launch_cvd I 03-30 23:33:13 21670 21670 main.cc:305] Kernel log: /root/cuttlefish_runtime/kernel.log
launch_cvd I 03-30 23:33:13 21670 21670 main.cc:306] Instance configuration: /root/cuttlefish_runtime/cuttlefish_config.json
launch_cvd I 03-30 23:33:13 21670 21670 main.cc:307] Instance environment: /root/.cuttlefish.sh
launch_cvd I 03-30 23:33:13 21670 21670 main.cc:308] To access the console run: socat file:$(tty),raw,echo=0 /root/cuttlefish_runtime/console
warning: TCG doesn’t support requested feature: CPUID.01H:ECX.vmx [bit 5]
launch_cvd I 03-30 23:33:13 21670 21888 process_monitor.cc:161] Started monitoring subprocesses
launch_cvd I 03-30 23:33:13 21670 21670 subprocess.cpp:117] Started (pid: 21889): /home/zi/Desktop/Work/Android/host/bin/kernel_log_monitor
launch_cvd I 03-30 23:33:13 21670 21670 subprocess.cpp:120] -log_pipe_fd=7
launch_cvd I 03-30 23:33:13 21670 21670 subprocess.cpp:120] -subscriber_fds=10,13
warning: TCG doesn’t support requested feature: CPUID.01H:ECX.vmx [bit 5]
launch_cvd I 03-30 23:33:13 21670 21670 subprocess.cpp:117] Started (pid: 21892): /home/zi/Desktop/Work/Android/host/bin/logcat_receiver
launch_cvd I 03-30 23:33:13 21670 21670 subprocess.cpp:120] -log_pipe_fd=16
launch_cvd E 03-30 23:33:13 21670 21670 launch.cc:149] Unable to create configuration server socket: Address family not supported by protocol
warning: TCG doesn’t support requested feature: CPUID.01H:ECX.vmx [bit 5]