Closed viscropst closed 7 years ago
With what?
Nitrogen O and device tree based on yours.
something wrong with... you power hal???
Power hal is modified to support aosp based roms,because of aosp based rom not has getfeature() and POWER_HINT_SET_PROFILE.You could read the source code based on Demon's.
int32_t
. If your AOSP ROM doesn't support power profiles, just remove the power hal, since power profiles is all it does.F zygote64: jni_internal.cc:508] JNI FatalError called: frameworks/base/core/jni/com_android_internal_os_Zygote.cpp:186: setgroups failed: Invalid argument, gids.size=15
This happens because missing qcom_diag
AID. https://review.lineageos.org/#/c/187897/Thanks, I'm trying to building without in-device-tree power hal.I'll try to apply that patch(or replace the 'qcom_diag' to 'oem_2950' in rc files of rootdir) to codebase of nitrogen.
this is new logcat logcat.txt
Have you get this error in lineage? I built the nitrogen oreo and booting normally but logcat shows as below. Thanks for you help!
02-02 04:18:46.680 434 618 D PerMgrLib: QCRIL voting for modem
02-02 04:18:46.680 394 628 D PerMgrSrv: QCRIL voting for modem
02-02 04:18:46.680 394 628 D PerMgrSrv: modem client QCRIL is voter already
02-02 04:18:46.684 412 412 E QC-QMI : linux_qmi_qmux_io.c: Unable to open port id /dev/smdcntl0, error [19:No such device]
02-02 04:18:46.684 412 412 E QC-QMI : qmi_qmux_open_connection: QMI_QMUX_IO_PLATFORM_OPEN_CONN failed conn_id=0 rc=-1
02-02 04:18:46.684 412 412 E QC-QMI : qmi_qmux_tx_msg: failed to open inactive connd_id=0
02-02 04:18:46.686 412 412 E QC-QMI : linux_qmi_qmux_io.c: Unable to open port id /dev/smdcntl0, error [19:No such device]
02-02 04:18:46.686 412 412 E QC-QMI : qmi_qmux_open_connection: QMI_QMUX_IO_PLATFORM_OPEN_CONN failed conn_id=0 rc=-1
02-02 04:18:46.686 412 412 E QC-QMI : qmi_qmux_tx_msg: failed to open inactive connd_id=0
02-02 04:18:46.686 412 412 E QC-QMI : qmi_qmux: TX failed, connection inactive or in reset, conn_id=0, status_flags=0
02-02 04:18:46.686 412 412 E QC-QMI : qmi_ctl_tx_msg: qmi_qmux_tx_msg failed
02-02 04:18:46.686 412 412 E QC-QMI : qmi_ctl_handle_request: qmi_ctl_tx_msg call failed
02-02 04:18:46.689 412 412 E QC-QMI : linux_qmi_qmux_io.c: Unable to open port id /dev/smdcntl0, error [19:No such device]
02-02 04:18:46.689 412 412 E QC-QMI : qmi_qmux_open_connection: QMI_QMUX_IO_PLATFORM_OPEN_CONN failed conn_id=0 rc=-1
02-02 04:18:46.689 412 412 E QC-QMI : qmi_qmux_tx_msg: failed to open inactive connd_id=0
02-02 04:18:46.689 412 412 E QC-QMI : qmi_qmux: TX failed, connection inactive or in reset, conn_id=0, status_flags=0
02-02 04:18:46.689 412 412 E QC-QMI : qmi_ctl_tx_msg: qmi_qmux_tx_msg failed
02-02 04:18:46.689 412 412 E QC-QMI : qmi_ctl_handle_request: qmi_ctl_tx_msg call failed
02-02 04:18:46.692 412 412 E QC-QMI : linux_qmi_qmux_io.c: Unable to open port id /dev/smdcntl0, error [19:No such device]
02-02 04:18:46.693 412 412 E QC-QMI : qmi_qmux_open_connection: QMI_QMUX_IO_PLATFORM_OPEN_CONN failed conn_id=0 rc=-1
02-02 04:18:46.693 412 412 E QC-QMI : qmi_qmux_tx_msg: failed to open inactive connd_id=0
02-02 04:18:46.694 434 9695 E QC-QMI : qmi_client [434] c25: failed to locate client data
02-02 04:18:46.694 412 412 E QC-DS-LIB: qmuxd: RX on fd=14 returned error=0 errno[19:No such device]
02-02 04:18:46.694 412 412 E QC-QMI : QMUX qmux_client_id=c25 not found in qmux client list, unable to remove
02-02 04:18:46.698 412 412 E QC-QMI : linux_qmi_qmux_io.c: Unable to open port id /dev/smdcntl0, error [19:No such device]
02-02 04:18:46.698 412 412 E QC-QMI : qmi_qmux_open_connection: QMI_QMUX_IO_PLATFORM_OPEN_CONN failed conn_id=0 rc=-1
02-02 04:18:46.698 412 412 E QC-QMI : qmi_qmux_tx_msg: failed to open inactive connd_id=0
02-02 04:18:46.702 412 412 E QC-QMI : linux_qmi_qmux_io.c: Unable to open port id /dev/smdcntl0, error [19:No such device]
02-02 04:18:46.702 412 412 E QC-QMI : qmi_qmux_open_connection: QMI_QMUX_IO_PLATFORM_OPEN_CONN failed conn_id=0 rc=-1
02-02 04:18:46.702 412 412 E QC-QMI : qmi_qmux_tx_msg: failed to open inactive connd_id=0
02-02 04:18:46.702 412 412 E QC-QMI : qmi_qmux: TX failed, connection inactive or in reset, conn_id=0, status_flags=0
02-02 04:18:46.702 412 412 E QC-QMI : qmi_ctl_tx_msg: qmi_qmux_tx_msg failed
02-02 04:18:46.702 412 412 E QC-QMI : qmi_ctl_handle_request: qmi_ctl_tx_msg call failed
02-02 04:18:46.707 412 412 E QC-QMI : linux_qmi_qmux_io.c: Unable to open port id /dev/smdcntl0, error [19:No such device]
02-02 04:18:46.707 412 412 E QC-QMI : qmi_qmux_open_connection: QMI_QMUX_IO_PLATFORM_OPEN_CONN failed conn_id=0 rc=-1
02-02 04:18:46.707 412 412 E QC-QMI : qmi_qmux_tx_msg: failed to open inactive connd_id=0
02-02 04:18:46.707 412 412 E QC-QMI : qmi_qmux: TX failed, connection inactive or in reset, conn_id=0, status_flags=0
02-02 04:18:46.707 412 412 E QC-QMI : qmi_ctl_tx_msg: qmi_qmux_tx_msg failed
02-02 04:18:46.707 412 412 E QC-QMI : qmi_ctl_handle_request: qmi_ctl_tx_msg call failed
02-02 04:18:46.710 412 412 E QC-QMI : linux_qmi_qmux_io.c: Unable to open port id /dev/smdcntl0, error [19:No such device]
02-02 04:18:46.710 412 412 E QC-QMI : qmi_qmux_open_connection: QMI_QMUX_IO_PLATFORM_OPEN_CONN failed conn_id=0 rc=-1
02-02 04:18:46.710 412 412 E QC-QMI : qmi_qmux_tx_msg: failed to open inactive connd_id=0
02-02 04:18:46.710 412 412 E QC-QMI : qmi_qmux: TX failed, connection inactive or in reset, conn_id=0, status_flags=0
02-02 04:18:46.710 412 412 E QC-QMI : qmi_ctl_tx_msg: qmi_qmux_tx_msg failed
02-02 04:18:46.710 412 412 E QC-QMI : qmi_ctl_handle_request: qmi_ctl_tx_msg call failed
02-02 04:18:46.714 412 412 E QC-QMI : linux_qmi_qmux_io.c: Unable to open port id /dev/smdcntl0, error [19:No such device]
02-02 04:18:46.714 412 412 E QC-QMI : qmi_qmux_open_connection: QMI_QMUX_IO_PLATFORM_OPEN_CONN failed conn_id=0 rc=-1
02-02 04:18:46.714 412 412 E QC-QMI : qmi_qmux_tx_msg: failed to open inactive connd_id=0
02-02 04:18:46.714 412 412 E QC-QMI : qmi_qmux: TX failed, connection inactive or in reset, conn_id=0, status_flags=0
02-02 04:18:46.714 412 412 E QC-QMI : qmi_ctl_tx_msg: qmi_qmux_tx_msg failed
02-02 04:18:46.714 412 412 E QC-QMI : qmi_ctl_handle_request: qmi_ctl_tx_msg call failed
02-02 04:18:46.722 412 412 E QC-QMI : linux_qmi_qmux_io.c: Unable to open port id /dev/smdcntl0, error [19:No such device]
02-02 04:18:46.722 412 412 E QC-QMI : qmi_qmux_open_connection: QMI_QMUX_IO_PLATFORM_OPEN_CONN failed conn_id=0 rc=-1
02-02 04:18:46.722 412 412 E QC-QMI : qmi_qmux_tx_msg: failed to open inactive connd_id=0
02-02 04:18:46.722 434 9702 E QC-QMI : qmi_client [434] c26: failed to locate client data
02-02 04:18:46.723 412 412 E QC-DS-LIB: qmuxd: RX on fd=14 returned error=0 errno[19:No such device]
02-02 04:18:46.723 412 412 E QC-QMI : QMUX qmux_client_id=c26 not found in qmux client list, unable to remove
Do you see any sepolicy denials?
Yes, just like below.
02-02 09:21:28.063 26528 26528 W rfs_access: type=1400 audit(0.0:276): avc: denied { read } for name="uio" dev="sysfs" ino=15612 scontext=u:r:rfs_access:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
02-02 09:21:28.069 26528 26528 E rfs_access: open dir failed on /sys/class/uio, errno = 13
02-02 09:21:28.070 26528 26528 E rfs_access: Mmap failed for client: rfsa_dsp
02-02 09:21:28.070 26528 26528 E rfs_access: Client initialization failed at startup.
I just add something as below. rfs_access.te:
allow rfs_access uio_sysfs:dir { read open };
allow rfs_access uio_sysfs:file { read open };
allow rfs_access uio_sysfs:lnk_file { read open };
file_contexts:
/sys/class/uio(/.*) u:object_r:uio_sysfs:s0
Could I ignore the VNDK Abi broken ?
I found an amazing thing in the logcat.
02-03 15:12:07.445 0 0 E init : service 'console' couldn't open console '/dev/ttyHSL0': No such file or directory
Now mobile data is working.Thanks for help.
Here is logcat:https://mega.nz/#!RZ0EmJrA!VcIj2Ea0ZSuy3fDuSt_JoUsVkZaF_nHGq49w8B5T-IQ Hope you can help me with this,thanks!