yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Xingle:
Yea that's what I meant. If I copy a word from anywhere to my clipboard, Look Up immediately throws me the meaning on a pop up window. (I can disable it from the app settings, but that's something different.) Now, I know that Look Up is reading my clipboard. But I don't see its name on SABS/Permissions/Read Clipboard tab. That tab is completely blank. I can't block Look Up from reading my clipboard, from your app. If I'm not mistaken I used to be able to do that on another Knox package disabler named EZ Disabler(The app is discontinued).
[Android Apps and Games] NeedleGames:
I just looked that app up and it doesn't have any permissions related to clipboards so nothing to remove. It looks like apps now don't need to request this permission to read clipboard. You may had been able to do that before when it actually had the permission but now it's unnecessary.
[Android Apps and Games] Xingle:
Yea you're right. Bad luck I guess. Thanks for having a look though. :)
[Android Apps and Games] anddiiss:
Came here from AdHell 2 thread. Works superb. Installed with PC approach as Apk editor Pro couldn't be found on Play Store. If not for endless message saying - Enabling, works as supposed to.

Great work.
[Android Apps and Games] TheAlmighty:
I have two samsung devices using the sam samsung account. Can I use the same generated enterprise key for this account on both devices?

Thanks for helping!
[Android Apps and Games] NeedleGames:
I think I found a fix a minute ago and now it works perfectly. Don't want to get people overexcited if I'm wrong but if somebody could review my latest commit it would be great (it should fix the issue where blocking was enabling and disabling forever after going to different screens before turning blocking on/off). I'll add some loading screen that would prevent people from even going to different screens while it's enabling
[Android Apps and Games] Tal Cohen:
Hi there!

I just tried to activate the app with the experience key and i got a problem with it. This alert appears.

I also tried to revoke the old key and to create new one but the same alert appears.

What can i do?

Thanks a lot.
[Android Apps and Games] NeedleGames:
Yes, up to 10 devices.

Did you follow all the steps on post #1 correctly? Renamed the package?
[Android Apps and Games] khaisttj92:
here you can get adguard filter host.

https://filterlists.com
[Android Apps and Games] NeedleGames:
Don't use it. It won't work on SABS because Samsung's knox doesn't allow to block those types of things like

only domains
[Android Apps and Games] khaisttj92:
i dont use it.just found it.And know im using only your host file with adguard dns. like [MENTION=4343728]Mike B.[/MENTION] said "always best to keep things as simple as possible".
[Android Apps and Games] meduza:
Jumped from AdHell directly to version 7, took my existing licence key, added hosts from adaway and everything is working like a charm :)

Thank you for your effort and commitment [MENTION=6183103]NeedleGames[/MENTION] !!

m.
[Android Apps and Games] Tal Cohen:
Your right. I forgot to do this step.

I just tried to do it with the app editor and i encountered difficulties :/

Can someone upload the apk with the package name changing please?
[Android Apps and Games] NeedleGames:
Everyone must change package id themselves to avoid duplicates. And how are you planning on ever updating the app if you won't be able to change the update apk application id?
[Android Apps and Games] Yanchev:
Are we fully aware of knox capabilities? As far as I know the original adhell was created because the developer was samsung employee who knew how knox worked. Knox isn't open source so probably can do more things than we know. Of course I am no developer so anyone who knows more could answer that.
[Android Apps and Games] NeedleGames:
Try using the same package name if it fails to activate. I can't comment on why it's not activating for you. Oreo is supported.

KNOX is well documented and open for anyone to try out. The reason everyone needs to change package id is because everyone "tries out" themselves and pretends that they are interested in buying a commercial license in the future.
[Android Apps and Games] Yanchev:
I am not talking about the package name or the licence key. I am talking about what else can be improved in the app since knox has many other functions. Secure folder uses knox and has a lot of interesting capabilities and I was wondering if they can be implemented in the app. Just a random showerthought.
[Android Apps and Games] Oops...:
Just built from sources right now. From what I can say after testing, Turn ON / OFF works great now. Even after playing with the app, press "TURN OFF" works as intended. Also "TURN ON" shows the "running circle" to inform the user. Enabling takes less than one minute using a hosts file similar to [MENTION=6150682]mmotti[/MENTION] variant.

One little thing: the pop-up note during enabling says: "... Do leave SABS." I think you meant "do not leave SABS" ? Other than that, pretty impressive. :good:

Edit: Turn OFF literally takes less than 5 seconds, no matter what I did before that step.
[Android Apps and Games] KBeckett:
Just installed it, disabling Adguard in the meantime, and it definitely looks promising. Opened two apps with somewhat obnoxious in-app ads, and they weren't there. And this is just using the standard block list. Will have to look at other options and play around a bit more. But for now, thanks! Really hoping this solves my ad problem without the VPN icon and the battery hit from VPN options.
[Android Apps and Games] |mickey:
I just just built from sources right now and can confirm this too... Using the default list on a Note 8(N950F)... :victory::victory::highfive:
[Android Apps and Games] khaisttj92:
try with adguard dns.you will find out the different between with adguard dns and without adguard dns.

https://adguard.com/en/adguard-dns/overview.html
[Android Apps and Games] ewokuk:
Just ditched my old adhell 2 and installed sabs 0.0.7. Used apk editor pro to rename it and grabbed myself a new key since my old had expired a few weeks ago (I think it just keeps working as long as you never open the app). Had a few issues getting it to enable, it sat on enabling for ages and did nothing, it worked after closing and opening the app and re-trying a couple of times (I had exactly the same thing in every version of adhell I used so its nothing new). All working perfectly now on S8+ on oreo beta. Good job Needles :P
[Android Apps and Games] Mike B.:
Confirmed! The new progress dialog (spinner) is a nice touch. Good work, as usual, [MENTION=6183103]NeedleGames[/MENTION]! ;)

EDIT: the little "Do leave SABS" typo has been fixed.

---------- Post added at 08:46 AM ---------- Previous post was at 08:21 AM ----------

Careful about using alternative DNS. I would not recommend switching unless your default DNS causes problems. While Adguard DNS servers work well for some of us, it might cause a few problems with SMS/MMS transmission. Similarly, using Google DNS has been reported as interfering with Play Store downloads. A lot depends on how your ISPs (and router if on WiFi) processes DNS requests and even on your APN settings (e.g. whether servers are defined by canonical name or by IP). Fortunately, SABS makes it very simple to temporarily try a different DNS then restore the defaults if desired. That said, most users should probably ignore the DNS options and stick to the default values, with the default package and settings..
[Android Apps and Games] Wingpin:
Didn't work with new license. And I couldn't disable ad-blocking/package disabler in the original Adhell before removing admin status/uninstalling because I couldn't get past the Reactivate License pop-up. Meaning everything else was not available to be modified (only white space behind the popup) unless I reactivated the license which was not possible anymore. After uninstall, every frozen app came back to life and auto-updated, so I think the changes from Adhell were reversed but no way to tell unless I factory reset.

Another source of error could be the version of APK Editor Pro that I'm using? I got it off apkeditorfree website. But I noticed that it's 7.7MB apk file size versus other websites' 18.5MB despite being same version. apkeditorfree website is marked as clean, but the larger file size is marked as Riskware by virus detector but might be a false positive.

Anyways, thanks for your help either way and hope the best for this fork.
[Android Apps and Games] khaisttj92:
so far im using it without problem but i dont know if it will give trouble to other.if im dont use the dns,i get lot of ads with malay language and that why im using the dns.
[Android Apps and Games] Fansremember:
Thanks for your app.Adblocker works great .Keep up the good work!
[Android Apps and Games] mmotti:
Excellent. This is something I look forward to checking out.
[Android Apps and Games] rijoy:
What is the deal with this white box? It started appearing from today.
[Android Apps and Games] ewokuk:
The bigger file is not APK editor, its the aptoide installation file, I wouldnt touch that place with a barge pole if they need to resort to scam tactics to get their app installed. The apkeditorfree one should be the right one.
[Android Apps and Games] Oops...:
[MENTION=6183103]NeedleGames[/MENTION], what is the reason for this commit (Making screen not turn off automatically on blocker fragment)? https://github.com/LayoutXML/SABS/commit/5520a2be90f281e0a918857d13f3c6eb32dca7d8
[Android Apps and Games] NeedleGames:
It indicates that there is a new version. I forgot to theme it for black theme in your version so text is set to white and background is also white. Download a new version (0.0.7)
[Android Apps and Games] NeedleGames:
If you turn off the screen while it's enabling or disabling, blocking doesn't fully enable/disable and usually show incorrect value ("enabled" when it's off, and "disabled" when it's on)
[Android Apps and Games] rijoy:
Oh ok, thank you much!!!
[Android Apps and Games] Mike B.:
[MENTION=6183103]NeedleGames[/MENTION]: As you may have noticed, your latest duplicates check only finds 9601 unique domains among the 9605 in [MENTION=6150682]mmotti[/MENTION]'s package (standard-package-mmotti.txt). Just a FYI, I haven't run a manual compare.

I like all the new little touches you're adding!

Doesn't the new progress screen (and screen ON) make the pursuit of async tasks mostly irrelevant now?
[Android Apps and Games] Krunk83:
Trying to set this up. App editor pro is no longer available. Is there another app I can use to change the name for the setup?
[Android Apps and Games] Mike B.:
APK Editor Pro (1.8.28) is readily available. Google for it or check recent posts (do NOT use the aptoide version). You can also find other patchers but to get the latest SABS goodies, it's best to compile your own version with Android Studio.
[Android Apps and Games] thejackalsmark:
[MENTION=6183103]NeedleGames[/MENTION] "Duh" question, I'm sure, but has the apk been updated already with new enable/disable?
[Android Apps and Games] NeedleGames:
The issue now only exists when the user leaves the app during the activation when it clearly says not to leave. I hope our userbase is smart enough to not do that especially that all the dullards are weeded out by the somewhat complex instructions of editing package id.

On the different topic, changing package name to Disconnect Pro's and using its license key fails the activation. I suppose they use the optional feature on seap that let's activate only the apks they have uploaded. And apparently in the latest version they removed the license key from the app to the server. What surprises me at the moment is that the app is not being checked if it's pirated. Not a single check. One person can buy and send the unmodified apk to somebody else and it will work for both of them.
[Android Apps and Games] NeedleGames:
Not yet. You can press on that link "11 commits" and see all the changes that are not in the latest version yet.
[Android Apps and Games] Mike B.:
Frankly, if users don't read the instructions, especially a "Do not quit SABS" staring them in the face, it's difficult to feel compassion for them.

Not that I would know about such things, but Disconnect Pro has always been available "for free" in many places. ;)
[Android Apps and Games] thejackalsmark:
Thanks for that. It's ironic, I just griped a while back that an 8 thanks limit per day wasn't enough, and it looks like it was quietly increased to 16. In spite of this I've still hit my daily limit. smh ?

I will come back to the post you answered me in and hit that thanks Button as soon as my limit resets. LMAO?
[Android Apps and Games] NeedleGames:
I was mistaken. Apparently leaving the app and then coming back does not break enabling process - it just waits for the user to come back and then successfully finishes the task!
[Android Apps and Games] mmotti:
I can't wrap my head around this at all. The count seemed OK when checking externally and comparing the two host files in PowerShell. I can't think of any reason as to why a small amount of domains wouldn't be added. None are being excluded due to being 'invalid' from what I could see when checking yesterday.

It was confusing me yesterday to no end.
[Android Apps and Games] Mike B.:
I don't speak PowerShell (Redmond is where evil lives!), but could it be discrepancies in regexp processing, matching a few discrete entries with an existing wildcard entry?
[Android Apps and Games] mmotti:
I'm pretty sure I checked the regex yesterday and added an else output clause to show me invalid domains and none appeared.

I guess the next step to verify would be to put a standard arraylist alongside just to check the count at the end of processing compared to the hashset.

Maybe it's happening before the ContentBlocker56. I haven't checked the criteria for what's added to or read from the database before being processed for addition to the firewall.

I have company this week so haven't had much time to have my laptop out lol.

Logically though, the hash set should be correct. It will only accept unique items and I am sure that my list doesn't contain any duplicates.

Haha they may be, but PowerShell is excellent for scripting. It's great for data comparing, manipulation etc too.

Edit: Maybe there are some duplicate hosts in the host file with different cases (upper and lower). Will check.
[Android Apps and Games] thejackalsmark:
+1? ?
[Android Apps and Games] 8139david:
Advertisement trackers seignaled by Exodus

Can you make sure the advertisement trackers signaled by Exodus are on the Standard Package?

https://reports.exodus-privacy.eu.org/trackers/

Thanks for all!
[Android Apps and Games] NeedleGames:
I think it could also happen because simple domains are then added to the set as a wildcard:

denySet.add("*" + blockUrl.url);

.

Maybe there are a couple of wildcards looking like

*test.com

and domains like

test.com

which then are not duplicated in a set.
[Android Apps and Games] mmotti:
One would think *test.com and test.com would be unique in the hash set though. I do wonder how they process special characters.
[Android Apps and Games] NeedleGames:
They aren't unique. As I said, before adding test.com to the set, it converts it to *test.com.

Wildcard *test.com is added like this: denySet.add(blockUrl.url);

Domain test.com is added like this: denySet.add("*" + blockUrl.url);

Making them both identical
[Android Apps and Games] mmotti:
Ah, my bad - I see what you are saying now.

That actually makes complete sense. I believe you may have solved the mystery :)

So everything is working exactly as it should be.

Perhaps in future we could move the processing to before the domains are added to the database. I know we'd still have to process the whitelisted / custom block after this, but it probably makes sense for the database to only contain validated domains and the counts should then make sense.

Some of it is already done there (e.g. Removing 127.0.01,0.0.0.0)
[Android Apps and Games] i1togofast:
***Ahem*** 21? :cowboy:
[Android Apps and Games] NeedleGames:
28 and 3546 downloads
[Android Apps and Games] thejackalsmark:
*SABS Goes Viral in 3… 2… 1…* ????
[Android Apps and Games] i1togofast:
Nice! It was super easy in Android Studios

Thank you for this app!
[Android Apps and Games] Mike B.:
That list is concerned with "privacy trackers", different from ad servers. Some of those are already included in the standard package, but if you need to block a few specific domains, remember that you can do so readily in your blacklist.
[Android Apps and Games] LegendM:
Ok, finally I stop being lazy and finally plugged my phone and installed the app. Thanks for amazing work. I wish package name process is easier ( I mean its super easy but you have to install tons of *crap* to get it done) Since it's done by gradle, there can be some command line gradle commands or something we can make up? I seriously have no idea how gradle works but I'm curious if its just possible.
[Android Apps and Games] Mike B.:
:(

It's OK to whitelist or blacklist anything you want, but the effects will depend on how you use your device. For example, here I don't use Facebook at all, so I can probably safely blacklist any Facebook-related domain. If some of your apps require access to "graph.Facebook.com", you can whitelist that domain but then all apps will have access to it. On the other hand, if only one or 2 apps need it, you could turn off blocking in those apps, understanding that they then will have access to everything. There is no universal answer and that's why the big lists that claim to work for everyone are just a big waste of resources. Realistically, you can probably come up with a reasonable compromise if you accept that you'll probably never be able to block everything you don't like without also blocking some desirable content. In your case, simply disabling blocking for waze might be sufficient.

EDIT: oh sure, I try to compose a somewhat coherent response then you delete your post... :( I'll leave mine up in case it might help someone else. Congrats on presumably having solved your own problem!
[Android Apps and Games] khaisttj92:
i cant turn off blocking in those app because there are another ads in there so im just whitelist the graph.facebook.com.btw thanks for reply.

Edit:i think that i make a double post that why i deleted.then now i realize it not.slow internet connection here.
[Android Apps and Games] Mike B.:
Package name change is quick and easy with APK Editor Pro but that won't get you the latest unreleased enhancements. You'd still need the same Android Studio "crap" even if you added an external script to automatically change the packageID in the source before installing.

Note that the default package name has recently changed from "com.layoutxml.sabs" to "com.layoutxm1.sabs", but still needs to be changed to a unique name for each user one way or another.
[Android Apps and Games] eldervamp17:
Updated to version 0.0.7. Renamed apk using APK Editor Pro. Works great :)
[Android Apps and Games] bokusen:
App crashes after the last introduction screen (the "Get ready to paste your key" one) on my Galaxy S4 on Android 5.0.1. Oh well. It was worth a try.
[Android Apps and Games] mdiaz33685:
I used app cloner.apk from the playstore and worked like a charm. :cool:

Thanks to [MENTION=6183103]NeedleGames[/MENTION] for the perfect instructions and pictures to help get everything working smooth. :good: and of course for this awesome app.

[MENTION=1927554]Mike B[/MENTION] for all his help throughout the thread :good:
[Android Apps and Games] Xingle:
If you're ok with the VPN icon, you can use Adguard alongside SABS for ad blocking. In Adguard, you can block/whitelist domains on an app by app basis.

Ex: you can unblock graph.facebook.com for waze only.
[Android Apps and Games] goruntz:
thank you very much, I have updated from 0.0.6 to 0.0.7 with apk editor pro, and it works great
[Android Apps and Games] NeedleGames:
Please don't unblock graph.facebook.com. It's the biggest tracker and privacy concern. I was shocked when I've learnt about it. All my apps were sending data to facebook to make my profile. Samsung Health, bixby, even Wolfram Alpha. You don't want to be monitor, believe me.

What's your knox version?
[Android Apps and Games] ze4life:
im trying to update from 0.0.6 to 0.0.7 using the apk editor pro method but i keep getting an error saying a package by the same name exists. do i have to delete the old app and set it up again?
[Android Apps and Games] peped94:
Does sabs disables this kind of ads ? Because as i remember when using adhell2, it does not completely disable ads in apps especially google ads
[Android Apps and Games] Resync:
Thanks for the update!
[Android Apps and Games] NeedleGames:
In your case yes, you should. For some reason there is a signature conflict on your phone.

It blocks google ads and all that's who's domains are in the package file.
[Android Apps and Games] mmotti:
Correct me if I'm wrong but that looks like Facebook ad choices. Use a block list that has graph.facebook.com
[Android Apps and Games] djraysr:
Trying To Bulldoze My Way Through This

First off I appreciate the work you have done on this. I got a Samsung license and tried the "on the phone" method first. Everything was tracking until I tried to edit the package name. It was greyed out and I was unable to change it. So next I tried the computer method. I got all the way the end and ended up with an "tag is not a valid android package name". Any suggestions would be appreciated.

Thanks

Don

GS 8+
[Android Apps and Games] Mike B.:
Please never EVER quote the entire OP!

You don't give us many details, but I suspect that your "on the phone" attempt was made with APK Editor (which cannot edit the package name) instead of the correct APK Editor

PRO

, a common oversight mentioned quite often in this thread. On your "computer method", it's difficult to guess what you did, but at the very least make sure you replace the default "com.layoutxm1.sabs" package name with a valid unique string. Searching the thread will probably answer any questions you may have.
[Android Apps and Games] NeedleGames:
Please edit your post to remove the big quote.

Where did you put the new package name? What is your new package name?
[Android Apps and Games] :
I have an advertisement showing in an app.

What can i do to recognize what i must block?

Is there any method?

Thanks,
[Android Apps and Games] uoY_redruM:
Extremely excited to find this gem! So, first off, thank you to everyone who's involved with this project for your hard work.

Just finished installing and activating. I used AdHell in the past so I was familiar with sdk and such. My question is, is it possible for your sdk to be valid for more then 3 months or do we just have to revoke and renew it that often? If not, how do we update it in the app onces it's expired?

Secondly, in terms of whitelisting, you just go to "manage blocking in apps" and select the app, correct? Google Music is the only one of the three mentioned in the OP that I use, are there any other "common" apps I should consider disabling it for?

Again, thank you.
[Android Apps and Games] bokusen:
From my settings:

"Knox Version 2.3

Standard SDK 5.3.0

Premium SDK 2.3.0"

Not sure if it affects anything, but I had set all packages with knox in the package name as disabled previously via my package manager, but I re-enabled them before I installed the app. AdHell 2 doesn't work for me either so I wasn't expecting this app to work, but I figured it was worth a try.