yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Mike B.:
I'll kindly refer you to the SABS GitHub repository at https://github.com/LayoutXML/SABS. Alternatively, follow the download link in the OP: https://github.com/LayoutXML/SABS/archive/master.zip.
[Android Apps and Games] Varelka:
Thank you... But I have here build 497, nor 521.

Can you help me to obtain build 521???
[Android Apps and Games] Mike B.:
Actually, I just now updated the source to build/commit 522 (trivial cosmetic tweak). What your screenshot shows is the version code. Once again: the build number (number of commits) is clearly shown on the https://github.com/LayoutXML/SABS screen from which you can readily download the latest source if you so desire. If this confuses you, you can simply wait until there's a new official apk release ("0.0.9"?).

EDIT: to minimize confusion, the version code in the latest sources is now "523"
[Android Apps and Games] Varelka:
Thank you very much, I've compiled commit 522. Everything is OK. It is a great pleasure to learn something new... Thank you once more...
[Android Apps and Games] Loulou-13:
to all ,thank so much for help ,it's nice ;)

yes,i seem have the good knox key ...

but who have true with the rename of package ?

it's good ? or we must keep " com. " and no number at the end ?

EDIT :

with com. + 9 letters&numbers + 4 letters it's ok for instal !

but i have this strange screen when i open SABS :
[Android Apps and Games] Mike B.:
Which package name format will work with APK Editor Pro seems to vary depending on which version you use. To be safe, it might be wiser to stick to "com.<9 characters>.<4 letters>". Your screenshot is difficult to read but the "Error about reading version number and version code" message suggests that the apk you created is not fully functional. What happens when you DO have a data or WiFi connection? Maybe try again with a freshly download release apk, keep the package name simple, and don't change anything else. APK Editor PRO is not always very dependable, which is why we suggest simply compiling your own apk if at all possible.
[Android Apps and Games] friscoboi:
I have got it from there also, and it is 497. I guess it's ok. 497 ist good.
[Android Apps and Games] thejackalsmark:
I have no question but a request...

Everyone please take one short moment and find a post by either NeedleGames, Mike B, or mmotti, and thank them by hitting that thumbs-up thanks button.

They work really hard on putting this together, getting it out, making it available to everybody, and THEN helping people out with it in this thread.

They are NOT getting paid to do so, and it takes much of their time.

Much is asked of them and little is ever really given in return.

Let's let them know that it's appreciated. ?????
[Android Apps and Games] Vordx:
Or donate? Too obvious?
[Android Apps and Games] tryf3:
Why I can't rename package name with apk editor? I can't change anything inside this box.
[Android Apps and Games] jfm91:
After changing the package name I dont get the "Sync now" alert

Also tried APK Editor Pro. But I got error when installing the new apk-file
[Android Apps and Games] Mike B.:
That's because you seem to be using APK Editor instead of the correct APK Editor

Pro

. Look for the correct app in the Play Store or see various recent posts in this thread (https://xdaforums.com/showpost.php?p=75840195&postcount=796, for example) for links to it.

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

Apparently you failed to follow the instructions in the OP exactly. Perhaps the screen shot in https://xdaforums.com/showpost.php?p=75852320&postcount=801 will help you with Android Studio.

EDIT:

Please READ the thread before posting a question. It will usually get you the correct answer much faster. Both matters above simply require careful reading of the OP and have been already discussed ad nauseum in recent posts.
[Android Apps and Games] jfm91:
I cannot see "Grable Script" in my Android studio
[Android Apps and Games] Mike B.:
Then you either didn't install it correctly or didn't wait for it to open the SABS source. If it doesn't look very much like the screenshot, you did something wrong, but only you know what you did (or didn't do), sorry.

EDIT: Now that you added your screenshot, it seems that you have two copies of build.gradle but I know nothing about W*ndows. Even though you seem to have opened the correct file for editing, have you considered deleting the project and starting all over again perhaps?
[Android Apps and Games] jfm91:
Uninstalled Android studio. Deleted SABS-master folder. Installed Android studio. Made new SABS-master folder:

After "Open an existing Android Studio project" nothing. spesial happens.

