yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Shawn_007:
Can't install app after changing package name using apk editor pro. Fresh start

Says app not installed
[Android Apps and Games] unimagined1:
Secure Folder

Has anyone tried or been successful using SABS in the Samsung secure folder? If so, how did you do it? Will I need a different package name than the one outside of my secure folder? A different license key? I haven't put a lot of effort in yet, so far just copied the app from my phone to secure folder using the same package name and license key and that does not work. It won't enable. Any help would be appreciated. It does work just fine outside of the secure folder though. On an s7 edge if that's important.
[Android Apps and Games] KSyStem:
Oh men [MENTION=6183103]NeedleGames[/MENTION] thx you so much!

It works perfectly on a a3 2017.

Your work allow me to get rid of ad and useless app, without loosing warranty. Its just PERFECT!

I'll buy the donation tonight!
[Android Apps and Games] NeedleGames:
Not necessarily. It blocks tracking in general. Do you think spotify and other apps crashed over 1400 times in one day? In my opinion whatever information is that they are sending, it is not necessary to use the app, so better block it than regret later.

You can't. Secure folder intentionally doesn't allow any knox apps and I think this is for a good reason - they usually have a lot more control and could be used to steal data. Fortunately, SABS is open source but there are other apps that you can't verify what they are doing. Knox sdk is actually specifically made for businesses to control employers' phones - what apps can be used, what websites can be loaded etc. to protect secret business information. You can only use VPNs and VPN based adblocker in secure folder.
[Android Apps and Games] Danny1976:
Were you able to get pass this error? I did not see anyone reply to you with an answer.

Edit: Solution... You have to go to SDK Manager and install additional things.

How to fix : Gradle project sync failed (Android studio)
[Android Apps and Games] StewMaker:
True. My intent was to say crashlytics is a reputable company since he was asking why "legit" apps had things blocked. The reported information just goes back to the app developers. Crashlytics can also analyze the data it collects and sends, but it'll remove any personal identifiable information.

It indeed collects more information that purely just crash information.

http://try.crashlytics.com/terms/:
[Android Apps and Games] Danny1976:
The installation tutorial needs to be updated with more detail. Unless this is meant for developers only. I have followed other tutorials of things I am not very knowledgeable at all and I have been able to do it. This tutorial its in need mayor improvement and support for users.
[Android Apps and Games] willjr0k5:
I'm not unhappy with the fact that it's blocking those requests. It's likely unnecessary traffic that isn't mission critical and hasn't affected any of those applications overall performance either. That's likely why my overall device performance has gotten better.

Thanks again!
[Android Apps and Games] gho5t82:
Yep I am. Google's..I'll disable and try

Edit: that was definitely the problem. All is well now. Thanks.
[Android Apps and Games] erdokovyz:
Tried it with a package name starting with "com." but still have the 10 warnings.
[Android Apps and Games] gschroer:
If you are compiling the app with Android Studio the 10 warnings are normal. The app should still install.
[Android Apps and Games] johnjones97:
Random Reboots and App Crashes

I'm getting random reboots and app crashes to the point where my phone is almost unusable. Going to uninstall.

Anybody else?

I would have no issue paying for a working (to the level that Ad Hell 2 worked) version of this app.

Regardless,

