iPhone is stuck in infinite loop when plugged in after screen repair.
I have an old iPhone 5 which I wanted to fix. The screen was smashed so I put in a new screen, but because the case was bent, it didn’t fit. I took the donor phone, and switched logic boards, which was all fine. I did mix up two screws but it didn’t affect anything, everything worked perfectly fine. After a while, I took out the sim tray to add a SIM card, and the phone shut off. It hasn’t turned on since. When I plug a charger in, it turns on, goes to the Apple logo, shuts down and does it all over again. I have tried putting it into recovery or dfu mode but it doesn’t go there. Also when I move the screen (opened the phone of course) up slightly or down, it flickers and lines appear. Is something possibly shorting? Or maybe the digitiser metal is touching something? I would like to get it fixed after I put in so much effort. The phone isn’t worth for me to go to a professional. Thanks for reading.