Anbox + Plasma Mobile on a Pinephone?

Does Anbox run properly with Plasma Mobile on the Pinephone? The container manager is running but when I click the android icon, it displays a splash screen for a couple of seconds and then it seems to die. Goes to a grey screen and then back to the desktop. Since it is not packaged with the Plasma image, is there is an known issue which I am not aware of? Maybe a wayland issue?

Edit: I installed Anbox on my RPi4 and it works with Plasma on Wayland.

For some reason, on the Pinephone + Plasma Mobile, the export is required, found it here.

$ export EGL_PLATFORM=x11
$ sudo systemctl start anbox-container-manager
$ anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity

Edit: Hmm, it would seem how it is invoked is as important as the export. Adding EGL_PLATFORM to the systemd service file does not seem to work.

Edit 2: I continue to work with this, as I have inconsistent results.

Edit 3: I can not seem to get anbox to run again. It ran the first time or two that I tried as above, but I have not been successful getting it to run again. grrr

$ anbox system-info

version: danctnix-0_git20201130-r4
cpu:
  arch:  
  brand: 
  features: 
os:
  name: Manjaro-ARM
  version: 
  snap-based: false
kernel:
  version: Linux version 5.12.6-2-MANJARO-ARM (builduser@on2-runner) (gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35) #1 SMP Sat May 22 20:05:54 UTC 2021
  binder: false
  ashmem: true
graphics:
  egl:
    vendor: Mesa Project
    version: 1.4
    extensions:
      - EGL_ANDROID_blob_cache
      - EGL_ANDROID_native_fence_sync
      - EGL_EXT_buffer_age
      - EGL_EXT_image_dma_buf_import
      - EGL_EXT_image_dma_buf_import_modifiers
      - EGL_EXT_swap_buffers_with_damage
      - EGL_KHR_cl_event2
      - EGL_KHR_config_attribs
      - EGL_KHR_create_context
      - EGL_KHR_create_context_no_error
      - EGL_KHR_fence_sync
      - EGL_KHR_get_all_proc_addresses
      - EGL_KHR_gl_colorspace
      - EGL_KHR_gl_renderbuffer_image
      - EGL_KHR_gl_texture_2D_image
      - EGL_KHR_gl_texture_3D_image
      - EGL_KHR_gl_texture_cubemap_image
      - EGL_KHR_image_base
      - EGL_KHR_no_config_context
      - EGL_KHR_partial_update
      - EGL_KHR_reusable_sync
      - EGL_KHR_surfaceless_context
      - EGL_KHR_swap_buffers_with_damage
      - EGL_EXT_pixel_format_float
      - EGL_KHR_wait_sync
      - EGL_MESA_configless_context
      - EGL_MESA_drm_image
      - EGL_MESA_image_dma_buf_export
      - EGL_MESA_query_driver
      - EGL_WL_bind_wayland_display
      - EGL_WL_create_wayland_buffer_from_image
  gles2:
    vendor: n/a
    vendor: n/a
    extensions: []

Two things of note here, binder : false and the lack of gles2 support.
I am comparing the output to this.

It appears the correct kernel config is set for binder, no idea yet why is shows as false.
As for gles2, pretty sure this should be found too.

This is the output on my RPi4, no binder here either, but the gles2 support is found.

$ anbox system-info

version: danctnix-0_git20201130-r4
cpu:
  arch:  
  brand: 
  features: 
os:
  name: Manjaro-ARM
  version: 
  snap-based: false
kernel:
  version: Linux version 5.12.6-1-MANJARO-ARM (ray@vim3) (aarch64-unknown-linux-gnu-gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35) #1 SMP PREEMPT Tue May 25 09:21:55 CDT 2021
  binder: false
  ashmem: true
graphics:
  egl:
    vendor: Mesa Project
    version: 1.4
    extensions:
      - EGL_ANDROID_blob_cache
      - EGL_CHROMIUM_sync_control
      - EGL_EXT_buffer_age
      - EGL_EXT_image_dma_buf_import
      - EGL_EXT_image_dma_buf_import_modifiers
      - EGL_EXT_swap_buffers_with_damage
      - EGL_KHR_cl_event2
      - EGL_KHR_config_attribs
      - EGL_KHR_create_context
      - EGL_KHR_create_context_no_error
      - EGL_KHR_fence_sync
      - EGL_KHR_get_all_proc_addresses
      - EGL_KHR_gl_colorspace
      - EGL_KHR_gl_renderbuffer_image
      - EGL_KHR_gl_texture_2D_image
      - EGL_KHR_gl_texture_3D_image
      - EGL_KHR_gl_texture_cubemap_image
      - EGL_KHR_image
      - EGL_KHR_image_base
      - EGL_KHR_image_pixmap
      - EGL_KHR_no_config_context
      - EGL_KHR_reusable_sync
      - EGL_KHR_surfaceless_context
      - EGL_KHR_swap_buffers_with_damage
      - EGL_EXT_pixel_format_float
      - EGL_KHR_wait_sync
      - EGL_MESA_configless_context
      - EGL_MESA_drm_image
      - EGL_MESA_image_dma_buf_export
      - EGL_MESA_query_driver
      - EGL_NOK_texture_from_pixmap
  gles2:
    vendor: Broadcom
    vendor: OpenGL ES 3.1 Mesa 21.1.1
    extensions:
      - GL_EXT_blend_minmax
      - GL_EXT_multi_draw_arrays
      - GL_EXT_texture_compression_s3tc
      - GL_EXT_texture_compression_dxt1
      - GL_EXT_texture_format_BGRA8888
      - GL_OES_compressed_ETC1_RGB8_texture
      - GL_OES_depth24
      - GL_OES_element_index_uint
      - GL_OES_fbo_render_mipmap
      - GL_OES_mapbuffer
      - GL_OES_rgb8_rgba8
      - GL_OES_standard_derivatives
      - GL_OES_stencil8
      - GL_OES_texture_3D
      - GL_OES_texture_float
      - GL_OES_texture_half_float
      - GL_OES_texture_half_float_linear
      - GL_OES_texture_npot
      - GL_OES_vertex_half_float
      - GL_EXT_draw_instanced
      - GL_EXT_texture_sRGB_decode
      - GL_OES_EGL_image
      - GL_OES_depth_texture
      - GL_OES_packed_depth_stencil
      - GL_EXT_texture_type_2_10_10_10_REV
      - GL_OES_get_program_binary
      - GL_APPLE_texture_max_level
      - GL_EXT_discard_framebuffer
      - GL_EXT_read_format_bgra
      - GL_EXT_frag_depth
      - GL_NV_fbo_color_attachments
      - GL_OES_EGL_image_external
      - GL_OES_EGL_sync
      - GL_OES_vertex_array_object
      - GL_ANGLE_pack_reverse_row_order
      - GL_ANGLE_texture_compression_dxt3
      - GL_ANGLE_texture_compression_dxt5
      - GL_EXT_occlusion_query_boolean
      - GL_EXT_texture_rg
      - GL_EXT_unpack_subimage
      - GL_NV_draw_buffers
      - GL_NV_read_buffer
      - GL_NV_read_depth
      - GL_NV_read_depth_stencil
      - GL_NV_read_stencil
      - GL_EXT_draw_buffers
      - GL_EXT_map_buffer_range
      - GL_KHR_debug
      - GL_KHR_texture_compression_astc_ldr
      - GL_NV_pixel_buffer_object
      - GL_OES_depth_texture_cube_map
      - GL_OES_required_internalformat
      - GL_OES_surfaceless_context
      - GL_EXT_color_buffer_float
      - GL_EXT_sRGB_write_control
      - GL_EXT_separate_shader_objects
      - GL_EXT_shader_implicit_conversions
      - GL_EXT_shader_integer_mix
      - GL_EXT_base_instance
      - GL_EXT_compressed_ETC1_RGB8_sub_texture
      - GL_EXT_draw_elements_base_vertex
      - GL_EXT_primitive_bounding_box
      - GL_EXT_shader_io_blocks
      - GL_EXT_texture_border_clamp
      - GL_KHR_context_flush_control
      - GL_NV_image_formats
      - GL_OES_draw_elements_base_vertex
      - GL_OES_primitive_bounding_box
      - GL_OES_shader_io_blocks
      - GL_OES_texture_border_clamp
      - GL_OES_texture_stencil8
      - GL_OES_texture_storage_multisample_2d_array
      - GL_EXT_buffer_storage
      - GL_EXT_float_blend
      - GL_EXT_geometry_point_size
      - GL_EXT_geometry_shader
      - GL_KHR_no_error
      - GL_KHR_texture_compression_astc_sliced_3d
      - GL_OES_EGL_image_external_essl3
      - GL_OES_geometry_point_size
      - GL_OES_geometry_shader
      - GL_OES_shader_image_atomic
      - GL_EXT_texture_compression_s3tc_srgb
      - GL_MESA_shader_integer_functions
      - GL_KHR_parallel_shader_compile
      - GL_EXT_EGL_image_storage
      - GL_MESA_framebuffer_flip_y
      - GL_EXT_texture_query_lod

