When you're booted to Android or recovery, are you able to manually mount /firmware?
Code:mkdir -p /firmware mount -t ext4 /dev/block/bootdevice/by-name/modem /firmware
If that doesn't work, what about after a repair of the modem partition?
Code:e2fsck /dev/block/bootdevice/by-name/modem
I really can't think of anything else that might cause the problem.
@chenxiaolong,
First off, thanks for all your help in troubleshooting this issue.
I ran the commands in term. emulator and in TWRP and I got a message that the device or resource is busy in each case. When I loaded AICP 12.1, I had to sideload it as my main ROM, but /firmware did fail at first until I wiped my cache. Once I wiped cache it loaded, including /firmware, with no problem. Not sure why that works.
Currently, I have AICP12.1 in primary and CM14.1 and CypherOS sitting in my data slot. To get the SIM working, I just copied my firmware folder from AICP to the other Nougat ROMS and that seems to do it. I'm cool with this workaround until something can be figured out.