This XPosed module allows you to manually override the headphone jack detection of an Android device.
Most smartphones provide a headphone/headset jack that allows using a headset instead the internal speaker/microphone. To automatically select between these, a mechanical switch is added to detect a plugged in cable. If this switch breaks and replacing it is not realistic, your phone may become more or less unusable. With this module you are able to manually control the headphone detection state and continue using your phone.