Any ideas as to why gles2 support is not found on the Pinephone with Plasma? Maybe someone with Phosh could check?

@0n0w1c I spent about a whole day trying to get anbox to run reliably and I think I’ve got it now.

My problem is that I was trying to launch anbox over a tmux session shared over ssh. You need to export the environmental variable and launch anbox from a terminal emulator in your current session. Also make sure that the anbox-container-manager service is enabled.

For me, that looked like:

$ sudo pacman -S anbox anbox-image-aarch64
$ sudo systemctl enable anbox-container-manager
<-- restart -->
$ export EGL_PLATFORM=x11
(at this point, you can try anbox system-info, if you see extensions under egl, anbox should launch)
$ anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity

After about a minute or few, the Anbox Application Manager should launch. If you close it, you can re-lanch from the desktop shortcut in the plasma-mobile launcher.

2 Likes

A few other things:

  • If you need to completely remove anbox, you need to do the following, assuming that you didn’t mess with the services too much:

    $ sudo systemctl stop anbox-container-manager
    $ sudo rm -rf /var/lib/anbox/
    $ sudo pacman -R anbox anbox-image-aarch64
    
  • Upon a fresh install of anbox, consider making a backup of /var/lib/anbox/, or at least the data, rootfs, and android.img folders/files within. If you nuke the anbox folder and restore those 3 entities then it’s like re-installing anbox. The container manager service should be stopped of course.

  • I’ve never seen gles2 extensions populated when I run anbox system-info on my pinephone. Anbox runs fine without it, for me at least.

  • According to this post, the binder module is already included in the Manjaro kernel. I followed the advice in this post to see if the binder module was loaded. for me I get:

    $  ls -1 /dev/{ashmem,binderfs} 
    /dev/ashmem
    
    /dev/binderfs:
    binder
    binder1
    binder-control
    hwbinder
    vndbinder
    
  • In any case, as long as those devices were present above, anbox runs fine even if it shows binder: false under anbox system-info. I think it’s something related to this issue. Also, this unit in the anbox-manjaro PKGBUILD seems to mount the expected binderfs device, but honestly I didn’t dig too far into it.

  • There is a lot of troubleshooting info out there for anbox that is no longer relevant to current versions, or is only relevant to the snap build–be careful with it.

  • Anbox just worked for me on the latest updated manjaro plasma-mobile image for pinephone. I did not have to mess with any other services or mounts like in this thread. It just worked for me, provided that I launch from the active desktop session NOT {over SSH OR over tmux/screen}.

Wow! Anbox launched successfully, without even restarting (just added --now flag next to enable)!
Thanks a lot for sharing this! :smiley:

Ah, I have been trying to launch it via ssh, as it is much easier to edit and read logs. I will it try again this evening, thanks!

Edit:

$ anbox system-info

version: danctnix-0_git20201130-r4
cpu:
  arch:  
  brand: 
  features: 
os:
  name: Manjaro-ARM
  version: 
  snap-based: false
kernel:
  version: Linux version 5.12.6-2-MANJARO-ARM (builduser@on2-runner) (gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35) #1 SMP Sat May 22 20:05:54 UTC 2021
  binder: false
  ashmem: true
