This is a bit apples to oranges but right now I actually have my iphone 4s in a million pieces due to a broken screen. I bought an "OEM" replacement screen off ebay that's a heaping pile of dung. There was a scratch in the screen which I could deal with since I'm fairly rough on my stuff and just want it working.
However, when I went to plug all the stuff back in the ribbon for the display function of the screen pulled out. Not happy. Right now I have the old broken screen plugged in so I can see what's on the screen, and the new screen's touch function ribbon plugged in. I had to look at one and finger around on the other. I was able to enter my passcode this way and am currently backing it up.
Watch some videos on youtube to try and decide if it's something you want to tackle yourself and if you decide to (it's really not THAT bad if you keep track of parts) make SURE you get the replacement from a reputable place. I should have known better after all all these years. "OEM" on ebay means nothing.
Since I need a phone and can't wait to source a working screen I'm going to pick up another phone tomorrow. PITA. Good luck with the repair.