Request for Android image / fix for portrait HDMI + USB touch on ROCK 5B+

Hi Radxa team,

I need help with ROCK 5B+ Android for a portrait kiosk setup.

Hardware setup

  • Board: Radxa ROCK 5B+

  • OS: Official Android image for ROCK 5B+

  • Display: 27-inch HDMI display mounted in portrait

  • Touch: USB touch connected to the board

  • Touch controller detected as:

    • Vendor: 0EEF

    • Product: C000

    • Version: 0111

    • Name: eGalax Inc. eGalaxTouch EXC3189-8014-08.00.00.00

Problem

The display output comes, but portrait mode is not working correctly on this Android image.

What I see:

  • launcher/app icons are not placed correctly

  • navigation buttons are misaligned

  • search bar is also misplaced

  • overall screen composition looks wrong in portrait mode

  • USB touch does not match the UI

  • touch behaves like landscape / swapped / opposite mapping

Important note

The same display and touch hardware works correctly on another RK3588 Android board, so the issue seems specific to the ROCK 5B+ Android image / vendor configuration.

What I already tried

  • display orientation from Android settings

  • ADB rotation commands

  • wm size / wm density

  • HDMI rotation properties

  • IDC file tests for the eGalax touch controller

Still, the issue remains.

Request

Please help with one of these:

  1. a correct Android image for ROCK 5B+ supporting portrait HDMI + USB touch

  2. a patch / config fix for:

    • proper portrait HDMI composition

    • correct touch mapping for eGalax 0EEF:C000:0111

    • correct external display + external touch association

If needed, I can share:

  • photos

  • video

  • ADB outputs

  • full logs

This is for a production Android kiosk, so proper portrait display and touch support are required.

Thanks.

Hi Sazzad,

I own the Rock5t and Rock5c; I just solved the following problem on Android 12 and 14.

Touchscreen Mapping Correction

You need to create an ‘.idc’ file for your touchscreen in the directory path ‘/system/usr/idc’.

File name:
Vendor_xxxx_Product_xxxx.idc

(You must replace the ‘xxxx’ for Vendor and Product with your specific touchscreen data; note that case sensitivity matters—use lowercase for hexadecimal letters.)

For your device:

Vendor_0eef_Product_c000.idc

File content:

########################################

device.internal=1
touch.deviceType = touchScreen
touch.orientation = 180 # customize to your Screen

# device.internal = 1 (0= externes Gerät/1 = internes Gerät)

# touch.deviceType = touchScreen

# touch.orientation = 0 (Natural)

# touch.orientation = 90 (Clockwise)

# touch.orientation = 180 (Upside down)

# touch.orientation = 270 (Counterclockwise)

########################################

Procedure for transferring to the Rock device:

I established an ADB connection (via USB or network using the connect command):

1.: adb root

The following enables read/write access to the system:

If ADB is already running as root, ‘su’ is not required in the shell command.

2.: adb remount

Alternative command:

adb shell ‘mount -o rw,remount /’

Transfer your IDC config to the Radxa device (Source PC = Windows; please adjust the file path):

3.: adb push D:\FilePath\ADB\idc\Vendor_xxxx_Product_xxxx.idc /system/usr/idc

adb reboot