Chosen Solution
This iPhone came into my store saying its in headphone mode. When there’s no headphones plugged in and i try adjusting the volume it still says headphones. I’ve tried replacing the entire flex cable with the charging port and microphone and it still is having the same issue. There aren’t any Bluetooth speakers attached or anything; blue tooth is off. Tried turning it off and on again. Still having issues.
The Lightning/Headphone Flex was the logical thing to try… It is possible your replacement flex is bad although to have the exact same problem; seems like slim odds to me. What is the history of this device? Perhaps there are some clues there. My fear is that this is logic board related but it’d be nice to know what this phone has been through (drops, water, repairs…)