|
【Android】
firefly-rk3399-Industry如何彻底关闭selinux
发表于 2020-11-24 19:39:23
浏览:7482
|
回复:1
打印
只看该作者
[复制链接]
楼主
我们在适配RIL时,有如下打印
01-18 18:04:20.747 D/RILD ( 315): **RIL Daemon Started**
01-18 18:04:20.747 D/RILD ( 315): **RILd param count=3**
01-18 18:04:20.782 W/RILD ( 315): RIL_SAP_Init not defined or exported in /system/lib64/libreference-ril.so: undefined symbol: RIL_SAP_Init
01-18 18:04:20.782 D/RILD ( 315): RIL_Init argc = 5 clientId = 0
01-18 18:04:20.782 D/RILC ( 315): Quectel RIL Version: Quectel_Android_RIL_SR01A40V36
01-18 18:04:20.782 D/RILC ( 315): [ro.build.version.release]: [7.1.2]
01-18 18:04:20.782 E/RILC ( 315): Unsupport Android Version 71 by Quectel Now!!!!
01-18 18:04:20.782 D/RILC ( 315): Android Version: 71, RIL_VERSION: 12 / 12
01-18 18:04:20.782 D/RILC ( 315): [ro.build.description]: [rk3399_firefly-userdebug 7.1.2 NHG47K eng.server8.20201124.183736 test-keys]
01-18 18:04:20.782 D/RILC ( 315): [rild.libpath]: [/system/lib64/libreference-ril.so]
01-18 18:04:20.782 D/RILC ( 315): [rild.libargs]: [-d /dev/ttyUSB1]
01-18 18:04:20.782 D/RILC ( 315): selinux maybe set Enforcing mode, use command getenforce to check
01-18 18:04:20.782 D/RILC ( 315): selinux maybe set Enforcing mode, use command "setenforce 0" to disable
01-18 18:04:20.784 I/RILC ( 315): Opening tty device /dev/ttyUSB1
01-18 18:04:20.784 I/RILC ( 315): clientID = 0
01-18 18:04:20.784 D/RILC ( 315): you designate /dev/ttyUSB1 as AT port
01-18 18:04:20.785 D/RILC ( 315): i guess you designate a usb port as AT port
01-18 18:04:20.785 D/RILC ( 315): and the usb devices's idVendor = 2c7c, idProduct = 6026
01-18 18:04:20.785 D/RILD ( 315): RIL_Init rilInit completed
01-18 18:04:20.785 I/RILC ( 315): SIM_COUNT: 1
01-18 18:04:20.785 E/RILC ( 315): RIL_register: RIL version 12
01-18 18:04:20.785 I/RILC ( 315): s_registerCalled flag set, 1
01-18 18:04:20.785 I/RILC ( 315): Start to listen RIL_SOCKET_1
01-18 18:04:20.785 D/RILD ( 315): RIL_Init RIL_register completed
01-18 18:04:20.785 D/RILD ( 315): RIL_register_socket completed
01-18 18:04:20.785 D/RILD ( 315): RIL_Init starting sleep loop
01-18 18:04:20.789 I/RILC ( 315): mainLoop Start
其中提到selinux maybe set Enforcing mode
我们是指定了ttyUSB1作为AT命令口的,权限也是777.但仍报了这个问题。
请问是否有大神知道如何彻底关闭selinux |
|