Screen orientation issue in Anbox Cloud 1.26.1

We released Anbox Cloud 1.26.1 on June 11, 2025. Unfortunately, we found that some display settings we introduced in 1.26.1 has caused a regression in how the screen orientation is handled.

We have updated the 1.26.1 release notes with the following details of this issue and a possible way to overcome this issue until a fix is released:

Issue

Even when the screen orientation is changed by the Android application, the device’s runtime configuration does not change.

Workaround

Until a fix is available, create an addon with a pre-start hook containing the following script that clears the display settings causing the issue and use the addon in your application:


#!/bin/bash -ex

# Only run the hook for the base instance

if [ "$INSTANCE_TYPE" = "regular" ]; then

exit 0

fi

ANBOX_VERSION=$(cat /etc/anbox-release | grep version: | cut -d' ' -f2 | cut -d'-' -f1)

if [[ $ANBOX_VERSION == "1.26.1" ]] ; then

init_numbat_rc_file="$ANBOX_DIR"/android-vendor/etc/init/hw/init.numbat.rc

sed -i '/^\s*start numbat-settings\s*$/d' "$init_numbat_rc_file"

fi