Android-Serialport icon indicating copy to clipboard operation
Android-Serialport copied to clipboard

SerialPort Class

Open ghost opened this issue 5 months ago • 0 comments

When I use the SerialPort class, the command /system/bin/su is executed, which throws the following exception: java.io.IOException: Cannot run program "/system/bin/su": error=2, No such file or directory

I noticed that on my device, su is located in /system/xbin/. Because of this, I am unable to establish a connection.

Can the command be changed via a static variable in the SerialPort class?

ghost avatar Aug 10 '25 09:08 ghost