Chosen Solution
I recently replaced a broken display screen. When I turn it on, it asks for my passcode Unfortunately the top row of the keypad in not accepting my input What is causing this, and how can I fix it ?
Either you have not seated the connector for the digitizer correctly or the digitizer is defective on your new screen. Turn it off, open it and disconnect the battery. Reseat the connectors again and test it by plugging in the battery and powering on before assembling everything. If it still does not work…(ALWAYS Disconnect battery before plugging in or unplugging connectors) you most likely have a defective screen assembly. And as Jim suggested, clean the connectors and look for damage. Does your old one work? If so, you can try connecting it back up to test with. Also, make sure each screw you remove goes back into the same hole it came out of and do not mix them up. IT MATTERS and can cause damage to the Logic board if you do not. Post back the results to help others troubleshoot their devices with similar issues. Good Luck!
Sounds like dirt in the connector or there’s a missing pin in the connector . try opening the phone again and cleaning the digitizer connector on both the screen side and the motherboard side , use ip alcohol with a 90%+ rating look closely at the connector and make sure all the pins are present and that none are bent up or down to where they wont make contact.Hope this helps