Chosen Solution

I took my phone to the workshop and they said that they couldn’t fix it coz there was a problem with the logic board, so If I do purchase a bare logic and place the chips from the old one to the new one.. will it work ??

Not a good idea. A replacement logic board costs too much for regular repairs, causing Touch ID issues and other weird carrier lock/activation lock issues.