SC20 - GPIO and UART

Hello community,

I’ve bought SMART-3VB_V1.3 Kit based on SC20.
I’m using Android 8.1
How can I open permissions for GPIO and UART modules and use them in a proper way?

Thanks in advance.

hi bro:
your know, when we want read or write a device node, we need have the permission to do that.
So we can use this command to change a device node attribute。 ===> chmod 666 your_device_node

After do that, we still don’t have the permissions, because of the selinux.
we still need modify the policy of the selinux.

You are quectel’s customer. if you need more detail help, please submit a tickets on the e-Service. Thank you.

did you mean you have installed android 8 instead of 7.1.2?

hi bro:
you can’t do that. their are different baseline.

The thing is, even when I am adjusting the init_target,rc (GPIO permissions with chmod 777), and system_app.te and system_service.te, still there is no luck opening and using neither GPIO nor UART through ADB shell or Android JNI Application.
Maybe someone please, can tell me what am I missing?

The same thing on both SDKs, Android 8.1 and Android 7.1.2