Android studio dont ask me to install SDK and other files.
[Android Apps and Games] Mike B.:
The "Frameworks" message in your bottom status line usually means that there's mismatch between the actual location of the SDK directory and what is in your local.properties, but I can't help you with those issues. It still seems that somehow your Android Studio is still not correctly installed. Note that you shouldn't have to make an SABS-master folder, you should simply point to the folder that was presumably created when you extracted the folder from the sources ZIP file.
[Android Apps and Games] jfm91:
Actually I think my problem is SDK releated. How can I reinstall this?

I know. Thats what I did. But my english is bad, so I didn't remember what to write x)
[Android Apps and Games] thejackalsmark:
Donations are of course nice, but

not everybody can afford to donate.

But everybody can afford to tap on a thanks button. ??
[Android Apps and Games] Mike B.:
English is not my native language either, but I manage in several human and machine languages, except Microsoftese! ;)

If you have no other project, completely uninstall Android Studio (including whatever your OS may cache). Install Android Studio again and let it download and update whatever it says it needs. Once that's done, unZIP the SABS-master sources, click on "open new project" and select the newly-created SABS_master directory. Let it perform any other tasks, it wants (check the status line!), and the proper screen similar to my screenshot should appear. Don't be too creative, just follow instructions. I'm afraid that's the extent of the advice I can give you right now.
[Android Apps and Games] thejackalsmark:
I honestly would not have known. You do exceptionally well. ?
[Android Apps and Games] Loulou-13:
good news !!! a fresh apk and another fresh key ....it work !!!

thank so much again ;)

i don't have understood....

-this app check itself for updates ?

(when we download the update we really have to rename package again and put knox key ,not expired ,each time ?)

-what's the best block list ? the 3 originals lists of ADAWAY ,for example ?.....these lists are automaticaly updated ?
[Android Apps and Games] Mike B.:
Each time you download/compile a new version of the app, you will only need to change its package name to match the one you are currently using. If you do that, it will install over the old one without having to uninstall or re-enter your settings. As long as your Knox key is still valid (for at least 90 days), you don't need to do anything more.

Unless you have a good reason to do otherwise, simply use the SABS default packages. The "update all" option will get a fresh version but that's seldom needed and changes to the defaults are usually announced here. The lists for AdAway are typically overkill and don't even include the wildcards that SABS can use. Once you have SABS installed and configured, the best thing you can do is do NOTHING (you can even close SABS), just enjoy the mostly ad-free experience until you have a need to change.

---------- Post added at 04:40 PM ---------- Previous post was at 04:34 PM ----------

So do you... for an American! ;)
[Android Apps and Games] mmotti:
Donations for SABS only go to the main Dev :)
[Android Apps and Games] Vordx:
Source?
[Android Apps and Games] Loulou-13:
perfect !!! :good:

thank again guys !!! it's nice ;)

:D since adhell ,adhell2 ....and this project , we don't need to root just for to block ads and disable bloats ! ....and since Marshmallow 6.0 it's enought optimised ...and native permission manager....and economic mode........

with Samsung it's fun ! the root is useless ! :p
[Android Apps and Games] mmotti:
It's his own personal donation links and he paid out of his own pocket to list his donation app on the play store.

Mike and I do this for our own amusement lol

Edit: Well.. I do. I can't speak on behalf of Mike, of course :silly:
[Android Apps and Games] amaru7:
SABS works like a charme and way better than any Adhell before. I barely notice it and no breakage as of yet. Kepp up the good work, thanks
[Android Apps and Games] NeedleGames:
Actually, Mike paid for my google play dev account :)
[Android Apps and Games] jfm91:
What is the reason you have to change package name?

after waiting 8 hours after launching Android studio, it still dont work
[Android Apps and Games] devilnat:
Well, just build SABS with new key from source today using Android Studio. It all seems to be working fine. Thx.
[Android Apps and Games] jaibar:
I think that package names that include "sabs" (or "adhell") could be black listed by some big phone manufacturer who doesn't want you to use knox to disable preinstalled apks, block ads and change some permissions, so license validation may fail if package name is not changed?
[Android Apps and Games] jfm91:
Can someone please make an apk-file that has changed package name for me?

