Adhell 3 - KNOX

Search This thread

WookieLance

Senior Member
Nov 9, 2014
114
92
Adhell 3.1.x – KNOX AdBlocker for Samsung Galaxy devices and Package Disabler
. Adhell is a Samsung Knox based application which can Block system-wide Ads, trackers, analytics from applications without root. It has more functionalities than just Ad-Blocker including Package Disabler, Mobile Restricter, App Permissions controller

Z6PkxmJm.jpg


Features
  • Pre-Activated KNOX ELM Licence (Must be renewed every 3 months, and can be generated from url below)
  • Domain Limit Size Increase (50,000)
  • Disable Apps Enabled by default
  • Apps Component Enabled by default
ADHell v3.1.1 - Download
The APK provided my cease to function at any time, due to the restrictions put in place by Samsung Knox key validation and not due to the fault of my own doing.
I hold zero responsibility for the use of this app in any liable circumstance.
*Unknown Apps must be enabled to install third-party APK files.

If you don't wish to use the above download you may compile your own APK from the source below




WHAT TO DO WHEN IT DOES NOT ACTIVATE/BYOA (Build Your Own App)
Error: 102
This appears due to the Licence being activated more than six times with the same package name while using a developer ELM key and not a commercial partner unlimited use ELM key (Samsung KNOX restriction not the App)
You have a couple of options -
  • Change the ELM Key pre-installed by opening the app and going to the settings menu of the Adhell3 then scroll to the bottom of the menu and you will find the button to change the key to your own Knox ELM you generated.
  • Use an APK editor to make a change to the installed package name so that it is unique which should allow the pre-installed key to activate (ask others how to do that, but this might bypass the six activation limit under the same package name)
  • Compile your own version of Adhell3, instructions to do so are below.
Please note as of this time if you don't already have a Knox ELM key generated from some previous use of Knox API applications you will have to wait as ELM key generations have been removed from SEAP for non-partner developers until further notice.

How to compile your own version of Adhell3
  1. First grab the KNOX SDK and LIB you want the Knox SDK 3.3 (API level 28) & supportlib.jar (Dec 17/18, for older devices)
  2. Get yourself a new KNOX ELM Key from here, It should look something like this.
  3. Grab the Adhell3 Scripts from here, and follow the instructions which are clearly written for your operating system. (Note: you may need to type
    Code:
    adhell3.cmd setup
    under windows 10)
  4. When you are done you should be left with a folder looking like this which has your built APK package file ready to be moved to your device for install.
    If you struggle to understand how to modify the app before compile I have a ready to go app.properties you can use as a base, just be sure to place the file where the instructions say and to add your OWN KEY in the
    Code:
    skl.key=yourkeyhere

    An example app.properties file could look like this -
    Code:
    package.name=com.adhell3.12345
    domain.limit=100000
    enable.disableApps=true
    enable.appComponent=true
    appComponent.showSytemApps=false
    skl.key=D39335379587987309734637654687675985678078960879789057y58659867967890876706780670





Compiled from Sources -
Fusion Jack- Adhell 3 GitLab Source
Generate Samsung ELM KNOX Licence Key - SIGN IN FIRST then click the link and it should take you right to it.
 

Attachments

  • ADhell-v3.1.1.apk.zip
    3.7 MB · Views: 31,761
Last edited:

mdiaz33685

Senior Member
Feb 20, 2009
1,642
1,070
Tampa, FL
Adhell 3.1.x – KNOX AdBlocker for Samsung Galaxy devices and Package Disabler
https://gitlab.com/fusionjack/adhell3

. Adhell is a Samsung Knox based application which can Block system-wide Ads, trackers, analytics from applications without root. It has more functionalities than just Ad-Blocker including Package Disabler, Mobile Restricter, App Permissions controller

Just thought I would share this information. If not allowed please move/remove the thread, I plan on compiling this and 3.1 so will use the thread to list pre-complied APK and save you all some time.
However my I do not have the device to test with yet. So if anyone would like to test the compiled package let me know how it goes :)
Can someone pit this into an apk please. Send me a link.
Please I never got this to work.
 

rahulkheria

Senior Member
Oct 10, 2015
655
159
Adhell 3.1.x – KNOX AdBlocker for Samsung Galaxy devices and Package Disabler
https://gitlab.com/fusionjack/adhell3

