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).
The Google Privacy Policy (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 - netsim artifacts path: "/tmp/android-ziomario/netsimd"
netsimd I 09-03 08:06:13.221 rust_main.rs:101 - NetsimdArgs {
fd_startup_str: Some(
"{\"devices\":[{\"name\":\"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 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' not found
transport message failed, response body: device '0.0.0.0:6520' not found
transport message failed, response body: device '0.0.0.0:6520' not found
transport message failed, response body: device '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' not found
transport message failed, response body: device '0.0.0.0:6520' not found
transport message failed, response body: device '0.0.0.0:6520' not found transport message failed, response body: device '0.0.0.0:6520' not found
transport message failed, response body: device '0.0.0.0:6520' not found
transport message failed, response body: device '0.0.0.0:6520' not found
transport message failed, response body: device '0.0.0.0:6520' not found
transport message failed, response body: device '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' 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 device
but scrcpy didn't work :
ziomario@Z390-AORUS-PRO-DEST:~/Scrivania$ scrcpy
/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 device
Mario.