Chosen Solution
I accidentally peeled the orange cable off of the connector. Can I reconnect the cable with the connector? I’m only asking this because here in my country I can’t order a replacement headphone jack and there are not so many A1040s around.
Topo Ceni, most likely not. It sounds like you tore the ribbon cable. The only way to fix that is to replace the complete jack. I have a couple laying around, email me if you need me to send you one:-)