yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] StewMaker:
Uh oh. I hope that isn't the straw that breaks the camel's back.

It's great and all that the app is getting recognition, but it's going to become a bigger target for Samsung. [emoji47]
[Android Apps and Games] MACHEK:
I still can't get a new Key to generate, keeps timing out
[Android Apps and Games] bethedealer:
I found that some ads within an app can't be blocked without the standard package. I checked in the activities and identified some domains for those ads.

Is there any way to import this domain list to the whitelist ,instead of typing them one by one? I would then remove the standard package.

Thanks a lot for the great work.
[Android Apps and Games] iLoveMuffinz:
It takes a while, make sure you also revoked the old key.
[Android Apps and Games] Painman1963:
[MENTION=4343728]Mike B.[/MENTION] Did a very good tutorial about this very subject in post 1180
[Android Apps and Games] Mike B.:
Yes, and on my own system, I only use a local file created by exporting the actual blocked domains. See my post #1180 to export your own list as a text file, optionally move that file to your external SD card if you have one, then enter the file's location and name under the "subscribe to providers" screen (ADD NEW), for example "/sdcard/myblocks.txt", "/storage/FFF:FFFF/myblock.txt", or wherever location and name you used. You can then enable/disable that list and/or any of the other lists. Remember to UPDATE ALL and turn SABS off then on for everything to get updated. At any time, you can edit your file then update all again without retyping everything. From your comments, it seems that you'd want only mmotti's package plus your own list enabled, disabling the standard package. It's actually simple to delete either one of the 2 default packages but not necessary.

---------- Post added at 10:59 PM ---------- Previous post was at 10:39 PM ----------

Actually, I barely scratched the surface of my personal view of how domain lists should be handled. Based on years of experience dealing with that mythical concept of "ad", I learned that large everchanging lists are pointless at best, regardless of whether they are used by a firewall (like in SABS) or by hosts file maintenance tools such as AdAway. We all visit different sites, from different locations, use different apps, and have different views of what content is an annoying ad to be blocked. A universal solution never has and never will work. Instead ,it makes a lot more sense to provide a fairly painless way for each user to create a mostly staticl ist of the actual servers he/she needs to block based on his/her regular actual online usage. The current SABS can be used in that manner, even though it still has some features I'm not sure are germane, such as embedded "default lists". The turning point was the ability for users to use any remote or local file as input. In combination with the ability to use wildcards, this makes it possible to have very small input files what will fit YOUR needs. Launch SABS, input your file, enable the firewall, close SABS and enjoy using your phone without obsessing about "ad blocking" until something changes drastically.

Note:

The above is my personal opinion, not necessarily that of the other contributors to this project!

On a related topic, I can't help but notice that so far nobody has reported their findings in response to my "challenge" ... ;)
[Android Apps and Games] Painman1963:
In response to your 'Challenge', my unedited list holds 120 entries and I need to reduce that to allow some 'wanted' ads to get through.

I'll see how it performs over the next 7 days.

I should point out that I am pleasantly surprised at just how quickly SABS loads up this reduced list
[Android Apps and Games] NeedleGames:
I woke up this morning with 4k more downloads that the day before so began wondering what happened - where are all these people from?

