Chosen Solution
Hey I got an iphone 7 from a customer today that gives error 4013 when trying to restore. The iphone has a good bend at about the screen connector area and bootloops when not in dfu mode. Any good ideas or places for me to start?
Take the logic board out of the housing and try to restore, 4013 is usually a NAND issue unfortunately.
Start with the bend. There is probably an IC around the bent area that has a damaged solder connection.