Download and install SABS Simple Ad-Blocker for Samsung

Update: SABS and notSABS can still be installed using the new Samsung EDU SDK License key for most of the Samsung Galaxy devices now that Legacy has been discontinued. Also, download and Install latest Adhell 3.1.1+ with new Standard Knox License Key.

SABS gained a lot of popularity lately because of its stunning features. This is because SABS (Simple Ad-Blocker for Samsung) is a system-wide rootless Ad-Blocker and package disable available for free. It is just like Adhell 3, which is still in development but with more stability and features. Unfortunately, the project was abandoned because Samsung didn’t like it. However, you can still download and install latest version of SABS onto your Samsung phone using the source code and APK available for you here.

For those who don’t know, SABS is a system-wide rootless AdBlocker, Package Disabler, permission manager and more that uses the Samsung’s KNOX SDK framework. You can easily block URLS, domains, disable system apps, remove permissions from apps. Although SABS was focused mainly towards Galaxy S8, S8+ and Note 8, it has also been tested on several other Samsung devices with Android version 5.0 or higher.

Usually, blocking ads would require you to either root your Android phone so that apps like AdAway can update the host file in the root directory. The root Ad-Blocker method is the finest amongst all. However it requires a rooted Android phone. There are other rootless Adblockers out there. But they require a VPN connection or a VPN app running all the time. This will cost you your phone’s battery juice. This is where SABS comes into play because it uses Samsung’s very own SDK. Moreover, changes made with SABS are not permanent. You can any time reverse the system level changes due to Samsung’s KNOX tools.

Though SABS project was abandoned, users of SABS were able to make a copy of the latest version of SABS “Simple Ad-Blocker for Samsung”. So you can still download and install the latest SABS APK onto your Samsung Galaxy devices running stock TouchWiz or Samsung Experience ROM.

Installing SABS could be time consuming for some. It requires some technical knowledge. You need 3 things before installation –

  • A working version of SABS.
  • A Samsung license key (Knox key).
  • And change the package of the copy of SABS to a different one.

Note 1: Original SABS Simple Ad-Blocker for Samsung phones can still be installed.

Note 2: notSABS, and alternative to SABS is also available with the latest SABS version 1; just liek Adhell 3.

Note 3: If Google Chrome for Android does not block Ads, this is because of the recent DNS changes by Google. Visit this tutorial to fix the problem.

Step 1 – How to get the Samsung license key (Samsung Enterprise Knox key)?

Note: Samsung Legacy SDK is gone. However, you can still use the Samsung EDU SDK License Key which works perfectly.

  • Sign in here with your Samsung account.
  • Go here to view your keys or generate new ones.
  • Click on Generate License Key. (Left corner)
  • Go to “Samsung  EDU SDK” section. (Steps 3-7 are demonstrated in the picture here).
  • Select “Enterprise license key”.
  • Give the key a name in “Add a key alias”.
  • Press “Generate license key”.
  • Copy the key. If the key starts with letters “KLM”, you didn’t follow the steps correctly. Complete the steps 3-7 again.

Step 2: Installing SABS or notSABS using Android Studio

In this step, we will be changing the package name for the SABS APK. We already have an APK which can be installed directly or use the source code zip. Moreover, we now have the new notSABS APK and source code which is a continuation of SABS to version 1.0.0.

Download notSABS

New Source code from notSABS (Thanks to Golden Kappa in comments)

Download SABS


Source code: (Recommended)

You can directly download and install the latest SABS modified APK from above and see if it works. If not, then you will need to download the source code, and open the project in Android Studio, change the package name, and install it. The steps are listed below.

  • On your Samsung device, Enable USB Debugging on your phone – Go to Settings > About phone > Software information > Press rapidly about 10 times on Build Number until a message “You are now a developer!” appears. > Go back to Settings > Developer Options > Turn on USB Debugging.
  • Connect your phone to your PC. When you see a popup on phone, select always allow from this computer to enable USB Debugging.
  • Download the SABS source code zip from above download section to PC or computer.
  • Now extract the SABS source code zip to PC.
  • Download and install the latest version of Android Studio from here.
  • Once installed, run the Android Studio exe file.
  • Once it opens, select “Open an existing Android Studio project”.
  • Choose the extracted folder of source code.
  • Install the latest SDK and other files when asked. Follow the instructions on the screen. It may take time.
  • When the project has been loaded completely,  the progress bar will gone at the bottom.
  • Form the left tab on screen, open the “Gradle Scripts” and then “Build.Gradle (Module:app)”.
  • Find the line “applicationId “com.layoutxml.sabs”. Usually it is on the 24th line.
  • Change the “com.layoutxml.sabs” to a random or unique sequence of letters and digits. Keep the sequence length same as before (i.e, 3.9.4).
  • An alert should appear at the top of the screen. Select “Sync Now”.
  • Wait for the project to load.
  • In Android Studio click the Play button or simply press the keys Shift+F10.
  • Select your phone and press OK.
  • The SABS APK will be generated and installed on your phone.
  • From the app, Enable Admin.
  • Enter the Samsung Knox license key in the field.
  • Submit Knox key.
  • Activate License.
  • Turn on SABS.

Alternatively, you can also change the package name using your phone.

  • Download SABS APK from above.
  • Open “APK Editor Pro” app.
  • Select APK file.
  • Select “Common edit”.
  • Edit only the field “Package name”! as shown here.
  • Change the “com.layoutxml.sabs” to a random or unique sequence of letters and digits. Keep the sequence length same as before (i.e, 3.9.4).
  • Select “Direct rename”, “Rename the package name in resources.arsc”. Do not select the other options.
  • Press Save.
  • Press install and install again.

Follow the instructions in the step 2 to run SABS.

Sarang Avatar

8 responses

  1. harshang2007 Avatar

    Now that GitHub page is taken down due to Samsung DMCA, is there any way to get the providers list? or can you share the list of blacklisted domains so that I can import

      1. Justin Avatar

        Don’t bother with all of those, it will make your phone nearly unusable. I couldn’t even read news articles with all of those enabled. If you go to GoldenKappa’s link above and go to his github page the best list to use is standard-package-mmotti.txt

        1. Chris Avatar

          You are absolutely correct.

  2. GoldenKappa Avatar

    Latest version (1.0.0) uploaded on my site 🙂 Github page is also there.

  3. Sarang Avatar

    Great work with your new project 🙂

  4. G. Gunn Avatar
    G. Gunn

    Don’t bother, Samsung removed support of Legacy SDK.
    Here is the Message on the account page: “URGENT: We are removing support for our legacy SDKs in July 2019. To ensure your apps continue to work with no disruptions, update your app(s) to use the Knox SDK as soon as possible using our migration guide”

    1. Avatar

      Hi. Now that Legacy SDK is down, can you go ahead and try the Samsung EDU SDK Enterprise License key? You will find its right below the standard Knox SDK. The EDU Key seem to work with older versions of Adhell 3. Is its possible for you to generate EDU license key, and see if its works with SABS or notSABS?

Leave a Reply