Anbox is a container-based approach to boot a full Android system on a regular GNU/Linux system

Related tags

android linux snap anbox
Overview

Snap Status Build Status

Anbox

Anbox is a container-based approach to boot a full Android system on a regular GNU/Linux system like Ubuntu. In other words: Anbox will let you run Android on your Linux system without the slowness of virtualization.

Overview

Anbox uses Linux namespaces (user, pid, uts, net, mount, ipc) to run a full Android system in a container and provide Android applications on any GNU/Linux-based platform.

The Android inside the container has no direct access to any hardware. All hardware access is going through the anbox daemon on the host. We're reusing what Android implemented within the QEMU-based emulator for OpenGL ES accelerated rendering. The Android system inside the container uses different pipes to communicate with the host system and sends all hardware access commands through these.

For more details have a look at the following documentation pages:

Anbox is currently suited for the desktop use case but can be used on mobile operating systems like Ubuntu Touch or postmarketOS (installation instructions). However this is still a work in progress.

The Android runtime environment ships with a minimal customized Android system image based on the Android Open Source Project. The used image is currently based on Android 7.1.1

Installation

See our installation instructions for details.

Supported Linux Distributions

At the moment we officially support the following Linux distributions:

  • Ubuntu 18.04 (bionic)
  • Ubuntu 20.04 (focal)

However all other distributions supporting snap packages should work as well as long as they provide the mandatory kernel modules (see documentation).

Install and Run Android Applications

You can install Android applications from the command line using adb.

adb install xyz.apk

The apk files you will sometimes find on the internet tend to only have arm support, and will therefore not work on x86_64.

You may want to install F-Droid to get applications graphically. Note that the Google Play Store will not work as is, because it relies on the proprietary Google Play Services, which are not installed.

Build from source

Requirements

To build the Anbox runtime itself there is nothing special to know. We're using cmake as build system. A few build dependencies need to be present on your host system:

  • libdbus
  • google-mock
  • google-test
  • libboost
  • libboost-filesystem
  • libboost-log
  • libboost-iostreams
  • libboost-program-options
  • libboost-system
  • libboost-test
  • libboost-thread
  • libcap
  • libexpat1-dev
  • libsystemd
  • mesa (libegl1, libgles2)
  • libglm
  • libsdl2
  • libprotobuf
  • protobuf-compiler
  • python3
  • lxc (>= 3.0)

On an Ubuntu system you can install all build dependencies with the following command:

$ sudo apt install build-essential cmake cmake-data debhelper dbus google-mock \
    libboost-dev libboost-filesystem-dev libboost-log-dev libboost-iostreams-dev \
    libboost-program-options-dev libboost-system-dev libboost-test-dev \
    libboost-thread-dev libcap-dev libexpat1-dev libsystemd-dev libegl1-mesa-dev \
    libgles2-mesa-dev libglm-dev libgtest-dev liblxc1 \
    libproperties-cpp-dev libprotobuf-dev libsdl2-dev libsdl2-image-dev lxc-dev \
    pkg-config protobuf-compiler python3-minimal

We recommend Ubuntu 20.04 (focal) as your build environment.

Build

Afterwards you can build Anbox with

$ git clone https://github.com/anbox/anbox.git --recurse-submodules
$ cd anbox
$ mkdir build
$ cd build
$ cmake ..
$ make

A simple

$ sudo make install

will install the necessary bits into your system.

If you want to build the anbox snap instead you can do this with the following steps:

$ ARCH=$(uname -m)
$ cp /path/to/android.img data/android-images/android-$ARCH.img
$ snapcraft

The result will be a .snap file you can install on a system supporting snaps

$ snap install --dangerous --devmode anbox_1_amd64.snap

Run Anbox

Running Anbox from a local build requires a few more things you need to know about. Please have a look at the "Runtime Setup" documentation.

Documentation

You will find additional documentation for Anbox in the docs subdirectory of the project source.

Interesting things to have a look at

Reporting bugs

If you have found an issue with Anbox, please file a bug.

Get in Touch

If you want to get in contact with the developers please feel free to join the #anbox IRC channel on Freenode.

Copyright and Licensing

Anbox reuses code from other projects like the Android QEMU emulator. These projects are available in the external/ subdirectory with the licensing terms included.

The Anbox source itself, if not stated differently in the relevant source files, is licensed under the terms of the GPLv3 license.

