I do not know if questions on the topic of firmware are resolved here, but still I’m taking a chance. There is an official firmware and a locked modem (for a telecom operator). There is a ported СyanogenMod from the donor device. So, this is the most operator lock where manifested? What files are responsible for it? The fact is that I noticed a completely different code in system/framework/telephony-common.jar . It turns out that all the telephony system applications depend on this framework ??
I have come a long way (I just need to call one method)
system/framework/telephony-common.jar/classes.dex >> dex2jar >> classes.dex.dex2jar.jar >> JdGui >> com/android/internal/telephony/IccCard/supplyNetworkDepersonalization(String nck, Message complete);