Doesn't the K510i have radio?
if not, it is not possbile to do that.
You would have to integrate a radio-tuner in the hardware and the radio in the software.
You would have to write a new software.