. Adhell is a Samsung Knox based application which can Block system-wide Ads, trackers, analytics from applications without root. It has more functionalities than just Ad-Blocker including Package Disabler, Mobile Restricter, App Permissions controller

Just thought I would share this information. If not allowed please move/remove the thread, I plan on compiling this and 3.1 so will use the thread to list pre-complied APK and save you all some time.
However my I do not have the device to test with yet. So if anyone would like to test the compiled package let me know how it goes :)
If u provide apk then many will test
 

mxEin

Member
Apr 27, 2016
32
5
Heres a link to a folder with the different versions: https://www.mediafire.com/folder/sb37c6gmhqgbn/AdHell_3

In the folder there's also a readme with instructions. Youll need a Samsung Developers Key (you can enroll for free in the SEAP program to get it) and later with the APK Editor included you have to chenge the package name to some random string (with the same length). Then Install and paste your SEAP key when prompted.
 
Last edited:

WookieLance

Senior Member
Nov 9, 2014
114
92
Sorry guys, I was going to link the actual instructions to compile and get the KNOX key but XDA will not allow the URL to be posted here directly too the post with all the info.
So guys just google -
anPUM5h.png


Also, Galaxy 9/10 users need to use ADHell 3.1.x or newer version 3.0.0 will not work as KNOX does not use ELM keys anymore.
"Legacy Key in Adhell 3.0. The Legacy License Key has been abandoned by Samsung due to some reason. Now, the Adhell 3.1.1+ uses the original KNOX standard key format.

33moQjO.png



I should have a working version by tomorrow evening of ADHell v3.1.x I also get my device tomorrow possibly as I got the tracking number today.
 
Last edited:

WookieLance

Senior Member
Nov 9, 2014
114
92
G

GuestK00143

Guest
can't figure out how to obtain ELM key

You need this Key https://seap.samsung.com/enrollment#section-knox-sdk
the EDU Licence required for ADHell 3.0 will not work with the newer ADHell 3.1 and on newer devices like the S9 and S10 you need the standard KNOX key and ADHell 3.1 or higher. You obtain the key by generating one online and I believe but don't quote me it comes from the KNOX SDK not the EDU SDK
You need this link for the ELM key and need to be signed in for it to redirect you to the right link. https://seap.samsung.com/license-keys/generate/edu
 

CptDayDreamer

Member
May 24, 2015
48
2
I also got a S10 and tried it yesterday and it doesn't work. I had to do the method for the Note 9 to get the apk running. I insert a code with beginning of KL6 but I always get error 201. I don't know what to do. I did what the manual says.
 

kezzuki

Senior Member
Mar 9, 2013
282
59
Toronto
Heres a link to a folder with the different versions: https://www.mediafire.com/folder/sb37c6gmhqgbn/AdHell_3

In the folder there's also a readme with instructions. Youll need a Samsung Developers Key (you can enroll for free in the SEAP program to get it) and later with the APK Editor included you have to chenge the package name to some random string (with the same length). Then Install and paste your SEAP key when prompted.


Got the app installed and admin activited...but kept getting error 201 when validating...
I have a KLM06 key but that didn't help...

Anyone?thank you.
 
G

GuestK00143

Guest
I also got a S10 and tried it yesterday and it doesn't work. I had to do the method for the Note 9 to get the apk running. I insert a code with beginning of KL6 but I always get error 201. I don't know what to do. I did what the manual says.

Got the app installed and admin activited...but kept getting error 201 when validating...
I have a KLM06 key but that didn't help...

Anyone?thank you.

I just posted your answer at the top of this page. You need to use the ELM key. Follow the instructions.
 
Last edited:

k0nkuzh0n

Senior Member
Jan 22, 2011
69
16
Just read official Reddit for Adhell 3, everything is explained there in detail and has uptodate information from developer. https://www.reddit.com/r/Adhell/

Adhell 3 does work on Galaxy S10, many people already confirmed it.

I followed it, without renaming, and get a 102 error. Did you do the renaming of the package? I get a parsing error when trying to install if I try an common edit.
 
G

GuestK00143

Guest
I followed it, without renaming, and get a 102 error. Did you do the renaming of the package? I get a parsing error when trying to install if I try an common edit.

You need to use the XML File Edit option. Ignore the If you have a Note 9 part. Try this.
Code:
Installing application (IF you have a Note 9):
    1.  Download newest version of AdHell 3 from the MediaFire folder.
         * Version numbers are in file name.
    2.  Download APK Editor Pro.
         * Copy of this app is provided in the same MediaFire folder with the name apkEditorPro-1.8.28.apk.
         * Alternatively, you can download it directly from the dev's site: http://www.apkeditorfree.com/
    3.  Open APK Editor Pro.
    4.  Choose "Select an APK File" and find the downloaded apk file.
    5.  Select "XML File Edit"
    6.  Select the file "AndroidManifest.xml"
    7.  On line 6 (or around there), you'll find the package id: package="____".
         - It's best to stick to the same package ID length. 3.8.9 characters. Leave the quotes.
         - If you use same name each time, you should be able to just install updates over your existing AdHell 3.
    8.  Press Save icon (lower left).
    9.  Go back.
    10. Press Save again.
    11. Select "Install".
 

Top Liked Posts

  • There are no posts matching your filters.
  • 40
    Very unfortunate about samsungs policy changes indeed, tried getting a partner account but was rejected... Might give it another try with some extended information (now as the bare basics, hoped it would be a semi-automatic thing but seems they actually properly check).

    Using Adguard premium in the meantime, but adhell would be my preferred choice. Unfortunately no valid license anymore so too bad...

    Let's try a quick reality check about basic blocking of ads and tracking servers on unlocked Samsung phones. A lot depends on your actual needs and mostly paranoia level, but it's a lot easier than often assumed.

    - If you have a functional adhell, do nothing and keep using it. Nobody can predict the future, but when your key expires, you'll have other options. Just relax and have a pleasant day.

    - No adhell but you're on Pie? Set your Private DNS to "dns.adguard.com". Just relax and have a pleasant day.

    - No adhell and still on Nougat or Oreo? Grab Intra and set the DNS to "https://dns.adguard.com/dns-query". Just relax and have a pleasant day.

    - Want more control over what you block? Use a VPN such as VPN Hosts which supports wildcards and local hosts file. Just relax and have a pleasant day.

    - Don't like any of those? Grab any DNS server or VPN that strikes your fancy but please use your own judgement about what actually works for you, not what someone online somewhere (myself included) says you should do.

    Those are not formal recommendations or endorsements of any specific product or approach, merely a realistic assessment of simple alternatives with a minimal amount of confusing technobabble.

    For most users, any of the above options will be more than sufficient and chances are you won't notice any actual difference in battery use or speed. Try them for yourself, it's easy! ;)
    27
    Adhell 3.1.x – KNOX AdBlocker for Samsung Galaxy devices and Package Disabler
    . Adhell is a Samsung Knox based application which can Block system-wide Ads, trackers, analytics from applications without root. It has more functionalities than just Ad-Blocker including Package Disabler, Mobile Restricter, App Permissions controller

    Z6PkxmJm.jpg


    Features
    • Pre-Activated KNOX ELM Licence (Must be renewed every 3 months, and can be generated from url below)
    • Domain Limit Size Increase (50,000)
    • Disable Apps Enabled by default
    • Apps Component Enabled by default
    ADHell v3.1.1 - Download
    The APK provided my cease to function at any time, due to the restrictions put in place by Samsung Knox key validation and not due to the fault of my own doing.
    I hold zero responsibility for the use of this app in any liable circumstance.
    *Unknown Apps must be enabled to install third-party APK files.

    If you don't wish to use the above download you may compile your own APK from the source below




    WHAT TO DO WHEN IT DOES NOT ACTIVATE/BYOA (Build Your Own App)
    Error: 102
    This appears due to the Licence being activated more than six times with the same package name while using a developer ELM key and not a commercial partner unlimited use ELM key (Samsung KNOX restriction not the App)
    You have a couple of options -
    • Change the ELM Key pre-installed by opening the app and going to the settings menu of the Adhell3 then scroll to the bottom of the menu and you will find the button to change the key to your own Knox ELM you generated.
    • Use an APK editor to make a change to the installed package name so that it is unique which should allow the pre-installed key to activate (ask others how to do that, but this might bypass the six activation limit under the same package name)
    • Compile your own version of Adhell3, instructions to do so are below.
    Please note as of this time if you don't already have a Knox ELM key generated from some previous use of Knox API applications you will have to wait as ELM key generations have been removed from SEAP for non-partner developers until further notice.

    How to compile your own version of Adhell3
    1. First grab the KNOX SDK and LIB you want the Knox SDK 3.3 (API level 28) & supportlib.jar (Dec 17/18, for older devices)
    2. Get yourself a new KNOX ELM Key from here, It should look something like this.
    3. Grab the Adhell3 Scripts from here, and follow the instructions which are clearly written for your operating system. (Note: you may need to type
      Code:
      adhell3.cmd setup
      under windows 10)
    4. When you are done you should be left with a folder looking like this which has your built APK package file ready to be moved to your device for install.
      If you struggle to understand how to modify the app before compile I have a ready to go app.properties you can use as a base, just be sure to place the file where the instructions say and to add your OWN KEY in the
      Code:
      skl.key=yourkeyhere

      An example app.properties file could look like this -
      Code:
      package.name=com.adhell3.12345
      domain.limit=100000
      enable.disableApps=true
      enable.appComponent=true
      appComponent.showSytemApps=false
      skl.key=D39335379587987309734637654687675985678078960879789057y58659867967890876706780670





    Compiled from Sources -
    Fusion Jack- Adhell 3 GitLab Source
    Generate Samsung ELM KNOX Licence Key - SIGN IN FIRST then click the link and it should take you right to it.
    22
    I manage to find a new way to run adhell on android 13, confirm working on my s23U. But it is the only method so i cant share publicly for the sake of keeping Adhell safe. PM me if you want to know the way, ill reply if i had time
    11
    Folks, I see LOTS of misinformation in this thread. I strongly suggest that you look at the "official" AdHell3 GitLab repo and associated discordapp support area. At the very least, check the README on GItLab.

    Compiling: AdHell's current dev has provided convenient scripts for Windows/MacOS/Linux that make creating/updating your own copy a trivial matter. You can also use Android Studio or git, but the scripts are probably by far the easiest approach for most casual users.

    Using precompiled APKs: Your only choice if you don't have access to a computer, but tread very carefully. You MUST change the package ID (with APK Editor?) and understand which buid and options whoever created that APK was using. This should be only a last resort. Compiling is a lot safer, easier and faster than you might think (updating and installing to a new build only takes seconds on most computers).

    The Knox key: Read the instructions carefully. Create/use a Samsung developer acount, revoke any previous keys you may have, and get a new EDU key (it's 128 bytes long). If you can't create a key or your key is rejected, that simply means you made a mistake. Re-read the instructions and try again. Your Samsung developer account can use any email address and is unrelated to your "real" Samsung user account. After 90 days, your key will expire. Revoke it or switch to a new dev account, then get a new EDU key for another 90 days, no need to change your AdHell settings besides entering the new key when prompted.

    Remember, AdHell is basically a tool to configure the Knox firewall included with our Samsung devices (not just S10). Pick the correct block lists and settings for your personal needs, and once that's done you don't even need to run AdHell at all, not even in background, until you need to change something.
    7
    I got mine to work. With NotifyRDS after I had a grey screen with EMM with leaving take media out checked.
    Here are my complete steps that I did which finally worked.

    1. Install NotifyRDS app.
    2. Launch Notify and enable admin as requested and get Knox key (all three green).
    3. from resents clear it
    4. enable secure folder from settings, you need some security, I did pattern.
    5. add NotifyRDS to secure folder and launch from and fully enable and get Knox key as before.
    6. clear it from resents again
    7. Remove admin app and uninstall NotifyRDS from normal system
    8. open secure folder and try to remove NotifyRDS (fails, blocked by security policy even with admin removed)
    9. in secure folder hit three dots, settings/more/uninstall, UNCHECK the default "take media out of secure folder". (I think this was the key for me.)
    10. Install adhell from #686 above.
    11. without opening it, enable it in device admin apps
    12. Loaded without issue.

    My favorite use of Adhell is the ability to disable services and receivers without disabling an app. So Google Play Services and Samsung apps can be limited without the issues disabling might cause. Such as not start at boot.

    Does anybody have safe services , receivers, activities list that you can share with the rest of us?