This reminds me of the days of transferring data using the 2.5mm jack on the TI-83.
Nexus 4 and 5 have their UART via the headphone jack - you need a TRRS headphone cable with the correct resistor wired up to one of the pins.
Kenwood even came up with a standard for it: http://www.miklor.com/COM/UV_Technical.php#progcable
A popular series of VHF/UHF