So I found out that SABS has not only been features on xda news (https://www.xda-developers.com/sabs-ad-blocker-samsung-galaxy-phones/) but also lifehacker (https://lifehacker.com/this-free-ad-blocker-for-samsung-phones-also-kills-bloa-1823927074) and android community (https://androidcommunity.com/simple...hed-for-galaxy-s8-and-note-8-phones-20180320/)

Edit: also tuttoandroid (https://www.tuttoandroid.net/samsun...nunci-disabilita-pacchetti-e-non-solo-557480/)
[Android Apps and Games] Painman1963:
Let's hope that they all read the OP [emoji23][emoji23]
[Android Apps and Games] NeedleGames:
And to everyone writing here, on github or reddit - I have an exam in an hour so I can't respond right now
[Android Apps and Games] Painman1963:
Good luck [emoji106][emoji106]
[Android Apps and Games] ragz:
Working fine on Snapdragon S9, used APK Editor Pro, thank you
[Android Apps and Games] ExDeeAyy:
I'm getting a prompt for "Instant Run" after the 11th 13th step in section 2A.

Instant Run requires that the platform corresponding to your target device (Android 7.1.1 (Nougat)) is installed.

Am I being dumb?

Nevermind, I turned off the Instant Run feature and it's fine now
[Android Apps and Games] bethedealer:
I'll take a look. Thanks.

---------- Post added at 07:21 AM ---------- Previous post was at 07:17 AM ----------

I'll give that a try. I'd like to disable the standard package because it not only block ads in the app but also some legitimate functions.
[Android Apps and Games] ambhoo:
I got the same error so I created a new key. It worked fine.

Thanks OP!
[Android Apps and Games] Ulvgard:
Pandora App ad block

Is there a specific host file I can add to block the ads on the pandora app? This would be one of the main types of ads I am looking at blocking
[Android Apps and Games] mlock420:
I read the op but for some reason apk editor won't let me change package name? Note 8 stock snapdragon
[Android Apps and Games] thejackalsmark:
[MENTION=1927554]Mike B[/MENTION], From what I've seen, thus far, you, [MENTION=6150682]mmotti[/MENTION], and [MENTION=6183103]NeedleGames[/MENTION] (Don't read this. Get back your Exam! ?) are the perfect meeting of the minds to take the concept of domain blocking forward and implement it into a superb incarnation of what adhell/adhell2 COULD/SHOULD have been.

The MANY thousands of non-rooted Android users with Knox enabled devices, who have begun using SABS, are a testament to that.?

My only hope is that all this recent publicity doesn't encourage Sammy to focus massive efforts on making all your time, devotion, and hard work for nothing.

Anyway Keep doing what you're doing and here's to Many Many MORE thousands of people benefitting from this very worthwhile endeavor!

And to everyone else, please hit that thanks button for these guys. Throw em a donation if you can, and JUST as importantly, when you

first come here, PLEASE read the thread and DON'T be afraid to use that search bar when you have a question/problem.

I promise you, 9 times out of 10, it HAS likely been ASKED and ANSWERED, many many times

throughout this thread. Reading this thread will educate you in a LOT of ways about SABS.

Consider it an "investment" in an app that COST you NOTHING and will pay you back dividends, many times over!

Cheers Guys! ?
[Android Apps and Games] QnQ:
Fails to activate

It says failed to activate sorry this may have already been covered but 127 pages is a lot to sift through
[Android Apps and Games] thejackalsmark:
Typing "failed to activate" in that search bar up there will drastically cut down the 127 Pages to something much more bite-sized and relevant to your problem. ?

The search function is the most powerful tool in XDA.....

and yet ironically, the most underutilized. ?
[Android Apps and Games] QnQ:
My bad

Yeah super new to the site didn't know it would search thread contents. But I figured it out and feel dumb it was simple, I didn't under stand the whole 3.9.4 characters thing I took it way too literal.
[Android Apps and Games] Gaurav k21:
Yes my S6 is completely Unrooted and running on Stock Firmware with Knox Enabled I'm not able to create Apk using APK Editor .??

Should I use Android studio then ???
[Android Apps and Games] khaisttj92:
[MENTION=7957410]Gaurav k21[/MENTION] use apk editor pro
[Android Apps and Games] mmotti:
I really should try to add a signature for a donation link or something lol. That's the trouble, though. People are never going to donate to the main Dev AND contributors too.
[Android Apps and Games] UgloBuglo:
Thank you for this!

Works perfectly on my new Galaxy S9+, without root and on latest stock ROM!
[Android Apps and Games] mlock420:
Yeah but I did just that and uninstalled and reinstalled multiple times and it still didn't activate do I need to have those periods between 3.9.4?
[Android Apps and Games] QnQ:
Yeah. Just do random **** but in the format 123.123456789.1234 in number and letters
[Android Apps and Games] MACHEK:
Thanks man, that was my hang-up. I didn't know I had to revoke the first one initially, but after you said it, the new key loaded up a day works just fine. Thank you!

---------- Post added at 10:15 AM ---------- Previous post was at 10:13 AM ----------
[Android Apps and Games] mlock420:
Well everytime I add a number example cul.187420696.oliu after I hit install it says problem parsing?...but when I don't add any numbers it'll install
[Android Apps and Games] Nastrahl:
(I screwed up. To be deleted)
[Android Apps and Games] bethedealer:
I came across an issue with the package disabler. I have an app disabled. It has an update on play store. I updated it without enabling again it first. It ended up with 2 identical entries in the list. How to fix it? Thanks a lot.
[Android Apps and Games] Mike B.:
Nice! Whether with or without using wirdcards, 120 entries sounds a lot more realistic than the 10-20K+ lines some users think they need.

---------- Post added at 07:22 AM ---------- Previous post was at 07:17 AM ----------

Read again. APK Editor

PRO

! ;)

---------- Post added at 07:31 AM ---------- Previous post was at 07:22 AM ----------

Fotunately you don't need to do any sifting. You can either re-read the instructions carefully and get the correct 128-byte Legacy Knox Standard SDK Enterprise license key, or simply search this thread.

---------- Post added at 07:35 AM ---------- Previous post was at 07:31 AM ----------

Please re-read the OP. As others have pointed out, you should use APK Editor PRO, but Android Studio would be even better.

---------- Post added at 07:37 AM ---------- Previous post was at 07:35 AM ----------

My own donation button is the little forgotten "[highlight]

THANKS

[/highlight]" icon at the bottom of my posts, but apparently only few users have enough strength to push it! :(
[Android Apps and Games] ragz:
Thanks for the great app,

3GE6963223285384B
[Android Apps and Games] monsterlag:
Hey thanks a lot! Works perfectly on my brand new Galaxy S9+. Combining bxactions with this has made the bixby button 100x more useful
[Android Apps and Games] mestguy182:
For those of you having trouble whitelisting googleadservices, I got it to work by entering: *www.googleadservices.com

The asterisk did the trick. You still have to turn SABS off and back on again for it to take effect though. Hope this helps!
[Android Apps and Games] Deathman20:
Took a few tries but got it! Can't wait to start looking into this more now. Thx!
[Android Apps and Games] wardrich:
Can anybody suggest a decent free alternative (or cheaper alternative) to the APK Editor app for renaming the package? Thanks in advance!
[Android Apps and Games] AEM74:
Do I have to do anything when upgrading to Oreo S8+ that has SABS on Nougat?
[Android Apps and Games] Deathman20:
I know the APK Editor failed on my phone but did the install on the PC. 20min and all up and running on the phone using the design studio.
[Android Apps and Games] orbitalcomp:
In the last 7 days, I'm at 5,855 domains blocked and 91 of those unique. Using [MENTION=6150682]mmotti[/MENTION]'s host file exclusively.

On a side note - my worst offender by far seems to be Pandora. It's trying to contact the servers like every 5-10 seconds sometimes, even if I haven't used it recently.
[Android Apps and Games] wardrich:
Yeah, I think you need to have the pro version for it to work, and I can't justify an almost $7.00 purchase for something I'm only going to use the once. I'll have to give the PC version a try when I get home. Thanks!
[Android Apps and Games] mmotti:
Might be worth whitelisting the Pandora one (depending on what it is).

There was a similar issue with Google music and it led to the app causing battery drain through repeated requests.
[Android Apps and Games] Alastal:
It works for me on my Note 8 Android 8

on Samsung and Chrome browsers

But its not working on Microsoft Edge browser!

I tried to look for proxy or something inside the app but no luck
[Android Apps and Games] orbitalcomp:
It's 'stats.pandora.com' when the app has been dormant. Then when I run it, it accesses about 4-5 other domains. Funny thing is, I haven't noticed any battery drain, but I just went ahead and whitelisted the out-of-control domain to see what happens.

Thanks for the heads-up!
[Android Apps and Games] mmotti:
Don't forget to disable / enable blocking after whitelisting if you are not on the latest commit on github.

Also - if it fails to whitelist that url properly then try *stats.pandora.com
[Android Apps and Games] IndDoc:
S9 plus exynos, latest software patch. Followed all steps via Android studio. Phone did not boot up and failed integrity check. Had to reset and wipe everything. I am attaching a screenshot of my software details, just in case. Anyone know what I'm doing wrong? Or is it that the march patch disabled this?
[Android Apps and Games] wardh:
If you block port 53 in all apps it will block ads in Edge. But blocking 53 in all apps breaks some apps. You can edit the source code with Android studio so it blocks port 53 for Chrome and Edge.
[Android Apps and Games] Alastal:
Thanks

But how to do it using android studio?
[Android Apps and Games] uly609:
so after installing the app and adding a few provider subscriptions, YouTube doesn't work. It says please check your network connection. Anyone else encounter this and or fix this?
[Android Apps and Games] wardh:
I'm no developer but here is what I did:

In the left panel, navigate to: app-java-com.layoutxml.sabs-blocker-contentblocker56

