• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

AdShield - No root ad blocker for samsung (Discontinued)

Search This thread

NeedleGames

Senior Member
Nov 22, 2014
507
630
github.com
Version 1.1.4newUsers released.

Changelog:
Code:
v1.1.4newUsers - 2017-08-30
*Quick fix for new users not being able to activate license.
*Even simpler to use first launch menu.
*Default key switch turned off, only custom keys allowed on this version till I get a new key.
**This version is for new users ONLY. You won't be able to install it with older one already installed. New features will come to you soon.

Users of v1.1.3 - can't update.
Older users - update to v1.1.3
New users (and those who can't get <=v1.1.3 activated) - update to v1.1.4newUsers.
 
  • Like
Reactions: eXPerience1983

eXPerience1983

Senior Member
Nov 19, 2007
288
15
Let's try it!

EDIT:
ACTIVATED!

BUG FOUND: Once activated, if I touch the gear icon on upper right corner before turn on adshield it forces close.
Typo bug: Adssield
f02f5b417619ed9bbc20a33abe2aa67c.jpg


EDIT 2:
Touching Gear icon to enter settings always gets in force close. :(
763442bacc691275e871a19d049e683b.jpg


Enviado desde mi SM-G935F mediante Tapatalk
 
Last edited:

NeedleGames

Senior Member
Nov 22, 2014
507
630
github.com
Thank you all (about a 1000 people) who downloaded. This was a waste of time because Samsung likes to ruin everyone's lives. Thanks samsung!

I'm going to continue developing this app but only for myself. If I don't publish it will work for me forever. If I publish - it won't work for anyone. 1>0
 
  • Like
Reactions: hecthorpe

eXPerience1983

Senior Member
Nov 19, 2007
288
15
Thank you all (about a 1000 people) who downloaded. This was a waste of time because Samsung likes to ruin everyone's lives. Thanks samsung!

I'm going to continue developing this app but only for myself. If I don't publish it will work for me forever. If I publish - it won't work for anyone. 1>0
Ooooo
I'm sorry to hear that.

But thank you anyway.

Enviado desde mi SM-G935F mediante Tapatalk
 

NeedleGames

Senior Member
Nov 22, 2014
507
630
github.com
It is like the changes are now permanent.

I noticed that too. Uninstalled Adhell without disabling url blocking and still had ads not showing up and online adblock check returned "no ads" message too. I think it's because hosts file remains unchanged unless you specifically revert to a backup version.

That's impossible. Looking at adhell's source code you can see that when pressing uninstall adhell in settings these actions are done:

Code:
firewallPolicy.cleanIptablesAllowRules();
            firewallPolicy.cleanIptablesDenyRules();
            firewallPolicy.cleanIptablesProxyRules();
            firewallPolicy.cleanIptablesRedirectExceptionsRules();
            firewallPolicy.cleanIptablesRerouteRules();
            firewallPolicy.removeIptablesRules();

firewallPolicy is a part of Samsung's KNOX SDK. See here.
 
  • Like
Reactions: [email protected]

Top Liked Posts

  • There are no posts matching your filters.
  • 13
    7UL4Qla.png

    AdShield

    Project discontinued.
    For old users it will work for next 25 years.
    For new users try newUser version. If it doesn't work - it won't.

    Best version: 1.1.1

    Mods don't delete unless all files aren't working. Please

    DOESN'T REQUIRE CUSTOM KNOX KEY!
    Just download and install​

    F.A.Q.
    Q: Why is this not in the Google Play?
    A: I don't have a developer account because I'm not 18 yet. If you can buy me an account, I'll worship you.
    Q: Licence activation failed. What can I do?
    A: Uninstall other ad blockers that use KNOX (Adhell, Adhell 2, Disconnect pro), connect to wifi, make sure you're not rooted, reboot, reinstall app. If nothing works - get a custom knox key and use that (how-to bellow). Other than that - I can do nothing.
    Q: Which file to download?
    A: Download lowest attached file. It should have highest number.
    Q: Certain websites are blocked. How do I enter them?
    A: Put them in the whitelist. App>Settings>Edit Blocked URLs>Whitelist Custom URLs.
    Q: Why so many permissions?
    A: All of them are needed.
    Q: Does it block ads on Samsung Internet browser?
    A: It blocks ads everywhere.
    Q: Which Ad Blocker is the best right now?
    A: At the moment this. Free, has all the features other ad blockers have and has full material design. See attached pictures of features and history
    Q: How does it work?
    A: https://seap.samsung.com/sdk/knox-standard-android


    How to install:

    1. Download lowest apk file (with the highest number) from down bellow.
    2. Install apk file.
    3. Open app, follow instructions.

    Licence doesn't activate/I want to use my own KNOX key:
    1. Sign in with your Samsung account here: https://seap.samsung.com/enrollment
    2. Enroll as a developer.
    3. Generate Knox Standard SDK Enterprise license key here: https://seap.samsung.com/license-keys (use any alias. If you already have a key, you can reuse it)
    4. Follow instructions in app when you first run it or in settings.

    How to uninstall:
    1. Open app
    2. Open settings
    3. Press uninstall

    Changelog:
    Code:
    v1.1.3 - 2017-08-29
    *Made unblockable apps red (8 bixby related apps)
    *You can now disable all other apps (removed issue with random apps not wanting to be disabled)
    **Update frequency will now slow down. 
    --------------------
    v1.1.2 - 2017-08-29
    *You can no longer block bixby and all related applications (total 8 of them). This is due to Samsung blocking licenses on apps that allow users do that.
    *You can continue blocking other system apps
    *minSdkVersion set to 21 from 19 because of changed working mechanisms. App won't run on older android versions than 5.0 Lollipop.
    *Changes in internal version coding.
    *Updated gradle, dependencies.
    *Smaller app size.
    --------------------
    v1.1.1 - 2017-08-29
    *You can no longer disable system apps. This is to not get my key blocked. If you are using an older version, please do not disable bixby or any associated apps with default license key. Better - update to v1.1.0 and use your own key. In future release I will enable all system apps except for bixby but only on custom knox key. Please, understand my situation.
    *Smaller app size
    --------------------
    v1.1.0 - 2017-08-28
    *Some issues with button behavior fixed
    *Some strings changed for better UX
    *You can use custom KNOX keys now if licencing fails!
    *Smaller app size
    --------------------
    v1.0.0 - 2017-08-28
    *Small material design fixes
    *Removed weird shadowy thing in package disabler above navigation bar
    *New button icons
    *New color scheme
    *New material design icon matching color scheme and material design guidelines. Looks good on stock launcher with frames enabled!
    *Many string mistakes fixed including but not limited to English mistakes and wrong app name.
    *Smaller app size
    --------------------
    v0.0.2 - 2017-08-28
    *Bug fixes
    *Some design element fixes
    *New package name
    *Smaller app size
    **It's important for you to uninstall previous version**
    --------------------
    v0.0.1 - 2017-08-28
    *First release
    *Changed app name, logo, package id
    *Removed donate section, unlocked paid feature
    *Renamed home button to match UI
    *Added my own default knox key

    What to expect in future releases:
    Source code (not publicly available yet because I have to figure out how to hide my own key)
    Suggested content providers.
    Better ad blocking.
    Bixby blocking with custom knox key
    Theme store killer to keep xda themes
    Better uninstalling system
    Individual app firewall
    More

    Known issues:
    After uninstalling websites don't get unblocked. Tests needed to confirm this issue

    Version information:
    Status: Stable
    Current version: 1.1.2
    Release date: 2017-08-29
    First version release date: 2017-08-28
    Next release estimated to be 2017-09-03

    Credits:
    FiendFyre for providing source code of his ad blocker where I took custom knox key system from.

    Due to Samsung blocking of AdShield and other apps with package disablers, Bixby blocking is removed. For more information read changelog.
    2
    Thank you all (about a 1000 people) who downloaded. This was a waste of time because Samsung likes to ruin everyone's lives. Thanks samsung!

    I'm going to continue developing this app but only for myself. If I don't publish it will work for me forever. If I publish - it won't work for anyone. 1>0
    Ooooo
    I'm sorry to hear that.

    But thank you anyway.

    Enviado desde mi SM-G935F mediante Tapatalk
    1
    This app along with Adhell and any current fork has a bug of blocking certain websites without it being on the blocked list, also even when I have whitelisted it.
    Try www.gumtree.com.au can you please fix this

    The Fix: The standard blocklist [getadhell] .... had a website in it mtree.com which was inadvertantly blocking gumtree.com. So adding mtree.com to the whitelist circumvents this.
    1
    Not at the moment, I did have a list when I tried going over it with the original developer but unfortunately that fizzled out.
    Perhaps make the original list removable too since your coding away.

    Really appreciate your work and I hope your hard work pays off.
    1
    It is like the changes are now permanent.

    I noticed that too. Uninstalled Adhell without disabling url blocking and still had ads not showing up and online adblock check returned "no ads" message too. I think it's because hosts file remains unchanged unless you specifically revert to a backup version.

    That's impossible. Looking at adhell's source code you can see that when pressing uninstall adhell in settings these actions are done:

    Code:
    firewallPolicy.cleanIptablesAllowRules();
                firewallPolicy.cleanIptablesDenyRules();
                firewallPolicy.cleanIptablesProxyRules();
                firewallPolicy.cleanIptablesRedirectExceptionsRules();
                firewallPolicy.cleanIptablesRerouteRules();
                firewallPolicy.removeIptablesRules();

    firewallPolicy is a part of Samsung's KNOX SDK. See here.