I downloaded software called Reiboot which did the trick for me. It's strange that nobody has mentioned it here. It's free and allows you to put your phone into recovery mode and then break out of recovery mode, effectively rebooting your iOS device from your computer. They appear to have a Mac version and Windows version.
The replacement keyboard I bought, although advertised for A1211 had no tabs on the sides and 6 locking across the top. The extra locking tabs in the corners made the corners of the keyboard bubble up. If someone wanted to saw bits of the top cover it might work. I ended up breaking of the 2 extra locking tabs, and holding the corners down with double-sided tape. I had to triple up the double sided tape in 1 on the two corners to hold down all the layers. Not a great solution, but it actually worked and looked clean, and the keyboard lights still worked fine afterwards.