These are the codes I was able to find for the Sharp brand television sets. I was able to locate these by going to https://www.xfinity.com/support/remotes/. These codes are for the X1 remotes. You could go to that website and view the codes if you happen to have the older set-top boxes devices.
Program your remote using a code:
Turn on the TV you are programming.
Press and hold the "Setup" button until the status LED at the top of the remote changes from red to green.
Type in the 4-digit or 5-digit code listed below using the number buttons. Additional codes may be found in the remote manual.
If the code is entered correctly, the status LED will flash green twice. If the status LED blinks red, then green the code was not entered correctly. Check that you are entering the correct code and try again.
Use the remote to operate your TV (use Power, VOL, etc.)
If these steps don’t work, try another 4-digit or 5-digit code and repeat the above.