Adhell 3 - KNOX

Search This thread

Hansoliv

Senior Member
Jul 12, 2007
375
90
Hello, and thanks for sharing again.
I have used your apk and it's working.
I Attached the apk without the need for the Samsung license, like the previous ones.
Unfortunately i cannot try if it is working with android 12, because i downgraded my phone to Android 11.
If someone already on Android 12 here wants to try it and leave some feedback would be nice.

Screenshot_20220225-195412_Adhell3.jpg
 

Attachments

  • adhell3_460.apk
    3.3 MB · Views: 1,748
  • NotifyRDS+Add+on+Samsung_v3.4.9.apk
    2.1 MB · Views: 1,268
Last edited:

NotALurkerAnymore

New member
Feb 27, 2022
4
1
Hello, and thanks for sharing again.
I have used your apk and it's working.
I Attached the apk without the need for the Samsung license, like the previous ones.
Unfortunately i cannot try if it is working with android 12, because i downgraded my phone to Android 11.
If someone already on Android 12 here wants to try it and leave some feedback would be nice.

View attachment 5546731
Hello, it is working fine in my galaxy 22 ultra. Thank you for sharing. How can I increase the domain rules to a higher number? I know that it sounds unnecessary but I would like to test a higher number. Thanks again.
 
  • Like
Reactions: Hansoliv

Hansoliv

Senior Member
Jul 12, 2007
375
90
Hello, it is working fine in my galaxy 22 ultra. Thank you for sharing. How can I increase the domain rules to a higher number? I know that it sounds unnecessary but I would like to test a higher number. Thanks again.
Good day.
Are you using Android 12 in your phone? If yes, could you please see if you can change the permissions of any app in the Permission Manager? (Others Tab -> App Component)
Thank you.
Screenshot_20220227-153616_Adhell3.jpg
 

NotALurkerAnymore

New member
Feb 27, 2022
4
1
Good day.
Are you using Android 12 in your phone? If yes, could you please see if you can change the permissions of any app in the Permission Manager? (Others Tab -> App Component)
Thank you.View attachment 5548303
Hello, yes, I'm using Android 12 and no, I can't change apps permissions, I can disable activities, services, receivers and providers but I can't move the toggles in the permissions tab.
 

Hansoliv

Senior Member
Jul 12, 2007
375
90
I didn't read your previous post correctly, S22 series comes with Android 12 as default 😅
That was what i was afraid of, Samsung really removed that feature, no way around that.
I attached a version of version 460 that accepts 300k hosts
 

Attachments

  • adhell3_460.apk
    3.2 MB · Views: 272
Last edited:

Semeliel

New member
Jun 13, 2010
1
0
I didn't read your previous post correctly, S22 series comes with Android 12 as default 😅
That was what i was afraid of, Samsung really removed that feature, no way around that.
I attached a version of version 460 that accepts 300k hosts
I can't update it, it shows a conflict error with a package.
 

BxOxSxS

Member
Apr 3, 2018
9
4
Hello adhell3 users, I am B.O.S.S project contributor.

Permission disabler on android 12 does not work. I did some debugging and found out that it's not supported on android 12 and up. Here is a link to knox api docs about that info. I am not sure why it's disabled. It can be samsung decision or some internal android changes that samsung cannot or don't want to overwrite.

Also remember that any methods of activation without legal knox license break samsung's ToS or may even be a crime. I cannot stop you but watch out. License owner can get info about your device (like model and imei) or if they implement such function inside working apk even control your device. I am not trying to scary you, it's true and how knox works. Check docs if you don't belive me.

Same threats are from people that are sharing adhell3 apk with changed code. Adhell3 is open source so it's quite easy if you know programming.

Remember that you can always build apk yourself and change app.properties using adhell3-scripts or standard android build process. If you want to use that illegal method of activation, remember to build using proper package name

Stay safe and aware
 
Last edited:
Hello, and thanks for sharing again.
I have used your apk and it's working.
I Attached the apk without the need for the Samsung license, like the previous ones.
Unfortunately i cannot try if it is working with android 12, because i downgraded my phone to Android 11.
If someone already on Android 12 here wants to try it and leave some feedback would be nice.

View attachment 5546731
Not working ... fiets need key...
 

NotALurkerAnymore

New member
Feb 27, 2022
4
1
Not working ... fiets need key...
Did you try this?
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?
 

alba77

Member
Aug 5, 2014
20
1
Hello, I just installed on the s20 FE the file adhell3_460.apk but it asks a license to be activated. What a licence is it? do I have to pay the app?
 

alba77

Member
Aug 5, 2014
20
1
Have you tried the instructions in post #701?
Hello,
Thank you very much for the replay.
I red this one but I don't understend what to do.
I only understend that I have to install NotifyRDS Add-on: Samsung and nothing more.
The point 4 tells

4. enable secure folder from settings, you need some security, I did pattern.
My secure folder is enabled yet. So I don't understand if there is a risk to lose the secure folder like it happens with device owner. I don't want this to happen - The reasen why I didn't put the root.


EDIT:
I red a better description in post #705 and it worked.
I made it on a phone S20 FE with Android 11 where I didn't put my data into the secure folder and I had to uninstall it so if I had data I would lose it.

Now the problem is how can I do the same without loosing my data into the secure folder on the Note 10 plus (Android 10) and on the Note 9 (Android 10)?
Do you have any suggestion?
 
Last edited:

Hansoliv

Senior Member
Jul 12, 2007
375
90
Hello, any idea of using the method without having to uninstall the secure folder?
Hello.
I have read your previous posts.
unfortunately I do not know any other method, besides those in post #701. :(
The other way is having an official license from Samsung, by having an enterprise and applying to be a Samsung partner.

 
Last edited:

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! ;)
    25
    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.
    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.
    5
    I confirm that is a legitimate new version that works with kpe key and not only for partners. Anyway I would represent the question as quoted because I have the same issue. Is there any way to make it working?

    I know to. But how make this to work ?

    This again?? Please quit blindly spreading misinformation and repeating unsubstanciated rumors here. Check your sources!

    It's not a new version, merely ongoing code tweaks. If you'll simply look at the adhell3 repo, you'll see that the current source for build 3.2.309 is freely available, ready for YOU to compile and use with YOUR partner-issued ELM or KPE key. You don't have to "make it work", it "works" just fine with a legitimate key. Any other use, if any, would be illegal and clearly not appropriate for XDA.

    Anybody who signs up as a Samsung developer (free) can compile the source for personal use. Anybody who is a licensed B2B Partner can create a suitable key for use with adhell3. Everybody else should forget about adhell and simply use one of the many alternatives for domain blocking, apps/components disabling, etc. .

    I sincerely wish I had never gotten involved with making adhell, SABS, and adhell3 available back before Samsung fixed the key loophole. Mea culpa!
    5
    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?