I really cannot get Android studio to work :S
[Android Apps and Games] jfm91:
Sorry, but I dont get Android studio to work. After changing package name, I dont get the "sync now" alert
[Android Apps and Games] khaisttj92:
did you have apk editor pro? nevermind pm me the package name that you want i change it for you. I'm free right now.
[Android Apps and Games] SmileBigNow:
If I update to this will I still get new updates from OP when he releases them?
[Android Apps and Games] khaisttj92:
yes you will get the update.
[Android Apps and Games] SmileBigNow:
What's new in this version vs the latest from OP?
[Android Apps and Games] peped94:
Hello guys. How can i know what needed to be blacklist if below ads still show ? Btw it is WPS Office apps
[Android Apps and Games] Mike B.:
If you cannot use Android Studio, then try APK Editor Pro. Literally thousands of users have managed to create their on versions and I'm sure that if you try again, following the documented steps exactly, you too will be able to.

Please be careful when using any app from an unofficial link

. Even if you found a functional pre-patched version for you, you'd have to go through the same process all over again for each release.

As previously requested, please

DO NOT POST unofficial compiled apks

here. If the user is unable to patch/edit the official released apk, he won't be able to patch whatever version you send him either. If you wish to provide custom files for a specific user, please do so via PM.
[Android Apps and Games] khaisttj92:
sorry for that.
[Android Apps and Games] Mike B.:
To minimize confusion, please delete the file your public link points to, otherwise we'll have users downloading something they don't understand and at best getting an apk with a "used up" package ID. We already have enough support headaches! ;)

While the official releases are not perfect, they represent "milestones", i.e. stages we are fairly confident are stable enough for public consumption. Intermediate builds may add some features but they often also potentially add small errors and unresolved issues, as expected during development stages. The build 523 you mention, for example, has several (minor) quirks that will be hopefully addressed in the next official release. That's not a problem for users who can readily recompile from any new build, but it could be a problem for those who are unable to.
[Android Apps and Games] khaisttj92:
done.:svetius:
[Android Apps and Games] Mike B.:
Unless someone familiar with that app can tell you where and how it gets its ads, you could first try to click on the ad and see which domain it points to. If it's an ad server, you can easily blacklist it, but apps often rely on third party ad providers much harder to spot, or even embed ads in their own domain. The best way would be to use a packet sniffer to monitor your apps' traffic but that's beyond the scope of this thread. Before you spend too much time on this, verify that you have tried with the default packages enabled since they already cover a lot of known ad mongers. Keep in mind that not all ads can be blocked by the Knox firewall, an issue over which SABS has no control.

From a practical standpoint, I suspect you may be using the "FREE" version of your app and that simply purchasing the ad-free version would solve the problem nicely! ;)

---------- Post added at 08:59 AM ---------- Previous post was at 08:49 AM ----------

Not quite. Samsung publishes a full Knox API but they only allows a very limited number (10?) of "test" active apps bearing the same package name unless provided by a recognized full Samsung Developer (a rather expensive endeavor), and it's not even clear whether they'd allow outsiders to publish such apps. They're not necessarily evil, they are mainly protecting themselves and their partners. Changing the package name is a convenient way to get around those limitations at least for now.
[Android Apps and Games] peped94:
Yes u are right. Im using the free version of the apps and there did offer IAP to remove the whole ads. And im using the default package disable provided in the setting (i tick both of them). May i know what kind of ads that can still shown even we activated SABS ? Im quiet confused on how SABS van block certain apps and some of it still getting to show ads. To answer your other question, if i click on the ads, it will direct me to play store with the apps showed in the ads.
[Android Apps and Games] Mike B.:
The only thing SABS and similar DNS-related tools can do is redirect /block domains that an app or site calls by name. For example, "myads.com" which might live at IP "111.222.333.444" can be redirected to "127.0.0.1" (your device's own address) and be effectively blocked. However, if the app/site directly calls "111.222.333.444", nothing can be done. The same hold for tools that allow you to directly alter the hosts file for rooted devices. Many apps are getting smarter and either call their ads by IP address, place ads within their own domain (which you can't block without blocking the app/site itself) or even using cryptic scripts that manipulate the data to force the ad to get through. Other apps are getting even trickier. For example, an app/site that shows videos can embed the ad directly into the video., making it impossible to programmatically determine which is which.

