To pair an Xfinity universal remote to the TV, you can use 5-digit codes like 10178, 11178, 11637, 11756, 11530, 10442, 10017, 11314, or 12731.