While 2.5mm was the original standard for phone headsets, the slightly larger 3.5mm size is standard for music headphones and is now the more common size on phones. See: Headphone Jack (3.5mm ...
The little plastic casing on one earpiece is popped off, and replaced with a 3D-printed version that stoutly holds a female TRS jack in place. This can then be soldered up to the wiring inside the ...