That said, with only a few block lists (the SABS defaults are more than sufficient for most users), you can effectively block the overwhelming majority of ads you're likely to encounter. Realistically, you'll never block ALL ads since "ad" is a subjective concept with no technical definition, and frankly an occasional stray ad or two is not a major problem, much less annoying than having to spend hours searching for a mythical "perfect" list of domains to block.

In your case, if you can't easily find the culprit, either live with the occasional popup ad, buy the ad-free version, or simply find an alternative app that does basically the same thing with fewer or no ads. No reason to obsess over "ad blocking". ;)
[Android Apps and Games] Loulou-13:
hi!

just an another little question :

There are not another way with android (another app) for to rename this package ? we really only have to use "apk editor pro" ?
[Android Apps and Games] mmotti:
To add to Mike's response - Some ad-serving domains are not included in the block lists as they can cause issues.

E.g. You will see Facebook ad choices unless you blacklist graph.facebook.com, but this will cause authentication issues with Facebook / other apps that use Facebook to login.

There's not really a one size fits all for adblocking.
[Android Apps and Games] Mike B.:
You can use any method that works for you to "patch" the apk (see what Google suggests), but among all the apps that claim to make the process painless, APK Editor Pro is the "least bad" of them all. Compiling with Android Studio is by far the best (and simplest if done right) approach. I just now compiled build 524 and between the time I opened Studio and had the app on my phone, it took less than 10 keystrokes and a grand total of 2.5 minutes.

---------- Post added at 10:50 AM ---------- Previous post was at 10:44 AM ----------

Yes, "graph.facebook.com" is a perfect example of why I often mention that there is no such thing as an "ad", merely content that a user does not wish to see. For those of us who don't use Facebook, it gets rid of a lot of garbage, but for people who want Facebook it's an essential domain. Someone's trash is someone else's treasure. Vive la différence! ;)
[Android Apps and Games] |mickey:
Hello guys, after updating the app (built it from adnroid studio), everything works fine in regards to validating and submitting the key, which seem to be the biggest issue people are having... I however cannot start SABS, I get a popup stating SABS is off and that's that...

Android studio's console showed no errors so I bet I'm doing something wrong before pressing "turn on" button? Rebooting the app or restarting the device as not helped, neither selecting or deselecting from the orignal block list to mmotti's lists changed anything....

I'm running on a note 8, previous version never behaved like this tho... If there's anything else or any info that might help pls let me know... I haven't but I'll gladly collect logs if you guys find it useful!

Thx!! :D

Edit:eek:k, Fixed it, the reason this was happening was because of a typo when prepapring the package to update... so it instaled the new version side by side instead of simply updating the existing pkg... removing the old version fixed it and everything is back to normal!! I'll leave this here in case someone runs into the same issue..
[Android Apps and Games] NeedleGames:
Hello everybody. For those who are using a Samsung theme from XDA or other online websites, and are fed up with themes being reverted in 10 minutes/after every reboot/at random times - I've got a solution for you. I have just added an option (under SABS settings > Miscellaneous > Force stop Theme Store) that, when enabled, makes the theme store not start and not revert the theme. Keep in mind that this feature is at the moment only available when using the installation process with a computer (android studio), and that you may want for a new apk release if you prefer to install using a different method.
[Android Apps and Games] Yanchev:
My girlfriend updated to oreo on her s8 and since then there are number of issues which weren't present before. Facebook and messenger are not working despite having no issues before (I know your recommend whitelisting graph.facebook). What's more always on display started dissappearing which freaked me out. When I disabled adblocking in AoD it is now fixed. I don't know what knox 3.0 changed but I think you should have have a piece of mind.
[Android Apps and Games] NeedleGames:
I don't have a device with oreo so can't test it. Eventually I will fix all the issues.
[Android Apps and Games] explorer-10:
This or Blokaka? Decisions, decisions...
[Android Apps and Games] Mike B.:
Easy decision for some of us. The app you mention is merely yet another VPN.
[Android Apps and Games] NeedleGames:
SABS has more features. Use it while you still can
[Android Apps and Games] milojoseph:
How do I use this.. When I put the link in the subscribe.. It show as 0.
[Android Apps and Games] mmotti:
The regex for domain validation might need tweaking if that's the case
[Android Apps and Games] devilnat:
It used to happen to me once. I couldn't log in or have any functioning apps (fb and messenger) right now with the lasted update it's working fine for me. Please try to install the lasted version. I hope it might help.
[Android Apps and Games] khaisttj92:
i cannot open the theme store back.

