Check what wiring mods have been done so you know the reason.
If you have spare GEMS ECU, then step-1 is to check if iCarsoft V2 can do the re-learn. If so open the ECU up & look for bodges. If they look standard then try them. No need to replace BECM, etc.
If iCarsoft V2 cannot do it...