Issues
  • Root permission for apps

    Root permission for apps

    I want install gapps from apk. For install it is necessary root permission.

    With command adb shell and then SU I Take root permission but I stop it.

    Help me.

    decaying 
    opened by daryl0 78
  • Anbox Ignores Mouse Input

    Anbox Ignores Mouse Input

    anbox system-info: https://0x0.st/s9dS.log

    Please describe your problem: Anbox ignores all mouse input in any android application and also in the application manager. It's not a repainting issue, because resizing the window or moving it off and back onto the screen causes a repaint, but the mouse input still does nothing.

    What were you expecting?: I expected Anbox to respond to the mouse in the calculator, settings, or application manager.

    Additional info: This is not a duplicate of #582 since that bug was not actually fixed by the PR that closed it, and would not be reopened. Instead, I submitted a new issue since my request to reopen it was ignored and the issue remains.

    I'm running Anbox on Arch Linux, version anbox-git 1:r895.9a95b53-1 from the AUR.

    graphics session manager 
    opened by thebombzen 61
  • Please add support to Ubuntu 18.04 LTS (Bionic Beaver)

    Please add support to Ubuntu 18.04 LTS (Bionic Beaver)

    Please describe your problem: Please add repository to Ubuntu 18.04 LTS (Bionic Beaver)

    See the problem:

    Err:20 http://ppa.launchpad.net/morphis/anbox-support/ubuntu bionic Release
      404  Not Found
    Err:21 http://ppa.launchpad.net/qemu/ppa/ubuntu bionic Release
      404  Not Found
    

    What were you expecting?: Ways to test this project and install from repository.

    Additional info:

    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=18.04
    DISTRIB_CODENAME=bionic
    DISTRIB_DESCRIPTION="Ubuntu Bionic Beaver (development branch)"
    NAME="Ubuntu"
    VERSION="18.04 LTS (Bionic Beaver)"
    ID=ubuntu
    ID_LIKE=debian
    PRETTY_NAME="Ubuntu Bionic Beaver (development branch)"
    VERSION_ID="18.04"
    HOME_URL="https://www.ubuntu.com/"
    SUPPORT_URL="https://help.ubuntu.com/"
    BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
    PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
    VERSION_CODENAME=bionic
    UBUNTU_CODENAME=bionic
    
    container graphics android 
    opened by wellington1993 55
  • The anbox container can not connect to the network

    The anbox container can not connect to the network

    anbox system-info:

    version: local-/bin/sh: git: command not found
    os:
      name: openSUSE Tumbleweed
      version: 
      snap-based: false
    kernel:
      version: Linux version 4.12.8-1-default ([email protected]) (gcc version 7.1.1 20170629 [gcc-7-branch revision 249772] (SUSE Linux) ) #1 SMP PREEMPT Thu Aug 17 05:30:12 UTC 2017 (4d7933a)
      binder: true
      ashmem: true
    graphics:
      egl:
        vendor: Mesa Project
        version: 1.5 (DRI2)
        extensions:
          - EGL_CHROMIUM_sync_control
          - EGL_EXT_buffer_age
          - EGL_EXT_create_context_robustness
          - EGL_EXT_image_dma_buf_import
          - EGL_KHR_cl_event2
          - EGL_KHR_config_attribs
          - EGL_KHR_create_context
          - 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_wait_sync
          - EGL_MESA_configless_context
          - EGL_MESA_drm_image
          - EGL_MESA_image_dma_buf_export
          - EGL_NOK_texture_from_pixmap
          - EGL_WL_bind_wayland_display
      gles2:
        vendor: X.Org
        vendor: OpenGL ES-CM 1.1 Mesa 17.1.6
        extensions:
          - GL_EXT_blend_minmax
          - GL_EXT_multi_draw_arrays
          - GL_EXT_texture_filter_anisotropic
          - GL_EXT_texture_lod_bias
          - GL_OES_byte_coordinates
          - GL_OES_fixed_point
          - GL_OES_stencil_wrap
          - GL_OES_compressed_paletted_texture
          - GL_OES_query_matrix
          - GL_OES_read_format
          - GL_OES_single_precision
          - GL_EXT_texture_compression_dxt1
          - GL_OES_draw_texture
          - GL_OES_point_size_array
          - GL_OES_point_sprite
          - 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_framebuffer_object
          - GL_OES_mapbuffer
          - GL_OES_rgb8_rgba8
          - GL_OES_stencil8
          - GL_OES_texture_env_crossbar
          - GL_OES_texture_mirrored_repeat
          - GL_OES_texture_npot
          - GL_OES_EGL_image
          - GL_OES_packed_depth_stencil
          - GL_OES_texture_cube_map
          - GL_APPLE_texture_max_level
          - GL_EXT_discard_framebuffer
          - GL_EXT_read_format_bgra
          - GL_OES_blend_equation_separate
          - GL_OES_blend_func_separate
          - GL_OES_blend_subtract
          - GL_OES_EGL_image_external
          - GL_OES_EGL_sync
          - GL_OES_vertex_array_object
          - GL_ANGLE_texture_compression_dxt3
          - GL_ANGLE_texture_compression_dxt5
          - GL_EXT_map_buffer_range
          - GL_KHR_debug
          - GL_OES_surfaceless_context
          - GL_EXT_compressed_ETC1_RGB8_sub_texture
          - GL_EXT_polygon_offset_clamp
    

    I use the openSUSE TumbleWeed + GNOME + 4.12.8 kernel, the installation of anbox after the application can start normally, but the anbox container can not connect to the network.

    ifconfig:

    anbox0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 192.168.250.1  netmask 255.255.255.0  broadcast 0.0.0.0
            inet6 fe80::bc94:4ff:fec0:3194  prefixlen 64  scopeid 0x20<link>
            ether fe:55:1d:8f:50:72  txqueuelen 1000  (Ethernet)
            RX packets 8  bytes 544 (544.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 57  bytes 10404 (10.1 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 192.168.1.2  netmask 255.255.255.0  broadcast 192.168.1.255
            inet6 fe80::4055:8b36:96f9:9c0f  prefixlen 64  scopeid 0x20<link>
            ether 40:8d:5c:78:d2:3d  txqueuelen 1000  (Ethernet)
            RX packets 1235496  bytes 1549309366 (1.4 GiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 727902  bytes 58273190 (55.5 MiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 38844  bytes 444556554 (423.9 MiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 38844  bytes 444556554 (423.9 MiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    vethEA4JQQ: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet6 fe80::fc55:1dff:fe8f:5072  prefixlen 64  scopeid 0x20<link>
            ether fe:55:1d:8f:50:72  txqueuelen 1000  (Ethernet)
            RX packets 8  bytes 656 (656.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 30  bytes 5582 (5.4 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    

    adb shell ifconfig:

    eth0      Link encap:Ethernet  HWaddr ae:3e:ec:f8:f8:6f
              inet addr:192.168.250.2  Bcast:192.168.250.255  Mask:255.255.255.0 
              inet6 addr: fe80::ac3e:ecff:fef8:f86f/64 Scope: Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:52 errors:0 dropped:0 overruns:0 frame:0 
              TX packets:13 errors:0 dropped:0 overruns:0 carrier:0 
              collisions:0 txqueuelen:1000 
              RX bytes:9317 TX bytes:1006 
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0 
              inet6 addr: ::1/128 Scope: Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:12 errors:0 dropped:0 overruns:0 frame:0 
              TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 
              collisions:0 txqueuelen:1000 
              RX bytes:800 TX bytes:800
    

    sudo brcli show:

    bridge name	bridge id		STP enabled	interfaces
    anbox0		8000.fe551d8f5072	no		vethEA4JQQ
    

    sudo systemctl status anbox-container-manager.service :

    ● anbox-container-manager.service - Anbox container manager
       Loaded: loaded (/usr/lib/systemd/system/anbox-container-manager.service; disabled; vendor preset: disabled)
       Active: active (running) since Fri 2017-09-01 17:21:17 CST; 12min ago
      Process: 16798 ExecStartPre=/sbin/modprobe -v -a ashmem_linux binder_linux (code=exited, status=0/SUCCESS)
     Main PID: 16829 (anbox)
        Tasks: 10 (limit: 4915)
       CGroup: /system.slice/anbox-container-manager.service
               ├─16829 anbox container-manager --data-path=/var/lib/anbox --android-image=/var/lib/anbox/android.img --privileged
               ├─16948 [lxc monitor] /var/lib/anbox/containers default
               ├─16959 /system/bin/sh /anbox-init.sh
               ├─16972 /init --second-stage
               ├─16973 /sbin/ueventd
               ├─16975 /system/bin/logd
               ├─16976 /system/bin/debuggerd
               ├─16977 /system/bin/debuggerd64
               ├─16978 /system/bin/vold --blkid_context=u:r:blkid:s0 --blkid_untrusted_context=u:r:blkid_untrusted:s0 --fsck_context=u:r:fsck:s0 --fsck_untrusted_
               ├─16984 debuggerd64:signaller
               ├─16989 debuggerd:signaller
               ├─16991 /sbin/healthd
               ├─16993 /system/bin/anboxd
               ├─16994 /system/bin/logcat -f /data/system.log -r 2048 -n 4
               ├─16995 /system/bin/lmkd
               ├─16996 /system/bin/servicemanager
               ├─16997 /system/bin/surfaceflinger
               ├─16998 zygote64
               ├─16999 zygote
               ├─17000 /system/bin/audioserver
               ├─17001 /system/bin/cameraserver
               ├─17002 /system/bin/drmserver
               ├─17003 /system/bin/installd
               ├─17004 /system/bin/keystore /data/misc/keystore
               ├─17005 media.codec mediacodec
               ├─17006 /system/bin/mediadrmserver
               ├─17007 media.extractor aextractor
               ├─17008 /system/bin/mediaserver
               ├─17009 /system/bin/netd
               ├─17010 /system/bin/fingerprintd
               ├─17011 /system/bin/gatekeeperd /data/misc/gatekeeper
               ├─17015 /system/xbin/perfprofd
               ├─17019 /system/bin/sh
               ├─17020 /sbin/adbd --root_seclabel=u:r:su:s0
               ├─17101 system_server
               ├─17183 com.android.systemui
               ├─17189 /system/bin/sdcard -u 1023 -g 1023 -m -w /data/media emulated
               ├─17246 com.android.phone
               ├─17260 com.android.settings
               ├─17350 android.ext.services
               ├─17373 org.anbox.appmgr
               ├─17400 com.android.smspush
               ├─17415 com.android.deskclock
               ├─17439 android.process.media
               ├─17471 com.android.calendar
               ├─17500 com.android.providers.calendar
               ├─17523 com.android.email
               ├─17547 com.android.managedprovisioning
               ├─17562 com.android.onetimeinitializer
               └─17583 android.process.acore
    
    9月 01 17:21:17 linux-bnry.suse anbox[16829]: You are running the container manager manually which is most likely not
    9月 01 17:21:17 linux-bnry.suse anbox[16829]: what you want. The container manager is normally started by systemd or
    9月 01 17:21:17 linux-bnry.suse anbox[16829]: another init system. If you still want to run the container-manager
    9月 01 17:21:17 linux-bnry.suse anbox[16829]: you can get rid of this warning by starting with the --daemon option.
    9月 01 17:21:17 linux-bnry.suse anbox[16829]: 
    9月 01 17:21:17 linux-bnry.suse anbox[16829]: Everything setup. Waiting for incoming connections.
    9月 01 17:21:39 linux-bnry.suse anbox[16829]: Got connection from pid 16928
    9月 01 17:21:39 linux-bnry.suse anbox[16829]: Containers are stored in /var/lib/anbox/containers
    9月 01 17:21:39 linux-bnry.suse anbox[16829]: Using rootfs path /var/lib/anbox/rootfs
    9月 01 17:21:39 linux-bnry.suse anbox[16829]: Container successfully started
    

    sudo systemctl status anbox-bridge.service :

    ● anbox-bridge.service - Anbox network bridge
       Loaded: loaded (/usr/lib/systemd/system/anbox-bridge.service; enabled; vendor preset: enabled)
       Active: active (exited) since Fri 2017-09-01 17:21:17 CST; 13min ago
      Process: 16797 ExecStart=/usr/lib/anbox/anbox-bridge.sh start (code=exited, status=0/SUCCESS)
     Main PID: 16797 (code=exited, status=0/SUCCESS)
        Tasks: 0 (limit: 4915)
       CGroup: /system.slice/anbox-bridge.service
    
    9月 01 17:21:17 linux-bnry.suse systemd[1]: Starting Anbox network bridge...
    9月 01 17:21:17 linux-bnry.suse systemd[1]: Started Anbox network bridge.
    
    decaying 
    opened by gmg137 54
  • Android image does not exist at path

    Android image does not exist at path "/var/lib/anbox/android.img"

    Make sure you are running the latest version of Anbox before reporting an issue.

    Please also check that no similar bug is already reported. Have a look on the list of open bugs at https://github.com/anbox/anbox/issues

    Anbox release (anbox version) and system info (anbox system-info): version: 0.1.0 os: name: Ubuntu Core version: 16 snap-based: true kernel: version: Linux version 4.4.0-72-generic ([email protected]) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) ) #93-Ubuntu SMP Fri Mar 31 14:07:41 UTC 2017 binder: true ashmem: true graphics: egl: vendor: Mesa Project version: 1.4 (DRI2) extensions: - EGL_CHROMIUM_sync_control - EGL_EXT_buffer_age - EGL_EXT_create_context_robustness - EGL_EXT_image_dma_buf_import - EGL_KHR_create_context - EGL_KHR_fence_sync - EGL_KHR_get_all_proc_addresses - EGL_KHR_gl_renderbuffer_image - EGL_KHR_gl_texture_2D_image - EGL_KHR_gl_texture_cubemap_image - EGL_KHR_image - EGL_KHR_image_base - EGL_KHR_image_pixmap - EGL_KHR_reusable_sync - EGL_KHR_surfaceless_context - EGL_KHR_wait_sync - EGL_MESA_configless_context - EGL_MESA_drm_image - EGL_MESA_image_dma_buf_export - EGL_NOK_texture_from_pixmap - EGL_WL_bind_wayland_display gles2: vendor: Intel Open Source Technology Center vendor: OpenGL ES-CM 1.1 Mesa 12.0.6 extensions: - GL_EXT_blend_minmax - GL_EXT_multi_draw_arrays - GL_EXT_texture_filter_anisotropic - GL_EXT_texture_lod_bias - GL_OES_byte_coordinates - GL_OES_fixed_point - GL_OES_stencil_wrap - GL_OES_compressed_paletted_texture - GL_OES_query_matrix - GL_OES_read_format - GL_OES_single_precision - GL_EXT_texture_compression_dxt1 - GL_OES_draw_texture - GL_OES_point_size_array - GL_OES_point_sprite - 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_framebuffer_object - GL_OES_mapbuffer - GL_OES_rgb8_rgba8 - GL_OES_stencil8 - GL_OES_texture_env_crossbar - GL_OES_texture_mirrored_repeat - GL_OES_texture_npot - GL_OES_EGL_image - GL_OES_packed_depth_stencil - GL_OES_texture_cube_map - GL_APPLE_texture_max_level - GL_EXT_discard_framebuffer - GL_EXT_read_format_bgra - GL_OES_blend_equation_separate - GL_OES_blend_func_separate - GL_OES_blend_subtract - GL_OES_EGL_image_external - GL_OES_EGL_sync - GL_OES_vertex_array_object - GL_ANGLE_texture_compression_dxt3 - GL_ANGLE_texture_compression_dxt5 - GL_EXT_map_buffer_range - GL_KHR_debug - GL_OES_surfaceless_context - GL_EXT_polygon_offset_clamp

    Description of the problem: When I run anbox container-manager I get [EE 2017-04-15 18:50:42] [container_manager.cpp:[email protected]_mounts] Android image does not exist at path "/var/lib/anbox/android.img on the output

    Expected: I expected anbox to come with the android image, or instructions on how to get one

    Additional info:

    invalid 
    opened by mosaic141688 50
  • Anbox Installer for Debian?

    Anbox Installer for Debian?

    Are there any plans for making the anbox installer work on Debian? I tried compiling Android for anbox but it is a PITA, the jack build server always stops working before finishing so it's impossible to make an Android image.

    Thanks in advance.

    help wanted distro support 
    opened by JORGETECH 41
  • WIP: Compile on non-ubuntu

    WIP: Compile on non-ubuntu

    Note: This branch is not to be merged at the moment. I merely want to share my progress of experimentation on a place others can find it easily.

    This is what I need to be able to compile anbox on ArchLinux.

    dbus-cpp and friends are not available there, hence I prepared dbus-cpp and properties-cpp as submodules (branches submodule) and added them to the project. Also, a few changes to -Werror and friends are included to actually build the submodules.

    Since sailfish-os doesn't provide dbus-cpp and friends, too - AFAIK - it's probably of use there, too.

    EDIT: Google-test is now included as submodule; building is for me on archlinux nothing more than:

    git clone [email protected]:oleid/anbox.git
    git checkout compile-on-non-ubuntu
    
    git submodule update --init --recursive
    mkdir build  && cd build && cmake ..
    
    opened by oleid 41
  • anbox-support dkms on ubuntu 19.10

    anbox-support dkms on ubuntu 19.10

    Hi, I'm trying to install anbox on ubuntu 19.10.

    when adding the PPA I had to lie and use disco as eoan doesn't exist but installing anbox-modules-dkms fails as follows:

    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following NEW packages will be installed
      anbox-modules-dkms
    0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
    Need to get 0 B/38.2 kB of archives.
    After this operation, 214 kB of additional disk space will be used.
    Selecting previously unselected package anbox-modules-dkms.
    (Reading database ... 295992 files and directories currently installed.)
    Preparing to unpack .../anbox-modules-dkms_13~disco1_all.deb ...
    Unpacking anbox-modules-dkms (13~disco1) ...
    Setting up anbox-modules-dkms (13~disco1) ...
    Loading new anbox-1 DKMS files...
    Building for 5.3.0-19-lowlatency
    Building initial module for 5.3.0-19-lowlatency
    ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/anbox-modules-dkms.0.crash'
    Error! Bad return status for module build on kernel: 5.3.0-19-lowlatency (x86_64)
    Consult /var/lib/dkms/anbox/1/build/make.log for more information.
    dpkg: error processing package anbox-modules-dkms (--configure):
     installed anbox-modules-dkms package post-installation script subprocess returned error exit status 10
    Errors were encountered while processing:
     anbox-modules-dkms
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    

    make.log

    DKMS make.log for anbox-1 for kernel 5.3.0-19-lowlatency (x86_64)
    Sat 26 Oct 21:35:07 BST 2019
    make: Entering directory '/var/lib/dkms/anbox/1/build/ashmem'
    make -C /lib/modules/5.3.0-19-lowlatency/build V=0 M=$PWD
    make[1]: Entering directory '/usr/src/linux-headers-5.3.0-19-lowlatency'
      CC [M]  /var/lib/dkms/anbox/1/build/ashmem/deps.o
      CC [M]  /var/lib/dkms/anbox/1/build/ashmem/ashmem.o
      LD [M]  /var/lib/dkms/anbox/1/build/ashmem/ashmem_linux.o
      Building modules, stage 2.
      MODPOST 1 modules
      CC      /var/lib/dkms/anbox/1/build/ashmem/ashmem_linux.mod.o
      LD [M]  /var/lib/dkms/anbox/1/build/ashmem/ashmem_linux.ko
    make[1]: Leaving directory '/usr/src/linux-headers-5.3.0-19-lowlatency'
    make: Leaving directory '/var/lib/dkms/anbox/1/build/ashmem'
    make: Entering directory '/var/lib/dkms/anbox/1/build/binder'
    make -C /lib/modules/5.3.0-19-lowlatency/build V=0 M=$PWD
    make[1]: Entering directory '/usr/src/linux-headers-5.3.0-19-lowlatency'
      CC [M]  /var/lib/dkms/anbox/1/build/binder/deps.o
      CC [M]  /var/lib/dkms/anbox/1/build/binder/binder.o
    In file included from ././include/linux/kconfig.h:5,
                     from <command-line>:
    ./include/generated/autoconf.h:4088: warning: "CONFIG_ANDROID_BINDER_DEVICES" redefined
     4088 | #define CONFIG_ANDROID_BINDER_DEVICES ""
          | 
    <command-line>: note: this is the location of the previous definition
    In file included from ././include/linux/kconfig.h:5,
                     from <command-line>:
    ./include/generated/autoconf.h:4088: warning: "CONFIG_ANDROID_BINDER_DEVICES" redefined
     4088 | #define CONFIG_ANDROID_BINDER_DEVICES ""
          | 
    <command-line>: note: this is the location of the previous definition
    /var/lib/dkms/anbox/1/build/binder/binder.c:3406:11: error: initialization of ‘vm_fault_t (*)(struct vm_fault *)’ {aka ‘unsigned int (*)(struct vm_fault *)’} from incompatible pointer type ‘int (*)(struct vm_fault *)’ [-Werror=incompatible-pointer-types]
     3406 |  .fault = binder_vm_fault,
          |           ^~~~~~~~~~~~~~~
    /var/lib/dkms/anbox/1/build/binder/binder.c:3406:11: note: (near initialization for ‘binder_vm_ops.fault’)
    cc1: some warnings being treated as errors
    make[2]: *** [scripts/Makefile.build:288: /var/lib/dkms/anbox/1/build/binder/binder.o] Error 1
    make[1]: *** [Makefile:1653: _module_/var/lib/dkms/anbox/1/build/binder] Error 2
    make[1]: Leaving directory '/usr/src/linux-headers-5.3.0-19-lowlatency'
    make: *** [Makefile:8: all] Error 2
    make: Leaving directory '/var/lib/dkms/anbox/1/build/binder'
    
    

    and anbox system-info

    snap-revision: 158
    cpu:
      arch:  x86
      brand: Intel(R) Core(TM) i5-7300U CPU @ 2.60GHz
      features: 
        - aes
        - sse4_1
        - sse4_2
        - avx
        - avx2
    os:
      name: 
      version: 
      snap-based: true
    kernel:
      version: Linux version 5.3.0-19-lowlatency ([email protected]) (gcc version 9.2.1 20191008 (Ubuntu 9.2.1-9ubuntu2)) #20-Ubuntu SMP PREEMPT Fri Oct 18 10:13:46 UTC 2019
      binder: false
      ashmem: false
    graphics:
      egl:
        vendor: Mesa Project
        version: 1.4 (DRI2)
        extensions:
          - EGL_ANDROID_native_fence_sync
          - EGL_CHROMIUM_sync_control
          - EGL_EXT_buffer_age
          - EGL_EXT_create_context_robustness
          - EGL_EXT_image_dma_buf_import
          - EGL_EXT_image_dma_buf_import_modifiers
          - EGL_IMG_context_priority
          - 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_EXT_pixel_format_float
          - EGL_KHR_wait_sync
          - EGL_MESA_configless_context
          - EGL_MESA_drm_image
          - EGL_MESA_image_dma_buf_export
          - EGL_NOK_texture_from_pixmap
          - EGL_WL_bind_wayland_display
      gles2:
        vendor: Intel Open Source Technology Center
        vendor: OpenGL ES 3.2 Mesa 18.0.5
        extensions:
          - GL_ANDROID_extension_pack_es31a
          - GL_ANGLE_texture_compression_dxt3
          - GL_ANGLE_texture_compression_dxt5
          - GL_APPLE_texture_max_level
          - GL_EXT_blend_func_extended
          - GL_EXT_blend_minmax
          - GL_EXT_buffer_storage
          - GL_EXT_clip_cull_distance
          - GL_EXT_color_buffer_float
          - GL_EXT_compressed_ETC1_RGB8_sub_texture
          - GL_EXT_copy_image
          - GL_EXT_discard_framebuffer
          - GL_EXT_disjoint_timer_query
          - GL_EXT_draw_buffers
          - GL_EXT_draw_buffers_indexed
          - GL_EXT_draw_elements_base_vertex
          - GL_EXT_frag_depth
          - GL_EXT_geometry_point_size
          - GL_EXT_geometry_shader
          - GL_EXT_gpu_shader5
          - GL_EXT_map_buffer_range
          - GL_EXT_multi_draw_arrays
          - GL_EXT_occlusion_query_boolean
          - GL_EXT_polygon_offset_clamp
          - GL_EXT_primitive_bounding_box
          - GL_EXT_read_format_bgra
          - GL_EXT_robustness
          - GL_EXT_separate_shader_objects
          - GL_EXT_shader_framebuffer_fetch
          - GL_EXT_shader_integer_mix
          - GL_EXT_shader_io_blocks
          - GL_EXT_shader_samples_identical
          - GL_EXT_tessellation_point_size
          - GL_EXT_tessellation_shader
          - GL_EXT_texture_border_clamp
          - GL_EXT_texture_buffer
          - GL_EXT_texture_compression_dxt1
          - GL_EXT_texture_cube_map_array
          - GL_EXT_texture_filter_anisotropic
          - GL_EXT_texture_format_BGRA8888
          - GL_EXT_texture_rg
          - GL_EXT_texture_sRGB_decode
          - GL_EXT_texture_type_2_10_10_10_REV
          - GL_EXT_unpack_subimage
          - GL_INTEL_conservative_rasterization
          - GL_INTEL_performance_query
          - GL_KHR_blend_equation_advanced
          - GL_KHR_blend_equation_advanced_coherent
          - GL_KHR_context_flush_control
          - GL_KHR_debug
          - GL_KHR_no_error
          - GL_KHR_robust_buffer_access_behavior
          - GL_KHR_robustness
          - GL_KHR_texture_compression_astc_ldr
          - GL_KHR_texture_compression_astc_sliced_3d
          - GL_MESA_shader_integer_functions
          - GL_NV_draw_buffers
          - GL_NV_fbo_color_attachments
          - GL_NV_image_formats
          - GL_NV_read_buffer
          - GL_NV_read_depth
          - GL_NV_read_depth_stencil
          - GL_NV_read_stencil
          - GL_OES_EGL_image
          - GL_OES_EGL_image_external
          - GL_OES_EGL_sync
          - GL_OES_compressed_ETC1_RGB8_texture
          - GL_OES_copy_image
          - GL_OES_depth24
          - GL_OES_depth_texture
          - GL_OES_depth_texture_cube_map
          - GL_OES_draw_buffers_indexed
          - GL_OES_draw_elements_base_vertex
          - GL_OES_element_index_uint
          - GL_OES_fbo_render_mipmap
          - GL_OES_geometry_point_size
          - GL_OES_geometry_shader
          - GL_OES_get_program_binary
          - GL_OES_gpu_shader5
          - GL_OES_mapbuffer
          - GL_OES_packed_depth_stencil
          - GL_OES_primitive_bounding_box
          - GL_OES_required_internalformat
          - GL_OES_rgb8_rgba8
          - GL_OES_sample_shading
          - GL_OES_sample_variables
          - GL_OES_shader_image_atomic
          - GL_OES_shader_io_blocks
          - GL_OES_shader_multisample_interpolation
          - GL_OES_standard_derivatives
          - GL_OES_stencil8
          - GL_OES_surfaceless_context
          - GL_OES_tessellation_point_size
          - GL_OES_tessellation_shader
          - GL_OES_texture_3D
          - GL_OES_texture_border_clamp
          - GL_OES_texture_buffer
          - GL_OES_texture_cube_map_array
          - GL_OES_texture_float
          - GL_OES_texture_float_linear
          - GL_OES_texture_half_float
          - GL_OES_texture_half_float_linear
          - GL_OES_texture_npot
          - GL_OES_texture_stencil8
          - GL_OES_texture_storage_multisample_2d_array
          - GL_OES_vertex_array_object
          - GL_OES_vertex_half_float
          - GL_OES_viewport_array
    
    opened by amery 37
  • No sound and videos not playing in iTube and browser

    No sound and videos not playing in iTube and browser

    1. Please check that no similar bug is already reported. Have a look on the list of open bugs at https://github.com/anbox/anbox/issues => checked none with the same error except a camera issue which was fixed before

    2. Make sure you are running the latest version of Anbox before reporting an issue. Update snap to latest: snap refresh --devmode --edge anbox => version 4-8febc16 updated

    3. Make sure you have debug logs enabled: sudo snap set anbox debug.enable=true => did

    4. Reproduce the error while debug logs enabled.

    5. Run the anbox logs collection utility and attach the tar file. sudo /snap/bin/anbox.collect-bug-info => system diag zip

    6. ** Please paste the result of anbox system-info below:**

    version: 4
    snap-revision: 149
    cpu:
      arch:  x86
      brand:        Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
      features: 
        - aes
        - sse4_1
        - sse4_2
        - avx
    os:
      name: Gentoo
      version: 
      snap-based: true
    kernel:
      version: Linux version 4.18.5-gentoo ([email protected]) (gcc version 8.2.0 (Gentoo 8.2.0-r2 p1.2)) #1 SMP Wed Sep 5 15:20:21 CEST 2018
      binder: true
      ashmem: true
    graphics:
      egl:
        vendor: Mesa Project
        version: 1.4 (DRI2)
        extensions:
          - EGL_ANDROID_native_fence_sync
          - EGL_CHROMIUM_sync_control
          - EGL_EXT_buffer_age
          - EGL_EXT_create_context_robustness
          - EGL_EXT_image_dma_buf_import
          - EGL_EXT_image_dma_buf_import_modifiers
          - 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_EXT_pixel_format_float
          - EGL_KHR_wait_sync
          - EGL_MESA_configless_context
          - EGL_MESA_drm_image
          - EGL_MESA_image_dma_buf_export
          - EGL_NOK_texture_from_pixmap
          - EGL_WL_bind_wayland_display
      gles2:
        vendor: Intel Open Source Technology Center
        vendor: OpenGL ES 3.0 Mesa 18.0.5
        extensions:
          - GL_ANGLE_texture_compression_dxt3
          - GL_ANGLE_texture_compression_dxt5
          - GL_APPLE_texture_max_level
          - GL_EXT_blend_func_extended
          - GL_EXT_blend_minmax
          - GL_EXT_clip_cull_distance
          - GL_EXT_color_buffer_float
          - GL_EXT_compressed_ETC1_RGB8_sub_texture
          - GL_EXT_discard_framebuffer
          - GL_EXT_disjoint_timer_query
          - GL_EXT_draw_buffers
          - GL_EXT_draw_buffers_indexed
          - GL_EXT_draw_elements_base_vertex
          - GL_EXT_frag_depth
          - GL_EXT_map_buffer_range
          - GL_EXT_multi_draw_arrays
          - GL_EXT_occlusion_query_boolean
          - GL_EXT_polygon_offset_clamp
          - GL_EXT_read_format_bgra
          - GL_EXT_robustness
          - GL_EXT_separate_shader_objects
          - GL_EXT_shader_integer_mix
          - GL_EXT_texture_border_clamp
          - GL_EXT_texture_compression_dxt1
          - GL_EXT_texture_filter_anisotropic
          - GL_EXT_texture_format_BGRA8888
          - GL_EXT_texture_rg
          - GL_EXT_texture_sRGB_decode
          - GL_EXT_texture_type_2_10_10_10_REV
          - GL_EXT_unpack_subimage
          - GL_INTEL_performance_query
          - GL_KHR_blend_equation_advanced
          - GL_KHR_context_flush_control
          - GL_KHR_debug
          - GL_KHR_no_error
          - GL_KHR_robustness
          - GL_MESA_shader_integer_functions
          - GL_NV_draw_buffers
          - GL_NV_fbo_color_attachments
          - GL_NV_read_buffer
          - GL_NV_read_depth
          - GL_NV_read_depth_stencil
          - GL_NV_read_stencil
          - GL_OES_EGL_image
          - GL_OES_EGL_image_external
          - GL_OES_EGL_sync
          - GL_OES_compressed_ETC1_RGB8_texture
          - GL_OES_depth24
          - GL_OES_depth_texture
          - GL_OES_depth_texture_cube_map
          - GL_OES_draw_buffers_indexed
          - GL_OES_draw_elements_base_vertex
          - GL_OES_element_index_uint
          - GL_OES_fbo_render_mipmap
          - GL_OES_get_program_binary
          - GL_OES_mapbuffer
          - GL_OES_packed_depth_stencil
          - GL_OES_required_internalformat
          - GL_OES_rgb8_rgba8
          - GL_OES_sample_shading
          - GL_OES_sample_variables
          - GL_OES_shader_multisample_interpolation
          - GL_OES_standard_derivatives
          - GL_OES_stencil8
          - GL_OES_surfaceless_context
          - GL_OES_texture_3D
          - GL_OES_texture_border_clamp
          - GL_OES_texture_float
          - GL_OES_texture_float_linear
          - GL_OES_texture_half_float
          - GL_OES_texture_half_float_linear
          - GL_OES_texture_npot
          - GL_OES_vertex_array_object
          - GL_OES_vertex_half_float
    

    Please describe your problem: When I try to play a video in iTube well it doesn't start and in the console (adb logcat) I see

    09-09 08:39:30.783   111   918 E ACodec  : Unable to instantiate a decoder for type 'audio/vorbis' with err 0xfffffffe.
    09-09 08:39:30.783   111   918 E ACodec  : signalError(omxError 0xfffffffe, internalError -2)
    09-09 08:39:30.783   111   918 E MediaCodec: Codec reported err 0xfffffffe, actionCode 0, while in state 1
    09-09 08:39:30.784   111   916 E SoundPool: Unable to load sample
    09-09 08:39:30.784   111   167 W AudioService: onLoadSoundEffects(), Error -2147483648 while loading samples
    09-09 08:39:30.788    40    40 I MediaPlayerService: MediaPlayerService::getOMX
    

    whenever I press the play/pause button. Also the same happens in the webview shell the when I try youtube there.

    The above errors changes to

    09-09 08:48:12.966  1027  1129 E ACodec  : Unable to instantiate a decoder for type 'audio/opus' with err 0xfffffffe.
    09-09 08:48:12.966  1027  1129 E ACodec  : signalError(omxError 0xfffffffe, internalError -2)
    09-09 08:48:12.966  1027  1129 E MediaCodec: Codec reported err 0xfffffffe, actionCode 0, while in state 1
    09-09 08:48:12.967  1027  1027 W MediaCodec-JNI: try to release MediaCodec from JMediaCodec::~JMediaCodec()...
    09-09 08:48:12.967  1027  1027 W MediaCodec-JNI: done releasing MediaCodec from JMediaCodec::~JMediaCodec().
    09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: Failed to create MediaCodec: audio/opus, isSecure: false, requireSoftwareCodec: no
    09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: java.lang.IllegalArgumentException: Failed to initialize audio/opus, error 0xfffffffe
    09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: 	at android.media.MediaCodec.native_setup(Native Method)
    09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: 	at android.media.MediaCodec.<init>(MediaCodec.java:1776)
    09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: 	at android.media.MediaCodec.createDecoderByType(MediaCodec.java:1724)
    09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: 	at org.chromium.media.MediaCodecUtil.createDecoder(MediaCodecUtil.java:217)
    09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: 	at org.chromium.media.MediaCodecBridge.create(MediaCodecBridge.java:214)
    09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: 	at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
    09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: 	at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:39)
    09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: 	at android.os.Handler.dispatchMessage(Handler.java:102)
    09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: 	at android.os.Looper.loop(Looper.java:154)
    09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: 	at android.app.ActivityThread.main(ActivityThread.java:6119)
    09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: 	at java.lang.reflect.Method.invoke(Native Method)
    09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
    09-09 08:48:12.967  1027  1027 E cr_MediaCodecUtil: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
    09-09 08:48:12.969    40    99 I MediaPlayerService: MediaPlayerService::getOMX
    

    when in the WebView shell.

    What were you expecting?: I was expecting to view videos and hear sound from the emulator.

    Additional info:

    help wanted graphics android 
    opened by kde99 36
  • Ragnarok Mobile: Eternal Love

    Ragnarok Mobile: Eternal Love

    I've installed anbox on my Ubuntu and also installed "Google play services" to play "Ragnarok Mobile Eternal Love"

    • I installed anbox using the getting started page.
    • Google Play Services, I did using this tutorial https://linuxuprising.com/2018/07/anbox-how-to-install-google-play-store.html

    After this I have tried two ways to get RO.

    First I've tried diretly from google play store, but it is never installed after downloaded and just vanishes

    Second I downloaded the apk available in the oficial ragnarok page, it was succesful installed, and the login has been done with success too, but after this, the touch stops working completly and I couldn't start the game.

    decaying 
    opened by brunocalmon 34
  • App wraps its text based on screen resolution not window size - any hack or fix?

    App wraps its text based on screen resolution not window size - any hack or fix?

    anbox system-info output
    version: local-ad377ff
    snap-revision: 213
    cpu:
      arch:  x86
      brand: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
      features: 
        - aes
        - sse4_1
        - sse4_2
        - avx
        - avx2
    os:
      name: Linux Mint
      version: 20.2 (Uma)
      snap-based: true
    kernel:
      version: Linux version 5.11.0-34-generic ([email protected]) (gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #36~20.04.1-Ubuntu SMP Fri Aug 27 08:06:32 UTC 2021
      binder: false
      ashmem: true
    graphics:
      egl:
        vendor: Mesa Project
        version: 1.5
        extensions:
          - EGL_ANDROID_blob_cache
          - EGL_ANDROID_native_fence_sync
          - EGL_EXT_buffer_age
          - EGL_EXT_create_context_robustness
          - EGL_EXT_image_dma_buf_import
          - EGL_EXT_image_dma_buf_import_modifiers
          - EGL_IMG_context_priority
          - 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_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
      gles2:
        vendor: n/a
        vendor: n/a
        extensions: []
    

    Please describe your problem: I'm running an app (MirrorWord Bible) that seems to wrap its text based on the resolution of my monitor not the size of the window in which it is running hence sentences are cut off at the edge of the window. Note that this happens once you go to read the Bible in the app. On the app's home screen, the text wraps but is huge.

    I tried the following: adb shell am start --launch-bounds 0 0 800 1400 -n com.mirrorword.mirrorbible/com.mirrorword.mirrorbible.MainActivity

    Although the window was sized, the problem with the text being cut off at the edge of the window remained.

    Is there any hack or fix to report to the app a different screen resolution?

    What were you expecting?: Text wraps according to window size

    opened by mcarans 3
  • snap.anbox.container-manager.service fails if rootfs-overlay is enabled

    snap.anbox.container-manager.service fails if rootfs-overlay is enabled

    Hello, I'm trying to set up anbox on my pop os 21.04. My issue is that anbox won't run with the default settings after installing the snap. When I try to launch the application manager I get a loading screen and after ~20 seconds the app crashes.

    Inspecting my anbox system-info output I discovered that binder is not recognised on my system. After following the instructions in #1866 I was able to enable binder. Still, the application manager kept crashing. I ran a sudo systemctl list-units --all | grep anbox and noticed that the unit snap.anbox.container-manager.service failed. Inspecting my journalctl I was able to pin down the issue to the following lines:

    Sep 15 20:47:18 pop-os anbox.container-manager[15859]: 15859: find library=libpulsecommon-13.99.so [0]; searching Sep 15 20:47:18 pop-os anbox.container-manager[15859]: 15859: search path=/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void:/snap/anbox/213/lib:/snap/anbox/213/usr/lib:/snap/anbox/213/usr/lib/x86_64-linux-gnu:/snap/anbox/213/usr/lib/x86_64-linux-gnu/pulseaudio (LD_LIBRARY_PATH) Sep 15 20:47:18 pop-os anbox[15859]: Failed to mount "/var/snap/anbox/common/combined-rootfs": Invalid argument

    and again

    Sep 15 20:43:41 pop-os anbox.container-manager[14848]: 14848: find library=libidn2.so.0 [0]; searching Sep 15 20:43:41 pop-os anbox.container-manager[14848]: 14848: search path=/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void:/snap/anbox/213/lib:/snap/anbox/213/usr/lib:/snap/anbox/213/usr/lib/x86_64-linux-gnu:/snap/anbox/213/usr/lib/x86_64-linux-gnu/pulseaudio (LD_LIBRARY_PATH) Sep 15 20:43:41 pop-os anbox.container-manager[14848]: 14848: trying file=/var/lib/snapd/lib/gl/libidn2.so.0 Sep 15 20:43:41 pop-os anbox.container-manager[14848]: 14848: trying file=/var/lib/snapd/lib/gl32/libidn2.so.0 Sep 15 20:43:41 pop-os anbox.container-manager[14848]: 14848: trying file=/var/lib/snapd/void/libidn2.so.0 Sep 15 20:43:41 pop-os anbox.container-manager[14848]: 14848: trying file=/snap/anbox/213/lib/libidn2.so.0 Sep 15 20:43:41 pop-os anbox.container-manager[14848]: 14848: trying file=/snap/anbox/213/usr/lib/libidn2.so.0 Sep 15 20:43:41 pop-os anbox.container-manager[14848]: 14848: trying file=/snap/anbox/213/usr/lib/x86_64-linux-gnu/libidn2.so.0 Sep 15 20:43:41 pop-os anbox.container-manager[14848]: 14848: trying file=/snap/anbox/213/usr/lib/x86_64-linux-gnu/pulseaudio/libidn2.so.0 Sep 15 20:43:41 pop-os anbox.container-manager[14848]: 14848: search cache=/etc/ld.so.cache Sep 15 20:43:41 pop-os anbox[14848]: Mounting "overlay" on "/var/snap/anbox/common/combined-rootfs" ... Sep 15 20:43:41 pop-os systemd[1]: snap.anbox.container-manager.service: Failed with result 'exit-code'.

    I ran a sudo snap set anbox rootfs-overlay.enable=false followed by a snap restart anbox.container-manager and now the daemon stays online. With this setting I'm now able to run the app manager and I'm able to edit the settings. However, the gallery app only displays a black box and the music app crashes the app-manager. I've also tried installing the play store via geeks-r-us' script, but this also fails.

    I'm unsure whether the script is at fault, but my suspicion is that the rootfs-overlay is required. I have no idea how to fix this myself, so I'm hoping that someone here can help me.

    My machine is an optimus laptop with two GPUs so I'm attaching both my system diagnostic and output of anbox system info as files to avoid cluttering the issue. anbox-system-diagnostics-2021-09-15.zip anbox_system-info.txt I'm also attaching my journalctl output journalctl_anbox.txt

    opened by CarbonaraJack 0
  • compile error, use ... and __VA_ARGS__ instead

    compile error, use ... and __VA_ARGS__ instead

    /opt/vc/include/interface/vcos/vcos_logging.h:234:39: error: ISO C++ does not permit named variadic macros [-Werror=variadic-macros]

    define _VCOS_LOG_X(cat, _level, fmt...) do { if (vcos_is_log_enabled(cat,_level)) vcos_log_impl(cat,_level,fmt); } while (0)

                                       ^~~
    
    opened by mgrouch 5
  • Install instructions for raspberry pi OS with 64-bit kernel needed

    Install instructions for raspberry pi OS with 64-bit kernel needed

    Install instructions for raspberry pi OS with 64-bit kernel needed. It comes with binder and ashmem

    [email protected]:~/slogo $ grep binder /proc/filesystems
    nodev	binder
    [email protected]:~/slogo $ grep ashmem /proc/misc
     61 ashmem
    
    

    How can I run anbox on it? Where can I download it for pi OS?

    Thanks,

    opened by mgrouch 6
  • Build Error

    Build Error

    Building the DKMS for Anbox left some errors, here are the contents of /var/lib/dkms/anbox/1/build/make.log file

    DKMS make.log for anbox-1 for kernel 5.4.0-1045-aws (x86_64)
    Wed Sep  8 19:25:52 UTC 2021
    make: Entering directory '/var/lib/dkms/anbox/1/build/ashmem'
    make -C /lib/modules/5.4.0-1045-aws/build V=0 M=$PWD
    make[1]: Entering directory '/usr/src/linux-headers-5.4.0-1045-aws'
      AR      /var/lib/dkms/anbox/1/build/ashmem/built-in.a
      CC [M]  /var/lib/dkms/anbox/1/build/ashmem/deps.o
      CC [M]  /var/lib/dkms/anbox/1/build/ashmem/ashmem.o
      LD [M]  /var/lib/dkms/anbox/1/build/ashmem/ashmem_linux.o
      Building modules, stage 2.
      MODPOST 1 modules
      CC [M]  /var/lib/dkms/anbox/1/build/ashmem/ashmem_linux.mod.o
      LD [M]  /var/lib/dkms/anbox/1/build/ashmem/ashmem_linux.ko
    make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-1045-aws'
    make: Leaving directory '/var/lib/dkms/anbox/1/build/ashmem'
    make: Entering directory '/var/lib/dkms/anbox/1/build/binder'
    make -C /lib/modules/5.4.0-1045-aws/build V=0 M=$PWD
    make[1]: Entering directory '/usr/src/linux-headers-5.4.0-1045-aws'
      AR      /var/lib/dkms/anbox/1/build/binder/built-in.a
      CC [M]  /var/lib/dkms/anbox/1/build/binder/deps.o
      CC [M]  /var/lib/dkms/anbox/1/build/binder/binder.o
    In file included from ././include/linux/kconfig.h:5,
                     from <command-line>:
    ./include/generated/autoconf.h:2944: warning: "CONFIG_ANDROID_BINDER_DEVICES" redefined
     2944 | #define CONFIG_ANDROID_BINDER_DEVICES ""
          | 
    <command-line>: note: this is the location of the previous definition
    In file included from ././include/linux/kconfig.h:5,
                     from <command-line>:
    ./include/generated/autoconf.h:2944: warning: "CONFIG_ANDROID_BINDER_DEVICES" redefined
     2944 | #define CONFIG_ANDROID_BINDER_DEVICES ""
          | 
    <command-line>: note: this is the location of the previous definition
    /var/lib/dkms/anbox/1/build/binder/binder.c:3382:11: error: initialization of ‘vm_fault_t (*)(struct vm_fault *)’ {aka ‘unsigned int (*)(struct vm_fault *)’} from incompatible pointer type ‘int (*)(struct vm_fault *)’ [-Werror=incompatible-pointer-types]
     3382 |  .fault = binder_vm_fault,
          |           ^~~~~~~~~~~~~~~
    /var/lib/dkms/anbox/1/build/binder/binder.c:3382:11: note: (near initialization for ‘binder_vm_ops.fault’)
    cc1: some warnings being treated as errors
    make[2]: *** [scripts/Makefile.build:269: /var/lib/dkms/anbox/1/build/binder/binder.o] Error 1
    make[1]: *** [Makefile:1754: /var/lib/dkms/anbox/1/build/binder] Error 2
    make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-1045-aws'
    make: *** [Makefile:8: all] Error 2
    make: Leaving directory '/var/lib/dkms/anbox/1/build/binder'
    
    opened by umegbewe 1
  • add a script to anbox to make installing of apps esaer (script allredity made)

    add a script to anbox to make installing of apps esaer (script allredity made)

    1. Please check that no similar bug is already reported. Have a look on the list of open bugs at https://github.com/anbox/anbox/issues

    2. Make sure you are running the latest version of Anbox before reporting an issue. Update snap to latest: snap refresh --devmode --edge anbox

    3. Make sure you have debug logs enabled: sudo snap set anbox debug.enable=true

    4. Reproduce the error while debug logs enabled.

    5. Run the anbox logs collection utility and attach the tar file. sudo /snap/bin/anbox.collect-bug-info

    6. ** Please paste the result of anbox system-info below:**

    anbox system-info output NA ``` [please paste printout of `anbox system-info` here] ```

    Please describe your problem: so i would like this script to added to the /snap/anbox/current/bin/ of anbox

    script title is axdb

    #!/bin/bash adb -s "$(adb devices -l | grep model:Anbox | awk '{print $1}')" [email protected]

    What were you expecting?: NA

    Additional info: NA

    opened by lnee94 9
  • Anbox crash and third party apps

    Anbox crash and third party apps

    1. Please check that no similar bug is already reported. Have a look on the list of open bugs at https://github.com/anbox/anbox/issues

    2. Make sure you are running the latest version of Anbox before reporting an issue. Update snap to latest: snap refresh --devmode --edge anbox

    3. Make sure you have debug logs enabled: sudo snap set anbox debug.enable=true

    4. Reproduce the error while debug logs enabled.

    5. Run the anbox logs collection utility and attach the tar file. sudo /snap/bin/anbox.collect-bug-info cant find the log location, installed it via anbox-git on AUR

    6. ** Please paste the result of anbox system-info below:**

    version: local-31d584e
    cpu:
      arch:  x86
      brand: AMD Ryzen 7 3800X 8-Core Processor             
      features: 
        - aes
        - sse4_1
        - sse4_2
        - avx
        - avx2
    os:
      name: Manjaro Linux
      version: 
      snap-based: false
    kernel:
      version: Linux version 5.10.60-1-Rck_ ([email protected]) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREEMPT Tue Sep 7 02:14:40 EDT 2021
      binder: false
      binderfs: true
      ashmem: true
    graphics:
      egl:
        vendor: Mesa Project
        version: 1.5
        extensions:
          - EGL_ANDROID_blob_cache
          - EGL_ANDROID_native_fence_sync
          - EGL_CHROMIUM_sync_control
          - EGL_EXT_buffer_age
          - EGL_EXT_create_context_robustness
          - 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
          - EGL_WL_bind_wayland_display
      gles2:
        vendor: AMD
        vendor: OpenGL ES 3.2 Mesa 21.2.1
        extensions:
          - GL_EXT_blend_minmax
          - GL_EXT_multi_draw_arrays
          - GL_EXT_texture_filter_anisotropic
          - GL_EXT_texture_compression_s3tc
          - GL_EXT_texture_compression_dxt1
          - GL_EXT_texture_compression_rgtc
          - 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_float_linear
          - 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_AMD_performance_monitor
          - GL_OES_packed_depth_stencil
          - GL_EXT_texture_type_2_10_10_10_REV
          - GL_NV_conditional_render
          - 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_OES_viewport_array
          - GL_ANGLE_pack_reverse_row_order
          - GL_ANGLE_texture_compression_dxt3
          - GL_ANGLE_texture_compression_dxt5
          - GL_EXT_occlusion_query_boolean
          - GL_EXT_robustness
          - 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_robustness
          - 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_group_vote
          - GL_EXT_shader_implicit_conversions
          - GL_EXT_shader_integer_mix
          - GL_EXT_tessellation_point_size
          - GL_EXT_tessellation_shader
          - GL_ANDROID_extension_pack_es31a
          - GL_EXT_base_instance
          - GL_EXT_compressed_ETC1_RGB8_sub_texture
          - GL_EXT_copy_image
          - GL_EXT_draw_buffers_indexed
          - GL_EXT_draw_elements_base_vertex
          - GL_EXT_gpu_shader5
          - GL_EXT_polygon_offset_clamp
          - GL_EXT_primitive_bounding_box
          - GL_EXT_render_snorm
          - GL_EXT_shader_io_blocks
          - GL_EXT_texture_border_clamp
          - GL_EXT_texture_buffer
          - GL_EXT_texture_cube_map_array
          - GL_EXT_texture_norm16
          - GL_EXT_texture_view
          - GL_KHR_blend_equation_advanced
          - GL_KHR_context_flush_control
          - GL_KHR_robust_buffer_access_behavior
          - GL_NV_image_formats
          - GL_OES_copy_image
          - GL_OES_draw_buffers_indexed
          - GL_OES_draw_elements_base_vertex
          - GL_OES_gpu_shader5
          - GL_OES_primitive_bounding_box
          - GL_OES_sample_shading
          - GL_OES_sample_variables
          - GL_OES_shader_io_blocks
          - GL_OES_shader_multisample_interpolation
          - GL_OES_tessellation_point_size
          - GL_OES_tessellation_shader
          - GL_OES_texture_border_clamp
          - GL_OES_texture_buffer
          - GL_OES_texture_cube_map_array
          - GL_OES_texture_stencil8
          - GL_OES_texture_storage_multisample_2d_array
          - GL_OES_texture_view
          - GL_EXT_blend_func_extended
          - GL_EXT_buffer_storage
          - GL_EXT_float_blend
          - GL_EXT_geometry_point_size
          - GL_EXT_geometry_shader
          - GL_EXT_shader_samples_identical
          - GL_EXT_texture_sRGB_R8
          - GL_EXT_texture_sRGB_RG8
          - 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_clip_cull_distance
          - GL_EXT_disjoint_timer_query
          - GL_EXT_texture_compression_s3tc_srgb
          - GL_EXT_window_rectangles
          - GL_MESA_shader_integer_functions
          - GL_EXT_clip_control
          - GL_EXT_color_buffer_half_float
          - GL_EXT_memory_object
          - GL_EXT_memory_object_fd
          - GL_EXT_semaphore
          - GL_EXT_semaphore_fd
          - GL_EXT_texture_compression_bptc
          - GL_KHR_parallel_shader_compile
          - GL_NV_alpha_to_coverage_dither_control
          - GL_AMD_framebuffer_multisample_advanced
          - GL_EXT_EGL_image_storage
          - GL_EXT_texture_shadow_lod
          - GL_INTEL_blackhole_render
          - GL_MESA_framebuffer_flip_y
          - GL_NV_compute_shader_derivatives
          - GL_EXT_demote_to_helper_invocation
          - GL_EXT_depth_clamp
          - GL_EXT_texture_query_lod
          - GL_MESA_bgra
    
    

    Please describe your problem: Anbox crash when starting third party apps

    What were you expecting?: The app to launch without crash

    Additional info: this log seems to happen randomly when anbox decides to crash

    [[email protected] ~]$ anbox session-manager
    Stack trace (most recent call last) in thread 119404:
    #11   Object "", at 0xffffffffffffffff, in 
    #10   Object "/usr/lib/libc-2.33.so", at 0x7f45098895e2, in __clone
    #9    Object "/usr/lib/libpthread-2.33.so", at 0x7f4509caa258, in start_thread
    #8    Source "/build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc", line 82, in execute_native_thread_routine [0x7f4509a453c3]
    #7    Object "/usr/bin/anbox", at 0x556dab08f235, in anbox::platform::sdl::Platform::process_events()
    #6    Object "/usr/lib/libSDL2-2.0.so.0.16.0", at 0x7f4509ef9d73, in 
    #5    Object "/usr/lib/libSDL2-2.0.so.0.16.0", at 0x7f4509fa2426, in 
    #4    Object "/usr/lib/libSDL2-2.0.so.0.16.0", at 0x7f4509fa1f93, in 
    #3    Object "/usr/lib/libSDL2-2.0.so.0.16.0", at 0x7f4509efc200, in 
    #2    Object "/usr/lib/libSDL2-2.0.so.0.16.0", at 0x7f4509eff22b, in 
    #1    Object "/usr/lib/libSDL2-2.0.so.0.16.0", at 0x7f4509f71787, in 
    #0    Object "/usr/lib/libSDL2-2.0.so.0.16.0", at 0x7f4509fadfa8, in 
    Segmentation fault (Address not mapped to object [0xe0])
    Segmentation fault (core dumped)
    
    
    opened by Rockouunderscore 0
  • how fit to screen?

    how fit to screen?

    1. Please check that no similar bug is already reported. Have a look on the list of open bugs at https://github.com/anbox/anbox/issues

    2. Make sure you are running the latest version of Anbox before reporting an issue. Update snap to latest: snap refresh --devmode --edge anbox

    3. Make sure you have debug logs enabled: sudo snap set anbox debug.enable=true

    4. Reproduce the error while debug logs enabled.

    5. Run the anbox logs collection utility and attach the tar file. sudo /snap/bin/anbox.collect-bug-info

    6. ** Please paste the result of anbox system-info below:**

    anbox system-info output Collecting anbox log files ... + cp /var/snap/anbox/common/data/system.log /tmp/tmp.Y1hqCrSfVP + cp /var/snap/anbox/common/containers/lxc-monitord.log /tmp/tmp.Y1hqCrSfVP cp: cannot stat '/var/snap/anbox/common/containers/lxc-monitord.log': No such file or directory + true + cp /var/snap/anbox/common/logs/container.log /tmp/tmp.Y1hqCrSfVP + cp /var/snap/anbox/common/logs/console.log /tmp/tmp.Y1hqCrSfVP + /snap/anbox/186/command-anbox.wrapper system-info + [ -e /etc/systemd/system/snap.anbox.container-manager.service ] + sudo journalctl --no-pager -u snap.anbox.container-manager.service + set +x

    DONE!

    Do you want to include the kernel log of your system? [y/N] y

    • dmesg
    • set +x Generating archive with all log files in /home/mrso ... updating: console.log (deflated 85%) updating: container-manager.log (deflated 25%) updating: container.log (deflated 88%) updating: kernel.log (deflated 90%) updating: system-info.log (deflated 69%) updating: system.log (deflated 87%) DONE!

    Now please take the ZIP archive generated in your current directory and attach it to your bug report. Please don't hesitate to have a look into the archive before you do so to verify you don't leak any information you don't want!

    [please paste printout of `anbox system-info` here]
    

    Please describe your problem: how fit to screen? https://ibb.co/gyKYvHS anbox

    What were you expecting?:

    Additional info: kahf

    opened by mrngao 1
  • Trying to run OsmAnd

    Trying to run OsmAnd

    09-03 18:37:50.854   110   850 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=net.osmand cmp=net.osmand/.plus.activities.MapActivity} from uid 10000 on display 0
    09-03 18:37:50.856   110   131 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:50.856   110   131 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:50.863    40   237 I MediaPlayerService: MediaPlayerService::getOMX
    09-03 18:37:50.864   110  1141 I OMXClient: MuxOMX ctor
    09-03 18:37:50.864   110  1141 E ACodec  : Unable to instantiate a decoder for type 'audio/vorbis' with err 0xfffffffe.
    09-03 18:37:50.865   110  1141 E ACodec  : signalError(omxError 0xfffffffe, internalError -2)
    09-03 18:37:50.865   110  1141 E MediaCodec: Codec reported err 0xfffffffe, actionCode 0, while in state 1
    09-03 18:37:50.865   110  1139 E SoundPool: Unable to load sample
    09-03 18:37:50.866   110   168 W AudioService: onLoadSoundEffects(), Error -2147483648 while loading samples
    09-03 18:37:50.872    40   237 I MediaPlayerService: MediaPlayerService::getOMX
    09-03 18:37:50.873   110  1142 I OMXClient: MuxOMX ctor
    09-03 18:37:50.874   110  1142 E ACodec  : Unable to instantiate a decoder for type 'audio/vorbis' with err 0xfffffffe.
    09-03 18:37:50.874   110  1142 E ACodec  : signalError(omxError 0xfffffffe, internalError -2)
    09-03 18:37:50.874   110  1142 E MediaCodec: Codec reported err 0xfffffffe, actionCode 0, while in state 1
    09-03 18:37:50.874   110  1139 E SoundPool: Unable to load sample
    09-03 18:37:50.876  1143  1143 W art     : Unexpected CPU variant for X86 using defaults: x86_64
    09-03 18:37:50.880   110   850 I ActivityManager: Start proc 1143:net.osmand/u0a49 for activity net.osmand/.plus.activities.MapActivity
    09-03 18:37:50.927  1143  1143 I MultiDex: VM with version 2.1.0 has multidex support
    09-03 18:37:50.927  1143  1143 I MultiDex: Installing application
    09-03 18:37:50.927  1143  1143 I MultiDex: VM has multidex support, MultiDex support library is disabled.
    09-03 18:37:50.927  1143  1143 I MultiDex: Installing application
    09-03 18:37:50.927  1143  1143 I MultiDex: VM has multidex support, MultiDex support library is disabled.
    09-03 18:37:50.986  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:50.987   110   850 W ActivityManager: Unable to start service Intent { cmp=btools.routingapp/.BRouterService } U=0: not found
    09-03 18:37:50.997  1143  1143 I net.osmand: ResourceManager Bitmap tiles to load in memory : 162.0
    09-03 18:37:50.999  1143  1173 E WVMExtractor: Failed to open libwvm.so: dlopen failed: library "libwvm.so" not found
    09-03 18:37:51.024  1143  1143 W System.err: Startup service net.osmand.plus.OsmAndLocationProvider took too long 27 ms
    09-03 18:37:51.025    40   237 I MediaPlayerService: MediaPlayerService::getOMX
    09-03 18:37:51.027  1143  1176 I OMXClient: MuxOMX ctor
    09-03 18:37:51.028  1143  1176 E ACodec  : Unable to instantiate a decoder for type 'audio/vorbis' with err 0xfffffffe.
    09-03 18:37:51.028  1143  1176 E ACodec  : signalError(omxError 0xfffffffe, internalError -2)
    09-03 18:37:51.028  1143  1176 E MediaCodec: Codec reported err 0xfffffffe, actionCode 0, while in state 1
    09-03 18:37:51.030  1143  1173 E SoundPool: Unable to load sample
    09-03 18:37:51.034  1143  1143 W System.err: Startup service net.osmand.plus.AnalyticsHelper took too long 9 ms
    09-03 18:37:51.040  1143  1177 W GooglePlayServicesUtil: net.osmand requires the Google Play Store, but it is missing.
    09-03 18:37:51.040  1143  1177 W GoogleApiManager: The service for com.google.android.gms.internal.location.zzaz is not available: ConnectionResult{statusCode=SERVICE_INVALID, resolution=null, message=null}
    09-03 18:37:51.063  1143  1143 W System.err: Startup service net.osmand.plus.poi.PoiFiltersHelper took too long 22 ms
    09-03 18:37:51.075  1143  1143 W System.err: Startup service net.osmand.plus.search.QuickSearchHelper took too long 9 ms
    09-03 18:37:51.094  1143  1143 W System.err: Startup service net.osmand.plus.wikivoyage.data.TravelHelper took too long 19 ms
    09-03 18:37:51.102  1143  1143 I System.out: Time to start application 164 ms. Should be less < 800 ms
    09-03 18:37:51.108  1143  1143 I System.out: Time to init plugins 6 ms. Should be less < 800 ms
    09-03 18:37:51.126  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.127  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.152  1143  1143 W art     : Before Android 4.1, method android.graphics.PorterDuffColorFilter androidx.vectordrawable.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
    09-03 18:37:51.154  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.165  1143  1178 E net.osmand: RenderingRuleProperty Rendering parse  in strokeWidth_2
    09-03 18:37:51.165  1143  1143 I art     : Rejecting re-init on previously-failed class java.lang.Class<androidx.core.view.ViewCompat$2>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/view/View$OnUnhandledKeyEventListener;
    09-03 18:37:51.165  1143  1143 I art     :   at void androidx.core.view.ViewCompat.setOnApplyWindowInsetsListener(android.view.View, androidx.core.view.OnApplyWindowInsetsListener) (ViewCompat.java:2463)
    09-03 18:37:51.165  1143  1143 I art     :   at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:938)
    09-03 18:37:51.165  1143  1143 I art     :   at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:806)
    09-03 18:37:51.165  1143  1143 I art     :   at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:693)
    09-03 18:37:51.165  1143  1143 I art     :   at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:170)
    09-03 18:37:51.165  1143  1143 I art     :   at void net.osmand.plus.activities.OsmandActionBarActivity.setContentView(int) (OsmandActionBarActivity.java:34)
    09-03 18:37:51.165  1143  1143 I art     :   at void net.osmand.plus.activities.MapActivity.onCreate(android.os.Bundle) (MapActivity.java:297)
    09-03 18:37:51.165  1143  1143 I art     :   at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6679)
    09-03 18:37:51.165  1143  1143 I art     :   at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1118)
    09-03 18:37:51.165  1143  1143 I art     :   at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2618)
    09-03 18:37:51.165  1143  1143 I art     :   at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2726)
    09-03 18:37:51.165  1143  1143 I art     :   at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
    09-03 18:37:51.165  1143  1143 I art     :   at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1477)
    09-03 18:37:51.165  1143  1143 I art     :   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
    09-03 18:37:51.165  1143  1143 I art     :   at void android.os.Looper.loop() (Looper.java:154)
    09-03 18:37:51.165  1143  1143 I art     :   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6119)
    09-03 18:37:51.165  1143  1143 I art     :   at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
    09-03 18:37:51.165  1143  1143 I art     :   at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:886)
    09-03 18:37:51.165  1143  1143 I art     :   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:776)
    09-03 18:37:51.168  1143  1178 E net.osmand: RenderingRuleProperty Rendering parse  in strokeWidth_2
    09-03 18:37:51.181  1143  1178 E net.osmand: RenderingRuleProperty Rendering parse  in strokeWidth
    09-03 18:37:51.253  1143  1145 I art     : Do partial code cache collection, code=12KB, data=30KB
    09-03 18:37:51.253  1143  1154 I art     : Background partial concurrent mark sweep GC freed 78548(2MB) AllocSpace objects, 5(496KB) LOS objects, 40% free, 10MB/17MB, paused 6.857ms total 28.956ms
    09-03 18:37:51.253  1143  1145 I art     : After code cache collection, code=12KB, data=30KB
    09-03 18:37:51.253  1143  1145 I art     : Increasing code cache capacity to 128KB
    09-03 18:37:51.289  1143  1143 W art     : Before Android 4.1, method android.graphics.drawable.Drawable me.zhanghai.android.materialprogressbar.MaterialProgressBar.getCurrentDrawable() would have incorrectly overridden the package-private method in android.widget.ProgressBar
    09-03 18:37:51.403  1143  1145 I art     : Do partial code cache collection, code=62KB, data=61KB
    09-03 18:37:51.403  1143  1145 I art     : After code cache collection, code=56KB, data=58KB
    09-03 18:37:51.403  1143  1145 I art     : Increasing code cache capacity to 256KB
    09-03 18:37:51.418  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.423  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.426  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.429  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.435  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.440  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.443  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.453  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.456  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.458  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.462  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.468  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.473  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.477  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.483  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.486  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.487  1143  1178 E net.osmand: RenderingRuleProperty Rendering parse 1: in strokeWidth_2
    09-03 18:37:51.490  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.507  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.508  1143  1178 E net.osmand: RenderingRuleProperty Rendering parse 1: in strokeWidth
    09-03 18:37:51.511  1143  1143 W System.err: OnCreate for MapActivity took 384 ms
    09-03 18:37:51.529  1143  1178 I System.out: Initialized INIT_RENDERERS in 422 ms
    09-03 18:37:51.529  1143  1178 I System.out: Initialized NATIVE_OPEN_GLINITIALIZED in 0 ms
    09-03 18:37:51.543  1143  1158 D NetworkSecurityConfig: No Network Security Config specified, using platform default
    09-03 18:37:51.558  1143  1143 W System.err: java.lang.SecurityException: "gps" location provider requires ACCESS_FINE_LOCATION permission.
    09-03 18:37:51.558  1143  1143 W System.err:    at android.os.Parcel.readException(Parcel.java:1684)
    09-03 18:37:51.558  1143  1143 W System.err:    at android.os.Parcel.readException(Parcel.java:1637)
    09-03 18:37:51.558  1143  1143 W System.err:    at android.location.ILocationManager$Stub$Proxy.sendExtraCommand(ILocationManager.java:1274)
    09-03 18:37:51.558  1143  1143 W System.err:    at android.location.LocationManager.sendExtraCommand(LocationManager.java:2226)
    09-03 18:37:51.558  1143  1143 W System.err:    at net.osmand.plus.OsmAndLocationProvider.redownloadAGPS(OsmAndLocationProvider.java:286)
    09-03 18:37:51.558  1143  1143 W System.err:    at net.osmand.plus.OsmAndLocationProvider.resumeAllUpdates(OsmAndLocationProvider.java:241)
    09-03 18:37:51.558  1143  1143 W System.err:    at net.osmand.plus.activities.MapActivity.onResume(MapActivity.java:796)
    09-03 18:37:51.558  1143  1143 W System.err:    at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1269)
    09-03 18:37:51.558  1143  1143 W System.err:    at android.app.Activity.performResume(Activity.java:6783)
    09-03 18:37:51.558  1143  1143 W System.err:    at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3406)
    09-03 18:37:51.565  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.618  1143  1145 I art     : Compiler allocated 4MB to compile void net.osmand.osm.MapPoiTypes.initFromInputStream(java.io.InputStream)
    09-03 18:37:51.662  1143  1143 D         : HostConnection::get() New Host Connection established 0x7f05d73c8940, tid 1143
    09-03 18:37:51.668  1143  1143 I System.out: Initialized ROUTING_CONFIG_INITIALIZED in 139 ms
    09-03 18:37:51.684  1143  1145 I art     : Do full code cache collection, code=114KB, data=116KB
    09-03 18:37:51.684  1143  1145 I art     : Waiting for a blocking GC JitCodeCache
    09-03 18:37:51.689  1143  1145 I art     : Starting a blocking GC JitCodeCache
    09-03 18:37:51.689  1143  1145 I art     : After code cache collection, code=88KB, data=78KB
    09-03 18:37:51.698  1143  1182 D         : HostConnection::get() New Host Connection established 0x7f05d72a6880, tid 1182
    09-03 18:37:51.699  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.701  1143  1178 I net.osmand: MapRenderingTypes Time to init poi types 118
    09-03 18:37:51.701  1143  1182 I OpenGLRenderer: Initialized EGL, version 1.4
    09-03 18:37:51.701  1143  1182 D OpenGLRenderer: Swap behavior 1
    09-03 18:37:51.703  1143  1178 I net.osmand: AppInitializer No translation: Other
    09-03 18:37:51.703  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.703  1143  1178 I System.out: Initialized POI_TYPES_INITIALIZED in 35 ms
    09-03 18:37:51.704  1143  1178 I System.out: Initialized ASSETS_COPIED in 1 ms
    09-03 18:37:51.705  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.706  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.707  1143  1178 I net.osmand: CachedOsmandIndexes Initialize cache 2
    09-03 18:37:51.708  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.709  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.710  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.711  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.712  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.714  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.720  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.720  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.721  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.722  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.723  1143  1143 E ResourceType: Style contains key with bad entry: 0x0101058c
    09-03 18:37:51.734  1143  1178 D net.osmand: ResourceManager All map files initialized 30 ms
    09-03 18:37:51.743  1143  1178 I System.out: Initialized MAPS_INITIALIZED in 39 ms
    09-03 18:37:51.755  1143  1178 D net.osmand: NativeOsmandLibrary Loading native c++_shared...
    09-03 18:37:51.756  1143  1178 D net.osmand: NativeOsmandLibrary Loading native libraries...
    09-03 18:37:51.768  1143  1178 I net.osmand:native: JNI_OnLoad completed
    09-03 18:37:51.768  1143  1178 D net.osmand: NativeOsmandLibrary Creating NativeOsmandLibrary instance...
    09-03 18:37:51.768  1143  1178 D net.osmand: NativeOsmandLibrary Initializing rendering rules storage...
    09-03 18:37:51.768  1143  1178 D net.osmand:native: Init rendering storage [email protected] 
    09-03 18:37:51.817   110   131 I ActivityManager: Displayed net.osmand/.plus.activities.MapActivity: +947ms
    09-03 18:37:51.827  1143  1143 D net.osmand: BillingManager Creating Billing client.
    09-03 18:37:51.827  1143  1143 D net.osmand: BillingManager Starting setup.
    09-03 18:37:51.828  1143  1143 D net.osmand: BillingManager Setup finished. Response code: 3
    09-03 18:37:52.078  1143  1178 I System.out: FONT 60_NotoSansTibetan-Bold.ttf
    09-03 18:37:52.088  1143  1178 I System.out: FONT 45_NotoSansSoutheastAsian-Regular.ttf
    09-03 18:37:52.097  1143  1178 I System.out: FONT 35_NotoSansSouthAsian-Regular.ttf
    09-03 18:37:52.102  1143  1178 I System.out: FONT 55_NotoSansTibetan-Regular.ttf
    09-03 18:37:52.104  1143  1178 I System.out: FONT 50_NotoSansSoutheastAsian-Bold.ttf
    09-03 18:37:52.106  1143  1178 I System.out: FONT 20_NotoSans-BoldItalic.ttf
    09-03 18:37:52.108  1143  1178 I System.out: FONT 15_NotoSans-Italic.ttf
    09-03 18:37:52.113  1143  1178 I System.out: FONT 05_NotoSans-Regular.ttf
    09-03 18:37:52.118  1143  1178 I System.out: FONT 65_NotoSansNastaliqUrdu-Regular.ttf
    09-03 18:37:52.122  1143  1178 I System.out: FONT 10_NotoSans-Bold.ttf
    09-03 18:37:52.128  1143  1178 I System.out: FONT 40_NotoSansSouthAsian-Bold.ttf
    09-03 18:37:52.129  1143  1178 I net.osmand:native: Native Cache file initialized /storage/emulated/0/Android/data/net.osmand/files/ind.cache
    09-03 18:37:52.129  1143  1178 I System.out: Initialized NATIVE_INITIALIZED in 386 ms
    09-03 18:37:52.136  1143  1178 I System.out: Initialized FAVORITES_INITIALIZED in 7 ms
    09-03 18:37:52.137  1143  1175 I net.osmand: MapRenderRepositories RENDER MAP: update due to start
    09-03 18:37:52.137  1143  1175 I net.osmand: MapRenderRepositories RENDER MAP: Interrupt rendering map
    09-03 18:37:52.138  1143  1178 I net.osmand: AppInitializer No translation: fire_hydrant_pressure_pressurized
    09-03 18:37:52.138  1143  1178 I net.osmand: AppInitializer No translation: fire_hydrant_pressure_suction
    09-03 18:37:52.138  1143  1178 I net.osmand: AppInitializer No translation: fire_hpressurizedydrant_count
    09-03 18:37:52.141  1143  1178 I net.osmand: AppInitializer No translation: cuisine_cafe
    09-03 18:37:52.141  1143  1178 I net.osmand: AppInitializer No translation: cuisine_cafe
    09-03 18:37:52.143  1143  1178 I net.osmand: AppInitializer No translation: cuisine_cafe
    09-03 18:37:52.144  1143  1178 I net.osmand: AppInitializer No translation: cuisine_cafe
    09-03 18:37:52.145  1143  1178 I net.osmand: AppInitializer No translation: cuisine_cafe
    09-03 18:37:52.147  1143  1178 I net.osmand: AppInitializer No translation: cuisine_cafe
    09-03 18:37:52.151  1143  1175 I net.osmand: MapRenderRepositories RENDER MAP: update due to start
    09-03 18:37:52.151  1143  1175 I net.osmand: MapRenderRepositories RENDER MAP: Interrupt rendering map
    09-03 18:37:52.156  1143  1178 I net.osmand: AppInitializer No translation: seamark_category
    09-03 18:37:52.156  1143  1178 I net.osmand: AppInitializer No translation: seamark_character
    09-03 18:37:52.156  1143  1178 I net.osmand: AppInitializer No translation: seamark_colour
    09-03 18:37:52.156  1143  1178 I net.osmand: AppInitializer No translation: seamark_height
    09-03 18:37:52.156  1143  1178 I net.osmand: AppInitializer No translation: seamark_period
    09-03 18:37:52.156  1143  1178 I net.osmand: AppInitializer No translation: seamark_range
    09-03 18:37:52.156  1143  1178 I net.osmand: AppInitializer No translation: seamark_reference
    09-03 18:37:52.156  1143  1178 I net.osmand: AppInitializer No translation: seamark_shape
    09-03 18:37:52.156  1143  1178 I net.osmand: AppInitializer No translation: seamark_sequence
    09-03 18:37:52.156  1143  1178 I net.osmand: AppInitializer No translation: seamark_system
    09-03 18:37:52.156  1143  1178 I net.osmand: AppInitializer No translation: seamark_topmark
    09-03 18:37:52.156  1143  1178 I net.osmand: AppInitializer No translation: category_sleep
    09-03 18:37:52.157  1143  1178 I net.osmand: AppInitializer No translation: route_activity_type_mountainbike
    09-03 18:37:52.157  1143  1178 I net.osmand: AppInitializer No translation: route_activity_type_cycling
    09-03 18:37:52.158  1143  1178 I net.osmand: AppInitializer No translation: route_activity_type_hiking
    09-03 18:37:52.158  1143  1178 I net.osmand: AppInitializer No translation: route_activity_type_running
    09-03 18:37:52.158  1143  1178 I net.osmand: AppInitializer No translation: route_activity_type_walking
    09-03 18:37:52.158  1143  1178 I net.osmand: AppInitializer No translation: route_activity_type_offroad
    09-03 18:37:52.158  1143  1178 I net.osmand: AppInitializer No translation: route_activity_type_motorbike
    09-03 18:37:52.158  1143  1178 I net.osmand: AppInitializer No translation: route_activity_type_car
    09-03 18:37:52.158  1143  1178 I net.osmand: AppInitializer No translation: route_radius
    09-03 18:37:52.161  1143  1175 I net.osmand: MapRenderRepositories RENDER MAP: update due to start
    09-03 18:37:52.161  1143  1175 I net.osmand: MapRenderRepositories RENDER MAP: Interrupt rendering map
    09-03 18:37:52.188  1143  1178 I System.out: Initialized POI_TYPES_INITIALIZED in 52 ms
    09-03 18:37:52.210  1143  1145 I art     : Do partial code cache collection, code=107KB, data=98KB
    09-03 18:37:52.211  1143  1145 I art     : After code cache collection, code=106KB, data=97KB
    09-03 18:37:52.211  1143  1145 I art     : Increasing code cache capacity to 512KB
    09-03 18:37:52.521  1143  1174 I net.osmand: MapRenderRepositories RENDER MAP: new request RotatedTileBox [lat=0.0, lon=0.0, rotate=0.0, density=1.0, zoom=5, mapDensity=1.0, zoomAnimation=0.0, zoomFloatPart=0.0, cx=853, cy=544, pixWidth=1706, pixHeight=1088]
    09-03 18:37:52.522  1143  1174 D net.osmand:native: Native file initialized from cache /storage/emulated/0/Android/data/net.osmand/files/World_basemap_mini.obf
    09-03 18:37:52.522  1143  1174 D net.osmand: MapRenderRepositories Native resource World_basemap_mini.obf initialized 0 ms
    09-03 18:37:52.551  1143  1174 I net.osmand:native: Ocean: islands 10, closed water 3, coastline touches screen 1
    09-03 18:37:52.551  1143  1174 I net.osmand:native: Detailed coastlines = 0, basemap coastlines 20, ocean tile 0.500000. Detailed added 0, basemap processed 1, basemap added 1.
    09-03 18:37:52.552  1143  1174 I net.osmand:native: Search : tree - read( 117), accept( 77), objs - visit( 3824), accept(2062), in result(2068) 
    09-03 18:37:52.552  1143  1174 I net.osmand: MapRenderRepositories BLat=-23.24134635925293, TLat=23.24134635925293, LLong=-41.23388671875, RLong=41.23388671875, zoom=5
    09-03 18:37:52.552  1143  1174 I net.osmand: MapRenderRepositories Native search: 30 ms 
    09-03 18:37:52.552  1143  1174 I net.osmand:native: Creating SkBitmap in native w:1706 h:1088 s:6824 f:1!
    09-03 18:37:52.552  1143  1174 I net.osmand:native: Row bytes for RGBA_8888 is 6824
    09-03 18:37:52.552  1143  1174 I net.osmand:native: Locked 7424512 bytes at 0x53d6500c
    09-03 18:37:52.552  1143  1174 I net.osmand:native: Initializing rendering
    09-03 18:37:52.553  1143  1174 I net.osmand:native: Rendering image
    09-03 18:37:52.565  1143  1178 I net.osmand: BinaryMapIndexReader Search is done. Visit 2515 objects. Read 2515 objects.
    09-03 18:37:52.566  1143  1178 I net.osmand: BinaryMapIndexReader Read 66 subtrees. Go through 129 subtrees.
    09-03 18:37:52.566  1143  1180 W art     : Long monitor contention with owner Initializing app (1178) at byte com.google.protobuf.CodedInputStream.readRawByte()(CodedInputStream.java:800) waiters=0 in java.util.List net.osmand.map.OsmandRegions.queryBboxNoInit(int, int, int, int, boolean) for 364ms
    09-03 18:37:52.611  1143  1178 W net.osmand: OsmandRegions Found orphaned regions: 1
    09-03 18:37:52.611  1143  1178 W net.osmand: OsmandRegions FullName = World_seamarks parent=null
    09-03 18:37:52.611  1143  1178 I System.out: Initialized INDEX_REGION_BOUNDARIES in 423 ms
    09-03 18:37:52.613  1143  1178 I System.out: Initialized LOAD_GPX_TRACKS in 2 ms
    09-03 18:37:52.615  1143  1178 I System.out: Initialized SAVE_GPX_TRACKS in 2 ms
    09-03 18:37:52.617  1143  1178 I System.out: Initialized RESTORE_BACKUPS in 2 ms
    09-03 18:37:52.707  1143  1174 I System.out: 0 2: 1 
    09-03 18:37:52.707  1143  1174 I System.out: 0 2: 0031 
    09-03 18:37:52.707  1143  1174 I System.out: 1 1:   ﻲ ﻨ ﻜ ﺴ ﻟ ﺍ   ﻱ ﺭ ﻮ ﻓ ﺎ ﻛ   ﻊ ﻤ ﺠ ﻣ 
    09-03 18:37:52.707  1143  1174 I System.out: 1 1: 0020 fef2 fee8 fedc feb4 fedf fe8d 0020 fef1 fead feee fed3 fe8e fedb 0020 feca fee4 fea0 fee3 
    09-03 18:37:52.708  1143  1174 I System.out: 0 0: T o u l o u m   R e f u g e e   C a m p   
    09-03 18:37:52.708  1143  1174 I System.out: 0 0: 0054 006f 0075 006c 006f 0075 006d 0020 0052 0065 0066 0075 0067 0065 0065 0020 0043 0061 006d 0070 0020 
    09-03 18:37:52.708  1143  1174 I System.out: 1 1: ﻡ ﻮ ﻟ ﻮ ﺗ   ﻢ ﻴ ﺨ ﻣ 
    09-03 18:37:52.708  1143  1174 I System.out: 1 1: fee1 feee fedf feee fe97 0020 fee2 fef4 fea8 fee3 
    09-03 18:37:52.717  1143  1174 I System.out: 0 2: A m   Z o e r 
    09-03 18:37:52.717  1143  1174 I System.out: 0 2: 0041 006d 0020 005a 006f 0065 0072 
    09-03 18:37:52.717  1143  1174 I System.out: 1 1:   ﺮ ﻳ ﻭ ﺯ   ﻡ ﺃ 
    09-03 18:37:52.717  1143  1174 I System.out: 1 1: 0020 feae fef3 feed feaf 0020 fee1 fe83 
    09-03 18:37:52.717  1143  1174 I System.out: 0 2: M a t a d j a n a 
    09-03 18:37:52.717  1143  1174 I System.out: 0 2: 004d 0061 0074 0061 0064 006a 0061 006e 0061 
    09-03 18:37:52.717  1143  1174 I System.out: 1 1:   ﺎ ﻧ ﺎ ﺟ ﺎ ﺗ ﺎ ﻣ 
    09-03 18:37:52.718  1143  1174 I System.out: 1 1: 0020 fe8e fee7 fe8e fe9f fe8e fe97 fe8e fee3 
    09-03 18:37:52.728  1143  1174 I System.out: 0 0: D i f f a   
    09-03 18:37:52.728  1143  1174 I System.out: 0 0: 0044 0069 0066 0066 0061 0020 
    09-03 18:37:52.728  1143  1174 I System.out: 1 1: ﺎ ﻔ ﻳ ﺩ 
    09-03 18:37:52.728  1143  1174 I System.out: 1 1: fe8e fed4 fef3 fea9 
    09-03 18:37:52.736  1143  1174 I System.out: 0 0: D i f f a   
    09-03 18:37:52.736  1143  1174 I System.out: 0 0: 0044 0069 0066 0066 0061 0020 
    09-03 18:37:52.736  1143  1174 I System.out: 1 1: ﺎ ﻔ ﻳ ﺩ 
    09-03 18:37:52.736  1143  1174 I System.out: 1 1: fe8e fed4 fef3 fea9 
    09-03 18:37:52.742  1143  1174 I System.out: 0 2: M a t a d j a n a 
    09-03 18:37:52.742  1143  1174 I System.out: 0 2: 004d 0061 0074 0061 0064 006a 0061 006e 0061 
    09-03 18:37:52.742  1143  1174 I System.out: 1 1:   ﺎ ﻧ ﺎ ﺟ ﺎ ﺗ ﺎ ﻣ 
    09-03 18:37:52.742  1143  1174 I System.out: 1 1: 0020 fe8e fee7 fe8e fe9f fe8e fe97 fe8e fee3 
    09-03 18:37:52.742  1143  1174 I System.out: 0 2: A m   Z o e r 
    09-03 18:37:52.742  1143  1174 I System.out: 0 2: 0041 006d 0020 005a 006f 0065 0072 
    09-03 18:37:52.743  1143  1174 I System.out: 1 1:   ﺮ ﻳ ﻭ ﺯ   ﻡ ﺃ 
    09-03 18:37:52.743  1143  1174 I System.out: 1 1: 0020 feae fef3 feed feaf 0020 fee1 fe83 
    09-03 18:37:52.744  1143  1174 I System.out: 0 0: T o u l o u m   R e f u g e e   C a m p   
    09-03 18:37:52.744  1143  1174 I System.out: 0 0: 0054 006f 0075 006c 006f 0075 006d 0020 0052 0065 0066 0075 0067 0065 0065 0020 0043 0061 006d 0070 0020 
    09-03 18:37:52.744  1143  1174 I System.out: 1 1: ﻡ ﻮ ﻟ ﻮ ﺗ   ﻢ ﻴ ﺨ ﻣ 
    09-03 18:37:52.754  1143  1174 F libc    : Invalid address 0x7f05d2929c00 passed to free: value not allocated
    09-03 18:37:52.754  1143  1174 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 1174 (Loader map obje)
    09-03 18:37:52.754     9     9 W         : debuggerd: handling request: pid=1143 uid=10049 gid=10049 tid=1174
    09-03 18:37:52.761  1186  1186 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    09-03 18:37:52.761  1186  1186 F DEBUG   : Build fingerprint: 'Android/anbox_x86_64/x86_64:7.1.1/N6F26Q/root07191722:userdebug/test-keys'
    09-03 18:37:52.761  1186  1186 F DEBUG   : Revision: '0'
    09-03 18:37:52.761  1186  1186 F DEBUG   : ABI: 'x86_64'
    09-03 18:37:52.761  1186  1186 F DEBUG   : pid: 1143, tid: 1174, name: Loader map obje  >>> net.osmand <<<
    09-03 18:37:52.761  1186  1186 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
    09-03 18:37:52.764  1186  1186 F DEBUG   : Abort message: 'Invalid address 0x7f05d2929c00 passed to free: value not allocated'
    09-03 18:37:52.764  1186  1186 F DEBUG   :     rax 0000000000000000  rbx 00007f05d7a814f8  rcx 00007f05f476c947  rdx 0000000000000006
    09-03 18:37:52.764  1186  1186 F DEBUG   :     rsi 0000000000000496  rdi 0000000000000477
    09-03 18:37:52.764  1186  1186 F DEBUG   :     r8  00000000ffffffff  r9  0000000000000000  r10 0000000000000008  r11 0000000000000206
    09-03 18:37:52.764  1186  1186 F DEBUG   :     r12 0000000000000496  r13 0000000000000006  r14 00007f05d910b400  r15 00007f05d908d508
    09-03 18:37:52.764  1186  1186 F DEBUG   :     cs  0000000000000033  ss  000000000000002b
    09-03 18:37:52.764  1186  1186 F DEBUG   :     rip 00007f05f476c947  rbp 000000000000000b  rsp 00007f05d7a7d498  eflags 0000000000000206
    09-03 18:37:52.793  1186  1186 F DEBUG   : 
    09-03 18:37:52.793  1186  1186 F DEBUG   : backtrace:
    09-03 18:37:52.793  1186  1186 F DEBUG   :     #00 pc 000000000008d947  /system/lib64/libc.so (tgkill+7)
    09-03 18:37:52.793  1186  1186 F DEBUG   :     #01 pc 000000000008a3e1  /system/lib64/libc.so (pthread_kill+65)
    09-03 18:37:52.793  1186  1186 F DEBUG   :     #02 pc 00000000000302c1  /system/lib64/libc.so (raise+17)
    09-03 18:37:52.793  1186  1186 F DEBUG   :     #03 pc 00000000000287dd  /system/lib64/libc.so (abort+77)
    09-03 18:37:52.793  1186  1186 F DEBUG   :     #04 pc 000000000002d26d  /system/lib64/libc.so (__libc_fatal+157)
    09-03 18:37:52.793  1186  1186 F DEBUG   :     #05 pc 00000000000b7be6  /system/lib64/libc.so (ifree+1254)
    09-03 18:37:52.793  1186  1186 F DEBUG   :     #06 pc 00000000000b7c63  /system/lib64/libc.so (je_free+115)
    09-03 18:37:52.793  1186  1186 F DEBUG   :     #07 pc 00000000003b02d7  /data/app/net.osmand-1/lib/x86_64/libosmand.so (_ZN9SkPathRefD1Ev+135)
    09-03 18:37:52.793  1186  1186 F DEBUG   :     #08 pc 00000000003a5c46  /data/app/net.osmand-1/lib/x86_64/libosmand.so (_ZN6SkPathD1Ev+22)
    09-03 18:37:52.793  1186  1186 F DEBUG   :     #09 pc 0000000000400a71  /data/app/net.osmand-1/lib/x86_64/libosmand.so (_ZNK8SkStroke10strokePathERK6SkPathPS0_+961)
    09-03 18:37:53.464   110  1191 W ActivityManager:   Force finishing activity net.osmand/.plus.activities.MapActivity
    09-03 18:37:53.467   110   128 I BootReceiver: Copying /data/tombstones/tombstone_06 to DropBox (SYSTEM_TOMBSTONE)
    09-03 18:37:53.473     9     9 W         : debuggerd: resuming target 1143
    09-03 18:37:53.481   110  1191 W ActivityManager:   Force finishing activity net.osmand/.plus.activities.MapActivity
    09-03 18:37:53.481   110  1191 W ActivityManager: Duplicate finish request for ActivityRecord{ed1bc30 u0 net.osmand/.plus.activities.MapActivity t11 f}
    09-03 18:37:53.753   110   145 W InputDispatcher: channel '80fac80 net.osmand/net.osmand.plus.activities.MapActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
    09-03 18:37:53.753   110   145 E InputDispatcher: channel '80fac80 net.osmand/net.osmand.plus.activities.MapActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
    09-03 18:37:53.753   110   850 I WindowManager: WIN DEATH: Window{8e68b98 u0 SurfaceView - net.osmand/net.osmand.plus.activities.MapActivity}
    09-03 18:37:53.753   110   654 D GraphicsStats: Buffer count: 2
    09-03 18:37:53.754   110   525 I ActivityManager: Process net.osmand (pid 1143) has died
    09-03 18:37:53.754   110   525 D ActivityManager: cleanUpApplicationRecord -- 1143
    09-03 18:37:53.754    30    30 I Zygote  : Process 1143 exited due to signal (6)
    09-03 18:37:53.754    30    30 I Zygote  : Process 1143 dumped core.
    09-03 18:37:53.756   110  1019 I WindowManager: WIN DEATH: Window{80fac80 u0 net.osmand/net.osmand.plus.activities.MapActivity}
    09-03 18:37:53.756   110  1019 W InputDispatcher: Attempted to unregister already unregistered input channel '80fac80 net.osmand/net.osmand.plus.activities.MapActivity (server)'
    09-03 18:37:53.758   110   525 I AnboxPlatformServiceProxy: Task removed id=11
    
    opened by sevku 0
  • Stuck at

    Stuck at "Successfully initialized EGL"

    1. Please check that no similar bug is already reported. Have a look on the list of open bugs at https://github.com/anbox/anbox/issues

    #885 is closed and #754 just suggested to update anbox and I did

    1. Make sure you are running the latest version of Anbox before reporting an issue. Update snap to latest: snap refresh --devmode --edge anbox

    yes I am

    1. Make sure you have debug logs enabled: sudo snap set anbox debug.enable=true

    I have

    1. Reproduce the error while debug logs enabled.

    I did

    1. Run the anbox logs collection utility and attach the tar file.

    anbox-system-diagnostics-2021-09-03.zip

    1. ** Please paste the result of anbox system-info below:**
    anbox system-info output
    $ anbox system-info
    WARNING: cgroup v2 is not fully supported yet, proceeding with partial confinement
    version: local-ad377ff
    snap-revision: 213
    cpu:
      arch:  x86
      brand: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
      features: 
        - aes
        - sse4_1
        - sse4_2
        - avx
        - avx2
    os:
      name: Fedora
      version: 34 (Workstation Edition)
      snap-based: true
    kernel:
      version: Linux version 5.14.0 ([email protected]) (gcc (GCC) 11.2.1 20210728 (Red Hat 11.2.1-1), GNU ld version 2.35.2-5.fc34) #1 SMP Wed Sep 1 10:22:29 CEST 2021
      binder: false
      ashmem: true
    graphics:
      egl:
        vendor: Mesa Project
        version: 1.5
        extensions:
          - EGL_ANDROID_blob_cache
          - EGL_ANDROID_native_fence_sync
          - EGL_EXT_buffer_age
          - EGL_EXT_create_context_robustness
          - EGL_EXT_image_dma_buf_import
          - EGL_EXT_image_dma_buf_import_modifiers
          - EGL_IMG_context_priority
          - 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_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
      gles2:
        vendor: n/a
        vendor: n/a
        extensions: []
    

    Please describe your problem:

    When I try to start anbox.appmgr the window "Starting" is shown, but after that it crashes with the message "The name is not activatable"

    What were you expecting?:

    That the app manager would start

    Additional info:

    $ anbox.appmgr 
    WARNING: cgroup v2 is not fully supported yet, proceeding with partial confinement
    [ 2021-09-03 14:37:10] [launch.cpp:[email protected]()] Session manager is not yet running, trying to start it
    [ 2021-09-03 14:37:10] [launch.cpp:[email protected]_session_manager] Started session manager, will now try to connect ..
    [ 2021-09-03 14:37:10] [splash_screen.cpp:[email protected]] Window has no associated renderer yet, creating one ...
    [ 2021-09-03 14:38:01] [daemon.cpp:[email protected]] [org.freedesktop.DBus.Error.ServiceUnknown] The name is not activatable
    

    When I try to start the seesion manager manually:

    $ anbox session-manager
    WARNING: cgroup v2 is not fully supported yet, proceeding with partial confinement
    [ 2021-09-03 14:44:59] [daemon.cpp:[email protected]] Failed to connect to socket /var/snap/anbox/common/sockets/anbox-container.socket: Connection refused
    
    opened by raffaem 12
