Chosen Solution

I’ve replaced the flex cable but still not working

The problem is with the charging port as it powers the home button with two gold prongs open up phone and you will see the gold prongs below the home button flex.. Away of test if the charging port is at fault is open up leaving phone on and not taking screen off now with a screw driver touch the two gold prongs at the same time this will short the phone to think you are pressing the home button if screen lights up then the charging port is ok.. If it doesn’t you need to replace port.. Benting the gold prongs upwards a tad might work also as they might not be making contact with the home flex.. Hope this helps

I think you may have purchased an iphone 5s charge port flex. A proper iphone 5 charge port flex should have the part attached.

Where the 2 parts are being separated(on the flex so the left one) is where the prong component should be. An iphone 5s charge port flex will look nearly identical but will be missing the part you need.