graphics:
  egl:
    vendor: Mesa Project
    version: 1.4
    extensions:
      - EGL_ANDROID_blob_cache
      - EGL_ANDROID_native_fence_sync
      - EGL_CHROMIUM_sync_control
      - EGL_EXT_buffer_age
      - EGL_EXT_image_dma_buf_import
      - EGL_EXT_image_dma_buf_import_modifiers
      - EGL_EXT_swap_buffers_with_damage
      - EGL_KHR_cl_event2
      - EGL_KHR_config_attribs
      - EGL_KHR_create_context
      - EGL_KHR_create_context_no_error
      - EGL_KHR_fence_sync
      - EGL_KHR_get_all_proc_addresses
      - EGL_KHR_gl_colorspace
      - EGL_KHR_gl_renderbuffer_image
      - EGL_KHR_gl_texture_2D_image
      - EGL_KHR_gl_texture_3D_image
      - EGL_KHR_gl_texture_cubemap_image
      - EGL_KHR_image
      - EGL_KHR_image_base
      - EGL_KHR_image_pixmap
      - EGL_KHR_no_config_context
      - EGL_KHR_partial_update
      - EGL_KHR_reusable_sync
      - EGL_KHR_surfaceless_context
      - EGL_KHR_swap_buffers_with_damage
      - EGL_EXT_pixel_format_float
      - EGL_KHR_wait_sync
      - EGL_MESA_configless_context
      - EGL_MESA_drm_image
      - EGL_MESA_image_dma_buf_export
      - EGL_MESA_query_driver
      - EGL_NOK_texture_from_pixmap
  gles2:
    vendor: lima
    vendor: OpenGL ES 2.0 Mesa 21.1.1
    extensions:
      - GL_EXT_blend_minmax
      - GL_EXT_multi_draw_arrays
      - GL_EXT_texture_format_BGRA8888
      - GL_OES_compressed_ETC1_RGB8_texture
      - GL_OES_depth24
      - GL_OES_element_index_uint
      - GL_OES_fbo_render_mipmap
      - GL_OES_mapbuffer
      - GL_OES_rgb8_rgba8
      - GL_OES_standard_derivatives
      - GL_OES_stencil8
      - GL_OES_texture_3D
      - GL_OES_texture_half_float
      - GL_OES_texture_half_float_linear
      - GL_OES_texture_npot
      - GL_OES_vertex_half_float
      - GL_OES_EGL_image
      - GL_OES_depth_texture
      - GL_OES_packed_depth_stencil
      - GL_OES_get_program_binary
      - GL_APPLE_texture_max_level
      - GL_EXT_discard_framebuffer
      - GL_EXT_read_format_bgra
      - GL_EXT_frag_depth
      - GL_NV_fbo_color_attachments
      - GL_OES_EGL_image_external
      - GL_OES_EGL_sync
      - GL_OES_vertex_array_object
      - GL_ANGLE_pack_reverse_row_order
      - GL_EXT_occlusion_query_boolean
      - GL_EXT_texture_rg
      - GL_EXT_unpack_subimage
      - GL_NV_draw_buffers
      - GL_NV_read_buffer
      - GL_NV_read_depth
      - GL_NV_read_depth_stencil
      - GL_NV_read_stencil
      - GL_EXT_draw_buffers
      - GL_EXT_map_buffer_range
      - GL_KHR_debug
      - GL_KHR_texture_compression_astc_ldr
      - GL_NV_pixel_buffer_object
      - GL_OES_required_internalformat
      - GL_OES_surfaceless_context
      - GL_EXT_separate_shader_objects
      - GL_EXT_compressed_ETC1_RGB8_sub_texture
      - GL_EXT_draw_elements_base_vertex
      - GL_EXT_texture_border_clamp
      - GL_KHR_context_flush_control
      - GL_OES_draw_elements_base_vertex
      - GL_OES_texture_border_clamp
      - GL_KHR_no_error
      - GL_KHR_texture_compression_astc_sliced_3d
      - GL_KHR_parallel_shader_compile

Hmm, now I have gles2… crazy. And anbox is currently running.

Excellent write-up for anbox, thank you.

Once anbox is working, to make it easier, modify /usr/share/applications/anbox.desktop

Exec=env EGL_PLATFORM=x11 anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity

I also ran sudo update-desktop-database /usr/share/applications but not sure it was required.

Then you can start anbox by just tapping the application icon.

Just out of curiosity guys, what Android image version is this version of Anbox running? Is it still 7? If so, that could mean there are potentially large security risks because it is no longer receiving security updates. That would basically mean it is unsuitable to use it for anything really, especially for banking-related apps - since a lot of people seem to want to do that.

Edit: looking at the Anbox build instructions and specifically the build manifest file, it seems version android-7.1.1_r13 is being used. According to this Wikipedia article Android 7.1 (Nougat) is no longer receiving security updates, so I’d be careful using it.

Edit2: Arch Wiki Talk article about this specific matter: Talk:Anbox - ArchWiki

Interesting, I did not consider the Android version. I do not bank on phones or use a credit card, you can’t make a cell phone secure enough for me to do that. But I do want to run freeotp, which is security related.

Edit: lol, my current phone is on Android 6.0.1… so it is a step up for me. :smiley:

With the new version of Anbox and the arm-stable update, upon attempting to start anbox via the anbox.desktop icon, the following is generated:

Jun 05 10:19:06 plasma-mobile plasmashell[4356]: file:///usr/lib/qt/qml/org/kde/plasma/private/nanoshell/qml/StartupFeedback.qml:175: ReferenceError: fill is not defined
Jun 05 10:19:07 plasma-mobile systemd[4077]: Started Anbox - Android in a box.
Jun 05 10:19:08 plasma-mobile plasmashell[4356]: file:///usr/lib/qt/qml/org/kde/plasma/private/nanoshell/qml/StartupFeedback.qml:120:21: QML PropertyChanges: Cannot assign to non-existent property "opacity"
Jun 05 10:19:08 plasma-mobile anbox[4683]: Failed to select EGL configuration
Jun 05 10:19:08 plasma-mobile kernel: anbox0: port 1(vethDZqYpM) entered blocking state
Jun 05 10:19:08 plasma-mobile kernel: anbox0: port 1(vethDZqYpM) entered disabled state
Jun 05 10:19:08 plasma-mobile kernel: device vethDZqYpM entered promiscuous mode
Jun 05 10:19:08 plasma-mobile kernel: anbox0: port 1(vethDZqYpM) entered blocking state
Jun 05 10:19:08 plasma-mobile kernel: anbox0: port 1(vethDZqYpM) entered forwarding state
Jun 05 10:19:08 plasma-mobile kernel: anbox0: port 1(vethDZqYpM) entered disabled state
Jun 05 10:19:08 plasma-mobile kernel: eth0: renamed from vethSTV03R
Jun 05 10:19:08 plasma-mobile systemd-networkd[3420]: vethDZqYpM: Link UP
Jun 05 10:19:08 plasma-mobile NetworkManager[3719]: <info>  [1622906348.6849] manager: (vethDZqYpM): new Veth device (/org/freedesktop/NetworkManager/Devices/6)
Jun 05 10:19:08 plasma-mobile kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jun 05 10:19:08 plasma-mobile kernel: IPv6: ADDRCONF(NETDEV_CHANGE): vethDZqYpM: link becomes ready
Jun 05 10:19:08 plasma-mobile kernel: anbox0: port 1(vethDZqYpM) entered blocking state
Jun 05 10:19:08 plasma-mobile kernel: anbox0: port 1(vethDZqYpM) entered forwarding state
Jun 05 10:19:08 plasma-mobile kernel: IPv6: ADDRCONF(NETDEV_CHANGE): anbox0: link becomes ready
Jun 05 10:19:08 plasma-mobile systemd-udevd[4725]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Jun 05 10:19:08 plasma-mobile systemd-udevd[4725]: Using default interface naming scheme 'v247'.
Jun 05 10:19:08 plasma-mobile NetworkManager[3719]: <info>  [1622906348.6996] device (vethDZqYpM): carrier: link connected
Jun 05 10:19:08 plasma-mobile systemd-networkd[3420]: vethDZqYpM: Gained carrier
Jun 05 10:19:08 plasma-mobile NetworkManager[3719]: <info>  [1622906348.7229] device (anbox0): carrier: link connected
Jun 05 10:19:08 plasma-mobile systemd-networkd[3420]: anbox0: Gained carrier
Jun 05 10:19:09 plasma-mobile init: init first stage started!
Jun 05 10:19:09 plasma-mobile init: init second stage started!
Jun 05 10:19:09 plasma-mobile init: Running restorecon...
Jun 05 10:19:09 plasma-mobile init: (Loading properties from /default.prop took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /init.environ.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /init.usb.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /init.goldfish.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /init.zygote64_32.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /init.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: write_file: Unable to open '/proc/sys/kernel/sysrq': Read-only file system
Jun 05 10:19:09 plasma-mobile init: Starting service 'ueventd'...
Jun 05 10:19:09 plasma-mobile init: Waiting for /dev/.coldboot_done...
Jun 05 10:19:09 plasma-mobile ueventd: ueventd started!
Jun 05 10:19:09 plasma-mobile ueventd: Coldboot took 0.00s.
Jun 05 10:19:09 plasma-mobile init: Waiting for /dev/.coldboot_done took 0.03s.
Jun 05 10:19:09 plasma-mobile init: /dev/hw_random not found
Jun 05 10:19:09 plasma-mobile kernel: cgroup: Unknown subsys name 'schedtune'
Jun 05 10:19:09 plasma-mobile init: write_file: Unable to open '/proc/sys/kernel/panic_on_oops': Read-only file system
Jun 05 10:19:09 plasma-mobile init: write_file: Unable to open '/proc/sys/kernel/hung_task_timeout_secs': No such file or directory
Jun 05 10:19:09 plasma-mobile init: write_file: Unable to open '/proc/cpu/alignment': No such file or directory
Jun 05 10:19:09 plasma-mobile init: write_file: Unable to open '/proc/sys/kernel/sched_tunable_scaling': No such file or directory
Jun 05 10:19:09 plasma-mobile init: write_file: Unable to open '/proc/sys/kernel/sched_latency_ns': No such file or directory
Jun 05 10:19:09 plasma-mobile init: write_file: Unable to open '/proc/sys/kernel/sched_wakeup_granularity_ns': No such file or directory
Jun 05 10:19:09 plasma-mobile init: write_file: Unable to open '/proc/sys/kernel/sched_child_runs_first': Read-only file system
Jun 05 10:19:09 plasma-mobile init: write_file: Unable to open '/proc/sys/kernel/randomize_va_space': Read-only file system
Jun 05 10:19:09 plasma-mobile init: write_file: Unable to open '/proc/sys/kernel/kptr_restrict': Read-only file system
Jun 05 10:19:09 plasma-mobile init: write_file: Unable to open '/proc/sys/vm/mmap_min_addr': Read-only file system
Jun 05 10:19:09 plasma-mobile init: write_file: Unable to open '/proc/sys/net/ipv4/ping_group_range': Read-only file system
Jun 05 10:19:09 plasma-mobile init: write_file: Unable to open '/proc/sys/net/unix/max_dgram_qlen': Read-only file system
Jun 05 10:19:09 plasma-mobile init: write_file: Unable to open '/proc/sys/kernel/sched_rt_runtime_us': Read-only file system
Jun 05 10:19:09 plasma-mobile init: write_file: Unable to open '/proc/sys/kernel/sched_rt_period_us': Read-only file system
Jun 05 10:19:09 plasma-mobile init: write_file: Unable to open '/proc/sys/net/ipv4/fwmark_reflect': Read-only file system
Jun 05 10:19:09 plasma-mobile init: write_file: Unable to open '/proc/sys/net/ipv6/fwmark_reflect': Read-only file system
Jun 05 10:19:09 plasma-mobile init: write_file: Unable to open '/proc/sys/net/ipv4/tcp_fwmark_accept': Read-only file system
Jun 05 10:19:09 plasma-mobile init: write_file: Unable to open '/proc/sys/net/ipv4/conf/all/accept_redirects': Read-only file system
Jun 05 10:19:09 plasma-mobile init: write_file: Unable to open '/proc/sys/net/ipv6/conf/all/accept_redirects': Read-only file system
Jun 05 10:19:09 plasma-mobile init: write_file: Unable to open '/proc/sys/abi/swp': No such file or directory
Jun 05 10:19:09 plasma-mobile fs_mgr: No entries found in fstab
Jun 05 10:19:09 plasma-mobile init: fs_mgr_mount_all returned an error
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/anboxd.rc took 0.02s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/atrace.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/audioserver.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/bootanim.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/bootstat.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/cameraserver.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/debuggerd.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/debuggerd64.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/drmserver.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/dumpstate.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/gatekeeperd.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/init-debug.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/installd.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/keystore.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/lmkd.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/logcatd.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/logd.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/mdnsd.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/mediacodec.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/mediadrmserver.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/mediaextractor.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/mediaserver.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/mtpd.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/netd.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/perfprofd.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/racoon.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/servicemanager.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/surfaceflinger.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/uncrypt.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/vdc.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Parsing /system/etc/init/vold.rc took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: fs_mgr_mount_all returned unexpected error 255
Jun 05 10:19:09 plasma-mobile init: Starting service 'logd'...
Jun 05 10:19:09 plasma-mobile init: write_file: Unable to open '/sys/kernel/debug/tracing/tracing_on': No such file or directory
Jun 05 10:19:09 plasma-mobile init: property_set("ro.hardware", "goldfish") failed
Jun 05 10:19:09 plasma-mobile init: (Loading properties from /system/build.prop took 0.01s.)
Jun 05 10:19:09 plasma-mobile init: (Loading properties from /vendor/build.prop took 0.00s.)
Jun 05 10:19:09 plasma-mobile init: (Loading properties from /factory/factory.prop took 0.00s.)
Jun 05 10:19:09 plasma-mobile fs_mgr: No entries found in fstab
Jun 05 10:19:09 plasma-mobile init: unable to read fstab /fstab.goldfish: No such file or directory
Jun 05 10:19:09 plasma-mobile init: Starting service 'debuggerd'...
Jun 05 10:19:09 plasma-mobile init: Starting service 'debuggerd64'...
Jun 05 10:19:09 plasma-mobile init: Starting service 'vold'...
Jun 05 10:19:09 plasma-mobile init: Not bootcharting.
Jun 05 10:19:10 plasma-mobile systemd-networkd[3420]: vethDZqYpM: Gained IPv6LL
Jun 05 10:19:10 plasma-mobile systemd-networkd[3420]: anbox0: Gained IPv6LL
Jun 05 10:19:13 plasma-mobile fs_mgr: No entries found in fstab
Jun 05 10:19:13 plasma-mobile init: Starting service 'exec 1 (/system/bin/tzdatacheck)'...
Jun 05 10:19:13 plasma-mobile init: Service 'exec 1 (/system/bin/tzdatacheck)' (pid 29) exited with status 0
Jun 05 10:19:13 plasma-mobile init: (Loading properties from /data/local.prop took 0.00s.)
Jun 05 10:19:13 plasma-mobile init: Starting service 'logd-reinit'...
Jun 05 10:19:13 plasma-mobile init: write_file: Unable to open '/proc/sys/kernel/hostname': Read-only file system
Jun 05 10:19:13 plasma-mobile init: write_file: Unable to open '/proc/sys/kernel/domainname': Read-only file system
Jun 05 10:19:13 plasma-mobile init: write_file: Unable to open '/proc/sys/vm/overcommit_memory': Read-only file system
Jun 05 10:19:13 plasma-mobile init: write_file: Unable to open '/proc/sys/vm/min_free_order_shift': No such file or directory
Jun 05 10:19:13 plasma-mobile init: write_file: Unable to open '/proc/sys/vm/dirty_expire_centisecs': Read-only file system
Jun 05 10:19:13 plasma-mobile init: write_file: Unable to open '/proc/sys/vm/dirty_background_ratio': Read-only file system
Jun 05 10:19:13 plasma-mobile init: Starting service 'healthd'...
Jun 05 10:19:13 plasma-mobile init: Starting service 'qemu-props'...
Jun 05 10:19:13 plasma-mobile init: Starting service 'anboxd'...
Jun 05 10:19:13 plasma-mobile init: Starting service 'anbox-log-dumper'...
Jun 05 10:19:13 plasma-mobile init: Starting service 'lmkd'...
Jun 05 10:19:13 plasma-mobile init: Starting service 'servicemanager'...
Jun 05 10:19:13 plasma-mobile init: Starting service 'surfaceflinger'...
Jun 05 10:19:13 plasma-mobile init: Service 'logd-reinit' (pid 32) exited with status 0
Jun 05 10:19:13 plasma-mobile init: cannot find '/system/bin/install-recovery.sh' (No such file or directory), disabling 'flash_recovery'
Jun 05 10:19:13 plasma-mobile init: Starting service 'zygote'...
Jun 05 10:19:13 plasma-mobile init: Starting service 'zygote_secondary'...
Jun 05 10:19:13 plasma-mobile init: Starting service 'audioserver'...
Jun 05 10:19:13 plasma-mobile init: Starting service 'cameraserver'...
Jun 05 10:19:13 plasma-mobile init: Starting service 'drm'...
Jun 05 10:19:13 plasma-mobile init: couldn't write 43 to /dev/cpuset/camera-daemon/tasks: No such file or directory
Jun 05 10:19:13 plasma-mobile init: Starting service 'installd'...
Jun 05 10:19:13 plasma-mobile init: Starting service 'keystore'...
Jun 05 10:19:13 plasma-mobile init: Starting service 'mediacodec'...
Jun 05 10:19:13 plasma-mobile init: Starting service 'mediadrm'...
Jun 05 10:19:13 plasma-mobile init: Starting service 'mediaextractor'...
Jun 05 10:19:13 plasma-mobile init: Starting service 'media'...
Jun 05 10:19:13 plasma-mobile init: Starting service 'netd'...
Jun 05 10:19:13 plasma-mobile init: Starting service 'fingerprintd'...
Jun 05 10:19:13 plasma-mobile init: Starting service 'gatekeeperd'...
Jun 05 10:19:14 plasma-mobile init: Starting service 'perfprofd'...
Jun 05 10:19:14 plasma-mobile init: Service 'qemu-props' (pid 34) exited with status 0
Jun 05 10:19:14 plasma-mobile init: property_set("ro.build.product", "generic") failed
Jun 05 10:19:14 plasma-mobile init: property_set("ro.product.device", "generic") failed
Jun 05 10:19:14 plasma-mobile init: do_stop: Service dund not found
Jun 05 10:19:14 plasma-mobile init: do_stop: Service akmd not found
Jun 05 10:19:14 plasma-mobile kernel: binder: 4783:4783 transaction failed 29189/-22, size 0-0 line 2566
Jun 05 10:19:14 plasma-mobile init: Starting service 'qemud'...
Jun 05 10:19:14 plasma-mobile init: Starting service 'goldfish-logcat'...
Jun 05 10:19:14 plasma-mobile init: Starting service 'goldfish-setup'...
Jun 05 10:19:14 plasma-mobile init: write_file: Unable to open '/proc/sys/kernel/perf_event_paranoid': Read-only file system
Jun 05 10:19:14 plasma-mobile init: Starting service 'console'...
Jun 05 10:19:14 plasma-mobile init: Starting service 'adbd'...
Jun 05 10:19:14 plasma-mobile init: write_file: Unable to open '/sys/class/android_usb/android0/enable': No such file or directory
Jun 05 10:19:14 plasma-mobile init: write_file: Unable to open '/sys/class/android_usb/android0/idVendor': No such file or directory
Jun 05 10:19:14 plasma-mobile init: write_file: Unable to open '/sys/class/android_usb/android0/idProduct': No such file or directory
Jun 05 10:19:14 plasma-mobile init: write_file: Unable to open '/sys/class/android_usb/android0/functions': No such file or directory
Jun 05 10:19:14 plasma-mobile init: write_file: Unable to open '/sys/class/android_usb/android0/enable': No such file or directory
Jun 05 10:19:14 plasma-mobile init: Service 'qemud' (pid 55) exited with status 1
Jun 05 10:19:14 plasma-mobile init: property_set("ro.radio.noril", "yes") failed
Jun 05 10:19:14 plasma-mobile init: no such service 'ril-daemon'
Jun 05 10:19:14 plasma-mobile init: Service 'goldfish-setup' (pid 57) exited with status 0
Jun 05 10:19:22 plasma-mobile healthd: wakealarm_init: timerfd_create failed
Jun 05 10:19:22 plasma-mobile healthd: BatteryTemperaturePath not found
Jun 05 10:19:22 plasma-mobile healthd: BatteryTechnologyPath not found
Jun 05 10:19:22 plasma-mobile healthd: BatteryFullChargePath not found
Jun 05 10:19:22 plasma-mobile healthd: BatteryCycleCountPath not found
Jun 05 10:19:22 plasma-mobile healthd: battery l=42 v=4247 t=42.4 h=2 st=2 c=1159 chg=u
Jun 05 10:19:48 plasma-mobile systemd[1]: Created slice system-systemd\x2dcoredump.slice.
Jun 05 10:19:48 plasma-mobile systemd[1]: Started Process Core Dump (PID 4901/UID 0).
Jun 05 10:19:59 plasma-mobile systemd-coredump[4902]: [🡕] Process 4683 (anbox) of user 1002 dumped core.
                                                      
                                                      Stack trace of thread 4900:
                                                      #0  0x0000ffffbe9079d8 raise (libpthread.so.0 + 0x139d8)
                                                      #1  0x0000aaaacafca45c _ZN8backward14SignalHandling11sig_handlerEiP9siginfo_tPv (anbox + 0xea45c)
                                                      #2  0x0000ffffbefc375c n/a (linux-vdso.so.1 + 0x75c)
                                                      #3  0x0000ffffbefc375c n/a (linux-vdso.so.1 + 0x75c)
                                                      #4  0x0000aaaacb03fc18 n/a (anbox + 0x15fc18)
                                                      #5  0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #6  0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #7  0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #8  0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #9  0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #10 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #11 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #12 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #13 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #14 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #15 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #16 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #17 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #18 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #19 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #20 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #21 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #22 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #23 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #24 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #25 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #26 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #27 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #28 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #29 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #30 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #31 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #32 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #33 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #34 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #35 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #36 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #37 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #38 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #39 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #40 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #41 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #42 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #43 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #44 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #45 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #46 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #47 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #48 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #49 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #50 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #51 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #52 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #53 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #54 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #55 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #56 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #57 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #58 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #59 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #60 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #61 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #62 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      #63 0x0000aaaacb03fbd0 n/a (anbox + 0x15fbd0)
                                                      
                                                      Stack trace of thread 4683:
                                                      #0  0x0000ffffbe505e64 __poll (libc.so.6 + 0xc9e64)
                                                      #1  0x0000aaaacb0c67e0 _ZN4impl10SignalTrap3runEv (anbox + 0x1e67e0)
                                                      #2  0x0000aaaacb007404 n/a (anbox + 0x127404)
                                                      #3  0x0000aaaacafced2c _ZN5anbox3cli25CommandWithFlagsAndAction3runERKNS0_7Command7ContextE (anbox + 0xeed2c)
                                                      #4  0x0000aaaacafce174 _ZN5anbox3cli22CommandWithSubcommands3runERKNS0_7Command7ContextE (anbox + 0xee174)
                                                      #5  0x0000aaaacafdba3c _ZN5anbox6Daemon3RunERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EE (anbox + 0xfba3c)
                                                      #6  0x0000aaaacafbe7a4 main (anbox + 0xde7a4)
                                                      #7  0x0000ffffbe460538 __libc_start_main (libc.so.6 + 0x24538)
                                                      #8  0x0000aaaacafc4224 _start (anbox + 0xe4224)
                                                      #9  0x0000aaaacafc4224 _start (anbox + 0xe4224)
Jun 05 10:20:00 plasma-mobile systemd[1]: systemd-coredump@0-4901-0.service: Deactivated successfully.
Jun 05 10:20:00 plasma-mobile systemd[1]: systemd-coredump@0-4901-0.service: Consumed 4.064s CPU time.
Jun 05 10:20:00 plasma-mobile anbox[4681]: [org.freedesktop.DBus.Error.NoReply] Message recipient disconnected from message bus without replying
Jun 05 10:20:00 plasma-mobile kernel: anbox0: port 1(vethDZqYpM) entered disabled state
Jun 05 10:20:00 plasma-mobile systemd-networkd[3420]: vethDZqYpM: Link DOWN
Jun 05 10:20:00 plasma-mobile kernel: device vethDZqYpM left promiscuous mode
Jun 05 10:20:00 plasma-mobile kernel: anbox0: port 1(vethDZqYpM) entered disabled state
Jun 05 10:20:00 plasma-mobile systemd-networkd[3420]: vethDZqYpM: Lost carrier
Jun 05 10:20:00 plasma-mobile systemd-networkd[3420]: anbox0: Lost carrier
Jun 05 10:20:00 plasma-mobile systemd[4077]: app-anbox-c8fd530789024a53b82935d664ef353d.scope: Deactivated successfully.
Jun 05 10:20:00 plasma-mobile NetworkManager[3719]: <info>  [1622906400.9010] device (vethDZqYpM): released from master device anbox0
Jun 05 10:20:00 plasma-mobile systemd[4077]: app-anbox-c8fd530789024a53b82935d664ef353d.scope: Consumed 11.605s CPU time.

When starting from the command line:

Jun 05 10:24:46 plasma-mobile kernel: anbox0: port 1(vethXFJFah) entered blocking state
Jun 05 10:24:46 plasma-mobile kernel: anbox0: port 1(vethXFJFah) entered disabled state
Jun 05 10:24:46 plasma-mobile kernel: device vethXFJFah entered promiscuous mode
Jun 05 10:24:46 plasma-mobile kernel: anbox0: port 1(vethXFJFah) entered blocking state
Jun 05 10:24:46 plasma-mobile kernel: anbox0: port 1(vethXFJFah) entered forwarding state
Jun 05 10:24:46 plasma-mobile kernel: anbox0: port 1(vethXFJFah) entered disabled state
Jun 05 10:24:46 plasma-mobile kernel: eth0: renamed from vethimo2GV
Jun 05 10:24:46 plasma-mobile systemd-udevd[5088]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Jun 05 10:24:46 plasma-mobile systemd-udevd[5088]: Using default interface naming scheme 'v247'.
Jun 05 10:24:46 plasma-mobile NetworkManager[3719]: <info>  [1622906686.7213] manager: (vethXFJFah): new Veth device (/org/freedesktop/NetworkManager/Devices/7)
Jun 05 10:24:46 plasma-mobile systemd-networkd[3420]: vethXFJFah: Link UP
Jun 05 10:24:46 plasma-mobile kernel: IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jun 05 10:24:46 plasma-mobile kernel: IPv6: ADDRCONF(NETDEV_CHANGE): vethXFJFah: link becomes ready
Jun 05 10:24:46 plasma-mobile kernel: anbox0: port 1(vethXFJFah) entered blocking state
Jun 05 10:24:46 plasma-mobile kernel: anbox0: port 1(vethXFJFah) entered forwarding state
Jun 05 10:24:46 plasma-mobile systemd-networkd[3420]: vethXFJFah: Gained carrier
Jun 05 10:24:46 plasma-mobile systemd-networkd[3420]: anbox0: Gained carrier
Jun 05 10:24:46 plasma-mobile NetworkManager[3719]: <info>  [1622906686.7684] device (vethXFJFah): carrier: link connected
Jun 05 10:24:46 plasma-mobile NetworkManager[3719]: <info>  [1622906686.7876] device (anbox0): carrier: link connected
Jun 05 10:24:46 plasma-mobile init: init first stage started!
Jun 05 10:24:46 plasma-mobile init: init second stage started!
Jun 05 10:24:46 plasma-mobile init: Running restorecon...
Jun 05 10:24:46 plasma-mobile init: (Loading properties from /default.prop took 0.00s.)
Jun 05 10:24:46 plasma-mobile init: (Parsing /init.environ.rc took 0.00s.)
Jun 05 10:24:46 plasma-mobile init: (Parsing /init.usb.rc took 0.00s.)
Jun 05 10:24:46 plasma-mobile init: (Parsing /init.goldfish.rc took 0.00s.)
Jun 05 10:24:46 plasma-mobile init: (Parsing /init.zygote64_32.rc took 0.00s.)
Jun 05 10:24:46 plasma-mobile init: (Parsing /init.rc took 0.01s.)
Jun 05 10:24:46 plasma-mobile init: write_file: Unable to open '/proc/sys/kernel/sysrq': Read-only file system
Jun 05 10:24:46 plasma-mobile init: Starting service 'ueventd'...
Jun 05 10:24:46 plasma-mobile init: Waiting for /dev/.coldboot_done...
Jun 05 10:24:46 plasma-mobile ueventd: ueventd started!
Jun 05 10:24:46 plasma-mobile ueventd: Coldboot took 0.00s.
Jun 05 10:24:46 plasma-mobile init: Waiting for /dev/.coldboot_done took 0.01s.
Jun 05 10:24:46 plasma-mobile init: /dev/hw_random not found
Jun 05 10:24:47 plasma-mobile kernel: cgroup: Unknown subsys name 'schedtune'
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/proc/sys/kernel/panic_on_oops': Read-only file system
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/proc/sys/kernel/hung_task_timeout_secs': No such file or directory
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/proc/cpu/alignment': No such file or directory
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/proc/sys/kernel/sched_tunable_scaling': No such file or directory
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/proc/sys/kernel/sched_latency_ns': No such file or directory
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/proc/sys/kernel/sched_wakeup_granularity_ns': No such file or directory
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/proc/sys/kernel/sched_child_runs_first': Read-only file system
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/proc/sys/kernel/randomize_va_space': Read-only file system
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/proc/sys/kernel/kptr_restrict': Read-only file system
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/proc/sys/vm/mmap_min_addr': Read-only file system
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/proc/sys/net/ipv4/ping_group_range': Read-only file system
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/proc/sys/net/unix/max_dgram_qlen': Read-only file system
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/proc/sys/kernel/sched_rt_runtime_us': Read-only file system
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/proc/sys/kernel/sched_rt_period_us': Read-only file system
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/proc/sys/net/ipv4/fwmark_reflect': Read-only file system
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/proc/sys/net/ipv6/fwmark_reflect': Read-only file system
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/proc/sys/net/ipv4/tcp_fwmark_accept': Read-only file system
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/proc/sys/net/ipv4/conf/all/accept_redirects': Read-only file system
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/proc/sys/net/ipv6/conf/all/accept_redirects': Read-only file system
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/proc/sys/abi/swp': No such file or directory
Jun 05 10:24:47 plasma-mobile fs_mgr: No entries found in fstab
Jun 05 10:24:47 plasma-mobile init: fs_mgr_mount_all returned an error
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/anboxd.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/atrace.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/audioserver.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/bootanim.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/bootstat.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/cameraserver.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/debuggerd.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/debuggerd64.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/drmserver.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/dumpstate.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/gatekeeperd.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/init-debug.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/installd.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/keystore.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/lmkd.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/logcatd.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/logd.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/mdnsd.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/mediacodec.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/mediadrmserver.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/mediaextractor.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/mediaserver.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/mtpd.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/netd.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/perfprofd.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/racoon.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/servicemanager.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/surfaceflinger.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/uncrypt.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/vdc.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Parsing /system/etc/init/vold.rc took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: fs_mgr_mount_all returned unexpected error 255
Jun 05 10:24:47 plasma-mobile init: Starting service 'logd'...
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/sys/kernel/debug/tracing/tracing_on': No such file or directory
Jun 05 10:24:47 plasma-mobile init: property_set("ro.hardware", "goldfish") failed
Jun 05 10:24:47 plasma-mobile init: (Loading properties from /system/build.prop took 0.01s.)
Jun 05 10:24:47 plasma-mobile init: (Loading properties from /vendor/build.prop took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: (Loading properties from /factory/factory.prop took 0.00s.)
Jun 05 10:24:47 plasma-mobile fs_mgr: No entries found in fstab
Jun 05 10:24:47 plasma-mobile init: unable to read fstab /fstab.goldfish: No such file or directory
Jun 05 10:24:47 plasma-mobile init: Starting service 'debuggerd'...
Jun 05 10:24:47 plasma-mobile init: Starting service 'debuggerd64'...
Jun 05 10:24:47 plasma-mobile init: Starting service 'vold'...
Jun 05 10:24:47 plasma-mobile init: Not bootcharting.
Jun 05 10:24:47 plasma-mobile fs_mgr: No entries found in fstab
Jun 05 10:24:47 plasma-mobile init: Starting service 'exec 1 (/system/bin/tzdatacheck)'...
Jun 05 10:24:47 plasma-mobile init: Service 'exec 1 (/system/bin/tzdatacheck)' (pid 24) exited with status 0
Jun 05 10:24:47 plasma-mobile init: (Loading properties from /data/local.prop took 0.00s.)
Jun 05 10:24:47 plasma-mobile init: Starting service 'logd-reinit'...
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/proc/sys/kernel/hostname': Read-only file system
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/proc/sys/kernel/domainname': Read-only file system
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/proc/sys/vm/overcommit_memory': Read-only file system
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/proc/sys/vm/min_free_order_shift': No such file or directory
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/proc/sys/vm/dirty_expire_centisecs': Read-only file system
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/proc/sys/vm/dirty_background_ratio': Read-only file system
Jun 05 10:24:47 plasma-mobile init: Starting service 'healthd'...
Jun 05 10:24:47 plasma-mobile init: Starting service 'qemu-props'...
Jun 05 10:24:47 plasma-mobile init: Starting service 'anboxd'...
Jun 05 10:24:47 plasma-mobile init: Starting service 'anbox-log-dumper'...
Jun 05 10:24:47 plasma-mobile init: Starting service 'lmkd'...
Jun 05 10:24:47 plasma-mobile init: Starting service 'servicemanager'...
Jun 05 10:24:47 plasma-mobile init: Starting service 'surfaceflinger'...
Jun 05 10:24:47 plasma-mobile init: cannot find '/system/bin/install-recovery.sh' (No such file or directory), disabling 'flash_recovery'
Jun 05 10:24:47 plasma-mobile init: Starting service 'zygote'...
Jun 05 10:24:47 plasma-mobile init: Starting service 'zygote_secondary'...
Jun 05 10:24:47 plasma-mobile init: Starting service 'audioserver'...
Jun 05 10:24:47 plasma-mobile init: Starting service 'cameraserver'...
Jun 05 10:24:47 plasma-mobile init: Starting service 'drm'...
Jun 05 10:24:47 plasma-mobile init: Starting service 'installd'...
Jun 05 10:24:47 plasma-mobile init: Starting service 'keystore'...
Jun 05 10:24:47 plasma-mobile init: Starting service 'mediacodec'...
Jun 05 10:24:47 plasma-mobile init: Starting service 'mediadrm'...
Jun 05 10:24:47 plasma-mobile init: Starting service 'mediaextractor'...
Jun 05 10:24:47 plasma-mobile init: Starting service 'media'...
Jun 05 10:24:47 plasma-mobile init: Starting service 'netd'...
Jun 05 10:24:47 plasma-mobile init: couldn't write 37 to /dev/cpuset/camera-daemon/tasks: No such file or directory
Jun 05 10:24:47 plasma-mobile init: Service 'logd-reinit' (pid 26) exited with status 0
Jun 05 10:24:47 plasma-mobile init: Starting service 'fingerprintd'...
Jun 05 10:24:47 plasma-mobile init: Starting service 'gatekeeperd'...
Jun 05 10:24:47 plasma-mobile init: Starting service 'perfprofd'...
Jun 05 10:24:47 plasma-mobile init: Service 'qemu-props' (pid 28) exited with status 0
Jun 05 10:24:47 plasma-mobile init: property_set("ro.build.product", "generic") failed
Jun 05 10:24:47 plasma-mobile init: property_set("ro.product.device", "generic") failed
Jun 05 10:24:47 plasma-mobile init: do_stop: Service dund not found
Jun 05 10:24:47 plasma-mobile init: do_stop: Service akmd not found
Jun 05 10:24:47 plasma-mobile init: Starting service 'qemud'...
Jun 05 10:24:47 plasma-mobile init: Starting service 'goldfish-logcat'...
Jun 05 10:24:47 plasma-mobile init: Starting service 'goldfish-setup'...
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/proc/sys/kernel/perf_event_paranoid': Read-only file system
Jun 05 10:24:47 plasma-mobile init: Starting service 'console'...
Jun 05 10:24:47 plasma-mobile init: Starting service 'adbd'...
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/sys/class/android_usb/android0/enable': No such file or directory
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/sys/class/android_usb/android0/idVendor': No such file or directory
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/sys/class/android_usb/android0/idProduct': No such file or directory
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/sys/class/android_usb/android0/functions': No such file or directory
Jun 05 10:24:47 plasma-mobile init: write_file: Unable to open '/sys/class/android_usb/android0/enable': No such file or directory
Jun 05 10:24:47 plasma-mobile healthd: wakealarm_init: timerfd_create failed
Jun 05 10:24:47 plasma-mobile healthd: BatteryTemperaturePath not found
Jun 05 10:24:47 plasma-mobile init: Service 'qemud' (pid 52) exited with status 1
Jun 05 10:24:47 plasma-mobile healthd: BatteryTechnologyPath not found
Jun 05 10:24:47 plasma-mobile healthd: BatteryFullChargePath not found
Jun 05 10:24:47 plasma-mobile healthd: BatteryCycleCountPath not found
Jun 05 10:24:47 plasma-mobile healthd: battery l=42 v=4207 t=42.4 h=2 st=2 c=651 chg=u
Jun 05 10:24:47 plasma-mobile init: Starting service 'bootanim'...
Jun 05 10:24:48 plasma-mobile init: property_set("ro.radio.noril", "yes") failed
Jun 05 10:24:48 plasma-mobile init: no such service 'ril-daemon'
Jun 05 10:24:48 plasma-mobile systemd-networkd[3420]: vethXFJFah: Gained IPv6LL
Jun 05 10:24:48 plasma-mobile init: Service 'goldfish-setup' (pid 56) exited with status 0
Jun 05 10:25:28 plasma-mobile init: Service 'bootanim' (pid 74) exited with status 0
Jun 05 10:26:41 plasma-mobile kernel: capability: warning: `main' uses 32-bit capabilities (legacy support in use)
Jun 05 10:27:08 plasma-mobile healthd: battery l=42 v=4230 t=42.4 h=2 st=2 c=779 chg=u
Jun 05 10:27:10 plasma-mobile init: write_file: Unable to open '/proc/sys/vm/extra_free_kbytes': No such file or directory
Jun 05 10:27:13 plasma-mobile init: write_file: Unable to open '/proc/sys/net/ipv4/tcp_default_init_rwnd': No such file or directory
Jun 05 10:27:13 plasma-mobile init: Untracked pid 7 exited with status 0
Jun 05 10:27:20 plasma-mobile org_kde_powerdevil[4361]: org.kde.powerdevil: Unsatisfied policies, the action has been aborted
Jun 05 10:28:08 plasma-mobile init: Starting service 'exec 2 (/system/bin/bootstat)'...
Jun 05 10:28:08 plasma-mobile init: Service 'exec 2 (/system/bin/bootstat)' (pid 690) exited with status 0
Jun 05 10:28:08 plasma-mobile init: Starting service 'exec 3 (/system/bin/bootstat)'...
Jun 05 10:28:08 plasma-mobile init: Service 'exec 3 (/system/bin/bootstat)' (pid 693) exited with status 0
Jun 05 10:28:08 plasma-mobile init: Starting service 'exec 4 (/system/bin/bootstat)'...
Jun 05 10:28:08 plasma-mobile init: Service 'exec 4 (/system/bin/bootstat)' (pid 694) exited with status 0
Jun 05 10:28:08 plasma-mobile init: Starting service 'exec 5 (/system/bin/bootstat)'...
Jun 05 10:28:08 plasma-mobile init: Service 'exec 5 (/system/bin/bootstat)' (pid 695) exited with status 0
Jun 05 10:28:17 plasma-mobile dbus-daemon[3712]: [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.43' (uid=1002 pid=4361 comm="/usr/lib/org_kde_powerdevil ") (using servicehelper)
Jun 05 10:28:18 plasma-mobile dbus-daemon[3712]: [system] Successfully activated service 'org.kde.powerdevil.backlighthelper'

Both have:

plasma-mobile init: Service 'qemud' (pid 52) exited with status 1

I suspect this is not good.

I think maybe it works, once it has been started from the command line but it does not show the anbox app. Tap the icon and the app shows up. I think that is what is happening… maybe.

Interesting and I suspect wrong:
$ ps ax | grep anbox

   3915 ?        Ssl    0:00 /usr/bin/anbox container-manager --daemon --privileged --data-path=/var/lib/anbox
   5275 ?        Sl     0:57 /usr/bin/anbox session-manager
   5309 ?        Ss     0:00 /usr/bin/anbox container-manager --daemon --privileged --data-path=/var/lib/anbox
   5352 pts/2    Sl     0:00 /system/bin/anboxd
   6041 pts/2    Sl     0:04 org.anbox.appmgr

Two anbox-container-managers running?

Not sure why two are running, but if you wait for the anbox launch process to complete, tapping the anbox icon does bring up anbox. Odd behavior.

If you start with the anbox icon (with env EGL_PLATFORM=x11), the anbox session-manager dies, I presume with the coredump:

# ps ax | grep anbox
   3915 ?        Ssl    0:00 /usr/bin/anbox container-manager --daemon --privileged --data-path=/var/lib/anbox
   4563 ?        Sl     0:04 /usr/bin/anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity
   4565 ?        Zl     0:06 [anbox] <defunct>
   4594 ?        Ss     0:00 /usr/bin/anbox container-manager --daemon --privileged --data-path=/var/lib/anbox
   4618 ?        S      0:00 /system/bin/sh /anbox-init.sh
   4648 pts/1    Sl     0:00 /system/bin/anboxd

Just happened to catch it at the right time. It leaves just the container manager running, which was started via the service file on boot.

But if you start anbox from the command line (with env EGL_PLATFORM=x11) it will open a white window. When the window closes, the launch process has completed, you can then tap the anbox icon.

Hmm, this time the org.anbox.appmgr started without tapping the anbox icon again.
I guess this process is so slow, it is hard to determine which actions bring about a particular result.

I am about to give up on anbox. While it may be able to run some apps, none that I need at this time. It seems like it would be a good thing to have available, but not working like this. And if you have coredump writing to disk… forget about it, not worth the effort unless you have some dire need. I guess this is why it is not included with the Plasma Mobile image.

Yes it is. You have to wait for the .img to be extracted. It will even be slower if all cpu cores are not enabled in the kernel.

It is still in it’s infancy so it has a long way to go.

I do not mean to cast shade on anbox. It is a really nice idea and if I needed a particular app, then I would use it. It does not seem to like Plasma Mobile, at least not at the moment. I installed it on my RPi4 with Plasma and it ran well.

If I needed anbox, I would dig more into what makes it tic. Like why does it need to extract the image each time? This is brutal. There must be a good reason. Containers are supposed to be pretty quick, but I know too little about them.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.