Owner
Anbox
Android in a Box
Anbox
Visual Studio Code

Visual Studio Code - Open Source ("Code - OSS") The Repository This repository ("Code - OSS") is where we (Microsoft) develop the Visual Studio Code p

Microsoft 121.4k Sep 15, 2021
Sourcetrail - free and open-source interactive source explorer

Sourcetrail Sourcetrail is a free and open-source cross-platform source explorer that helps you get productive on unfamiliar source code. Windows: Lin

Coati Software 11.9k Sep 15, 2021
git-cola: The highly caffeinated Git GUI

git-cola: The highly caffeinated Git GUI git-cola is a powerful Git GUI with a slick and intuitive user interface. Copyright (C) 2007-2020, David Agu

git-cola 1.7k Sep 18, 2021
ShellCheck, a static analysis tool for shell scripts

ShellCheck - A shell script static analysis tool ShellCheck is a GPLv3 tool that gives warnings and suggestions for bash/sh shell scripts: The goals o

Vidar Holen 26.1k Sep 19, 2021
A cross-platform Qt IDE

Qt Creator Qt Creator is a cross-platform, integrated development environment (IDE) for application developers to create applications for multiple des

Qt Creator 1.6k Sep 10, 2021
The Pencil Project's unique mission is to build a free and opensource tool for making diagrams and GUI prototyping that everyone can use.

