qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error : init: partition(s) not found in /sys, waiting for their ueve


From: Pierrick Bouvier
Subject: Re: Error : init: partition(s) not found in /sys, waiting for their uevent(s): mmcblk0p2, mmcblk0p3 while trying to emulate Android 14 on Ubuntu 24.04 X64 bit using qemu-system-aarch64.
Date: Tue, 3 Sep 2024 09:31:39 -0700
User-agent: Mozilla Thunderbird

Without answering specifically on your question, if you want to exchange files with a android guest, simply use adb (push/pull commands). It's much better and faster than any other solution you can try, and cuttlefish tools already setup all the adb stuff for you.

You can use adb-sync (https://github.com/jb2170/better-adb-sync) to have something similar to rsync, in case you want to send files incrementally.

Pierrick

On 9/3/24 08:24, Mario Marietto wrote:
Hello.

Actually I'm using my Jetson Nano and I'm trying to emulate Android 10 by antmicro. I'm trying to use the same parameters used several years ago,when it worked. What I want to try now is to enable virtio-blk-pci on qemu. Probably in addition to using qemu 5.0,I had configured qemu with virtio-blk-pci enabled,because I used these parameters and they worked great :

-drive index=0,if=none,id=system,file=/home/aresuser/Desktop/antmicro/aosp-img/system-rw.img \
         -device virtio-blk-pci,drive=system \
        -drive index=1,if=none,id=vendor,file=/home/aresuser/Desktop/antmicro/aosp-img/vendor-rw.img \
         -device virtio-blk-pci,drive=vendor \
        -drive index=2,if=none,id=userdata,file=/home/aresuser/Desktop/antmicro/aosp-img/userdata.img \
         -device virtio-blk-pci,drive=userdata \

Can someone tell me how to enable the "VirtFS support" in qemu 5.0 ? because at the moment it is configured to "no" :

root@jetson:/home/aresuser/Desktop/antmicro/qemu-5.0.0# ./configure
Install prefix    /usr/local
BIOS directory    /usr/local/share/qemu
firmware path     /usr/local/share/qemu-firmware
binary directory  /usr/local/bin
library directory /usr/local/lib
module directory  /usr/local/lib/qemu
libexec directory /usr/local/libexec
include directory /usr/local/include
config directory  /usr/local/etc
local state directory   /usr/local/var
Manual directory  /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Build directory   /home/aresuser/Desktop/antmicro/qemu-5.0.0
Source path       /home/aresuser/Desktop/antmicro/qemu-5.0.0
GIT binary        git
GIT submodules
C compiler        cc
Host C compiler   cc
C++ compiler      c++
Objective-C compiler clang
ARFLAGS           rv
CFLAGS            -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -g
QEMU_CFLAGS       -I/usr/include/pixman-1 -I$(SRC_PATH)/dtc/libfdt  -pthread -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -fPIE -DPIE  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -std=gnu99  -Wexpansion-to-defined -Wendif-labels -Wno-shift-negative-value -Wno-missing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong  -I/usr/include/libpng16  -I$(SRC_PATH)/capstone/include QEMU_LDFLAGS      -L$(BUILD_DIR)/dtc/libfdt -Wl,-z,relro -Wl,-z,now -pie  -fstack-protector-strong
make              make
install           install
python            /usr/bin/python3 -B (3.10.12)
genisoimage       /usr/bin/genisoimage
slirp support     internal
smbd              /usr/sbin/smbd
module support    no
alt path mod load no
host CPU          aarch64
host big endian   no
target list       aarch64-softmmu alpha-softmmu arm-softmmu cris-softmmu hppa-softmmu i386-softmmu lm32-softmmu m68k-softmmu microblaze-softmmu microblazeel-softmmu mips-softmmu mips64-softmmu mips64el-softmmu mipsel-softmmu moxie-softmmu nios2-softmmu or1k-softmmu ppc-softmmu ppc64-softmmu riscv32-softmmu riscv64-softmmu rx-softmmu s390x-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu sparc64-softmmu tricore-softmmu unicore32-softmmu x86_64-softmmu xtensa-softmmu xtensaeb-softmmu aarch64-linux-user aarch64_be-linux-user alpha-linux-user arm-linux-user armeb-linux-user cris-linux-user hppa-linux-user i386-linux-user m68k-linux-user microblaze-linux-user microblazeel-linux-user mips-linux-user mips64-linux-user mips64el-linux-user mipsel-linux-user mipsn32-linux-user mipsn32el-linux-user nios2-linux-user or1k-linux-user ppc-linux-user ppc64-linux-user ppc64abi32-linux-user ppc64le-linux-user riscv32-linux-user riscv64-linux-user s390x-linux-user sh4-linux-user sh4eb-linux-user sparc-linux-user sparc32plus-linux-user sparc64-linux-user tilegx-linux-user x86_64-linux-user xtensa-linux-user xtensaeb-linux-user
gprof enabled     no
sparse enabled    no
strip binaries    yes
profiler          no
static build      no
SDL support       yes (2.26.1)
SDL image support no
GTK support       yes (3.24.33)
GTK GL support    yes
VTE support       no
TLS priority      NORMAL
GNUTLS support    no
libgcrypt         no
nettle            no
libtasn1          no
PAM               no
iconv support     yes
curses support    yes
virgl support     no
curl support      no
mingw32 support   no
Audio drivers     pa oss
Block whitelist (rw)
Block whitelist (ro)

*VirtFS support    no*

Multipath support no
VNC support       yes
VNC SASL support  no
VNC JPEG support  yes
VNC PNG support   yes
xen support       no
brlapi support    no
Documentation     no
PIE               yes
vde support       no
netmap support    no
Linux AIO support no
Linux io_uring support no
ATTR/XATTR support yes
Install blobs     yes
KVM support       yes
HAX support       no
HVF support       no
WHPX support      no
TCG support       yes
TCG debug enabled no
TCG interpreter   no
malloc trim support yes
RDMA support      no
PVRDMA support    no
fdt support       git
membarrier        no
preadv support    yes
fdatasync         yes
madvise           yes
posix_madvise     yes
posix_memalign    yes
libcap-ng support no
vhost-net support yes
vhost-crypto support yes
vhost-scsi support yes
vhost-vsock support yes
vhost-user support yes
vhost-user-fs support yes
Trace backends    log
spice support     no
rbd support       no
xfsctl support    no
smartcard support no
libusb            no
usb net redir     no
OpenGL support    yes
OpenGL dmabufs    yes
libiscsi support  no
libnfs support    no
build guest agent yes
QGA VSS support   no
QGA w32 disk info no
QGA MSI support   no
seccomp support   no
coroutine backend ucontext
coroutine pool    yes
debug stack usage no
mutex debugging   no
crypto afalg      no
GlusterFS support no
gcov              gcov
gcov enabled      no
TPM support       yes
libssh support    no
QOM debugging     yes
Live block migration yes
lzo support       no
snappy support    no
bzip2 support     no
lzfse support     no
zstd support      no
NUMA host support yes
libxml2           yes
tcmalloc support  no
jemalloc support  no
avx2 optimization
avx512f optimization no
replication support yes
VxHS block device no
bochs support     yes
cloop support     yes
dmg support       yes
qcow v1 support   yes
vdi support       yes
vvfat support     yes
qed support       yes
parallels support yes
sheepdog support  yes
capstone          internal
libpmem support   no
libudev           yes
default devices   yes
plugin support    no
fuzzing support   no
gdb               /usr/bin/gdb
cross containers  docker

Thanks.

On Tue, Sep 3, 2024 at 10:55 AM Mario Marietto <marietto2008@gmail.com <mailto:marietto2008@gmail.com>> wrote:

    Finally it worked :

    Istantanea_2024-09-03_10-51-35.jpg
    Very thanks man. In any case it is VERY slow and not usable at all.
    Is there something that I can do to improve its speed ?


    On Tue, Sep 3, 2024 at 10:33 AM Mario Marietto
    <marietto2008@gmail.com <mailto:marietto2008@gmail.com>> wrote:

        
ziomario@Z390-AORUS-PRO-DEST:/mnt/zroot-133/_OS/Android/aosp_14/android-image$ 
HOME=$(pwd) ./bin/launch_cvd -vm_manager qemu_cli 
-report_anonymous_usage_stats=n --start_webrtc=false

        09-03 10:04:44.206 2786386 2786386 I launch_cvd: main.cc:235
        Using system_image_dir of:
        ===================================================================
        NOTICE:

        By using this Android Virtual Device, you agree to
        Google Terms of Service (https://policies.google.com/terms
        <https://policies.google.com/terms>).
        The Google Privacy Policy (https://policies.google.com/privacy
        <https://policies.google.com/privacy>)
        describes how Google handles information generated as you use
        Google Services.
        ===================================================================

        Reading --config option from:
        /mnt/zroot-133/_OS/Android/aosp_14/android-image/android-info.txt
        Launching CVD using --config='phone'.
        GPU auto mode: detected prerequisites for accelerated rendering
        support.
        Enabling --gpu_mode=gfxstream.
        GPU vhost user auto mode: not yet supported with qemu_cli. Not
        enabling vhost user gpu.
        Requested resuming a previous session (the default behavior) but
        the base images have changed under the overlay, making the
        overlay incompatible. Wiping the overlay files.
        Path for instance UDS: /tmp/cf_avd_1000

        The following lines contain useful debugging information:
          Serial console is disabled; use -console=true to enable it.
          Logcat output:
        
/mnt/zroot-133/_OS/Android/aosp_14/android-image/cuttlefish/instances/cvd-1/logs/logcat

          Kernel log:
        
/mnt/zroot-133/_OS/Android/aosp_14/android-image/cuttlefish/instances/cvd-1/kernel.log
          Launcher log:
        
/mnt/zroot-133/_OS/Android/aosp_14/android-image/cuttlefish/instances/cvd-1/logs/launcher.log

          Instance configuration:
        
/mnt/zroot-133/_OS/Android/aosp_14/android-image/cuttlefish/instances/cvd-1/cuttlefish_config.json

          Launcher Build ID: 12309296

        /mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/modem_simulator
        /mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/tombstone_receiver
        /mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/log_tee
        /mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/wmediumd
        
/mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/casimir_control_server
        
/mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/screen_recording_server
        /mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/adb_connector
        /mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/socket_vsock_proxy
        /mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/socket_vsock_proxy
        /mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/tcp_connector
        
/mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/control_env_proxy_server
        /mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/echo_server
        Start modem simulator, server_fds: 58, Sim type: normal
        /mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/gnss_grpc_proxy
        /mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/logcat_receiver
        /mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/kernel_log_monitor
        
/mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/openwrt_control_server
        /mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/log_tee
        /mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/process_restarter
        /mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/netsimd
        /mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/socket_vsock_proxy

        Failed to open socket: Connection refused


        /mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/socket_vsock_proxy
        /mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/secure_env
        
/mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/x86_64-linux-gnu/qemu/qemu-system-aarch64
        Server listening on
        unix:/tmp/cf_avd_1000/cvd-1/grpc_socket/CasimirControlServer.sock
        Server listening on
        unix:/tmp/cf_avd_1000/cvd-1/grpc_socket/EchoServer.sock
        Server listening on
        unix:/tmp/cf_avd_1000/cvd-1/grpc_socket/OpenwrtControlServer.sock
        root-canal I 09-03 10:06:13.219 device_boutique.cc:37
        Registering beacon
        root-canal I 09-03 10:06:13.219 device_boutique.cc:37
        Registering beacon_swarm
        root-canal I 09-03 10:06:13.219 device_boutique.cc:37
        Registering scripted_beacon
        root-canal I 09-03 10:06:13.219 device_boutique.cc:37
        Registering sniffer
        Server listening on
        unix:/tmp/cf_avd_1000/cvd-1/grpc_socket/ControlEnvProxyServer.sock
        netsimd I 09-03 08:06:13.221 rust_main.rs:98
        <http://rust_main.rs:98> - netsim artifacts path:
        "/tmp/android-ziomario/netsimd"
        netsimd I 09-03 08:06:13.221 rust_main.rs:101
        <http://rust_main.rs:101> - NetsimdArgs {
            fd_startup_str: Some(
                "{\"devices\":[{\"name\":\"0.0.0.0:6520
        
<http://0.0.0.0:6520>\",\"chips\":[{\"kind\":\"BLUETOOTH\",\"fdIn\":81,\"fdOut\":82},{\"kind\":\"UWB\",\"fdIn
        \":83,\"fdOut\":84}]}]}",
            ),
            no_cli_ui: false,
            no_web_ui: false,
            pcap: false,
            disable_address_reuse: false,
            hci_port: Some(
                7300,
            ),
            connector_instance: None,
            instance: Some(
                1,
            ),
            logtostderr: false,
            dev: false,
            rust_grpc: false,
            rust_hostapd: false,
            rust_slirp: true,
            vsock: None,
            config: None,
            host_dns: None,
            http_proxy: None,
            wifi_tap: None,
            test_beacons: false,
            no_test_beacons: false,
            no_shutdown: false,
            verbose: false,
            version: false,
        }
        Size of OBJECT = 1204
        Size of components in TPMT_SENSITIVE = 744
            TPMI_ALG_PUBLIC                 2
            TPM2B_AUTH                      50
            TPM2B_DIGEST                    50
            TPMU_SENSITIVE_COMPOSITE        642
        MAX_CONTEXT_SIZE can be reduced to 1264 (1344)
        size : 360
        starting Rust KeyMint TA implementation in a thread
        starting C++ KeyMint implementation in a thread with FDs in=31,
        out=30
        KeyMint Rust TA running with infile=37, outfile=36,
        security_level=Software
        No secure deletion data file found. Creating one.
        I0903 10:06:13.249418 2786724 SharedLibrary.cpp:64]
        SharedLibrary::open for [libvulkan.so]

        I0903 10:06:13.249507 2786724 SharedLibrary.cpp:76]
        SharedLibrary::open for [libvulkan.so]: not found in map, open
        for the first time

        I0903 10:06:13.249511 2786724 SharedLibrary.cpp:186]
        SharedLibrary::open for [libvulkan.so] (posix): begin

        I0903 10:06:13.249514 2786724 SharedLibrary.cpp:244]
        SharedLibrary::open for [libvulkan.so] (posix,linux): call
        dlopen on [libvulkan.so
        ]

        added library libvulkan.so
        I0903 10:06:13.250535 2786724 HealthMonitor.cpp:280]
        HealthMonitor disabled.
        createGlobalVkEmulation:964 Selecting Vulkan device: NVIDIA
        GeForce GTX 1060 3GB
        initialize: Supports id properties, got a vulkan device UUID
        I0903 10:06:13.354756 2786724 SharedLibrary.cpp:76]
        SharedLibrary::open for [libGLESv2.so]: not found in map, open
        for the first time

        I0903 10:06:13.354764 2786724 SharedLibrary.cpp:186]
        SharedLibrary::open for [libGLESv2.so] (posix): begin

        I0903 10:06:13.354768 2786724 SharedLibrary.cpp:244]
        SharedLibrary::open for [libGLESv2.so] (posix,linux): call
        dlopen on [libGLESv2.so
        ]

        I0903 10:06:13.355076 2786724 SharedLibrary.cpp:76]
        SharedLibrary::open for [libEGL.so]: not found in map, open for
        the first time

        I0903 10:06:13.355081 2786724 SharedLibrary.cpp:186]
        SharedLibrary::open for [libEGL.so] (posix): begin

        I0903 10:06:13.355084 2786724 SharedLibrary.cpp:244]
        SharedLibrary::open for [libEGL.so] (posix,linux): call dlopen
        on [libEGL.so]

        I0903 10:06:13.448821 2786724 VkCommonOperations.cpp:1226]
        Initializing VkEmulation features:
        I0903 10:06:13.448837 2786724 VkCommonOperations.cpp:1227]
             glInteropSupported: true
        I0903 10:06:13.448840 2786724 VkCommonOperations.cpp:1228]
             useDeferredCommands: true
        I0903 10:06:13.448842 2786724 VkCommonOperations.cpp:1230]
             createResourceWithRequirements: true
        I0903 10:06:13.448844 2786724 VkCommonOperations.cpp:1231]
             useVulkanComposition: false
        I0903 10:06:13.448846 2786724 VkCommonOperations.cpp:1232]
             useVulkanNativeSwapchain: false
        I0903 10:06:13.448848 2786724 VkCommonOperations.cpp:1233]
             enable guestRenderDoc: false
        I0903 10:06:13.448850 2786724 VkCommonOperations.cpp:1234]
             ASTC LDR emulation mode: 2
        I0903 10:06:13.448852 2786724 VkCommonOperations.cpp:1235]
             enable ETC2 emulation: true
        I0903 10:06:13.448854 2786724 VkCommonOperations.cpp:1236]
             enable Ycbcr emulation: false
        I0903 10:06:13.448856 2786724 VkCommonOperations.cpp:1237]
             guestUsesAngle: false
        I0903 10:06:13.448858 2786724 VkCommonOperations.cpp:1238]
             useDedicatedAllocations: false
        I0903 10:06:13.449542 2786724 FrameBuffer.cpp:486] Graphics
        Adapter Vendor Google (NVIDIA Corporation)
        I0903 10:06:13.449548 2786724 FrameBuffer.cpp:487] Graphics
        Adapter Android Emulator OpenGL ES Translator (NVIDIA GeForce
        GTX 1060 3GB/
        PCIe/SSE2)
        I0903 10:06:13.449551 2786724 FrameBuffer.cpp:488] Graphics API
        Version OpenGL ES 3.0 (OpenGL ES 3.2 NVIDIA 535.183.01)
        I0903 10:06:13.449553 2786724 FrameBuffer.cpp:489] Graphics API
        Extensions GL_OES_EGL_sync GL_OES_EGL_image
        GL_OES_EGL_image_external G
        L_OES_depth24 GL_OES_depth32 GL_OES_element_index_uint
        GL_OES_texture_float GL_OES_texture_float_linear
        GL_OES_compressed_paletted_text
        ure GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture
        GL_OES_texture_half_float GL_OES_texture_half_float_linear
        GL_OES_packed_d
        epth_stencil GL_OES_vertex_half_float
        GL_OES_standard_derivatives GL_OES_texture_npot
        GL_OES_rgb8_rgba8 GL_OVR_multiview2 GL_EXT_multiv
        iew_texture_multisample GL_EXT_color_buffer_float
        GL_EXT_color_buffer_half_float GL_EXT_texture_format_BGRA8888
        GL_APPLE_texture_format
        _BGRA8888 GL_EXT_texture_buffer GL_OES_texture_buffer
        GL_EXT_draw_buffers_indexed
        I0903 10:06:13.449559 2786724 FrameBuffer.cpp:490] Graphics
        Device Extensions N/A
        GUEST_UBOOT_VERSION: 2024.01-g1ed8f8bde33e-ab12091206 (Jul 10
        2024 - 23:47:38 +0000)
        U-Boot 20
        starting Rust KeyMint TA implementation in a thread
        starting C++ KeyMint implementation in a thread with FDs in=31,
        out=30
        KeyMint Rust TA running with infile=37, outfile=36,
        security_level=Software
        Secure deletion data file found. Parsing.
        2024-09-03T08:06:13.626075Z qemu-system-aarch64:
        virtio-serial-bus: Unexpected port id 16 for device virtio-serial.0
        2024-09-03T08:06:13.626410Z qemu-system-aarch64:
        virtio-serial-bus: Unexpected port id 17 for device virtio-serial.0
        2024-09-03T08:06:13.626599Z qemu-system-aarch64:
        virtio-serial-bus: Unexpected port id 18 for device virtio-serial.0
        2024-09-03T08:06:13.626788Z qemu-system-aarch64:
        virtio-serial-bus: Unexpected port id 19 for device virtio-serial.0
        2024-09-03T08:06:13.626980Z qemu-system-aarch64:
        virtio-serial-bus: Unexpected port id 20 for device virtio-serial.0
        2024-09-03T08:06:13.627171Z qemu-system-aarch64:
        virtio-serial-bus: Unexpected port id 21 for device virtio-serial.0
        2024-09-03T08:06:13.627360Z qemu-system-aarch64:
        virtio-serial-bus: Unexpected port id 22 for device virtio-serial.0
        2024-09-03T08:06:13.627549Z qemu-system-aarch64:
        virtio-serial-bus: Unexpected port id 23 for device virtio-serial.0
        2024-09-03T08:06:13.627738Z qemu-system-aarch64:
        virtio-serial-bus: Unexpected port id 24 for device virtio-serial.0
        2024-09-03T08:06:13.627930Z qemu-system-aarch64:
        virtio-serial-bus: Unexpected port id 25 for device virtio-serial.0
        2024-09-03T08:06:13.628119Z qemu-system-aarch64:
        virtio-serial-bus: Unexpected port id 26 for device virtio-serial.0
        2024-09-03T08:06:13.628307Z qemu-system-aarch64:
        virtio-serial-bus: Unexpected port id 27 for device virtio-serial.0
        2024-09-03T08:06:13.628496Z qemu-system-aarch64:
        virtio-serial-bus: Unexpected port id 28 for device virtio-serial.0
        2024-09-03T08:06:13.628683Z qemu-system-aarch64:
        virtio-serial-bus: Unexpected port id 29 for device virtio-serial.0
        2024-09-03T08:06:13.628874Z qemu-system-aarch64:
        virtio-serial-bus: Unexpected port id 30 for device virtio-serial.0

        GUEST_KERNEL_VERSION:
        6.6.46-android15-8-g3569b053517c-ab12290856-4k
        (kleaf@build-host) (Android (11368308, +pgo, +bolt, +lto, +mlgo,
        based on r510928) clang version 18.0.0
        (https://android.googlesource.com/toolchain/llvm-project
        <https://android.googlesource.com/toolchain/llvm-project>
        477610d4d0d988e69dbc3fae4fe86bff3f07f2b5), LLD 18.0.0) #1 SMP
        PREEMPT Wed Aug 28 21:43:33 UTC 2024
        ] Linux version
        transport message failed, response body: device '0.0.0.0:6520
        <http://0.0.0.0:6520>' not found
        transport message failed, response body: device '0.0.0.0:6520
        <http://0.0.0.0:6520>' not found
        transport message failed, response body: device '0.0.0.0:6520
        <http://0.0.0.0:6520>' not found
        transport message failed, response body: device '0.0.0.0:6520
        <http://0.0.0.0:6520>' not found
        GUEST_BUILD_FINGERPRINT:
        
generic/aosp_cf_arm64_only_phone/vsoc_arm64_only:VanillaIceCream/MAIN.1c019b0c/12309296:userdebug/test-keys
        transport message failed, response body: device '0.0.0.0:6520
        <http://0.0.0.0:6520>' not found
        transport message failed, response body: device '0.0.0.0:6520
        <http://0.0.0.0:6520>' not found
        transport message failed, response body: device '0.0.0.0:6520
        <http://0.0.0.0:6520>' not found
        transport message failed, response body: device '0.0.0.0:6520
        <http://0.0.0.0:6520>' not found
        transport message failed, response body: device '0.0.0.0:6520
        <http://0.0.0.0:6520>' not found
        transport message failed, response body: device '0.0.0.0:6520
        <http://0.0.0.0:6520>' not found
        transport message failed, response body: device '0.0.0.0:6520
        <http://0.0.0.0:6520>' not found
        transport message failed, response body: device '0.0.0.0:6520
        <http://0.0.0.0:6520>' not found
        init: starting service 'adbd'...
        proxy_fastboot] Stop event (11) received. Stopping proxy
        proxy_adb] Start event (5) received. Starting proxy
        proxy_adb] From: tcp: 6520
        proxy_adb] To: vsock: 3:5555 vhost_user: false
        transport message failed, response body: device '0.0.0.0:6520
        <http://0.0.0.0:6520>' not found
        I0903 10:09:30.816108 2787314 IntelDrmDecoder.cpp:38]
        IntelDrmDecoder created for context 2
        I0903 10:09:32.764820 2787316 IntelDrmDecoder.cpp:38]
        IntelDrmDecoder created for context 7
        VIRTUAL_DEVICE_DISPLAY_POWER_MODE_CHANGED
        VIRTUAL_DEVICE_DISPLAY_POWER_MODE_CHANGED
        I0903 10:10:20.918014 2787359 IntelDrmDecoder.cpp:38]
        IntelDrmDecoder created for context 11

        I see a lot of errors,but it seems connected :

        ziomario@Z390-AORUS-PRO-DEST:~/Scrivania$ adb devices
        List of devices attached
        0.0.0.0:6520 <http://0.0.0.0:6520>    device

        but scrcpy didn't work :

        ziomario@Z390-AORUS-PRO-DEST:~/Scrivania$ scrcpy

        scrcpy 2.6.1 <https://github.com/Genymobile/scrcpy
        <https://github.com/Genymobile/scrcpy>>
        INFO: ADB device found:
        INFO:     --> (tcpip) 0.0.0.0:6520 <http://0.0.0.0:6520>
                            device  Cuttlefish_arm64_phone_64_bit_only

        /usr/local/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped.
        90.0 MB/s (71112 bytes in 0.001s)
        [server] INFO: Device: [Google] generic Cuttlefish arm64 phone
        64-bit only (Android 14)
        [server] ERROR: Could not register rotation watcher
        java.lang.NullPointerException: Attempt to invoke virtual method
        'java.lang.Class java.lang.Object.getClass()' on a null object
        reference

                at
        
