Skip to content

Instantly share code, notes, and snippets.

@peteryates
Last active November 23, 2024 08:23
Show Gist options
  • Save peteryates/b44b70d19ccd52f62d66cdd4bcef1e52 to your computer and use it in GitHub Desktop.
Save peteryates/b44b70d19ccd52f62d66cdd4bcef1e52 to your computer and use it in GitHub Desktop.
How to stop adverts appearing on your Samsung TV

I'm getting adverts in my TV's UI, help!

Samsung's otherwise excellent 2016 range of UHD TVs received an update that added advertisements to the UI. This has been complained about at great length on Samsung's forums and repeatedly, Samsung have refused to add an option to remove them.

The ads interrupt the clean UI of the TV and are invasive. Here's an example of how they look:

one two

This guide was originally posted on Samsung's TV forums but unfortunately, that site is a super-slow and barely accessible unusable mess.

Ok, so how do I get rid of them?

The easiest way is to use another DNS provider that allows blacklisting.

In this example, we'll use Cisco's OpenDNS.

Step One - Signing up

Go to opendns.com/ and sign up.

Step Two - Creating the blacklist

Once you've signed up and are logged into OpenDNS, head to your network's settings and find the 'Web Content Filtering' section. Here is the list of domains that I have identified, we're going to add them one-by-one to the block list, detailed under Manage Individual Domains. This list contains everything Samsung-related, but at the very minimum block samsungads.com.

config.samsungads.com
gpm.samsungqbe.com
log-config.samsungacr.com
samsung.com
samsungacr.com
samsungads.com
samsungcloudsolution.com
samsungcloudsolution.net
samsungotn.net

web content filtering

Simply ensure Always Block is selected, paste the domain into the box and click Add Domain.

Step Three - Configuring your TV

Now we're nearly there, we just need to tell the TV to use OpenDNS rather than your ISP's default.

In the settings section, hit 'Network Status', your TV should check some things for a couple of seconds before showing you a screen that looks something like this:

DNS Settings

Select IP Settings and configure the DNS server to point at 208.67.222.222 or 208.67.220.220.

Step Four - Make sure it's working

If everything went to plan, you should no longer see ads in your Hub Bar. It is possible that some ads are cached on your TV and may remain for a while, but once they expire and disappear they shouldn't come back.

@umair-mirza
Copy link

An even better and easy way to do it is through your Home internet router's content filter. For most routers it is in the Firewall or Web filter section. Some routers have this setting in the Parental control section.
You simply need to access the Router configuration page and login as Admin. Here are some default router config URLs for popular brands:
LinkSys Router: http://192.168.1.1
Netgear / D-Link Router: http://192.168.0.1
ASUS Router: http://192.168.50.1/
Belkin Router: http://192.168.2.1
AT&T Router: http://192.168.1.254
Comcast Router: http://10.0.0.1
Same can be done for other brands including Sony, LG and Roku. Here's a step-by-step procedure with links to block for each brand.

@maxplante
Copy link

I've blocked these for my Samsung The Frame using OpenDNS and ads are gone.

RANK | DOMAIN | REASON | REQUESTS
-- | -- | -- | --
1 | tvx.adgrx.com | Blacklist | 120
2 | events.samsungads.com | Blacklist | 72
3 | config.samsungads.com | Blacklist | 24
4 | static.doubleclick.net | Blacklist | 4

Cheap move, Samsung! Focus on washing machines and stay out of my digital life!

@jsCommander
Copy link

jsCommander commented May 1, 2021

Working method for Microtik RouterOs (test on v6.44.5)

  1. Go to IP > Firewall > Layer 7 protocol
  2. Add a new Layer 7 rule with name "Samsung ads" regex
^.+(samsungads|samsungqbe|samsungacr|samsung|samsungcloudsolution|samsungotn|adgrx|doubleclick).*$
  1. Go to IP > Firewall > FIlter rules
  2. Add a new rule with
    chain: forward
    Layer7 Protocol: select rule "Samsung ads"
    action: drop
  1. Move rule to top (it must be first rule)
  2. Go to IP > Settings and disable Allow Fast Path

@sanderlv
Copy link

sanderlv commented Jul 10, 2021

Blocked last week following above mentioned urls. Ads gone :-).

But now prime video does not work, netflix etc. does but only prime not.

Enabling dns again enables prime...

Any idea?

@peteryates
Copy link
Author

@sanderlv - I'm afraid not, but I'd recommend trying to add them one-at-a-time, starting with samsungads.com. On my TV, that one alone blocks the actual adverts appearing in the UI, the others appear to prevent telemetry and other creepy data-gathering.