About The Next Version Pencil V3 is a rewrite of Pencil that aims to fix major performance and scalability issues of the application. The new version

Evolus Vietnam 8.2k Sep 13, 2021
IntelliJ IDEA Community Edition & IntelliJ Platform

IntelliJ IDEA Community Edition These instructions will help you build IntelliJ IDEA Community Edition from source code, which is the basis for Intell

JetBrains 12.6k Sep 17, 2021
Official repository for IPython itself. Other repos in the IPython organization contain things like the website, documentation builds, etc.

IPython: Productive Interactive Computing Overview Welcome to IPython. Our full documentation is available on ipython.readthedocs.io and contains info

IPython 15k Sep 15, 2021
Windows Explorer Extension to Operate Git; Mirror of official repository https://tortoisegit.org/sourcecode

TortoiseGit - The coolest Interface to Git Version Control TortoiseGit is a Windows Shell Interface to Git based on TortoiseSVN. It's open source and

TortoiseGit 888 Sep 13, 2021
A plugin manager for Fish.

Fisher A plugin manager for Fish—the friendly interactive shell. Manage functions, completions, bindings, and snippets from the command line. Extend y

Jorge Bucaran 5.1k Sep 15, 2021
LiteIDE is a simple, open source, cross-platform Go IDE.

LiteIDE X Introduction LiteIDE is a simple, open source, cross-platform Go IDE. Version: X37.4 (support Go modules) Author: visualfc Features Core fea

