Page 1 of 4

[v5.0 - FINAL] SmartAdblock + Extras | E/F/H | August 15, 2019

Posted: Tue Feb 28, 2017 11:12 pm
by lekron
I created a little script which helps you to block ads on your SmartTv..

The used hosts files are around 16MB big!
Reduced the size of all packs since it is not needed and can cause issues..

I don't know if anyone is still using this but I decided to make one last update with continously updated hosts sources and overall smaller hosts files. Please see below.

You only have to activate ad blocking once through the script, it then will be applied on every boot.
The tool can also download & install libAlert and/or libText!

PicturesShow
Main menu:
Image
Extras:
Image


You can choose between following options:
  • Spark (Size: ~1.3M)
  • BluGo (Size: ~3.6M)
  • Blu (Size: ~6.7M)
  • Only block Samsung's update servers (always included)
Old version (until 4.2)Show
  • Master (general ad blocking list)
  • Master + Gambling
  • Master + Porn
  • Master + Social
  • Master + Gambling + Porn
  • Master + Gambling + Social
  • Master + Porn + Social
  • Master + Gambling + Porn + Social
  • Lightweight
  • Only block Samsung's update servers (included in everything above)


Instructions:

Short way
1. Run following command on your tv

Code: Select all

curl -#ko /mtd_rwarea/adblock.sh "https://raw.githubusercontent.com/lekron42/smart.adblock/master/adblock.sh
2. Change permissions of the script

Code: Select all

chmod 755 /mtd_rwarea/adblock.sh
3. Run script

Code: Select all

./mtd_rwarea/adblock.sh
Long way (old instructions)Show
1. Download the attachment

2. Copy adblock.sh to /mtd_rwarea/

3. Set permissions to 755 (rwxr-xr-x)

Code: Select all

chmod 755 /mtd_rwarea/adblock.sh
4. Run script

Code: Select all

sh /mtd_rwarea/adblock.sh
5. Choose one of the options

6. Enjoy browsing the web without ads! (YouTube app included)

Notes:

So far tested on:
  • H series
  • F series
  • E series
If anyone has a problem please let me know and I will try my best to make it work for you.


Changelog:

v5.0

Code: Select all

- This is the final version
- Old hosts files are too big
  and can cause issues on some tvs..
- Switched to better sources
Old ChangelogShow
v4.0Show
- Added integrated update checker (will check for new version on each run)
- Added a lightweight hosts file which gets updated constantly (should be sufficient for most users)
- Added new samsung update servers
- Code refactoring
v3.0Show
- Various improvements
- Added an option to download & install libAlert and libText
v2.1Show
- Script now displays currently active profile
v2.0Show
- Changed hosts source
- Optimized & cleaned hosts files
v1.2Show
- Option to blacklist hosts
- Added localhost
- libText support
v1.1Show
- Added ability to block Samsung's update servers
v1.0Show
- Initial release


Download SmartAdblock_v4.0.zip (you can update to 5.0 through the script) or just check instructions above to download the latest version directly to your tv!

Re: [Script][v2.0] Adblock Installer (with libAlert/libText support)[April. 20, 2017]

Posted: Mon Apr 24, 2017 3:27 pm
by Ingo
Great, thank you for sharing.
Looks like it works with ue40es6300 model.
After enabling no annoing overlay ads while watching tv.
Thumbs up!!

Re: [Script][v2.0] Adblock Installer (with libAlert/libText support)[April. 20, 2017]

Posted: Mon Apr 24, 2017 4:06 pm
by juusso
Thanks :)

Re: [Script][v2.0] Adblock Installer (with libAlert/libText support)[April. 20, 2017]

Posted: Mon Apr 24, 2017 6:20 pm
by fluffi444
Great! Will try on ES!

EDIT
Looks like that it's working. Will keep an eye on annoying frame commercials...

Re: [Script][v2.0] Adblock Installer (with libAlert/libText support)[April. 20, 2017]

Posted: Mon Apr 24, 2017 7:42 pm
by theman
I'm using the script from v1.1 and no ads on web browser, Youtube, player.pl etc...
The TV is ADS FREE THANK's.
Hope it work's a lifetime :)

My tv ue40h6500 2130 skype ROOT.

Re: [Script][v2.0] Adblock Installer (with libAlert/libText support)[April. 20, 2017]

Posted: Mon Apr 24, 2017 10:00 pm
by juusso
Any way to add Samsung's firmware update servers?
Ops, it's already there :)

Re: [Script][v2.0] Adblock Installer (with libAlert/libText support)[April. 20, 2017]

Posted: Tue Apr 25, 2017 9:27 am
by lekron
theman wrote:
Mon Apr 24, 2017 7:42 pm
I'm using the script from v1.1 and no ads on web browser, Youtube, player.pl etc...
The TV is ADS FREE THANK's.
Hope it work's a lifetime :)

My tv ue40h6500 2130 skype ROOT.
You should update to v2.0. I optimized the hosts files and changed the source for downloading so you are only able to use the new hosts files if you update
Yes it should work lifetime;)

Re: [Script][v2.0] Adblock Installer (with libAlert/libText support)[April. 20, 2017]

Posted: Tue Apr 25, 2017 8:47 pm
by Arkan47
Working on F6500 !!!
Thank you !!!

Re: [Script][v2.0] Adblock Installer (with libAlert/libText support)[April. 20, 2017]

Posted: Tue Apr 25, 2017 9:59 pm
by lekron
Ingo wrote:
Mon Apr 24, 2017 3:27 pm
Looks like it works with ue6300 model.
Arkan47 wrote:
Tue Apr 25, 2017 8:47 pm
Working on F6500 !!!
Great to hear!

Re: [Script][v2.0] Adblock Installer (with libAlert/libText support)[April. 20, 2017]

Posted: Tue May 02, 2017 6:52 am
by asiersan
Thanks. working on F6500 and H7500