Great Job OP taking on this initiative!
[Android Apps and Games] Therexin:
[

I would like to take up your challenge. Just kinda stuck at the bolded part. I see that it is possible, but how do I format what I want to type if I want SABS to use a .txt file on my phone as a provider?

Whoops, already answered.
[Android Apps and Games] mwshows:
This is an awesome app, up and running in less than 20 minutes a couple days ago!

One question, does anyone know how many devices we can use the same Samsung License key on? I currently have this set up on my phone. Then emailed the renamed apk to my wife's phone, and setup using the same license key. I can't find specific info from Samsung on how many devices one license key will cover. Right now I have it working smoothly on 2 devices with 1 key. Just curious if anyone has done the same, and if so how many?
[Android Apps and Games] Atheosun:
First of all great work on this Dev(s)

Don't suppose anyone has got this working on Note 4?

Followed all the steps using Studio, renamed the app correctly(i think) and got the proper key and it installs properly.

However the lists are not been updated in Subscribe to Providers and remain at 0 and no blocking occurs.

Before i troubleshoot any more, any Note 4 users using this and working?
[Android Apps and Games] evilvoice:
[APP][5.0+] SABS - Simple Adblocker for Samsung (KNOX front end)

I'm sure this has been answered but I've tried searching in Tapatalk and it never returns any results and acts like it's searching all of XDA instead of just this topic.

Will this work on a stock rom with Knox removed and has anyone tested on the really old Note 3 phone?

Thanks in advance.
[Android Apps and Games] NeedleGames:
Hi, what phone are you using?
[Android Apps and Games] Neo3D:
Is it possible to blacklist a URL, not an entire domain?
[Android Apps and Games] khaisttj92:
up to 10 devices.

https://xdaforums.com/android/apps-games/app-sabs-simple-adblocker-samsung-t3751722/post75676740

edit: i'm using on 3 devices with 1 key.
[Android Apps and Games] Jedaru:
I'm not sure where I've gone wrong but no ads are being blocked at all. The app installs with no errors or warnings, I have a fresh key (previously used older keys when on adhell), and the package disabler works.

I've changed the package name several times as I've uninstalled and reinstalled and even generated 3 separate new keys each time..

I searched the thread about chrome not working and the Port 53 workaround and have toggled, turned off, toggled, turned on several times to no effect.

GS8 on 2CRB9 (8.0 T-Mobile)
[Android Apps and Games] wonkysharks:
I have been last night/today. Disabled it last night, enabled it again today and the rebooting started again. Just disabled again. I'm on an S9+
[Android Apps and Games] sp0r0s:
When i have sabs enabled i cant play pubg mobile. Gives me a network error. If i disable sabs its fine. I can not find the app in sabs's app picker to disable it for only this app so i must disable, play and enable again which takes a lot of time for some reason. Any suggestions?
[Android Apps and Games] android_htc:
Just compiled and installed latest commit from Github...SABS can now be disabled AND enabled pretty much instantly within a few seconds :good: (before it was about 45 secs to enable)
[Android Apps and Games] Khaosmind:
SABS is a great tool. Congratulations and thanks to everyone who contributes to this proyect.

I have an issue. Sabs is not currently blocking ads on google search. The domain doubleclick.net is not being blocked and I was able to identify it using ublock origin on firefox.

A) I tried restarting phone and enabling and disabling SABS.

I removed adguard from samsung internet. (I tried A again)

