Problem with connect to Serial Porty [15,16]

Heloo, I can’t open the uart port(ttyS4) in VIM1 i got error massage:

vc: denied { read write } for name="ttyS4" dev="tmpfs" ino=12724 scontext=u:r:untrusted_app:s0:c61,c256,c512,c768 tcontext=u:object_r:serial_device:s0 tclass=chr_file permissive=1

I do this:

adb shell
su
chmod 777 /dev/ttyS4

Can you help me?

I don’t use android, however try this.

$ groups

Then if you are not a member of tty do this

$ sudo adduser {your user id} tty

Note: {} brackets are to be removed.
You might have to be part of tty group to use that, again I don’t use android this is a guess.