Find the line that looks like this (for me it's line #116):

List<String> Port53Apps = new ArrayList<>(Arrays.asList("com.android.chrome", "com.chrome.beta", "com.chrome.dev", "com.chrome.canary"));

Now you need to add the package name for Edge so it will look like this:

List<String> Port53Apps = new ArrayList<>(Arrays.asList("com.android.chrome", "com.chrome.beta", "com.chrome.dev", "com.chrome.canary", "com.microsoft.emmx", "com.microsoft.ruby.Main"));

That's it now you can run/install it to your phone again. In SABS you need to turn on Block Port 53 under the Miscellaneous setting (but don't tick for all apps)

Hope it helps.
[Android Apps and Games] Painman1963:
There are links to a PRO version in this thread. Search is your friend
[Android Apps and Games] wardrich:
Is it cheaper than the one in the Play Store, though? My issue isn't how to find it, but rather the fact that $6.50 for an app that I'd only use once is kind of steep. I was hoping for a cheaper alternative.
[Android Apps and Games] NeedleGames:
SABS only uses Samsung's own tools so if something stops working this is their fault. You might have accidentally disabled android system or something essential but a simple safe boot (power+volume up while turning on your phone) would let you revert any changes
[Android Apps and Games] Painman1963:
Yes. It's $6.50 cheaper!
[Android Apps and Games] wardrich:
Thanks - I'll see if I can dig it up.
[Android Apps and Games] Trootter:
Is it possible to block Paywalls from news sites with sabs?

In theory I thought it would work, (just add some domains to the blocked list), but I couldn't make it work.
[Android Apps and Games] Alastal:
Thank you for the instructions

I'll try it once I can use my laptop