You'd expected better from Samsung. Oh no, wait a minute, their CEO's in jail for bribery and dishonesty 😅

@chazul
Copy link

chazul commented Dec 18, 2021

adgrx.com now redirects to adgear.com

I started seeing an ad in the "Home" menu starting a month or so ago in the Samsung TV I had for 2 years now. I was somewhat forgiving it until I started seeing an another ad embedded in between channel list. That infuriated me and quick Googling landed me here and looking up the IP addresses the TV was connecting (via Router log) found some other domains.

Also as jsCommander said tried blocking any URL with 'samsung' in it via the router (ASUS RT-AC66U, just entering samsung in the Firewall's blocked list would block any URL with samsung as a part). But then it seems to block "Samsung TV Plus" channels (free streaming channels).

So I changed the DNS IP to Open DNS in the TV network settings and then blocked the following channels in Open DNS page:

adgear.com
adgrx.com
digitaldreamsinc.com
doubleclick.net
samsung.com
samsung.net
samsungads.com
samsungotn.net
samsungrm.net

@jihunx
Copy link

jihunx commented Mar 13, 2022

@chazul

It works.

  1. ASUS RT-AC86U > Firewall > URL Filter
  2. Enable URL Filter: Enabled
  3. Filter table type: Deny List
  4. URL Filter List
  • adgear.com
  • adgrx.com
  • samsungads.com

@plueschpruem
Copy link

Today a pink ad banner popped up in my frickin' EPG.
Bad enough that the EPG gets slower with every update, but now they have lost their marbles.
Thanks for the list!

@rowbawts
Copy link

rowbawts commented Jul 7, 2022

Does anyone know what domain I would want to block on my router to stop any possibility of getting an OTA? I'm following a thread on AVSForum that is recently covering a downgrade "update" and a lot of people have claimed to have their TV update with the auto-update option disabled I've been lucky so far to avoid that but want to make it more certain.

@Hillsie
Copy link

Hillsie commented Aug 7, 2022

Setting>support>About This TV has a link to the GNU General Public License
https://opensource.samsung.com/opensource/19_DTV_MuseM/seq/0
🙃️ ... yes ... open source. Wonder how to flash the tv with jb version?
https://opensource.samsung.com/uploadSearch?searchValue=tv

@absolute1701
Copy link

So I've tried the above, and blocked all URLs in the opening post both on my router AND via OpenDNS... and I'm still getting ads. I can't change DNS settings directly on my router so using a different DNS service there is not an option. Has anyone else had ads creep through again? Any other options? Really sick of this forced advertising bull**** from Samsung. I never want to buy a Samsung product again.

@vfiksdal
Copy link

vfiksdal commented Jan 1, 2023

Adding the full list in my dlink router's webfilter function blocked every streaming service -- youtube, hbo, netflix and prime where all blocked. I removed every entry except "samsungads.com" and added "doubleclick.net" for good measure.

Seems to work for now, and other telemetry options can be disabled directly in the tv.

@sivadnivek
Copy link

Thank you so much for this. I was super disappointed after buying a samsung TV, I needed that domains list real bad. ♥

@rafm5
Copy link

rafm5 commented Jun 20, 2023

samsungacr.com
samsungads.com
adgrx.com
adgear.com

Adding these four will do the job!

@sanderlv
Copy link

3 of them I had in for over 6 months.
Did not do anything.

Only samsungacr.com is new, will check andreport back.

@FloydNex
Copy link

FloydNex commented Aug 1, 2024

Works few years and now ads are back, is there new server I can add to opendns ?

@peteryates
Copy link
Author

peteryates commented Aug 1, 2024

Did you try the new ones mentioned above?

@FloydNex
Copy link

FloydNex commented Aug 2, 2024

I did before comment but I guess some of the adds were on cache on the tv. This morning everything is fine, thank you :)

@sanderlv
Copy link

I have all names listed in this topic in my dns...

I have ads again...

Any new names to add?

@FloydNex
Copy link

I think there's an add server that is not listed, got one add once a month or something like that, got one yesterday too and this morning it was fine.

@sanderlv
Copy link

So which ones did you add?

@FloydNex
Copy link

None, I haven't found it yet

@peteryates
Copy link
Author

If you take a look in your OpenDNS logs/stats you'll see the in-use domains listed. It wouldn't suprise me if Samsung have added a few more over the years, or if they start skipping DNS altogether.

@FloydNex
Copy link

FloydNex commented Nov 23, 2024

Thank you peter, It was disable (by default I guess?), I've enabled it and next time I see adds I'll take a look and if I find something I'll put the adress right here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment