yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Mike B.:
That's interesting to know. I assume that by Stock Domain Providers you mean the current standard+mmotti packages. If whitelisting "*s.youtube.com" (the other two seem redundant and only "ads.youtube.com" is blocked by the default packages) allows you to get surveys without being overrun by ads, I'm sure other users will appreciate your report.
[Android Apps and Games] waingro808:
just switched from adhell2 to this. Works like a charm on my S7. Thanks!!!
[Android Apps and Games] 5outof7:
I've mirrored what you've posted, thank you!
[Android Apps and Games] Capsfan84:
This is very helpful, thank you. I only installed the ad blocker few days ago and I haven't gotten any survey since then, but that could also be coincidence. Given that we have a different list of apps, is it safe to assume that if I'm only using the default list provided within sabs, which is to say the standard package and mmottis package that I should get a reward survey eventually?
[Android Apps and Games] NewWorldOrphan9:
Not sure if it'll work for you, but with my setup, I get surveys. I do see Google ads here and there in apps like Podcast Republic.
[Android Apps and Games] NoFaQ:
Anyone else getting duplicate entries under Package Disabler?
[Android Apps and Games] Bobthahog:
All good for me in recent activity on S9+.
[Android Apps and Games] ryRy:
it start with xml...right or wrong?
[Android Apps and Games] funkybone:
hi there, i used my newly generated Enterprise key but it shows Activation failed. Weird because I just used that enterprise key to Adhell2 and it worked.
[Android Apps and Games] Dudash:
This happens to me as well. It's quite frustrating since I only want adblocking enabled for a few apps and have to uncheck every other app when it happens.

Having an option to enable/disable adblocking in all apps and an import/export list in the adblock section would be nice.
[Android Apps and Games] ryRy:
can someone help me how to edit the package name from apk editor...it seems it cant rename..and also can you check the code if it is correct or not..
[Android Apps and Games] Farid-1376:
I get app not installed on s9+.

Using pakage names(apk editor pro) like:

com.laytygox2.zabd

com.e5kandar1.frid

What's wrong?
[Android Apps and Games] ryRy:
can someone post the edited app here
[Android Apps and Games] thejackalsmark:
Seriously??? ??

1. Read... The… Op...

2. Take the time to read the thread... your questions along with most have been answered entirely too many times over and over throughout this thread.

3. Use APK Editor... "PRO", instead, like it says to, OR Android Studio…

4. NUMEROUS times, throughout this thread, the authors/op have Expressly FORBIDDEN the "edited app" to be posted in the thread, for good reasons which would become very obvious if you went through the time to read the thread...
[Android Apps and Games] gengt:
I have the same problem. Package name greyed out
[Android Apps and Games] friscoboi:
It doesnt Work with that! Only with pro.

But best is to use Android Studio.
[Android Apps and Games] ryRy:
working:)
[Android Apps and Games] scottusa2008:
Installed and working on my s9+

Thanks :)
[Android Apps and Games] mmotti:
I have some time free once again. May take a look at separating out the rule methods to something like addDomainFilterRule, removeDomainFilterRule etc. It could then allow for whitelisting / blacklisting entries to take effect without the need to restart adblocking.
[Android Apps and Games] NeedleGames:
And I have exams on 21st of March, 4th of April, 25th of April, 5th of May, 12th of May, 2nd of June, and 9th of June.

This means that on these days and a week leading up to them, I will be busy studying.

(The exams I have mentioned are state exams. I also have school exams but I will not be preparing for them)
[Android Apps and Games] NeedleGames:
I have attached my schedule. Dates crossed out in red means I'm 100% unavailable. Others days mean I have nothing serious planned as of now but I might plan something later, be tired, or doing other activities for example school related
[Android Apps and Games] Androidlover99:
I had the same issue, you can't change the package name without getting the pro version. You have to download Android Studio to your computer and change the APK name that way, there's instructions for it on the first page but if you get stuck just ask :)
[Android Apps and Games] ryRy:
its working now with my a5
[Android Apps and Games] Androidlover99:
Awesome.
[Android Apps and Games] uoY_redruM:
Might be a stupid question but, how do you whitelist Yahoo? I tried www.yahoo.com and it accepts, stopped and started SABS, but the site still loads all messed up.
[Android Apps and Games] Mike B.:
You can't whitelist a web site, only domains and subdomains. "www.yahoo.com" is unlikely to be relevant. We don't know which domains you are currently blocking, but even the default packages block several yahoo.com subdomains (*.adserver.yahoo.com, for example). The subdomains that give you trouble might not even be on yahoo.com at all, depending on what you mean by "all messed up". To make your life easier, have you tried simply using the default providers (mmotti's alone, or both)?
[Android Apps and Games] uoY_redruM:
Yes, I'm only using the default providers. This is what I mean by all messed up.
[Android Apps and Games] Mike B.:
Since I had to test another report and had to temporarily revert to using both default packages with the latest SABS, I just now went to https://www.yahoo.com" and it looks like I suppose Yahoo is expected to look like. What you show might be simply a temporary browser glitch. Have you checked with another browser? If you only use the SABS default settings. are you positive you're not using something else that interferes with wep pages display (VPN, element blocker, etc.) ?

BTW, while I have you attention, you may want to consider switching to a slightly smaller signature. Your current one is longer than most of your messages and wastes a large amount of screen space for no clear benefit.

EDIT

: Use [MENTION=6150682]mmotti[/MENTION]'s package. I think your standard package blocks something i shouldn't (the old yimg.com problem discussed before on here). I'll check on which one is currently online when I get home.
[Android Apps and Games] uoY_redruM:
Hmm, I just checked with Samsung Browser and the results are exactly the same. Never had an issue viewing the site until after I installed SABS. I'm not using any other blockers of any sort.

Sorry about the signature. I use to develop for the S3 back in the day and I had other devices I helped with. I honestly don't use XDA very often and when I do, it's on my phone so I don't even see my signature. I'll jump on the computer and clean it up so it's not so long.
[Android Apps and Games] Mike B.:
In general signatures are evil, the longer the sig the eviler it is! ;)

Note that you can modify your XDA profile (including sig) from your phone browser, you don't need a computer.

I see that [MENTION=6183103]NeedleGames[/MENTION] hasn't had a chance to clean up his standard package on GitHub. Uncheck it, turn SABS off then back on, and you'll be fine. The guilty party is the "*.yimg.com" wildcard entry in standard-package.txt.
[Android Apps and Games] 3bs11:
Is there a list I can import to disable bloat and default apps that are safe to disable?

---------- Post added at 09:38 PM ---------- Previous post was at 09:37 PM ----------

Is there a list I can import to disable bloat and system apps that are safe to disable?
[Android Apps and Games] Mike B.:
That really depends on which apps

YOU

want to see and use. Note that there's no obvious reason to disable an app unless it uses too many resources, but then that can often be remedied by forcing it to remain in background through your Device Management settings. Any particular reason why you feel you must disable something?
[Android Apps and Games] 3bs11:
I'm getting poor battery life on my S9. (3-4 SOT)
[Android Apps and Games] Mike B.:
Then look at what is using up battery power in your Device Management settings.
[Android Apps and Games] Nastrahl:
At least one exemple : there's no reason to have Microsoft OneDrive if you don't have the need to, and it's pre-installed as a system app which is a godamn nonsense.

Since its a system app (or maybe for an other reason I don't know) you can't disable it, doze it nor optimize it (with the built-in battery management app on the Note 8).

The same for Bixby: it's not available for my language and we still have to run it nonetheless.
[Android Apps and Games] Mike B.:
Just because an app is present on your system doesn't mean that it's using any resources. You can try to limit its permissions, but that won't make the app disappear. OneDrive is definitely not part of the standard Android package and if your device came with that, there's basically nothing you can about it except for NOT using it (and clearing its data and cache if it makes you feel better), or rooting your device. In any case, this is not something over which SABS has any control.
[Android Apps and Games] bethedealer:
There is a package disabler in SABS. Is this what it is used for?
[Android Apps and Games] sklchan:
If really not reading then really donno the *.yimg.com messed up the yahoo homepage, but simply add in the *.yimg.com into the whitelist direct solved the messed up issue... but read from web the .yimg.com have lots of malware scam/spam sites using it, so i think it's better left the blocking on...
[Android Apps and Games] mmotti:
Or, as suggested, untick Standard Package and leave only mmotti's package selected, turn off and turn on ad blocking. I removed the problematic *yimg.com and *.yimg.com some time ago.

The following .yimg.com domains are included:

eur.a1.yimg.com
in.yimg.com
richmedia.yimg.com
sg.yimg.com
uk.i1.yimg.com
us.a1.yimg.com
us.b1.yimg.com
us.c1.yimg.com
us.d1.yimg.com
us.e1.yimg.com
us.f1.yimg.com
us.g1.yimg.com
us.h1.yimg.com
us.j1.yimg.com
us.k1.yimg.com
us.l1.yimg.com
us.m1.yimg.com
us.n1.yimg.com
us.o1.yimg.com
us.p1.yimg.com
us.q1.yimg.com
us.r1.yimg.com
us.s1.yimg.com
us.t1.yimg.com
us.u1.yimg.com
us.v1.yimg.com
us.w1.yimg.com
us.x1.yimg.com
us.y1.yimg.com
us.z1.yimg.com
[Android Apps and Games] Mike B.:
SABS can be used to disable apps, but that doesn't imply that you must disable any app unless you have a good reason to do so.
[Android Apps and Games] mmotti:
Moved majority of firewall processing from ContentBlocker56 to a new fwInterface class.

This class can be called from anywhere with:

// Create a new instance of the firewall interface
fwInterface FW = new fwInterface();

The blacklist / whitelisting lists are a little crude - These could do with updating. But, for now, I have slipped in the necessary code to make these changes happen 'live'.

Providing the firewall is enabled (SABS turned on), new blacklist / whitelist entries will be added straight to the firewall without the need for turning SABS off / on. Same applies for removing blacklist / whitelist entries.

tl;dr: More possibilities open up. Now, blacklist / whitelist entries should apply straight away WITHOUT the need to restart adblocking.

Actions:

Add a whitelist item --> (If firewall enabled) --> Rule added to firewall

Remove a whitelist item --> (If firewall enabled) --> Rule removed from firewall

Add a blacklist item --> (If firewall enabled) --> Rule added to firewall

Remove a blacklist item --> (If firewall enabled) --> Rule removed from firewall

Please could those of you who are building your own copy kindly test for me? You need to allow a little time and for the possibility of the requests having been cached before reporting that it doesn't work! :)

I have personally tested with:

Host file entry: affiliates.*

Whitelist entry: affiliates.test.com

Result: affiliates.test.com accessible.

Edit: This should also make it possible to allow 'Updates' to the firewall (i.e. add a new host file, calculate differences and add those entries instead of having to turn off and on again). That could also pave the way to automatic updating of host files / additions to the firewall. The major hurdle was moving the firewall interface to a it's own class.
[Android Apps and Games] .::Alien::.:
I am getting popup ads while using:

https://uploadocean.com

http://cloudyfiles.org

http://suprafiles.org

https://tusfiles.net

http://turbobit.net

https://userscloud.com

And occasionally on:

https://dropapk.com

Will you mate please suggest a remedy!
[Android Apps and Games] Nastrahl:
SABS isn't a pop-up blocker so it's irrelevant.

Turn on your browser's pop-up blocker or/and install an adblocker extention that add an addition layer against pop-ups.

Or, change upload service for one that respect you better.
[Android Apps and Games] Mike B.:
Besides NOT using those sites, the remedy would be to identify which domains host those "popups" and blacklist them if possible. From a quick test here, the sites you mention seem to be ad-rich, as expected, but I see no popups when using [MENTION=6150682]mmotti[/MENTION]'s list.

---------- Post added at 09:25 AM ---------- Previous post was at 09:17 AM ----------
[Android Apps and Games] mmotti:
I've started a repo: https://github.com/mmotti/mmotti-host-file

The issue atm is changing the URL. There needs to be some coding in SABS to physically delete the old standard package from the DB.

Simply changing the package url in the code adds another undeletable entry (keeping the old list).
[Android Apps and Games] mmotti:
You guys seen this?
[Android Apps and Games] Mike B.:
Making progress! I'm updating my settings to point to "https://raw.githubusercontent.com/mmotti/mmotti-host-file/master/Wildcard_Hosts.txt" (Mixed case? Shame on you!). The old list would be deleted when SABS is uninstalled/reinstalled or maybe we could have a one-time only app/script to help users make the switchover?
[Android Apps and Games] NeedleGames:
Oh yeah! Featured on xda news! [MENTION=4343728]Mike B.[/MENTION], I'm very busy at the moment and will start working on standard package as soon as I can
[Android Apps and Games] Mike B.:
Your main priority should be school. Don't worry about SABS. I'm sure the XDA News thing will keep us all busy on here. ;)

[MENTION=6150682]mmotti[/MENTION]: One easy way to remove the embedded default packages might be to manually add "https://raw.githubusercontent.com/LayoutXML/SABS/master/standard-package-mmotti.txt" and "https://raw.githubusercontent.com/LayoutXML/SABS/master/standard-package.txt", which makes it possible to trash "Standard package" and "mmotti's package". Successfully tested under build 534. If the URLs are modified in the source and the packages excluded from new builds, I believe the user-friendly package names will still appear instead of showing the full clumsy URLs. This could be done already with your list (tested with my cloned repo here).
[Android Apps and Games] crazylilazn:
Any possibility of making a widget to disable/enable specific apps? Or create a customizable shortcut that enables and opens an app with one click or something like that? (like what's used in ice box/bk disabler)
[Android Apps and Games] Cr4z33:
Is there something broken at the moment?

I just flashed a new firmware on my Samsung Galaxy S9+ and SABS doesn't accept my (previously working) key. :(
[Android Apps and Games] jaison thomas:
Do we have any common list of disabled apps which are safe to disable? Its would have been very easy to import tried and tested list.
[Android Apps and Games] Mike B.:
You probably need to revoke your old key and get a new 128-byte Legacy Knox Standard SDK Enterprise license key.
[Android Apps and Games] Cr4z33:
Thanks, but I already tried that way and got the same license error. :(

Inviato dal mio SM-G965F utilizzando Tapatalk
[Android Apps and Games] Mike B.:
When you say you flashed new firmware, you’re still talking about official Samsung OTA and still Knox enabled, right? Are you absolutely positive that you disabled the old key and got the correct new key? Please check again. SABS has no control over Samsung's acceptance of your key.

EDIT: If your custom SABS.apk (with your unique package ID) worked under your previous firmware, then SABS is working. The rest is between you and Samsung! ;)
[Android Apps and Games] Cr4z33:
Yes to all of your questions. :D

Unless it takes hours to remove a previous key I did exactly what you wrote in my personal area.

Also I flashed of course an official Samsung firmware, but I am thinking to revert back to the previous firmware because of other issues too.

Maybe by that time SABS will work again. :D

I might post feedback into a couple of hours or so.

Inviato dal mio SM-G965F utilizzando Tapatalk
[Android Apps and Games] Xingle:
So.... I'm seeing two two entries for most of my apps in the Permissions manager tab.
[Android Apps and Games] wardh:
This doesn't seem to work with Microsoft Edge browser, ads stil show.
[Android Apps and Games] Mike B.:
If ads are blocked with other browsers and only this one gives you trouble, there's a very good chance that it uses a proxy of sorts. I tried installing that app here and couldn't find any obvious way to change its settings but If you can disable that proxy, ads will be blocked as for other apps. If not there's nothing SABS can do.
[Android Apps and Games] gigeaky:
after multiple tries and restarts and licenses generated still not being able to activate license, so reinstalled adhell2 and the same license is working...
[Android Apps and Games] Logan:
Hello guys

I am unable to get the key working, i havetried couple of keys but at the end and got no chance to activate it for some reason, i give uo with Samsung lol
[Android Apps and Games] wardh:
Thank you for the explanation! It blocks ads for other browsers so I think you are right.
[Android Apps and Games] Mike B.:
How did you obtain your SABS.apk? Are you positive you have correctly compiled/patched it with a unique package number?
[Android Apps and Games] fogame:
Will this work with the non pro version of apk editor?
[Android Apps and Games] Mike B.:
From the description of that browser, it appears that it specifically tries to provide the same exact data on several platforms and therefore can't dependably rely on each device's DNS resolution, hence the suspicion that it uses a common proxy. Whether this is desirable or even wise is for you to decide. ;)

---------- Post added at 01:03 PM ---------- Previous post was at 01:01 PM ----------

The "non pro" APK Editor won't allow you to change the package ID. You need the PRO version, or else some some other way to change that package name. Review this thread for many related references to this.

---------- Post added at 01:05 PM ---------- Previous post was at 01:03 PM ----------

As long as you have a unique package name in your SABS.apk and use a current and active 128-byte Legacy Knox Standard SDK Enterprise license key, it'll work. If it doesn't, you probably overlooked a step somewhere.

So far, every single report of "failure to activate" has been a simple case of user error or oversight!
[Android Apps and Games] lowspeed:
Which one?

View attachment 4451858
[Android Apps and Games] Mike B.:
Which one do you think? Do you wish to register your business and become a Samsung partner? To get a 128-byte Legacy Knox Standard SDK Enterprise license key, it would be wise to select the Developer options!
[Android Apps and Games] gigeaky:
:laugh:I need to slow down

The first time I didn't changed the name

But this time around the name is greyed out

EDIT: first rule of XDA read read read READ. Sorry for bothering :silly:
[Android Apps and Games] mmotti:
Please update to the latest SABS commit (when possible) and remove the manual entry. I suspect even though it can be fudged to remove it, it'll likely add it back in again.

The updated SABS will check for the old mmotti host file URL and if it's found, it'll delete the blockurlprovider from the database and add the new location in.

I have also changed the filename to lowercase.

Edit: My SABS reports the host file locations as follows:

https://raw.githubusercontent.com/LayoutXML/SABS/master/standard-package.txt
https://raw.githubusercontent.com/mmotti/mmotti-host-file/master/wildcard_hosts.txt
[Android Apps and Games] Mike B.:
You don't need to slow down, you merely need to be on the correct path. What you show looks like a screenshot of APK Editor instead of the suggested APK Editor

PRO

!

---------- Post added at 01:45 PM ---------- Previous post was at 01:33 PM ----------

I'm on 535 now and it looks fine, but your list is still part of the downloaded package, whether it gets used or not, and doesn't seem to be "deletable" unless re-added by URL I'm not sure there was any need to include the old db deletion since it's a one-time-only optional step, but you kids seem to enjoy doing things the hard way! ;)

After entering the URLs manually, everything can now be trashed, as it should. Screenshot from my build 535 SABS. I also have the release version and a personal version, making switching back and forth.. interesting. The 74-entry files is the only actual block list I use in real life, yes seventy-four only!! ;)
[Android Apps and Games] mmotti:
It was just to simplify things, really. As you know, the 'standard' lists are not removable for the end-user and I didn't really want to have to try and explain to everyone how to try to fudge it. This way, it is done in the background and the user should be none-the-wiser. It can also be quickly adjusted to include [MENTION=6183103]NeedleGames[/MENTION] host file when it reaches a new location.

I also had trouble here trying to fudge the old host-file to stay deleted, and it was bugging me having an extra host file in my providers that I was unable to remove lol. I think this may have been more related to the filename case change, tbh.

I would suggest that we could remove this code a few APK releases down the line; perhaps removing the host-files from the SABS repo at the same time. It is purely a temporary measure, but the most appropriate IMO :)
[Android Apps and Games] Mike B.:
The standard package is easily removable. ALL packages are removable (see my screenshot above). The next official release could simply tell the users that they have to first uninstall the old one. Yes, I know, some users won't read that, but then some users seem unable to read anything. At least we're making some progress towards the goal of keeping SABS itself separate from the suggested (optional) input lists. Repeat after me:

Keep It Simple!!!

;)

Oh and BTW, even if the standard package remains under the SABS repo it doesn't have to be downloaded as part of the package (see .gitignore).
[Android Apps and Games] mmotti:
I agree, but try asking one of our fresh users how to remove the old url that doesn't have a delete button next to it ;) haha.

I do think that on new installs the host files shouldn't be ticked by default. It just means we need some kind of validation to break the enabling operation and alert the user that they need to enable one or more, or add domains manually.

All stuff that's possible. I just don't think much thought on functionality was put into the original Adhell. It's incredible what it was capable of doing, don't get me wrong, but there are a lot of little things that just aren't there.

Edit: Wasn't aware of that one - I'd assumed that was solely for ignoring changes to said files.
[Android Apps and Games] TheCreepster12:
Um When i change the package name i get a error about the apk being corrupt
[Android Apps and Games] Mike B.:
Fresh users who run a version that still includes the old lists can simply be told to add the appropriate URLs to make those packages magically deletable. Frankly, if the user can't type a URL, that user should be switching to a flip phone or smoke signals...

---------- Post added at 02:17 PM ---------- Previous post was at 02:16 PM ----------

That means you didn't do it right. As discussed here many times, such errors are common when using APK Editor Pro, especially if you change the package name's 3+9+4 format. See THERE for example.