com.genymobile.scrcpy.wrappers.WindowManager.registerRotationWatcher(WindowManager.java:185)
                at
        com.genymobile.scrcpy.device.Device.<init>(Device.java:93)
                at com.genymobile.scrcpy.Server.scrcpy(Server.java:145)
                at
        com.genymobile.scrcpy.Server.internalMain(Server.java:290)
                at com.genymobile.scrcpy.Server.main(Server.java:245)
                at
        com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
                at
        com.android.internal.os.RuntimeInit.main(RuntimeInit.java:369)

        [server] ERROR: Could not register display fold listener

        java.lang.NullPointerException: Attempt to invoke virtual method
        'java.lang.Class java.lang.Object.getClass()' on a null object
        reference

                at
        
com.genymobile.scrcpy.wrappers.WindowManager.registerDisplayFoldListener(WindowManager.java:206)
                at
        com.genymobile.scrcpy.device.Device.<init>(Device.java:108)
                at com.genymobile.scrcpy.Server.scrcpy(Server.java:145)
                at
        com.genymobile.scrcpy.Server.internalMain(Server.java:290)
                at com.genymobile.scrcpy.Server.main(Server.java:245)
                at
        com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
                at
        com.android.internal.os.RuntimeInit.main(RuntimeInit.java:369)

        [server] WARN: No clipboard manager, copy-paste between device
        and computer will not work
        [server] ERROR: Attempt to invoke virtual method
        'android.view.InputDevice
        android.hardware.input.InputManagerGlobal.getInputDevice(int)'
        on a null object reference
        java.lang.NullPointerException: Attempt to invoke virtual method
        'android.view.InputDevice
        android.hardware.input.InputManagerGlobal.getInputDevice(int)'
        on a null object reference
                at
        android.view.KeyCharacterMap.load(KeyCharacterMap.java:364)
                at
        com.genymobile.scrcpy.control.Controller.<init>(Controller.java:45)
                at com.genymobile.scrcpy.Server.scrcpy(Server.java:159)
                at
        com.genymobile.scrcpy.Server.internalMain(Server.java:290)
                at com.genymobile.scrcpy.Server.main(Server.java:245)
                at
        com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
                at
        com.android.internal.os.RuntimeInit.main(RuntimeInit.java:369)

        INFO: Renderer: opengl
        INFO: OpenGL version: 4.6.0 NVIDIA 535.183.01
        INFO: Trilinear filtering enabled
        WARN: Device disconnected
        ERROR: Demuxer 'video': stream disabled due to connection error
        ERROR: Demuxer 'audio': stream disabled due to connection error

        Even if the phone is still up :

        ziomario@Z390-AORUS-PRO-DEST:~/Scrivania$ adb devices
        List of devices attached
        0.0.0.0:6520 <http://0.0.0.0:6520>    device

        On Tue, Sep 3, 2024 at 1:03 AM Pierrick Bouvier
        <pierrick.bouvier@linaro.org
        <mailto:pierrick.bouvier@linaro.org>> wrote:

            The cvd-host package in this case are binaries/libraries
            compiled for
            aarch64, so it can be used on linux aarch64 and benefit from
            kvm
            acceleration.

            In your case, running emulation from a x64 host, you need
            cvd-host_package-x86_64.tar.gz instead.

            On 9/2/24 15:38, Mario Marietto wrote:
             > Update :
             >
             >
            
