I have almost gotten GPRS modem support to work. At least as far as seeing AT commands from it. Still need to get the correct RIL for the modem but progress has been made to show a phone and SMS messaging etc. I'll post this on my blog later when the final system works.
I have an issue with policies and get the following output on the debug port. There are no AT commands in the logcat for radio.
[ 205.132000] type=1400 audit(1451635401.612:22): avc: denied { read write } for pid=1914 comm="rild" name="ttyUSB2" dev="tmpfs" ino=4245 scontext=u:r:rild:s0 tcontext=u:object_r:device:s0 tclass=chr_file
I've checked and there are policies in place for RILD included in the build. ttyUSB2 is set with chmod 0777 for system:system
If I use setenforce 0 via the debug port as su, everything bursts into life and I now get AT commands from the logcat.
Does anyone know how to configure policy.conf to allow the above to work? I can't seem to find anything on how this all works.
I have an issue with policies and get the following output on the debug port. There are no AT commands in the logcat for radio.
[ 205.132000] type=1400 audit(1451635401.612:22): avc: denied { read write } for pid=1914 comm="rild" name="ttyUSB2" dev="tmpfs" ino=4245 scontext=u:r:rild:s0 tcontext=u:object_r:device:s0 tclass=chr_file
I've checked and there are policies in place for RILD included in the build. ttyUSB2 is set with chmod 0777 for system:system
If I use setenforce 0 via the debug port as su, everything bursts into life and I now get AT commands from the logcat.
Does anyone know how to configure policy.conf to allow the above to work? I can't seem to find anything on how this all works.