[Lenovo P2 Guides, News, & Discussion] wzedlare:
I uploaded new build.Lineage reboots itself because I couldn't configure modem files well.Frankly, I couldn't figure out the exact source of the fatal error of modem.

Related lines from logs:

[ 13.111098] sysmon-qmi: sysmon_clnt_svc_arrive: Connection established between QMI handle and modem's SSCTL service

[ 13.137368] Fatal error on the modem.

[ 13.137389] modem subsystem failure reason: fs_device_efs_rmts.c:175:Invalid shared ram address from Apps.

[ 13.137395] subsys-restart: subsystem_restart_dev(): Restart sequence requested for modem, restart_level = RELATED.

[ 13.138615] IPA received MPSS BEFORE_SHUTDOWN

[ 13.138634] ipa ipa_uc_state_check:301 uC is not loaded

[ 13.138637] ipa ipa_uc_state_check:301 uC is not loaded

[ 13.141444] rmnet_ipa started deinitialization

[ 13.141448] ipa ipa2_teardown_sys_pipe:1416 bad parm.

[ 13.141452] ipa-wan ipa_wwan_remove:2111 Failed to teardown IPA->APPS pipe

[ 13.141604] [RMNET:HI] rmnet_config_notify_cb(): Kernel is trying to unregister rmnet_ipa0

[ 13.200148] [RMNET:HI] rmnet_config_notify_cb(): Kernel is trying to unregister rmnet_ipa0

[ 13.200188] ipa-wan ipa_del_dflt_wan_rt_tables:377 Deleting Route hdl:(0x9) with ip type: 0

[ 13.200675] ipa-wan ipa_del_dflt_wan_rt_tables:386 Deleting Route hdl:(0xb) with ip type: 1

[ 13.200862] rmnet_ipa completed deinitialization

[ 13.200949] IPA BEFORE_SHUTDOWN handling is complete

[ 13.200957] subsys-restart: subsystem_shutdown(): [ffffffc0aa00b000]: Shutting down modem

[ 13.300987] pil-q6v5-mss 4080000.qcom,mss: Port ffffff8001d72000 halt timeout

[ 13.401059] pil-q6v5-mss 4080000.qcom,mss: Port ffffff8001d74000 halt timeout

[ 13.402534] IPA received MPSS AFTER_SHUTDOWN

[ 13.402558] ipa ipa_q6_post_shutdown_cleanup:2025 uC is not loaded, won't reset Q6 pipes

[ 13.402563] IPA AFTER_SHUTDOWN handling is complete

[ 13.404125] M-Notify: General: 4

[ 13.404572] IPA received MPSS BEFORE_POWERUP

[ 13.405183] IPA BEFORE_POWERUP handling is complete

[ 13.405190] subsys-restart: subsystem_powerup(): [ffffffc0aa00b000]: Powering up modem

[ 13.405321] pil-q6v5-mss 4080000.qcom,mss: modem: loading from 0x0000000086c00000 to 0x000000008c200000

[ 13.408068] M-Notify: General: 6

[ 13.409202] pil-q6v5-mss 4080000.qcom,mss: Debug policy not present - msadp. Continue.

[ 13.409749] pil-q6v5-mss 4080000.qcom,mss: Loading MBA and DP (if present) from 0x00000000f3c00000 to 0x00000000f3d00000

[ 13.484357] pil-q6v5-mss 4080000.qcom,mss: MBA boot done

[ 13.542627] device-mapper: table: 253:0: crypt: IV mechanism required

[ 13.542635] device-mapper: ioctl: error adding target to table

[ 13.907974] pil-q6v5-mss 4080000.qcom,mss: modem: Brought out of reset

[ 13.991242] pil-q6v5-mss 4080000.qcom,mss: Subsystem error monitoring/handling services are up

[ 13.991247] pil-q6v5-mss 4080000.qcom,mss: modem: Power/Clock ready interrupt received

[ 13.991915] IPA received MPSS AFTER_POWERUP

[ 13.992295] M-Notify: General: 7

[ 13.992485] rmnet_ipa started initialization

[ 13.992489] IPA SSR support = True

[ 13.992491] IPA ipa-loaduC = True

[ 13.992494] IPA SG support = True

[ 13.994621] rmnet_ipa completed initialization

[ 13.995072] IPA AFTER_POWERUP handling is complete

[ 13.995079] subsys-restart: subsystem_restart_wq_func(): [ffffffc0aa00b000]: Restart sequence for modem completed.

Modem resets itself because if this failure.If you know how to fix, please tell me.You can try to fix it, I linked new build in thread.I am also trying to fix it.I attached logcat and dmesg.