I tried Brave (it doesn't block doubleclick.net ads on google).

I tried focus it doesn't block those ads.

I finally tried firefox with ublock origin and it did block the ads from doubleclick.net on google search.

From recent activity I see that SABS is working and blocking a ****load of stuff.

I tried manually adding *.doubleclick.net it doesn't work. Anything else that I can try? I am not using firefox, in android is slow as hell.

Update: When I click "why this ad?" and try to go to ad preferences doubleclick.net doesn't resolve. If I click an ad the ad doesn't work since googleservices.com is being blocked... so I don't know what is going on.
[Android Apps and Games] Oops...:
No, I don't think so. Domains only
[Android Apps and Games] raul6:
Same issue like you are seeing using Note 4 plus on reboot Sabs causes process not responding screen. Clicking ok more often than not clears it. But, the ads seem to be blocked.
[Android Apps and Games] Oops...:
Something is messed up with latest build 552. Updated and also uninstalled/re-installed. See screenshot. I went back to my previous build 540, working again.
[Android Apps and Games] karunattu:
Its good. Working fine. Thanks.
[Android Apps and Games] Mike B.:
Yes, recent commits have somewhat crippled SABS, hopefully temporarily. Stick to build/commit 551 or earlier. Delete your "mmotti's package" entry and manually add the correct URL: "[highlight]https://raw.githubusercontent.com/mmotti/mmotti-host-file/master/wildcard_standard_hosts.txt[/highlight]" (or change it in your copy of the source) and select it.

See attached screenshot of one of my personal test configurations.
[Android Apps and Games] m4rkoo:
Hi, I saw an advertisement on a webpage. Figured out its URL is rad.mob-api.net, my first step was adding the URL with "http://" prefix and added its IP address as well. Turned off /on SABS, tried rebooting the phone with no luck, the advertisement is still shown. What could I do? I can even access the URL added to the blacklist.
[Android Apps and Games] Mike B.:
The current SABS wording is a bit confusing. To blacklist a domain you need to use the domain name, not the full URL. In your example, that's "rad.mob-api.net", no http://, no file name and absolutely no numeric IP. Try again.

Rebooting is seldom needed unless the ad in question remains in your browser's cache.
[Android Apps and Games] 8139david:
On Samsung website, I hadn't seen that it is optional to associate license key with app (I thought it was necessary):

http://www.imagebam.com/image/5f3215757447883

On my final set-up (not shown in previous post), I had in fact associated my modified app with the key.

So in the instructions, the developer may clarify that one need not or should not associate license key with app.
[Android Apps and Games] friscoboi:
I got The Key without uploading any App. I Just Hit created Key and it created The Key. After that i Entered The Key in my App.

Maybe you are in The wrong Key section in Samsung Site???
[Android Apps and Games] Mike B.:
The steps in the OP seem rather adequate and It's a bit difficult to list all of the things you should NOT do. Creativity is a wonderful thing, but not when applied to following specific instructions... ;)

Because of their very nature, SABS and similar tools will never be simple "just install & enjoy" tools and the user must carefully follow the instructions for a successful implementation. If something doesn't work, it's often wise to start all over again, paying close attention to every step, nothing less and nothing more.
[Android Apps and Games] Resync:
can you guys please fix the UI, enabling and disabling blocker is really weird.... (sometimes it works sometimes it does nothing)

closing and reopening fixes it a little bit i think??!?! buts its really broken.
[Android Apps and Games] Mike B.:
Until a more permanent fix for the sluggish UI is implemented, simply close SABS and switch between ON and OFF right away, before you go to any other screen. Remember that it will still take a little bit of time to process the request (no more than 1 to 2 minutes or so for most devices).
[Android Apps and Games] Resync:
what can i do to get my playstore back to work with enabled blocker?
[Android Apps and Games] Mike B.:
SABS has nothing to do with the Play Store. If your Play Store has issues, it might be that you're using SABS to block a domain that it needs by specifically blacklisting something or you're using another list besides the default package. Return SABS to is defaults (standard package, don't disable any apps, default DNS, etc.).
[Android Apps and Games] Resync:
setting a DNS is bugged... thats the problem
[Android Apps and Games] Mike B.:
I'm not sure what you think is "bugged". If an alternate DNS doesn't work for you, the simple solution is to NOT do that. Our smartphones are not very smart but very obedient. If you commanded your phone to use a different DNS, it did it, whether it was a wise move or not. Remember that SABS merely configures the underlying Knox layer. The rest is up to Samsung and Android as implemented on your device.

FYI, I happen to use an alternative DNS on my own daily driver and experience no Play Store issues whatsoever but a lot depends on which DNS you pick and how your ISP (including APN settings) deals with DNS requests.
[Android Apps and Games] Resync:
try google dns and try downloading an app from the playstore

+blocking ads in chrome beta doesnt work

only in chrome non beta
[Android Apps and Games] Mike B.:
Perhaps those are steps that YOU should try. It might also be wise for you to check your device's logs where the actual cause of your problem is most likely to be found.

One can't help wonder why you apparently insist on using a DNS that doesn't work for you. If Google's DNS doesn't work, quit using it. This is not an SABS issue but rather something for Google (DNS and Play Store provider) and maybe Samsung (Knox API provider). Do you have any issues when sticking to the default DNS provided by your ISPs (WiFi or mobile data)?
[Android Apps and Games] Xingle:
Hi! Thanks a lot for the app. Would it be possible for you to add the following features to the app.....

1. Permission disabler for the Clipboard.

2. Wildcard entries for blacklisted/whitelisted domains.

3. Block any domain. Ex: block all .cn domains

4. Search option on the App Permission tab.
[Android Apps and Games] :
Search would be good..

Also if it is not very difficult, an option to clear data of every app is shown..
[Android Apps and Games] Mike B.:
Why add that to SABS? The steps might be slightly different on your device, but can't you already simply go to Settings -> Apps -> (select the app you want) -> Storage -> Clear Data (or Clear Cache)?
[Android Apps and Games] :
You are right, could be done from there.. Ok

Although it would be easier, from sabs eg if three were an option to long press an app and select to clear data, as package disabler from playstore had..

Actually it is helpful if you want to set a paid theme for free.. :)

Forget it if it need much work.

Thanks again.
[Android Apps and Games] NeedleGames:
Speaking about the first one - what do you mean for the clipboard? You want to copy something?
[Android Apps and Games] Mike B.:
Sure it's feasible but there is no obvious reason to duplicate a function that's already readily available and has nothing to do with the Knox firewall. The more SABS would do outside of its main focus (i.e. configuring and launching the firewall), the more complex and subject to bugs it would become for no clear benefit. There is no shortage of "Cache cleaning" and various maintenance apps on the Store already.
[Android Apps and Games] :
I think you are right..
[Android Apps and Games] mmotti:
Edit: ah, that's the issue. My bad I didn't think of that earlier when I renamed the file.

Updated the URL can someone try? Edited on my phone.

If you updated to the previous commit you'll need to manually add the host file. Others will be migrated automatically providing this tweak did fix it (haven't been able to test).

https://raw.githubusercontent.com/mmotti/mmotti-host-file/master/wildcard_standard_hosts.txt
[Android Apps and Games] Oops...:
the other string seems also not correct

https://raw.githubusercontent.com/LayoutXML/SABS-Package/master/package.txt

, 404 file not found
[Android Apps and Games] mmotti:
I'm assuming that's [MENTION=6183103]NeedleGames[/MENTION] placeholder for when he creates his host file.
[Android Apps and Games] Oops...:
Well, I guess this should read as follows:

https://raw.githubusercontent.com/LayoutXML/SABS/master/standard-package.txt
[Android Apps and Games] mmotti:
That's the link to his old one. He created a new repo for his host file but it isn't there yet.
[Android Apps and Games] Oops...:
Ah, ok, that's why. You young guys are progressing too fast for me ... :p

Your fix with build 554 is working. mmotti's package shows up correctly again, SABS is blocking. :good:
[Android Apps and Games] mmotti:
:victory::p

Did it add automatically? If so, did you delete all of your host files before updating to the new version or?
[Android Apps and Games] Oops...:
I was back on build 532, then updated directly to 554. I did not delete the host files before.
[Android Apps and Games] mmotti:
Awesome. Thanks for confirming!
[Android Apps and Games] johnjones97:
Reboot Issue with S8 and S9+

I have a S8 running Oreo.

Another user with a S9+ also reported this issue.
[Android Apps and Games] Mike B.:
As I've been saying for a while now, there's no need to do anything besides entering the correct URL. If that URL happens to match one of the names in MainActivity.java (e.g. "mmotti's package") then that name will be used for display instead of showing the full URL. Using the URL also guarantees that the package can be deleted by clicking on its "trashcan" icon, and there's no need for SABS to try and do that.
[Android Apps and Games] Oops...:
So you would propose to not have any standard lists in SABS at all, but just leave it to the user to add the correct URLs? These might not be easy to find for everybody, specifically when they are located in separate repositories (which makes perfect sense).
[Android Apps and Games] johnjones97:
Here is a new issue.

As I mentioned, I'm getting random restarts. Sometimes when the phone boots up again, the ads appear on apps. And sometimes after the reboots, the ads are blocked as they are supposed too lol

At first I thought I had too many hosts lists so I deleted some but the problem still exists
[Android Apps and Games] Oops...:
As a standard recommendation: start with a clean build from sources instead of patching the package name. And just use one standard list to start with. I'm using a S8+ on Oreo, and there are no issues with reboot on my side.
[Android Apps and Games] SiNJiN76:
I just activated and turned on SABS. Working great so far (6 hours). :good: (Note 8 on Oreo)
[Android Apps and Games] howellcp:
Any ideas why I'm getting zero host files on these?
[Android Apps and Games] Mike B.:
No, I simply know that SABS is not an ads blocker, but rather a domains blocker that most users happen to use to block ad servers, a significant distinction. It makes sense to suggest a couple of common "ad blocking" lists, such as [MENTION=6183103]NeedleGames[/MENTION] and [MENTION=6150682]mmotti[/MENTION]'s as starting points as long as those lists are neither included in the downloaded apk nor enabled by default. Where those lists reside is irrelevant as long as the suggested URLs in the source are pointing to actual usable files. A new user would merely have to click on the suggested file(s) he/she wants, or enter the URL of any other external list(s) he/she might feel is better. Wise users can then simply create their very own local list (see my challenge and similar posts and GitHub comments), usable with the Knox firewall (Samsung only), VPNs, or directly as a DNS hosts file (for rooted devices).

Again, those are only my

personal

opinions and recommendations.

---------- Post added at 07:08 PM ---------- Previous post was at 07:06 PM ----------

Perfect example. You are selecting files that don't currently exist. Update to a different build or use the URL(s) of actual list(s) and it'll start working for you. See above.
[Android Apps and Games] howellcp:
I just got this up and running from the most current update. I must have done something wrong. I was able to add adaways host files. I really want to try the mmottis package. Anyone have the link to it. I found it on GitHub but that one would not load for some reason.
[Android Apps and Games] mmotti:
https://xdaforums.com/android/apps-games/app-sabs-simple-adblocker-samsung-t3751722/post75983538
[Android Apps and Games] howellcp:
That link did the trick! Thank you sir.
[Android Apps and Games] wardrich:
Finally got this to work. For some reason it kept taking me to a parked godaddy page
[Android Apps and Games] badblood_antony:
Is there any reason i am not able to rename package ?
[Android Apps and Games] dmozaeta:
Do you have pro version ?

Enviado desde mi SM-N950F mediante Tapatalk
[Android Apps and Games] NeedleGames:
Restart your phone
[Android Apps and Games] Thisisme:
Just for confirmation: Do I need to need to renew the Samsung license key every 90 days - or only if I like to update SABS?
[Android Apps and Games] Bobthahog:
Every 3 months.
[Android Apps and Games] xytherion:
Hi! SO while doing the APK editing, I've encountered

"There was a problem while parsing the package"

Anyone encountered this too? How did you make it work?
[Android Apps and Games] Iwannagiv:
DNS Server Settings - Causing Funny Issues

awesome app. Thanks for your continued efforts!

I been through every page on this forum, tried all avenues before Posting about the Change DNS Server issue I been facing (and some others according to the search). I do believe it is a bug or at least a feature that need s updating to support 8.0.

I have s8 running 7.0 & S9 8.0 both runnings SABS, both blocking ads as advertised, however the Change DNS is a little funny.

S8 7.0 works flawlesly

S9 8.0 When you change DNS and turn off / on, the Play store stops downloading, I have tried multiple DNS Servers to no avail.

IF I put the DNS settings into the WiFi settings directly I have no issues downloading through Playstore. If I Enable DNS in SABS it stops working. And funny enough I get an exclamation mark on the wifi icon at the top when I enable SABS DNS Changer (but I do have internet access)

I need the DNS to be set on 3g/4g so I been digging around I found this link:

https://developer.android.com/about/versions/oreo/android-8.0-changes.html

Check under Privacy - The changes to 8.0 Might be affecting SABS DNS Changer

> The system properties net.dns1, net.dns2, net.dns3, and net.dns4 are no longer available, a change that improves privacy on the platform.

> To obtain networking information such as DNS servers, apps with the ACCESS_NETWORK_STATE permission can register a NetworkRequest or NetworkCallback object. These classes are available in Android 5.0 (API level 21) and higher.

For all you awesome people in the know - are you able to have a stab at this to try to get this to work, and anyone else running 8.0 (ARC6) please try and hopefully this can be resolved.

---------- Post added at 09:51 PM ---------- Previous post was at 09:49 PM ----------

I had the same issue APK Editor Pro

Settings > SIGN APK WITH > [Key Created by APK Editor]

Compression Level > None

That fixed the parse error for me and installed normally.
[Android Apps and Games] sp0r0s:
Did a restart without any success.

edit: after many restarts i noticed that i can see all of my apps in "manage blocking in apps" if sabs is disabled. when i enable sabs or restart the phone with it enabled i dont see some apps including pubg mobile. so i had some success. thanks for suggestions
[Android Apps and Games] Mythodix:
Here is the site for the editor. http://www.apkeditorfree.com/

Scroll down you will see links for the app and you'll see Google and Baidu for the pro version. The dev put the pro version on Drive because they removed it from the playstore.
[Android Apps and Games] shaggyskunk:
[MENTION=6183103]NeedleGames[/MENTION] Brilliant! Works like a Charm ??
[Android Apps and Games] mmotti:
Where else have I seen you on the forum? I remember the birds lol
[Android Apps and Games] Neo3D:
That's too bad. Would be great to see this feature added! :o
[Android Apps and Games] shaggyskunk:
Birds... Drunk Penguin lol ?
[Android Apps and Games] friscoboi:
I want Standard lists!!!!!!

---------- Post added at 06:28 PM ---------- Previous post was at 06:27 PM ----------

Wrong App!
[Android Apps and Games] mmotti:
Unfortunately this is not possible with the Knox API :(

Hahaha!! :D