Chosen Solution
what if the phone is icloud lock can i just replace the logic board or it should be the whole piece like porta wifi cable etc.
Can you do it? Yes, that’s a possibility. But why? How much could you possibly save by doing this? It simply doesn’t Make sense. The cost of the board isn’t worth it. Neither is those chip sets. Better to not mess with Apple ID locked devices. Trust me, from experience
If the device is iCloud locked, you can replace with a motherboard that is not iCloud locked and that will get you to having a working device.