UART permission denied on Android SC200R

I’m using SC200R with Android 10 BSP. When I sent data on UART1 (ttyMSM1) , I’m getting permission denied error. Please help to resolve this issue.

echo “Aj” > /dev/ttyMSM1
/system/bin/sh: can’t create /dev/ttyMSM1: Permission denied

Hi aravinthkumarj1,

it need extract the permission, i think you can close selinux permission to test first.

adb shell
setenforce 0

Now I’m not getting permission failed. But I didn’t receive data on UART.
Is there a predefined way to test UART.? Any application do we have.?