Thanks a lot
[Android Apps and Games] Rocklee99:
I have a question, after installing this and getting it running, my battery has vastly improved (of course it's only been a day). But my question is, what is it that's made my battery so much better this far? Would blocking ads really amount to such an improvement?

Thanks
[Android Apps and Games] morbidelli:
Have you disabled some package or you just activated Ad Blocker?

How many entries you have in the recent activity for the last 24h for ex.?
[Android Apps and Games] Forever Justice:
So I followed everything and on install it says parse error?
[Android Apps and Games] :
Just want to say thanks to the OP for this. A donation will be coming your way.
[Android Apps and Games] Rocklee99:
I have a bit over 2000 entries xD sounds like a lot to me (what's causing all of this when in not really doing much except occasionally searching and messaging?)

I've only disabled some lame apps like Amazon or whatever isn't really important to the phone
[Android Apps and Games] morbidelli:
Which blocking package you are using? Mmotti's?
[Android Apps and Games] johnjones97:
Adhell 2 stopped working after upgrading my S8 to Oreo.

After multiple installs, finally got this working on my device (would get stuck on the "enabling SABS" screen so I would reinstall). Have about 53k domains blocked (thanks to Steven Blacks host)

Now my phone randomly reboots at random times. Anyone else have this issue?

Other than that, works just like Ad Hell 2!
[Android Apps and Games] Vichenec:
Is it possible to turn off start on boot for some apps using SABS?
[Android Apps and Games] SpyderSoldier:
Great

Works like a charm. Best adblocker I've ever used period.
[Android Apps and Games] Rocklee99:
Yes, the standard ones that come with it
[Android Apps and Games] StewMaker:
Disabling "android.permission.RECEIVE_BOOT_COMPLETED" should prevent apps from starting on boot.
[Android Apps and Games] Vulgarisons:
Licence activation failed...
[Android Apps and Games] Deathman20:
Hey noticed the same thing. Almost immediately less battery drain.
[Android Apps and Games] Alastal:
it worked for me

and all thanks to you for help :highfive:
[Android Apps and Games] st0nez0r:
Works great, best adblocker ever!
[Android Apps and Games] gho5t82:
So far this is working great however I can't send MMS through Textra anymore. Would sabs be causing this?
[Android Apps and Games] MTMasterDaBoss:
Error

I'm getting an error when opening the project in android studio, and I don't know why. Could someone help?

This is the error

Error:The module 'app' is an Android project without build variants, and cannot be built.

Please fix the module's configuration in the build.gradle file and sync the project again.
[Android Apps and Games] Presjar:
Working well! Thanks
[Android Apps and Games] khaisttj92:
did you use custom dns? if yes try dont use it and see whether you can send mms or not?
[Android Apps and Games] johnjones97:
Random Reboots - Very annoying

No body else getting random reboots?

I know its not just me
[Android Apps and Games] sp0r0s:
doesn't block ads in the youtube app. do i need to add a host or something?
[Android Apps and Games] Presjar:
It doesn't block youtube ads. You need iYTBP / Vanced Youtube for that.

https://xdaforums.com/android/apps-games/app-iytbp-injected-youtube-background-t3560900
[Android Apps and Games] DroidHead214:
I keep getting the key failed
[Android Apps and Games] hinnn:
Can I use this to disable some services instead of disabling app directly?

Thanks
[Android Apps and Games] MACHEK:
Try revoking the key first, then generate new key and use that one. I was hanging up on it for a while too.
[Android Apps and Games] bethedealer:
Even after uninstalling the app the two identical entries are still there.
[Android Apps and Games] IndDoc:
I tried it, but the phone immediately went into 'integrity compromised' screen every time. I'll try it again today.
[Android Apps and Games] eddyo1993:
How can I change the package name with app cloner
[Android Apps and Games] StewMaker:
I doubt it. Textra works for me.

To check, try with and without SABS on. If it happens when on, see recent activity for what it's blocking. Try whitelisting those domain or Textra app.
[Android Apps and Games] bethedealer:
Any way to clear the recent activity list?
[Android Apps and Games] NeedleGames:
Not at the moment
[Android Apps and Games] mlock420:
Guys I'm a retard I didn't realize the keys were longer then 23 letters and numbers lol...I apologize op and people please forgive me lol all is good now
[Android Apps and Games] bethedealer:
Thanks. Hope this will be a feature in future updates.
[Android Apps and Games] linom:
I just installed this. Works fine!! Firstly, thanks a ton for this app! Will test it out for a few days and donate! I need to know if this would conflict with any other package disablers like BK etc? Should I uninstall other package disablers as well?
[Android Apps and Games] NeedleGames:
It shouldn't conflict with other package disablers at least from SABS side.
[Android Apps and Games] Nezzox:
Finally got it to work. Had to download a older version of APK editor pro from apoide. V8.7 worked for me.

And yeah, after that is smooth sailing. Gonna try a lot of apps now, and a lot of browsing. Just to see how good it works. Loving it this far.
[Android Apps and Games] esmaeil mohamadi:
please link apk editor pro
[Android Apps and Games] Nezzox:
Is there a telegram group where updates gets pushed to?

---------- Post added at 10:15 AM ---------- Previous post was at 10:14 AM ----------

http://jnm091.store.aptoide.com/app/market/com.gmail.heagoo.apkeditor.pro/87/25596316/APK+Editor+Pro
[Android Apps and Games] Painman1963:
Use the search function above. A good search term may be apkeditorfree
[Android Apps and Games] vietkao:
I just notice that when i choose a new name for the package, it always says that name is not a valid name.

So choosing a random package name as the 1st post suggested is not going to work for some people. I have to change the name to 'com.xxxxxxxxx.xxxx' for it to work. The x part is entirely random but it must start with com.

Also, not sure I've seen any changelog. I just saw a notification to update the app but wondering if I should.
[Android Apps and Games] NeedleGames:
It's in the github releases section. You should only see a popup that says there is a new version
[Android Apps and Games] rodrigobarg:
Thank you very much for this app. Using default settings and hosts, and I got an instant battery improvement (I dont know if entirely psychological but it did slow the draining)!
[Android Apps and Games] Tjangkir:
Thank you for your help.

It is really useful for me. :)
[Android Apps and Games] Shawn_007:
Used to work flawlessly.

Tried to update again by editing the package name, didn't work. Uninstall everything and tried from scratch using apk editor pro, the app doesn't install no matter what.

What am I missing here?

P.S - It's got something to do with my package disabler idk what is it thou
[Android Apps and Games] Capsfan84:
The app has been working great for me, although I noticed this morning that the recent activity list doesn't appear to be updating anymore. I think that the app is still blocking anything, but it doesn't show any entries for me past about 4pm yesterday. I tried turning SABS off and back on as well as restarting my phone and it hasn't changed. Has anyone else encountered this or know what I might do to fix it?

Edit: Nevermind, uninstalling and re-installing seems to have done the trick.
[Android Apps and Games] willjr0k5:
[MENTION=6183103]NeedleGames[/MENTION] - I installed this yesterday and went through all my apps disabling various items. I was having some slowness on my S8+ as of late. After disabling a bunch of crap...my S8 is performing much better now!

I also noticed that it has blocked over 1400 ping requests since yesterday afternoon. Many are from legit apps like Spotify and others. What specifically are those blocks preventing with generally legit apps (see screenshot attached)?

Thank you!
[Android Apps and Games] StewMaker:
Crashlytics is used for reporting crash information.