Hello.
if someone is interested to see what happens if you try to run Android with the AVD (after having installed Android Studio succesfully on the Linuxulator),give a look below :
my sensation is that with a little of tampering it could work...anyway,it works inside a bhyve Linux vm (without the hypervisor acceleration) :
if someone is interested to see what happens if you try to run Android with the AVD (after having installed Android Studio succesfully on the Linuxulator),give a look below :
Code:
root@marietto:/home/marietto/Android/Sdk/emulator# ./emulator -avd Small -memory 768 -no-accel -gpu on
INFO | Storing crashdata in: /tmp/android-marietto/emu-crash-34.2.16.db, detection is enabled for process: 46613
INFO | Android emulator version 34.2.16.0 (build_id 12038310) (CL:N/A)
ERROR | Unknown AVD name [Small], use -list-avds to see valid list.
ERROR | HOME is defined but there is no file Small.ini in $HOME/.android/avd
ERROR | (Note: Directories are searched in the order $ANDROID_AVD_HOME, $ANDROID_SDK_HOME/avd and $HOME/.android/avd)
root@marietto:/home/marietto/Android/Sdk/emulator# ./emulator -avd Small -memory 768 -no-accel -gpu on
INFO | Storing crashdata in: /tmp/android-marietto/emu-crash-34.2.16.db, detection is enabled for process: 46698
INFO | Android emulator version 34.2.16.0 (build_id 12038310) (CL:N/A)
INFO | Found systemPath /home/marietto/Android/Sdk/system-images/android-24/google_apis_playstore/x86/
INFO | Storing crashdata in: /tmp/android-marietto/emu-crash-34.2.16.db, detection is enabled for process: 46698
INFO | Duplicate loglines will be removed, if you wish to see each individual line launch with the -log-nofilter flag.
INFO | Increasing RAM size to 1024MB
WARNING | File System is not ext4, disable QuickbootFileBacked feature
ERROR | Not enough space to create userdata partition. Available: 2741.984375 MB at /root/.android/avd/../avd/Small.avd, need 7372.800000 MB.
root@marietto:/home/marietto/Android/Sdk/emulator# ./emulator -avd Small -memory 768 -no-accel -gpu on
INFO | Storing crashdata in: /tmp/android-marietto/emu-crash-34.2.16.db, detection is enabled for process: 46800
INFO | Android emulator version 34.2.16.0 (build_id 12038310) (CL:N/A)
INFO | Found systemPath /home/marietto/Android/Sdk/system-images/android-24/google_apis_playstore/x86/
INFO | Storing crashdata in: /tmp/android-marietto/emu-crash-34.2.16.db, detection is enabled for process: 46800
INFO | Duplicate loglines will be removed, if you wish to see each individual line launch with the -log-nofilter flag.
INFO | Increasing RAM size to 1024MB
WARNING | File System is not ext4, disable QuickbootFileBacked feature
WARNING | x86 emulation may not work without hardware acceleration!
WARNING | FeatureControl is requesting a non existing feature.
INFO | Warning: QMetaObject::connectSlotsByName: No matching signal for on_new_posture_requested(int) ((null):0, (null))
INFO | Warning: QMetaObject::connectSlotsByName: No matching signal for on_dismiss_posture_selection_dialog() ((null):0, (null))
INFO | Warning: QMetaObject::connectSlotsByName: No matching signal for on_new_resizable_requested(PresetEmulatorSizeType) ((null):0, (null))
INFO | Warning: QMetaObject::connectSlotsByName: No matching signal for on_dismiss_resizable_dialog() ((null):0, (null))
INFO | Warning: QMetaObject::connectSlotsByName: No matching signal for on_sleep_timer_done() ((null):0, (null))
INFO | Warning: QMetaObject::connectSlotsByName: No matching signal for on_unfold_timer_done() ((null):0, (null))
WARNING | FeatureControl is requesting a non existing feature.
library_mode host gpu mode host
WARNING | FeatureControl is requesting a non existing feature.
INFO | Initializing hardware OpenGLES emulation support
android_startOpenglesRenderer: gpu infoE0812 18:26:40.472789 46800 FrameBuffer.cpp:236] Warning: unable to raise nofile soft limit - already at hard limit.
I0812 18:26:40.473372 46800 HealthMonitor.cpp:279] HealthMonitor disabled.
I0812 18:26:40.750718 46800 FrameBuffer.cpp:506] Graphics Adapter Vendor Google (NVIDIA Corporation)
I0812 18:26:40.750732 46800 FrameBuffer.cpp:507] Graphics Adapter Android Emulator OpenGL ES Translator (NVIDIA GeForce GTX 1060 3GB/PCIe/SSE2)
I0812 18:26:40.750734 46800 FrameBuffer.cpp:508] Graphics API Version OpenGL ES 3.0 (4.5.0 NVIDIA 550.54.14)
I0812 18:26:40.750736 46800 FrameBuffer.cpp:509] Graphics API Extensions GL_OES_EGL_sync GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_depth24 GL_OES_depth32 GL_OES_element_index_uint GL_OES_texture_float GL_OES_texture_float_linear GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_packed_depth_stencil GL_OES_vertex_half_float GL_OES_texture_npot GL_OES_rgb8_rgba8 GL_OVR_multiview2 GL_EXT_multiview_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
I0812 18:26:40.750738 46800 FrameBuffer.cpp:510] Graphics Device Extensions N/A
INFO | OpenGL Vendor=[Google (NVIDIA Corporation)]
INFO | OpenGL Renderer=[Android Emulator OpenGL ES Translator (NVIDIA GeForce GTX 1060 3GB/PCIe/SSE2)]
INFO | OpenGL Version=[OpenGL ES 3.0 (4.5.0 NVIDIA 550.54.14)]
WARNING: cannnot unmap ptr 0x8368c8000 as it is in the protected range from 0x8368c8000 to 0x876ac8000
WARNING: cannnot unmap ptr 0x876a01000 as it is in the protected range from 0x8368c8000 to 0x876ac8000
pulseaudio: pa_context_connect() failed
pulseaudio: Reason: Connection refused
pulseaudio: Failed to initialize PA contextCould not init `pa' audio driver
INFO | Monitoring duration of emulator setup.
WARNING | The emulator now requires a signed jwt token for gRPC access! Use the -grpc flag if you really want an open unprotected grpc port
INFO | Using security allow list from: /home/marietto/Android/Sdk/emulator/lib/emulator_access.json
WARNING | *** Basic token auth should only be used by android-studio ***
INFO | The active JSON Web Key Sets can be found here: /home/marietto/Files/tor-ip-changer/source-code/XDG/avd/running/46800/jwks/19d72475-2cdf-4aad-a696-690f659d0cdc/active.jwk
INFO | Scanning /home/marietto/Files/tor-ip-changer/source-code/XDG/avd/running/46800/jwks/19d72475-2cdf-4aad-a696-690f659d0cdc for jwk keys.
FATAL | Unable to start observing /home/marietto/Files/tor-ip-changer/source-code/XDG/avd/running/46800/jwks/19d72475-2cdf-4aad-a696-690f659d0cdc, jwks will not be updated. 0 were keysets loaded.
[46804:46804:20240812,182641.231060:ERROR elf_dynamic_array_reader.h:64] tag not found
[46804:46804:20240812,182641.231608:ERROR elf_dynamic_array_reader.h:64] tag not found
[46804:46804:20240812,182641.231644:ERROR elf_dynamic_array_reader.h:64] tag not found
[46804:46804:20240812,182641.232058:ERROR elf_dynamic_array_reader.h:64] tag not found
[46804:46804:20240812,182641.232094:ERROR elf_dynamic_array_reader.h:64] tag not found
[46804:46804:20240812,182641.232128:ERROR elf_dynamic_array_reader.h:64] tag not found
[46804:46804:20240812,182641.232164:ERROR elf_dynamic_array_reader.h:64] tag not found
[46804:46804:20240812,182641.232199:ERROR elf_dynamic_array_reader.h:64] tag not found
[46804:46804:20240812,182641.232232:ERROR elf_dynamic_array_reader.h:64] tag not found
[46804:46804:20240812,182641.232266:ERROR elf_dynamic_array_reader.h:64] tag not found
[46804:46804:20240812,182641.232300:ERROR elf_dynamic_array_reader.h:64] tag not found
[46804:46804:20240812,182641.232447:ERROR process_memory_range.cc:75] read out of range
[46804:46804:20240812,182641.232500:ERROR process_memory_range.cc:75] read out of range
[46804:46804:20240812,182641.232504:ERROR process_memory_range.cc:75] read out of range
[46804:46804:20240812,182641.232509:ERROR process_memory_range.cc:75] read out of range
[46804:46804:20240812,182641.232513:ERROR process_memory_range.cc:75] read out of range
[46804:46804:20240812,182641.232518:ERROR process_memory_range.cc:75] read out of range
[46804:46804:20240812,182641.232521:ERROR process_memory_range.cc:75] read out of range
[46804:46804:20240812,182641.232538:ERROR ptracer.cc:43] ptrace: Invalid argument (22)
[46804:46804:20240812,182641.232547:WARNING process_reader_linux.cc:398] Couldn't initialize main thread.
[46804:46804:20240812,182641.232568:ERROR proc_task_reader.cc:46] format error
[46804:46804:20240812,182641.232577:WARNING exception_snapshot_linux.cc:349] thread ID 135972 not found in process
[46804:46804:20240812,182641.232601:ERROR process_snapshot_linux.cc:129] thread not found 135972
[46804:46804:20240812,182641.232720:ERROR proc_task_reader.cc:46] format error
WARNING | Failed to setup emulator in a timely fashion!
Aborted
my sensation is that with a little of tampering it could work...anyway,it works inside a bhyve Linux vm (without the hypervisor acceleration) :
Last edited: