I think this has to do with the leaking battery you mentioned in the original post. did you remove it ? was there any leakage ? try to track down if it spilled anywhere and check with schematics if it's interfering with something with the keyboard signals.