It didn't work at first, but after I added and deleted files from the SD card a few times, it started working. Thank you. I'll give it a try for now. If I run into any problems, I'll post again.
Thank you for your help!!

Today, I deleted all MTRX-related files from the folders on both SD cards (1 and 2) and started over from scratch, but MTRX still wouldn't start.
The contents of log.txt were as follows:
MTRX.sh: DEVICE_ARCH=aarch64 uname -m=aarch64 -> mtrx.aarch64
=== MTRX launch diagnostics ===
--- CFW / PortMaster ---
CFW_NAME=ArkOS DEVICE_NAME=RG351V
controlfolder=/opt/system/Tools/PortMaster
--- SDL / display env ---
CFW_GLIBC=230
DISPLAY_HEIGHT=480
DISPLAY_ORIENTATION=0
DISPLAY_WIDTH=640
ESUDO=sudo --preserve-env=SDL_GAMECONTROLLERCONFIG_FILE,DEVICE,param_device,HOTKEY,ANALOGSTICKS,SDL_KMSDRM_ORIENTATION,SDL_KMSDRM_ROTATION
GPTOKEYB2=sudo --preserve-env=SDL_GAMECONTROLLERCONFIG_FILE,DEVICE,param_device,HOTKEY,ANALOGSTICKS,SDL_KMSDRM_ORIENTATION,SDL_KMSDRM_ROTATION env LD_PRELOAD=/opt/system/Tools/PortMaster/libinterpose.aarch64.so /opt/system/Tools/PortMaster/gptokeyb2 -Z
GPTOKEYB=sudo --preserve-env=SDL_GAMECONTROLLERCONFIG_FILE,DEVICE,param_device,HOTKEY,ANALOGSTICKS,SDL_KMSDRM_ORIENTATION,SDL_KMSDRM_ROTATION /opt/system/Tools/PortMaster/gptokeyb -sudokill
PYSDL2_DLL_PATH=/usr/lib
SDL_ASSERT=always_ignore
SDL_GAMECONTROLLERCONFIG_FILE=/tmp/gamecontrollerdb.txt
XDG_RUNTIME_DIR=/run/user/1002/
--- EGL/GLES/gbm libraries visible to the loader ---
libwayland-client.so.0 (libc6,AArch64) => /lib/aarch64-linux-gnu/libwayland-client.so.0
libwayland-client.so.0 (libc6,hard-float) => /lib/arm-linux-gnueabihf/libwayland-client.so.0
libwayland-client.so (libc6,AArch64) => /lib/aarch64-linux-gnu/libwayland-client.so
libmali.so.1 (libc6,AArch64) => /lib/aarch64-linux-gnu/libmali.so.1
libmali.so (libc6,AArch64) => /usr/local/lib/aarch64-linux-gnu/libmali.so
libmali.so (libc6,AArch64) => /lib/aarch64-linux-gnu/libmali.so
libmali.so (libc6,hard-float) => /usr/local/lib/arm-linux-gnueabihf/libmali.so
libmali-bifrost-g31-rxp0-wayland-gbm.so (libc6,AArch64) => /lib/aarch64-linux-gnu/libmali-bifrost-g31-rxp0-wayland-gbm.so
libmali-bifrost-g31-rxp0-gbm.so (libc6,AArch64) => /usr/local/lib/aarch64-linux-gnu/libmali-bifrost-g31-rxp0-gbm.so
libmali-bifrost-g31-rxp0-gbm.so (libc6,hard-float) => /usr/local/lib/arm-linux-gnueabihf/libmali-bifrost-g31-rxp0-gbm.so
libgbm.so.1.0.0 (libc6,AArch64) => /usr/local/lib/aarch64-linux-gnu/libgbm.so.1.0.0
libgbm.so.1.0.0 (libc6,AArch64) => /lib/aarch64-linux-gnu/libgbm.so.1.0.0
libgbm.so.1.0.0 (libc6,hard-float) => /usr/local/lib/arm-linux-gnueabihf/libgbm.so.1.0.0
libgbm.so.1 (libc6,AArch64) => /usr/local/lib/aarch64-linux-gnu/libgbm.so.1
libgbm.so.1 (libc6,AArch64) => /lib/aarch64-linux-gnu/libgbm.so.1
libgbm.so.1 (libc6,hard-float) => /usr/local/lib/arm-linux-gnueabihf/libgbm.so.1
libgbm.so (libc6,AArch64) => /usr/local/lib/aarch64-linux-gnu/libgbm.so
libgbm.so (libc6,AArch64) => /lib/aarch64-linux-gnu/libgbm.so
libgbm.so (libc6,hard-float) => /usr/local/lib/arm-linux-gnueabihf/libgbm.so
libMaliOpenCL.so (libc6,AArch64) => /lib/aarch64-linux-gnu/libMaliOpenCL.so
libMali.so (libc6,AArch64) => /lib/aarch64-linux-gnu/libMali.so
libGLESv2.so.2.1.0 (libc6,AArch64) => /lib/aarch64-linux-gnu/libGLESv2.so.2.1.0
libGLESv2.so.2.0.0 (libc6,AArch64) => /usr/local/lib/aarch64-linux-gnu/libGLESv2.so.2.0.0
libGLESv2.so.2.0.0 (libc6,AArch64) => /lib/aarch64-linux-gnu/libGLESv2.so.2.0.0
libGLESv2.so.2.0.0 (libc6,hard-float) => /usr/local/lib/arm-linux-gnueabihf/libGLESv2.so.2.0.0
libGLESv2.so.2 (libc6,AArch64) => /usr/local/lib/aarch64-linux-gnu/libGLESv2.so.2
libGLESv2.so.2 (libc6,AArch64) => /lib/aarch64-linux-gnu/libGLESv2.so.2
libGLESv2.so.2 (libc6,hard-float) => /usr/local/lib/arm-linux-gnueabihf/libGLESv2.so.2
libGLESv2.so (libc6,AArch64) => /usr/local/lib/aarch64-linux-gnu/libGLESv2.so
libGLESv2.so (libc6,AArch64) => /lib/aarch64-linux-gnu/libGLESv2.so
libGLESv2.so (libc6,hard-float) => /usr/local/lib/arm-linux-gnueabihf/libGLESv2.so
libEGL_mesa.so.0 (libc6,AArch64) => /lib/aarch64-linux-gnu/libEGL_mesa.so.0
libEGL.so.1.1.0 (libc6,AArch64) => /lib/aarch64-linux-gnu/libEGL.so.1.1.0
libEGL.so.1.0.0 (libc6,AArch64) => /usr/local/lib/aarch64-linux-gnu/libEGL.so.1.0.0
libEGL.so.1.0.0 (libc6,AArch64) => /lib/aarch64-linux-gnu/libEGL.so.1.0.0
libEGL.so.1.0.0 (libc6,hard-float) => /usr/local/lib/arm-linux-gnueabihf/libEGL.so.1.0.0
libEGL.so.1 (libc6,AArch64) => /usr/local/lib/aarch64-linux-gnu/libEGL.so.1
libEGL.so.1 (libc6,AArch64) => /lib/aarch64-linux-gnu/libEGL.so.1
libEGL.so.1 (libc6,hard-float) => /usr/local/lib/arm-linux-gnueabihf/libEGL.so.1
libEGL.so (libc6,AArch64) => /usr/local/lib/aarch64-linux-gnu/libEGL.so
libEGL.so (libc6,AArch64) => /lib/aarch64-linux-gnu/libEGL.so
libEGL.so (libc6,hard-float) => /usr/local/lib/arm-linux-gnueabihf/libEGL.so
--- EGL/GLES files on disk ---
lrwxrwxrwx 1 root root 20 Feb 19 2020 /usr/lib/aarch64-linux-gnu/libEGL_mesa.so.0 -> libEGL_mesa.so.0.0.0
-rw-r--r-- 1 root root 263280 Feb 19 2020 /usr/lib/aarch64-linux-gnu/libEGL_mesa.so.0.0.0
lrwxrwxrwx 1 root root 10 Feb 9 2020 /usr/lib/aarch64-linux-gnu/libEGL.so -> libMali.so
lrwxrwxrwx 1 root root 10 Feb 9 2020 /usr/lib/aarch64-linux-gnu/libEGL.so.1 -> libMali.so
lrwxrwxrwx 1 root root 10 Feb 9 2020 /usr/lib/aarch64-linux-gnu/libEGL.so.1.0.0 -> libMali.so
lrwxrwxrwx 1 root root 10 Feb 9 2020 /usr/lib/aarch64-linux-gnu/libEGL.so.1.1.0 -> libMali.so
-rw-r--r-- 1 root root 38921168 Feb 9 2020 /usr/lib/aarch64-linux-gnu/libmali-bifrost-g31-rxp0-wayland-gbm.so
lrwxrwxrwx 1 root root 10 Feb 9 2020 /usr/lib/aarch64-linux-gnu/libmali.so -> libMali.so
lrwxrwxrwx 1 root root 10 Jan 21 2023 /usr/lib/aarch64-linux-gnu/libmali.so.1 -> libmali.so
(none in the usual paths)
--- DRM devices ---
total 0
drwxr-xr-x 2 root root 100 Oct 7 19:11 by-path
crw-rw---- 1 root video 226, 0 Oct 7 19:11 card0
crw-rw---- 1 root video 226, 64 Oct 7 19:11 controlD64
crw-rw---- 1 root render 226, 128 Oct 7 19:11 renderD128
--- processes holding /dev/dri/card0 ---
/dev/dri/card0: 342 402m 3350 3351 3399 3561 3566 3574 3575
=== end diagnostics ===
./mtrx.aarch64: symbol lookup error: ./mtrx.aarch64: undefined symbol: SDL_GameControllerHasAxis
MTRX.sh: controller probe inconclusive (rc=127) -- keeping the no-gptokeyb default
MTRX.sh: CPU governor pinned to performance (was: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor=performance /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor=performance /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor=performance /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor=performance )
MTRX.sh: governor will be restored on exit
MTRX.sh: pw-top not present, no xrun monitoring
./mtrx.aarch64: symbol lookup error: ./mtrx.aarch64: undefined symbol: SDL_GameControllerHasAxis
/opt/system/Tools/PortMaster/funcs.txt: line 140: 3587 Killed $ESUDO pkill -9 -f gptokeyb
/opt/system/Tools/PortMaster/funcs.txt: line 140: 3593 Killed $ESUDO pkill -9 -f gptokeyb2
Thank you for your response.
I am using ArkOS 2.0.
Both ArkOS and PortMaster have been updated to the latest versions.
When I try to launch the MTRX, the screen goes black for a few seconds and then returns to the menu.
First, I downloaded the latest build following the instructions and placed the zip file into PortMaster's `autoinstall` folder. However, when I launched PortMaster, the installation got stuck midway.
Next, I unzipped the file and placed the extracted files directly into the `ports` folder.
Here is the content of `mtrx-launch-error.log`:
```text
MTRX.sh: cd to '/roms2/ports/mtrx' failed -- $directory from control.txt was 'roms2'
```
The file sizes inside the `MTRX` folder are as follows:
* `mtrx.aarch64`: 3,249 KB
* `mtrx.armhf`: 2,844 KB
* `mtrx.gptk`: 1 KB
Thank you for your help.