Raspberry pi 3 B+ kodi 4k

HI,

I have a new Raspberry Pi 3 B+ connected to my 4k tv. I have changed the config.txt file and the pi now runs at 4k. But when I try to use OMSC and kodi, the highest resolution kodi offers me is 1920X1080.

Can someone tell me how to set this to 4k in Kodi?

Thanks,

G

OSMC does not support 4k from Rpi. 1080p max.