ziomario@Z390-AORUS-PRO-DEST:/mnt/zroot-133/_OS/Android/aosp_14/android-image/bin$
 mkdir x86_64-linux-musl
             >
             >
            
ziomario@Z390-AORUS-PRO-DEST:/mnt/zroot-133/_OS/Android/aosp_14/android-image/bin$
 cp 
/mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/aarch64-linux-musl/crosvm 
/mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/x86_64-linux-musl
             >
             >
            
ziomario@Z390-AORUS-PRO-DEST:/mnt/zroot-133/_OS/Android/aosp_14/android-image$ 
HOME=$(pwd) ./bin/launch_cvd -vm_manager qemu_cli 
-report_anonymous_usage_stats=n --start_webrtc=false
             >
             >
             > Unfortunately it does not work :
             >
             >
             > 09-03 00:03:28.916 2737211 2737211 I launch_cvd:
            main.cc:235 Using
             > system_image_dir of:
             >
            ===================================================================
             > NOTICE:
             >
             > By using this Android Virtual Device, you agree to
             > Google Terms of Service
            (https://policies.google.com/terms
            <https://policies.google.com/terms>
             > <https://policies.google.com/terms
            <https://policies.google.com/terms>>).
             > The Google Privacy Policy
            (https://policies.google.com/privacy
            <https://policies.google.com/privacy>
             > <https://policies.google.com/privacy
            <https://policies.google.com/privacy>>)
             > describes how Google handles information generated as you use
             > Google Services.
             >
            ===================================================================
             >
             > Reading --config option from:
             >
            /mnt/zroot-133/_OS/Android/aosp_14/android-image/android-info.txt
             > Launching CVD using --config='phone'.
             >
            
/mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/aarch64-linux-gnu/gfxstream_graphics_detector:
 error while loading shared
             >
             > libraries: libc.so.6: cannot open shared object file: No
            such file or
             > directory
             >
             > Failed to run graphics detector, bad return value: 127.
            Assuming no
             > availability.
             > GPU auto mode: did not detect prerequisites for
            accelerated rendering
             > support, enabling --gpu_mode=guest_swiftshader.
             > GPU vhost user auto mode: not needed for
            --gpu_mode=guest_swiftshader.
             > Not enabling vhost user gpu.
             > Requested resuming a previous session (the default
            behavior) but the
             > base images have changed under the overlay, making the
            overlay
             > incompatible. Wiping the overlay files.
             >
             > Path for instance UDS: /tmp/cf_avd_1000
             >
             > The following lines contain useful debugging information:
             >   Serial console is disabled; use -console=true to enable it.
             >   Logcat output:
             >
            
/mnt/zroot-133/_OS/Android/aosp_14/android-image/cuttlefish/instances/cvd-1/logs/logcat
             >   Kernel log:
             >
            
/mnt/zroot-133/_OS/Android/aosp_14/android-image/cuttlefish/instances/cvd-1/kernel.log
             >   Launcher log:
             >
            
/mnt/zroot-133/_OS/Android/aosp_14/android-image/cuttlefish/instances/cvd-1/logs/launcher.log
             >   Instance configuration:
             >
            
/mnt/zroot-133/_OS/Android/aosp_14/android-image/cuttlefish/instances/cvd-1/cuttlefish_config.json
             >   Launcher Build ID: 12309296
             > 4. main.cc:232| RunCvdMain|
             > 3. main.cc:104| Run|
             > 2. server_loop_impl.cpp:89| Run|
             > 1. qemu_manager.cpp:247| StartCommands|
             > |
            device/google/cuttlefish/host/libs/vm_manager/qemu_manager.cpp:97
             > | Result<std::pair<int, int>>
            cuttlefish::vm_manager::(anonymous
             > namespace)::GetQemuVersion(const std::string &)
             > v CF_EXPECT(qemu_version_ret == 0)
             >
            
/mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/aarch64-linux-gnu/qemu/qemu-system-aarch64
 -version returned unexpected response .
             > Stderr was
             >
            
/mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/aarch64-linux-gnu/qemu/qemu-system-aarch64:
 error while loading shared
             >
             > libraries: libncursesw.so.6: cannot open shared object
            file: No such
             > file or directory
             >
             > On Mon, Sep 2, 2024 at 11:30 PM Mario Marietto
            <marietto2008@gmail.com <mailto:marietto2008@gmail.com>
             > <mailto:marietto2008@gmail.com
            <mailto:marietto2008@gmail.com>>> wrote:
             >
             >     Something is not right :
             >
>  ziomario@Z390-AORUS-PRO-DEST:/mnt/zroot-133/_OS/Android/aosp_14/android-image$ unzip ../aosp_cf_*.zip
             >
             >     Archive:  ../aosp_cf_arm64_only_phone-img-12309296.zip
             >       inflating: android-info.txt
             >       inflating: fastboot-info.txt
             >       inflating: kernel_16k
             >       inflating: ramdisk_16k.img
             >       inflating: boot.img
             >       inflating: boot_16k.img
             >       inflating: bootloader
             >       inflating: init_boot.img
             >       inflating: userdata.img
             >       inflating: vbmeta.img
             >       inflating: vbmeta_system.img
             >       inflating: vbmeta_system_dlkm.img
             >       inflating: vbmeta_vendor_dlkm.img
             >       inflating: vendor_boot.img
             >       inflating: super.img
             >
>  ziomario@Z390-AORUS-PRO-DEST:/mnt/zroot-133/_OS/Android/aosp_14/android-image$ tar xzvf ../cvd-host_package.tar.gz
             >
             >
             >     ./
             >     ./lib64/
             >     ./lib64/android.hardware.keymaster@3.0.so
            <mailto:android.hardware.keymaster@3.0.so>
             >     <mailto:android.hardware.keymaster@3.0.so
            <mailto:android.hardware.keymaster@3.0.so>>
             >     ./lib64/libciborium_io.dylib.so
            <http://libciborium_io.dylib.so>
            <http://libciborium_io.dylib.so
            <http://libciborium_io.dylib.so>>
             >     ./lib64/libjpeg.so
             >     ./lib64/cuttlefish_net.so
             >     ./lib64/libbase.so
             >     ./lib64/vulkan.pastel.so <http://vulkan.pastel.so>
            <http://vulkan.pastel.so <http://vulkan.pastel.so>>
             >     ./lib64/libcuttlefish_host_config.so
             >     ./lib64/libflagset.dylib.so
            <http://libflagset.dylib.so> <http://libflagset.dylib.so
            <http://libflagset.dylib.so>>
             >     ./lib64/libkmr_common.dylib.so
            <http://libkmr_common.dylib.so>
            <http://libkmr_common.dylib.so <http://libkmr_common.dylib.so>>
             >     ./lib64/libpkcs1.dylib.so <http://libpkcs1.dylib.so>
            <http://libpkcs1.dylib.so <http://libpkcs1.dylib.so>>
             >     ./lib64/libicui18n-host.so
             >     ./lib64/libwayland_client.so
             >     ./lib64/libunwindstack.so
             >     ./lib64/libkmr_ta.dylib.so
            <http://libkmr_ta.dylib.so> <http://libkmr_ta.dylib.so
            <http://libkmr_ta.dylib.so>>
             >     ./lib64/libcoset.dylib.so <http://libcoset.dylib.so>
            <http://libcoset.dylib.so <http://libcoset.dylib.so>>
             >     ./lib64/libcppbor.so
             >     ./lib64/libgatekeeper.so
             >     ./lib64/libyuv.so
             >     ./lib64/libgrpc++.so
             >     ./lib64/libkmr_cf_ffi.so
             >     ./lib64/libcppcose_rkp.so
             >     ./lib64/libcuttlefish_transport.so
             >     ./lib64/liblzma.so
             >     ./lib64/libciborium_ll.dylib.so
            <http://libciborium_ll.dylib.so>
            <http://libciborium_ll.dylib.so
            <http://libciborium_ll.dylib.so>>
             >     ./lib64/libcuttlefish_allocd_utils.so
             >     ./lib64/libgflags.so
             >     ./lib64/android.hardware.keymaster@4.0.so
            <mailto:android.hardware.keymaster@4.0.so>
             >     <mailto:android.hardware.keymaster@4.0.so
            <mailto:android.hardware.keymaster@4.0.so>>
             >     ./lib64/libcfg_if.dylib.so
            <http://libcfg_if.dylib.so> <http://libcfg_if.dylib.so
            <http://libcfg_if.dylib.so>>
             >     ./lib64/libspki.dylib.so <http://libspki.dylib.so>
            <http://libspki.dylib.so <http://libspki.dylib.so>>
             >     ./lib64/libzeroize.dylib.so
            <http://libzeroize.dylib.so> <http://libzeroize.dylib.so
            <http://libzeroize.dylib.so>>
             >     ./lib64/libcgrouprc.so
             >     ./lib64/libprotobuf-cpp-full.so
             >     ./lib64/libcutils.so
             >     ./lib64/libsqlite.so
             >     ./lib64/libcuttlefish_utils_result.so
             >     ./lib64/libbinder_ndk.so
             >     ./lib64/libext2_uuid-host.so
             >     ./lib64/libhex.dylib.so <http://libhex.dylib.so>
            <http://libhex.dylib.so <http://libhex.dylib.so>>
             >     ./lib64/libc_musl.so
             >     ./lib64/libconst_oid.dylib.so
            <http://libconst_oid.dylib.so> <http://libconst_oid.dylib.so
            <http://libconst_oid.dylib.so>>
             >     ./lib64/libprotobuf_support.dylib.so
            <http://libprotobuf_support.dylib.so>
             >     <http://libprotobuf_support.dylib.so
            <http://libprotobuf_support.dylib.so>>
             >     ./lib64/tpm2-tss2-tcti.so
             >     ./lib64/libserde.dylib.so <http://libserde.dylib.so>
            <http://libserde.dylib.so <http://libserde.dylib.so>>
             >     ./lib64/libartpalette.so
             >     ./lib64/liblog.so
             >     ./lib64/libonce_cell.dylib.so
            <http://libonce_cell.dylib.so> <http://libonce_cell.dylib.so
            <http://libonce_cell.dylib.so>>
             >     ./lib64/libthiserror.dylib.so
            <http://libthiserror.dylib.so> <http://libthiserror.dylib.so
            <http://libthiserror.dylib.so>>
             >     ./lib64/libssl-host.so
             >     ./lib64/libc++.so
             >     ./lib64/libext4_utils.so
             >     ./lib64/libpkcs8.dylib.so <http://libpkcs8.dylib.so>
            <http://libpkcs8.dylib.so <http://libpkcs8.dylib.so>>
             >     ./lib64/libsparse-host.so
             >     ./lib64/sandboxed_api_sandbox2.so
             >     ./lib64/libcuttlefish_command_util.so
             >     ./lib64/libbssl_sys.dylib.so
            <http://libbssl_sys.dylib.so> <http://libbssl_sys.dylib.so
            <http://libbssl_sys.dylib.so>>
             >     ./lib64/libkeymaster_messages.so
             >     ./lib64/libcuttlefish_web.so
             >     ./lib64/libvpx.so
             >     ./lib64/libopus.so
             >     ./lib64/libminijail.so
             >     ./lib64/libcurl-host.so
             >     ./lib64/libcuttlefish_kernel_log_monitor_utils.so
             >     ./lib64/tpm2-tss2-util.so
             >     ./lib64/liblibc.dylib.so <http://liblibc.dylib.so>
            <http://liblibc.dylib.so <http://liblibc.dylib.so>>
             >     ./lib64/libprotobuf.dylib.so
            <http://libprotobuf.dylib.so> <http://libprotobuf.dylib.so
            <http://libprotobuf.dylib.so>>
             >     ./lib64/libbitflags.dylib.so
            <http://libbitflags.dylib.so> <http://libbitflags.dylib.so
            <http://libbitflags.dylib.so>>
             >     ./lib64/libutils.so
             >     ./lib64/libjsoncpp.so
             >     ./lib64/libext2_blkid-host.so
             >     ./lib64/libnl.so
             >     ./lib64/tpm2-tss2-sys.so
             >     ./lib64/libartbase.so
             >     ./lib64/libxml2.so
             >     ./lib64/libkmr_proto_rust.dylib.so
            <http://libkmr_proto_rust.dylib.so>
            <http://libkmr_proto_rust.dylib.so
            <http://libkmr_proto_rust.dylib.so>>
             >     ./lib64/libcuttlefish_security.so
             >     ./lib64/libsecure_env_tpm.dylib.so
            <http://libsecure_env_tpm.dylib.so>
            <http://libsecure_env_tpm.dylib.so
            <http://libsecure_env_tpm.dylib.so>>
             >     ./lib64/libz-host.so
             >     ./lib64/libprocessgroup.so
             >     ./lib64/libcrypto_utils.so
             >     ./lib64/libder.dylib.so <http://libder.dylib.so>
            <http://libder.dylib.so <http://libder.dylib.so>>
             >     ./lib64/libdexfile.so
             >     ./lib64/cf_metrics_proto.so
             >     ./lib64/tpm2-tss2-esys.so
             >     ./lib64/libcuttlefish_utils.so
             >     ./lib64/libkeymaster_portable.so
             >     ./lib64/libfruit.so
             >     ./lib64/tpm2-tss2-rc.so
             >     ./lib64/libcap.so
             >     ./lib64/libnix.dylib.so <http://libnix.dylib.so>
            <http://libnix.dylib.so <http://libnix.dylib.so>>
             >     ./lib64/libicuuc-host.so
             >     ./lib64/libziparchive.so
             >     ./lib64/libkmr_ta_nonsecure.dylib.so
            <http://libkmr_ta_nonsecure.dylib.so>
             >     <http://libkmr_ta_nonsecure.dylib.so
            <http://libkmr_ta_nonsecure.dylib.so>>
             >     ./lib64/libstd.dylib.so <http://libstd.dylib.so>
            <http://libstd.dylib.so <http://libstd.dylib.so>>
             >     ./lib64/libhalf.dylib.so <http://libhalf.dylib.so>
            <http://libhalf.dylib.so <http://libhalf.dylib.so>>
             >     ./lib64/tpm2-tss2-mu.so
             >     ./lib64/libmemoffset.dylib.so
            <http://libmemoffset.dylib.so> <http://libmemoffset.dylib.so
            <http://libmemoffset.dylib.so>>
             >     ./lib64/liblp.so
             >     ./lib64/libcuttlefish_fs.so
             >     ./lib64/libProxyConfig.so
             >     ./lib64/libopenssl.dylib.so
            <http://libopenssl.dylib.so> <http://libopenssl.dylib.so
            <http://libopenssl.dylib.so>>
             >     ./lib64/libkmr_wire.dylib.so
            <http://libkmr_wire.dylib.so> <http://libkmr_wire.dylib.so
            <http://libkmr_wire.dylib.so>>
             >     ./lib64/libkmr_crypto_boring.dylib.so
            <http://libkmr_crypto_boring.dylib.so>
             >     <http://libkmr_crypto_boring.dylib.so
            <http://libkmr_crypto_boring.dylib.so>>
             >     ./lib64/liblog_rust.dylib.so
            <http://liblog_rust.dylib.so> <http://liblog_rust.dylib.so
            <http://liblog_rust.dylib.so>>
             >     ./lib64/libhidlbase.so
             >     ./lib64/libgrpc_wrap.so
             >     ./lib64/libgrpc++_unsecure.so
             >     ./lib64/libbytes.dylib.so <http://libbytes.dylib.so>
            <http://libbytes.dylib.so <http://libbytes.dylib.so>>
             >     ./lib64/libsoft_attestation_cert.so
             >     ./lib64/libcuttlefish_run_cvd_proto.so
             >     ./lib64/libbinder.so
             >     ./lib64/libcrypto-host.so
             >     ./lib64/libwebm_mkvmuxer.so
             >     ./lib64/libkmr_cf.dylib.so
            <http://libkmr_cf.dylib.so> <http://libkmr_cf.dylib.so
            <http://libkmr_cf.dylib.so>>
             >     ./lib64/libciborium.dylib.so
            <http://libciborium.dylib.so> <http://libciborium.dylib.so
            <http://libciborium.dylib.so>>
             >     ./lib64/libpuresoftkeymasterdevice_host.so
             >     ./lib64/libx509_cert.dylib.so
            <http://libx509_cert.dylib.so> <http://libx509_cert.dylib.so
            <http://libx509_cert.dylib.so>>
             >     ./lib64/libsec1.dylib.so <http://libsec1.dylib.so>
            <http://libsec1.dylib.so <http://libsec1.dylib.so>>
             >     ./nativetest64/
             >     ./nativetest64/modem_simulator_test/
             >     ./nativetest64/modem_simulator_test/modem_simulator_test
             >     ./nativetest64/cuttlefish_net_tests/
             >     ./nativetest64/cuttlefish_net_tests/cuttlefish_net_tests
             >     ./etc/
             >     ./etc/modem_simulator/
             >     ./etc/modem_simulator/files/
>  ./etc/modem_simulator/files/iccprofile_for_sim0_for_CtsCarrierApiTestCases.xml
             >     ./etc/modem_simulator/files/iccprofile_for_sim0.xml
             >     ./etc/modem_simulator/files/numeric_operator.xml
             >     ./etc/cvd_rsa4096.avbpubkey
             >     ./etc/bootloader_aarch64/
             >     ./etc/bootloader_aarch64/bootloader.qemu
             >     ./etc/bootloader_aarch64/bootloader.crosvm
             >     ./etc/bootloader_riscv64/
             >     ./etc/bootloader_riscv64/bootloader.qemu
             >     ./etc/automotive/
             >     ./etc/automotive/vhalconfig/
>  ./etc/automotive/vhalconfig/VendorClusterTestProperties.json
             >     ./etc/automotive/vhalconfig/DefaultProperties.json
             >     ./etc/automotive/vhalconfig/TestProperties.json
             >     ./etc/automotive/proxy_config.json
             >     ./etc/cvd_rsa2048.avbpubkey
             >     ./etc/cvd_avb_testkey_rsa4096.pem
             >     ./etc/bootloader_arm/
             >     ./etc/bootloader_arm/bootloader.qemu
             >     ./etc/bootloader_x86_64/
             >     ./etc/bootloader_x86_64/bootloader.qemu
             >     ./etc/bootloader_x86_64/bootloader.crosvm
             >     ./etc/cvd_avb_testkey_rsa2048.pem
             >     ./etc/openwrt/
             >     ./etc/openwrt/images/
             >     ./etc/openwrt/images/openwrt_kernel_aarch64
             >     ./etc/openwrt/images/openwrt_rootfs_x86_64
             >     ./etc/openwrt/images/openwrt_rootfs_aarch64
             >     ./etc/openwrt/images/openwrt_kernel_x86_64
             >     ./etc/cvd_config/
             >     ./etc/cvd_config/cvd_config_tv.json
             >     ./etc/cvd_config/cvd_config_tablet.json
             >     ./etc/cvd_config/cvd_config_wear.json
             >     ./etc/cvd_config/cvd_config_auto_portrait.json
             >     ./etc/cvd_config/cvd_config_slim.json
             >     ./etc/cvd_config/cvd_config_go.json
             >     ./etc/cvd_config/cvd_config_foldable.json
             >     ./etc/cvd_config/cvd_config_auto.json
             >     ./etc/cvd_config/cvd_config_auto_md.json
             >     ./etc/cvd_config/cvd_config_phone.json
             >     ./usr/
             >     ./usr/share/
             >     ./usr/share/vulkan/
             >     ./usr/share/vulkan/icd.d/
             >     ./usr/share/vulkan/icd.d/vk_swiftshader_icd.json
             >     ./usr/share/qemu/
             >     ./usr/share/qemu/aarch64-linux-gnu/
>  ./usr/share/qemu/aarch64-linux-gnu/opensbi-riscv64-generic-fw_dynamic.bin
             >     ./usr/share/qemu/aarch64-linux-gnu/efi-virtio.rom
             >     ./usr/share/qemu/aarch64-linux-gnu/keymaps/
             >     ./usr/share/qemu/aarch64-linux-gnu/keymaps/en-us
             >     ./usr/share/webrtc/
             >     ./usr/share/webrtc/assets/
             >     ./usr/share/webrtc/assets/style.css
             >     ./usr/share/webrtc/assets/index.css
             >     ./usr/share/webrtc/assets/index.html
             >     ./usr/share/webrtc/assets/js/
             >     ./usr/share/webrtc/assets/js/location.js
             >     ./usr/share/webrtc/assets/js/rootcanal.js
             >     ./usr/share/webrtc/assets/js/app.js
             >     ./usr/share/webrtc/assets/js/touch.js
             >     ./usr/share/webrtc/assets/js/adb.js
             >     ./usr/share/webrtc/assets/js/index.js
             >     ./usr/share/webrtc/assets/js/cf_webrtc.js
             >     ./usr/share/webrtc/assets/js/server_connector.js
             >     ./usr/share/webrtc/assets/js/controls.js
             >     ./usr/share/webrtc/assets/controls.css
             >     ./usr/share/webrtc/assets/custom.css
             >     ./usr/share/webrtc/assets/client.html
             >     ./usr/share/webrtc/certs/
             >     ./usr/share/webrtc/certs/server.p12
             >     ./usr/share/webrtc/certs/server.key
             >     ./usr/share/webrtc/certs/trusted.pem
             >     ./usr/share/webrtc/certs/server.crt
             >     ./usr/share/zoneinfo/
             >     ./usr/share/zoneinfo/tzdata
             >     ./usr/share/crosvm/
             >     ./usr/share/crosvm/aarch64-linux-gnu/
             >     ./usr/share/crosvm/aarch64-linux-gnu/seccomp/
>  ./usr/share/crosvm/aarch64-linux-gnu/seccomp/snd_null_device.policy >  ./usr/share/crosvm/aarch64-linux-gnu/seccomp/gpu_render_server.policy >  ./usr/share/crosvm/aarch64-linux-gnu/seccomp/battery.policy >  ./usr/share/crosvm/aarch64-linux-gnu/seccomp/block_device.policy >  ./usr/share/crosvm/aarch64-linux-gnu/seccomp/pmem_device.policy >  ./usr/share/crosvm/aarch64-linux-gnu/seccomp/wl_device.policy >  ./usr/share/crosvm/aarch64-linux-gnu/seccomp/9p_device.policy >  ./usr/share/crosvm/aarch64-linux-gnu/seccomp/input_device.policy >  ./usr/share/crosvm/aarch64-linux-gnu/seccomp/net_device.policy >  ./usr/share/crosvm/aarch64-linux-gnu/seccomp/rng_device.policy >  ./usr/share/crosvm/aarch64-linux-gnu/seccomp/coiommu_device.policy >  ./usr/share/crosvm/aarch64-linux-gnu/seccomp/gpu_device.policy >  ./usr/share/crosvm/aarch64-linux-gnu/seccomp/serial_device.policy >  ./usr/share/crosvm/aarch64-linux-gnu/seccomp/cras_audio_device.policy >  ./usr/share/crosvm/aarch64-linux-gnu/seccomp/null_audio_device.policy >  ./usr/share/crosvm/aarch64-linux-gnu/seccomp/snd_cras_device.policy >  ./usr/share/crosvm/aarch64-linux-gnu/seccomp/vhost_scmi_device.policy >  ./usr/share/crosvm/aarch64-linux-gnu/seccomp/balloon_device.policy >  ./usr/share/crosvm/aarch64-linux-gnu/seccomp/vhost_net_device.policy >  ./usr/share/crosvm/aarch64-linux-gnu/seccomp/vhost_vsock_device.policy >  ./usr/share/crosvm/aarch64-linux-gnu/seccomp/fs_device.policy >  ./usr/share/crosvm/aarch64-linux-gnu/seccomp/video_device.policy >  ./usr/share/crosvm/aarch64-linux-gnu/seccomp/xhci_device.policy >  ./usr/share/crosvm/aarch64-linux-gnu/seccomp/vios_audio_device.policy
             >     ./bin/
             >     ./bin/modem_simulator
             >     ./bin/ms-tpm-20-ref
             >     ./bin/mkenvimage_slim
             >     ./bin/metrics
             >     ./bin/socket_vsock_proxy
             >     ./bin/resize.f2fs
             >     ./bin/metrics_launcher
             >     ./bin/automotive_vsock_proxy
             >     ./bin/newfs_msdos
             >     ./bin/netsim-ui/
             >     ./bin/netsim-ui/assets/
             >     ./bin/netsim-ui/assets/grid-background.svg
             >     ./bin/netsim-ui/assets/netsim-logo.svg
             >     ./bin/netsim-ui/assets/polar-background.svg
             >     ./bin/netsim-ui/assets/hexagonal-background.png
             >     ./bin/netsim-ui/assets/netsim-logo-b.svg
             >     ./bin/netsim-ui/node_modules/
             >     ./bin/netsim-ui/node_modules/tslib/
             >     ./bin/netsim-ui/node_modules/tslib/tslib.es6.js
             >     ./bin/netsim-ui/index.html
             >     ./bin/netsim-ui/js/
             >     ./bin/netsim-ui/js/device-info.js
             >     ./bin/netsim-ui/js/device-list.js
             >     ./bin/netsim-ui/js/packet-info.js
             >     ./bin/netsim-ui/js/device-dropzone.js
             >     ./bin/netsim-ui/js/navigation-bar.js
             >     ./bin/netsim-ui/js/device-map.js
             >     ./bin/netsim-ui/js/device-dragzone.js
             >     ./bin/netsim-ui/js/netsim-app.js
             >     ./bin/netsim-ui/js/customize-map-button.js
             >     ./bin/netsim-ui/js/device-observer.js
             >     ./bin/netsim-ui/js/license-info.js
             >     ./bin/netsim-ui/js/cube-sprite.js
             >     ./bin/netsim-ui/js/pyramid-sprite.js
             >     ./bin/unpack_bootimg
             >     ./bin/adb
             >     ./bin/extract-vmlinux
             >     ./bin/health
             >     ./bin/screen_recording_server
             >     ./bin/lz4
             >     ./bin/wmediumd_gen_config
             >     ./bin/gnss_grpc_proxy
             >     ./bin/simg2img
             >     ./bin/secure_env
             >     ./bin/mke2fs
             >     ./bin/snapshot_util_cvd
             >     ./bin/cvd_internal_display
             >     ./bin/acloud_translator
             >     ./bin/defrag.f2fs
             >     ./bin/tombstone_receiver
             >     ./bin/root-canal
             >     ./bin/netsimd
             >     ./bin/console_forwarder
             >     ./bin/powerwash_cvd
             >     ./bin/process_restarter
             >     ./bin/fsck.f2fs
             >     ./bin/cvd_host_bugreport
             >     ./bin/extract-ikconfig
             >     ./bin/cvd_internal_status
             >     ./bin/webRTC
             >     ./bin/acloud
             >     ./bin/tcp_connector
             >     ./bin/process_sandboxer
             >     ./bin/webrtc_operator
             >     ./bin/cvd_update_location
             >     ./bin/e2fsdroid
             >     ./bin/avbtool
             >     ./bin/fastboot
             >     ./bin/build_super_image
             >     ./bin/powerbtn_cvd
             >     ./bin/allocd_client
             >     ./bin/dump.f2fs
             >     ./bin/netsim
             >     ./bin/casimir
             >     ./bin/pica
             >     ./bin/cvd_update_security_algorithm
             >     ./bin/record_cvd
             >     ./bin/vhal_proxy_server
             >     ./bin/cvd_status
             >     ./bin/cvd_import_locations
             >     ./bin/launch_cvd
             >     ./bin/cvd_internal_start
             >     ./bin/restart_cvd
             >     ./bin/cvd_internal_host_bugreport
             >     ./bin/mkuserimg_mke2fs
             >     ./bin/fec
             >     ./bin/cvd_internal_env
             >     ./bin/vhost_device_vsock
             >     ./bin/cvd_internal_stop
             >     ./bin/cvd_send_sms
             >     ./bin/assemble_cvd
             >     ./bin/cvd_send_id_disclosure
             >     ./bin/mcopy
             >     ./bin/operator_proxy
             >     ./bin/mkbootfs
             >     ./bin/run_cvd
             >     ./bin/openwrt_control_server
             >     ./bin/mkbootimg
             >     ./bin/kernel_log_monitor
             >     ./bin/mmd
             >     ./bin/toybox
             >     ./bin/crosvm
             >     ./bin/aarch64-linux-musl/
             >     ./bin/aarch64-linux-musl/crosvm
             >     ./bin/sefcontext_compile
             >     ./bin/wmediumd
             >     ./bin/echo_server
             >     ./bin/log_tee
             >     ./bin/lpmake
             >     ./bin/logcat_receiver
             >     ./bin/lpunpack
             >     ./bin/control_env_proxy_server
             >     ./bin/mtools
             >     ./bin/adb_connector
             >     ./bin/aarch64-linux-gnu/
             >     ./bin/aarch64-linux-gnu/libepoxy.so.0
             >     ./bin/aarch64-linux-gnu/libffi.so.7
             >     ./bin/aarch64-linux-gnu/qemu/
             >     ./bin/aarch64-linux-gnu/qemu/qemu-system-x86_64
             >     ./bin/aarch64-linux-gnu/qemu/libepoxy.so.0
             >     ./bin/aarch64-linux-gnu/qemu/libvirglrenderer.so.1
             >     ./bin/aarch64-linux-gnu/qemu/libgbm.so.1
             >     ./bin/aarch64-linux-gnu/qemu/libgfxstream_backend.so.0
             >     ./bin/aarch64-linux-gnu/qemu/librutabaga_gfx_ffi.so.0
             >     ./bin/aarch64-linux-gnu/qemu/qemu-system-riscv64
             >     ./bin/aarch64-linux-gnu/qemu/qemu-system-aarch64
             >     ./bin/aarch64-linux-gnu/qemu/libc++.so.1
             >     ./bin/aarch64-linux-gnu/qemu/libunwind.so.1
             >     ./bin/aarch64-linux-gnu/qemu/libz.so.1
             >     ./bin/aarch64-linux-gnu/qemu/libc++abi.so.1
             >     ./bin/aarch64-linux-gnu/libvirglrenderer.so.1
             >     ./bin/aarch64-linux-gnu/libdrm.so.2
             >     ./bin/aarch64-linux-gnu/libgbm.so.1
             >     ./bin/aarch64-linux-gnu/libgfxstream_backend.so
             >     ./bin/aarch64-linux-gnu/libwayland-client.so.0
             >     ./bin/aarch64-linux-gnu/libminijail.so
             >     ./bin/aarch64-linux-gnu/gfxstream_graphics_detector
             >     ./bin/aarch64-linux-gnu/crosvm
             >     ./bin/lpadd
             >     ./bin/make_f2fs
             >     ./bin/sandboxer_proxy
             >     ./bin/stop_cvd
             >     ./bin/casimir_control_server
             >
             >
>  ziomario@Z390-AORUS-PRO-DEST:/mnt/zroot-133/_OS/Android/aosp_14/android-image$ HOME=$(pwd) ./bin/launch_cvd -vm_manager qemu_cli -report_anonymous_usage_stats=n --start_webrtc=false
             >
             >
             >     09-02 23:27:10.473 2729990 2729990 I launch_cvd:
            main.cc:235 Using
             >     system_image_dir of:
>  ===================================================================
             >     NOTICE:
             >
             >     By using this Android Virtual Device, you agree to
             >     Google Terms of Service
            (https://policies.google.com/terms
            <https://policies.google.com/terms>
             >     <https://policies.google.com/terms
            <https://policies.google.com/terms>>).
             >     The Google Privacy Policy
            (https://policies.google.com/privacy
            <https://policies.google.com/privacy>
             >     <https://policies.google.com/privacy
            <https://policies.google.com/privacy>>)
             >     describes how Google handles information generated as
            you use
             >     Google Services.
>  ===================================================================
             >
             >     Reading --config option from:
>  /mnt/zroot-133/_OS/Android/aosp_14/android-image/android-info.txt
             >     Launching CVD using --config='phone'.
             >     aarch64-binfmt-P: Could not open
            '/lib/ld-linux-aarch64.so.1': No
             >     such file or directory
             >     Failed to run graphics detector, bad return value:
            255. Assuming no
             >     availability.
             >     GPU auto mode: did not detect prerequisites for
            accelerated
             >     rendering support, enabling --gpu_mode=guest_swiftshader.
             >     GPU vhost user auto mode: not needed for
             >     --gpu_mode=guest_swiftshader. Not enabling vhost user
            gpu.
             >     Requested resuming a previous session (the default
            behavior) but the
             >     base images have changed under the overlay, making
            the overlay inc
             >     ompatible. Wiping the overlay files.
             >     Path for instance UDS: /tmp/cf_avd_1000
             >     Failed to run
>  `/mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/crosvm
             >     create_qcow2 --backing-file
            /mnt/zroot-133/_OS/Android/aosp_
>  14/android-image/cuttlefish/instances/cvd-1/persistent_composite.img >  /mnt/zroot-133/_OS/Android/aosp_14/android-image/cuttlefish/instan
             >     ces/cvd-1/persistent_composite_overlay.img`
             >     stdout:
             >     ###
             >
             >     ###
             >     stderr:
             >     ###
>  /mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/crosvm: riga 3: >  /mnt/zroot-133/_OS/Android/aosp_14/android-image/bin/x86_64-linux-
             >     musl/crosvm: File o directory non esistente
             >
             >     ###
             >     Return code: "127"
             >     qemu: uncaught target signal 6 (Aborted) - core dumped
             >     09-02 23:27:31.223 2729990 2729990 E launch_cvd:
            subprocess.cpp:207
             >     Subprocess 2730018 was interrupted by a signal
            'Aborted' (6)
             >     09-02 23:27:31.224 2729990 2729990 E launch_cvd:
            main.cc:323
             >     assemble_cvd returned -1
             >
             >     On Mon, Sep 2, 2024 at 11:20 PM Mario Marietto
             >     <marietto2008@gmail.com
            <mailto:marietto2008@gmail.com>
            <mailto:marietto2008@gmail.com
            <mailto:marietto2008@gmail.com>>> wrote:
             >
             >         Hello.
             >
             >         I've downloaded this file :
             >         aosp_cf_arm64_only_phone-img-12309296.zip and
            this file :
             >         cvd-host_package.tar.gz
             >
             >         from here :
             >
            
https://ci.android.com/builds/submitted/12309296/aosp_cf_arm64_only_phone-trunk_staging-userdebug/latest
 
<https://ci.android.com/builds/submitted/12309296/aosp_cf_arm64_only_phone-trunk_staging-userdebug/latest>
 
<https://ci.android.com/builds/submitted/12309296/aosp_cf_arm64_only_phone-trunk_staging-userdebug/latest
 
<https://ci.android.com/builds/submitted/12309296/aosp_cf_arm64_only_phone-trunk_staging-userdebug/latest>>
             >
             >         But let's say that I don't want to use the *.img
            files that are
             >         stored inside
            "aosp_cf_arm64_only_phone-img-12309296.zip",but
             >         the same files that have been produced when I
            have compiled this
             >         version of Android :
             >
             >
            https://github.com/raspberry-vanilla/android_local_manifest?tab=readme-ov-file 
<https://github.com/raspberry-vanilla/android_local_manifest?tab=readme-ov-file> 
<https://github.com/raspberry-vanilla/android_local_manifest?tab=readme-ov-file 
<https://github.com/raspberry-vanilla/android_local_manifest?tab=readme-ov-file>>
             >
             >         Can I do it ? Is it supposed to work the same ?
             >
             >         Thanks.
             >
             >         On Mon, Sep 2, 2024 at 10:23 PM Pierrick Bouvier
             >         <pierrick.bouvier@linaro.org
            <mailto:pierrick.bouvier@linaro.org>
             >         <mailto:pierrick.bouvier@linaro.org
            <mailto:pierrick.bouvier@linaro.org>>> wrote:
             >
             >
             >
             >             On 9/2/24 13:20, Pierrick Bouvier wrote:
             >              > On 9/2/24 12:53, Mario Marietto wrote:
             >              >> Hello Pierrick.
             >              >>
             >              >> With Cuttlefish can I emulate Android 14
            for arm64 ? I
             >             ask because in
             >              >> your script I read :
             >              >>
             >              >>
            "|/home/user/.work/qemu/build/qemu-system-x86_64", so,I
             >             suspect that you
             >              >> have emulated Android x64 bit,but I need
            arm64. |
             >              >>
             >              >
             >              > Yes, it works for both architecture. The
            only thing I
             >             didn't try is an
             >              > arm64 vm accelerated with kvm (I don't
            have this a
             >             linux-aarch64
             >              > machine), but it should work.
             >
             >             And of course, if you want to write a custom
            wrapper for
             >             qemu, name it
             >             qemu-system-aarch64, and call the same binary
            instead of
             >             x86_64 variants.
             >
             >              >
             >              >> I also read "for aarch64 images: select
             >              >>
            |aosp_cf_arm64_only_phone-trunk_staging-userdebug" : I'm
             >             not able to
             >              >> download this kind of images. I don't
            understand how the
             >             Branch Grid
             >              >> works. Can you explain to me a little bit
            more ?
             >              >> |
             >              >
             >              > You have a link just next to it ("Branch
            grid") on the
             >             wiki page.
             >              > Once on ci android page, click on filter
            button (three
             >             bars, inverted
             >              > pyramid), and select
             >             aosp_cf_arm64_only_phone-trunk_staging-userdebug.
             >              > Then go to artifacts, and download image and
             >             cvd_host_x86_64 package, as
             >              > wiki mentions.
             >              >
             >              > Don't hesitate to ask more questions on
            this. I imagine
             >             this topic might
             >              > interest some people who try to do the
            same thing.
             >              >
             >              > Pierrick
             >              >
             >              >> |
             >              >> |
             >              >>
             >              >>
             >              >> On Mon, Sep 2, 2024 at 8:47 PM Pierrick
            Bouvier
             >              >> <pierrick.bouvier@linaro.org
            <mailto:pierrick.bouvier@linaro.org>
             >             <mailto:pierrick.bouvier@linaro.org
            <mailto:pierrick.bouvier@linaro.org>>
             >             <mailto:pierrick.bouvier@linaro.org
            <mailto:pierrick.bouvier@linaro.org>
             >             <mailto:pierrick.bouvier@linaro.org
            <mailto:pierrick.bouvier@linaro.org>>>> wrote:
             >              >>
             >              >>      Hello Mario,
             >              >>
             >              >>      very recently, I had to investigate
            booting time of
             >             Android when using
             >              >>      QEMU. You can probably manage to
            boot this with
             >             only QEMU alone, but in
             >              >>      my experience, using Cuttlefish
            tooling is an
             >             easier approach.
             >              >>
             >              >>      If you really want to use only QEMU,
            you can use
             >             Cuttlefish to get
             >              >>      exact
             >              >>      command line used (which disk goes
            where), and
             >             iterate from that.
             >              >>
             >              >>      Instructions:
             >              >>
             >
            https://linaro.atlassian.net/wiki/spaces/QEMU/pages/29464068097/Run+Android+using+QEMU 
<https://linaro.atlassian.net/wiki/spaces/QEMU/pages/29464068097/Run+Android+using+QEMU> 
<https://linaro.atlassian.net/wiki/spaces/QEMU/pages/29464068097/Run+Android+using+QEMU 
<https://linaro.atlassian.net/wiki/spaces/QEMU/pages/29464068097/Run+Android+using+QEMU>> 
<https://linaro.atlassian.net/wiki/spaces/QEMU/pages/29464068097/Run+Android+using+QEMU 
<https://linaro.atlassian.net/wiki/spaces/QEMU/pages/29464068097/Run+Android+using+QEMU> 
<https://linaro.atlassian.net/wiki/spaces/QEMU/pages/29464068097/Run+Android+using+QEMU 
<https://linaro.atlassian.net/wiki/spaces/QEMU/pages/29464068097/Run+Android+using+QEMU>>>
             >              >>
             >              >>      As you'll see, I could not get a
            direct graphic
             >             output, but using
             >              >>      scrcpy, it worked well for me. Hope
            it can fit your
             >             use case.
             >              >>
             >              >>      Regards,
             >              >>      Pierrick
             >              >>
             >              >>      On 9/2/24 06:49, Mario Marietto wrote:
             >              >>       > Hello.
             >              >>       >
             >              >>       > I would like to emulate Android
            14 on my Ubuntu
             >             24.04 OS X64 bit
             >              >>      using
             >              >>       > qemu-system-aarch64. I tried
            using the following
             >             parameters :
             >              >>       >
             >              >>       > qemu-system-aarch64 \
             >              >>       >          -smp 4 \
             >              >>       >          -m 2048 \
             >              >>       >          -cpu cortex-a72 \
             >              >>       >          -M virt \
             >              >>       >          -device
            virtio-gpu-pci,xres=1024,yres=768 \
             >              >>       >          -display sdl,gl=on \
             >              >>       >          -device usb-ehci \
             >              >>       >          -device usb-kbd \
             >              >>       >          -device virtio-tablet-pci \
             >              >>       >          -usb \
             >              >>       >          -serial stdio \
             >              >>       >          -kernel
             >             /mnt/zroot-133/_OS/Android/rpi4/Image \
             >              >>       >          -initrd
             >             /mnt/zroot-133/_OS/Android/rpi4/ramdisk.img \
             >              >>       >          -drive
             >              >>       >
             >              >>
>  index=0,if=none,id=system,file=/mnt/zroot-133/_OS/Android/rpi4/boot.img \
             >              >>       >          -device
            virtio-blk-pci,drive=boot \
             >              >>       >          -drive
             >              >>       >
             >              >>
>  index=1,if=none,id=system,file=/mnt/zroot-133/_OS/Android/rpi4/system.img \
             >              >>       >          -device
            virtio-blk-pci,drive=system \
             >              >>       >          -drive
             >              >>       >
             >              >>
>  index=2,if=none,id=vendor,file=/mnt/zroot-133/_OS/Android/rpi4/vendor.img \
             >              >>       >          -device
            virtio-blk-pci,drive=vendor \
             >              >>       > -append "console=ttyAMA0,38400
            drm.debug=0x0
             >             rootwait rootdelay=5
             >              >>       > root=/dev/mmcblk0p2
            androidboot.hardware=rpi4
             >              >>       > androidboot.selinux=permissive
            security=selinux
             >             selinux=1
             >              >>       > androidboot.qemu.hw.mainkeys=0
             >             androidboot.lcd.density=160"
             >              >>       >
             >              >>       > The error I get in short is :
             >              >>       >
             >              >>       > [ 1.993668] init: bool
             >              >>       >
             >              >>
>  android::init::BlockDevInitializer::InitDevices(std::set<std::string>):
             >              >>       > partition(s) not found in /sys,
            waiting for
             >             their uevent(s):
             >              >>      mmcblk0p2,
             >              >>       > mmcblk0p3
             >              >>       >
             >              >>       >
             >              >>       > One user suggested to :
             >              >>       >
             >              >>       >
             >              >>       >
             >              >>       >
             >              >>       >
             >              >>       > Hi!!! The "/sys" is a "dynamic
            fs" created at
             >             ram from the
             >              >>      kernel, to
             >              >>       > export a lot of things...so most
            of the files
             >             only exist at runtime.
             >              >>       > Normally, the partitions from the
            block device
             >             have a symlink at
             >              >>       > /sys/<something>/<...> that
            points to /dev/
             >             block node. It seems
             >              >>      that
             >              >>       > there are no such files under
            /sys according to
             >             what init is looking
             >              >>       > for. You can double check this at
            init source
             >             code to check the
             >              >>      exact
             >              >>       > path but I'm guessing that you'll
            have to change
             >             the qemu arguments
             >              >>       > regarding the block device.
             >              >>       >
             >              >>       > About userdata.img I think it's
            normal since in
             >             the old days, the
             >              >>      image
             >              >>       > was a "empty sparse image", that
            means, at the
             >             first flashing
             >              >>      process,
             >              >>       > there isn't userdata information,
            we're just
             >             "flashing the
             >              >>      partition"
             >              >>       > with empty data.
             >              >>       > Tks!!!
             >              >>       >
             >              >>       >
             >              >>       >
             >              >>       > So,in short I should change the
            qemu arguments
             >             regarding the block
             >              >>       > device. I tried in this way :
             >              >>       >
             >              >>       >
             >              >>       > qemu-system-aarch64 \
             >              >>       >          -smp 4 \
             >              >>       >          -m 2048 \
             >              >>       >          -cpu cortex-a72 \
             >              >>       >          -M virt \
             >              >>       >          -device
            virtio-gpu-pci,xres=1024,yres=768 \
             >              >>       >          -display sdl,gl=on \
             >              >>       >          -device usb-ehci \
             >              >>       >          -device usb-kbd \
             >              >>       >          -device virtio-tablet-pci \
             >              >>       >          -usb \
             >              >>       >          -serial stdio \
             >              >>       >          -kernel
             >             /mnt/zroot-133/_OS/Android/rpi4/Image \
             >              >>       >          -initrd
             >             /mnt/zroot-133/_OS/Android/rpi4/ramdisk.img \
             >              >>       >          -hda
             >             /mnt/zroot-133/_OS/Android/rpi4/boot.img \
             >              >>       >          -hdb
             >             /mnt/zroot-133/_OS/Android/rpi4/system.img \
             >              >>       >          -hdc
             >             /mnt/zroot-133/_OS/Android/rpi4/vendor.img \
             >              >>       >        -append "console=ttyAMA0,38400
             >             drm.debug=0x0 rootwait
             >              >>      rootdelay=5
             >              >>       > root=/dev/mmcblk0p2
            androidboot.hardware=rpi4
             >              >>       > androidboot.selinux=permissive
            security=selinux
             >             selinux=1
             >              >>       > androidboot.qemu.hw.mainkeys=0
             >             androidboot.lcd.density=160"
             >              >>       >
             >              >>       >
             >              >>       > but the error is still there. Do
            you know some
             >             different alternative
             >              >>       > block devices to try ? thanks.
             >              >>       >
             >              >>       >
             >              >>       > --
             >              >>       > Mario.
             >              >>
             >              >>
             >              >>
             >              >> --
             >              >> Mario.
             >
             >
             >
             >         --
             >         Mario.
             >
             >
             >
             >     --
             >     Mario.
             >
             >
             >
             > --
             > Mario.



-- Mario.



-- Mario.



--
Mario.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]