Edit: i can open back the theme store after uninstall the SABS
[Android Apps and Games] NeedleGames:
That's the point. You can't open it and your phone can't automatically open it as well to revent the theme if you have set to force stop theme store in SABS settings. If you want to open it again, simply turn off the option instead of uninstalling
[Android Apps and Games] khaisttj92:
cannot toogle the turn off that option. That why i uninstall the SABS.

Edit: after toogle the button on then go back to SABS in turn off the button automatically.
[Android Apps and Games] android_htc:
[MENTION=6183103]NeedleGames[/MENTION]

Same thing happened to me... I installed it last night and this morning I was not able to toggle the option to enable themes again.

Disabling SABS as a device admin app...turns off SABS and also disables this features, hence I did not need to uninstall.
[Android Apps and Games] peped94:
Whats the difference of this if we manually freeze theme store in sabs current version ?
[Android Apps and Games] NeedleGames:
If you disable, theme store still runs for some reason and reverts the theme. This option makes sure it does not run
[Android Apps and Games] HIcycles:
Thanks [MENTION=6183103]NeedleGames[/MENTION]! That's an awesome option. Haven't tried it, yet, but looking forward to giving it a go.
[Android Apps and Games] khaisttj92:
thanks for that way..
[Android Apps and Games] android_htc:
My observations using custom DNS settings.

Galaxy S8, stock Oreo, exynos version

Enabling ANY custom DNS settings in SABS (not just Google DNS) restricts Google play downloads.

Also, I've tried several "DNS changer" apps from Google Play store and they all behave exactly the same as SABS i.e. play store downloads is restricted.

Galaxy Note 4, MM stock and rooted with Magisk (snapdragon)

No issues with Google play downloads when using custom DNS servers; used DNS changer app.

Galaxy A3 2015, MM stock and rooted with Magisk (snapdragon)

No issues with Google play downloads when using custom DNS servers; used DNS changer app.

I am no expert, but this leads me to believe that this issue is device/OS specific and nothing to do with DNS servers or ISPs as the above was tested at my home location using three different devices on same WiFi network/UK mobile providers.
[Android Apps and Games] mmotti:
I experience the same with OpenVPN when only tunneling my local subnet. If I tunnel all traffic it's fine.

They likely have some form of their own DNS implementation (like Chrome) and/or some way to verify that the requests are exactly how they should be (I.e. Not processed locally and then upstreamed through a separate network over vpn).
[Android Apps and Games] SmileBigNow:
When is the next official version being released as a APK?
[Android Apps and Games] Mike B.:
Surely, after seven years on XDA you know that you should not ask for an ETA!!

The next official apk will be released when it's released. I'm not being facetious, we don't schedule those things, it's whenever the code is stable enough and the time feels right. Note that you can grab the most current sources and compile your own at any time.
[Android Apps and Games] SmileBigNow:
Sorry man, I thought there is already a set date since every day or so there is another be code
[Android Apps and Games] NeedleGames:
I have fixed the issue. I was too naive to trust Samsung's KNOX SDK documentation.
[Android Apps and Games] Mike B.:
Or maybe SABS shouldn't get involved with app-specific issues (Chrome's Port 53, YouTube shenanigans, this theme store thing, etc.)... ;)

For people who compile their own: build 528 is up.
[Android Apps and Games] eNubiX:
[MENTION=6183103]NeedleGames[/MENTION] So my S9+ arrived yesterday... Has Oreo 8.0.0, installed SABS and its failing to register the key to activate. So I'm guessing there's no support for the S9/S9+ yet?