null 6.6k Sep 17, 2021
The user-friendly command line shell.

fish - the friendly interactive shell fish is a smart and user-friendly command line shell for macOS, Linux, and the rest of the family. fish includes

The user-friendly shell 17.4k Sep 17, 2021
open-source electronics platform

Arduino is an open-source physical computing platform based on a simple I/O board and a development environment that implements the Processing/Wiring

Arduino 12.1k Sep 23, 2021
Offline documentation browser inspired by Dash

Zeal Zeal is a simple offline documentation browser inspired by Dash. Download Get binary builds for Windows and Linux from the download page. How to

ZealDocs 9k Sep 14, 2021
Git Source Code Mirror - This is a publish-only repository and all pull requests are ignored. Please follow Documentation/SubmittingPatches procedure for any of your improvements.

Git - fast, scalable, distributed revision control system Git is a fast, scalable, distributed revision control system with an unusually rich command

Git 39.3k Sep 15, 2021
Git Extensions is a standalone UI tool for managing git repositories. It also integrates with Windows Explorer and Microsoft Visual Studio (2015/2017/2019).

Git Extensions Git Extensions is a standalone UI tool for managing git repositories. It also integrates with Windows Explorer and Microsoft Visual Stu

Git Extensions 5.8k Sep 23, 2021
A plugin to make programming the arduino in eclipse easy

Sloeber, the Arduino IDE for Eclipse The Eclipse IDE (Integrated Developement Environment) is a full featured programming editor with many fantastic f

Sloeber - The Eclipse Arduino IDE 364 Sep 15, 2021
Fritzing desktop application

Fritzing Branch Badge master develop The Fritzing application is an Electronic Design Automation software with a low entry barrier, suited for the nee

Fritzing 2.6k Sep 15, 2021
A colour picker app for Ubuntu and Linux which allows picking any colour on the screen

Pick A colour picker app for Ubuntu and Linux which allows picking any colour on the screen and remembers the last few you picked. Made with ?? for Bu

Stuart Langridge 232 Aug 22, 2021