yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S10 Themes, Apps, and Mods] Mike B.:
AdHell has no bearing on battery life, especially since it only needs to be running while you're actively changing the Knox settings (i.e. very seldom). I have no way of knowing which apps are on your phone, but any user app can be simply deleted if not used, and most system apps can be forced into permanent sleep under recent Android versions. For more control, you can switch to a custom ROM, but then you'll loose most Samsung features. Only YOU can make those decisions.
[Samsung Galaxy S10 Themes, Apps, and Mods] Kiran-Kumar:
Went through the whole thread before installing and it was a breeze...Thanks guys I have disabled apps to the extent of playstore being unable to install any new app :D

(I just toggle the disabled app switch ON before I install any app from playstore) :D

My battery has improved greatly. Thanks again.
[Samsung Galaxy S10 Themes, Apps, and Mods] kezzuki:
hey guys,

Does anyone know if it is safe to disable all knox related apps (such as klms agent) after installing adhell?

My understanding is that adhell uses Knox sdk/functionality and thus asking. Wondering if disabling Knox will cause Adhell to not function and thus restoring it would require factory reset as a result...

Thanks!
[Samsung Galaxy S10 Themes, Apps, and Mods] cookie666:
Works great. Compiled it and got a key. Twas Surprisingly easy.

thanks!
[Samsung Galaxy S10 Themes, Apps, and Mods] DJ_Jedi:
I always get status fail error code 201

any help?
[Samsung Galaxy S10 Themes, Apps, and Mods] Mike B.:
Yes, you are using an invalid license (or failed to use a unique package name). Review the FAQ on our official Discord support channel or at least re-read the documentation, and retrace your steps carefully.
[Samsung Galaxy S10 Themes, Apps, and Mods] DJ_Jedi:
I changed the apk using your instructions, even if i never needed to do it using the apk from reddit, i wiped my phone today tring to change my CSC and i used the same license key i was using till this afternoon, but i was getting the same error, then i tried to make a new one but still no luck, the backward compatibility key works but the app force closes a split second after the app gets enabled and it asks again for the key on reopening. I tried to generate the EDU key but it says i have already one and cant get a new one until it expires or i revoke it (i did but i still cant get a new one).

I need actual help.
[Samsung Galaxy S10 Themes, Apps, and Mods] Mike B.:
I have no idea what's on Reddit or which AdHell build you use, but anything newer than build 265 requires a proper EDU ELM key, not a backward compatibility one. Any build before 264 is obsolete since Samsung changed the rules a while back. Before you can generate a new key, yes you must revoke any old ones, or simply get it from a different dev account (use a different email). All of this is in the official README files.

Remember that AdHell3 is *NOT* supported here, I simply try to answer a few user questions even though it destroys my thanks-to-posts ratio! ;)
[Samsung Galaxy S10 Themes, Apps, and Mods] DJ_Jedi:
I was using build 288 and now i downloaded build 290, i was using a KPE key without any problem but now nor of them accepted the key i was using. I'll try register a new account since, as i said, i revoked all the keys i had.
[Samsung Galaxy S10 Themes, Apps, and Mods] Mike B.:
Build 288 was fine as long as it had a correct unique package ID. Your old KPE key was probably still within its 90-day lifespan but unsuitable for any new activation. AdHell itself may have accepted your backward compatible key if it was in the correct format, but Knox knew it wasn't an EDU key., hence the repeated request for a new key. It would have been easier had you updated to EDU ELM when Samsung made the switch, as we recommended back then. If you can't figure out which old key(s) still needed revoking, switching to a new account is fine.
[Samsung Galaxy S10 Themes, Apps, and Mods] miodrag.cutura:
guys,

where on earth in the apk editor were you able to change the name to stick? common edit, full edit? Where do you even find these options? when i extract the zip, i have the apk. then I go to the editor, select the apk, there are only decode options???

Edit: I was actually able to to make it work with version 1.28

For those who cannot get the ELM EDU key, just go to https://seap.samsung.com/license-keys/generate/edu
[Samsung Galaxy S10 Themes, Apps, and Mods] mistermidas:
Had been using adguard premium for a while, a couple years actually and love that app, but decided to give this one a try for battery life purposes. Will, admit I did run into a few errors and minor issues getting everything up and running myself but after a lil reading I got it all figured out.

I must say, that even though OVERALL Adguard is a better app due to all it's features, Adhell is definitely capable of doing what I need it to do...block ads, which is does very well. And the main reason I switched is for battery life reasons. Even though Adguard doesn't drain much battery, it does setup a VPN which in essence uses resources by it's nature. While Adhell does not, and I've noticed a considerable difference in battery life in the couple days I've been using this app.

So basically I just want to thank everyone who's contributed with information on how to use this app. It's been very much appreciated. I almost don't even care about having root ever now...almost lol.
[Samsung Galaxy S10 Themes, Apps, and Mods] Mike B.:
Thank you for your comment. Please keep in mind that AdHell and Adguard are significantly different animals, with related but different purposes. The big benefit of AdHell is that it merely configures the underlying Knox firewall already present in our Samsung devices, using no additional resources. It's roughly equivalent to editing the hosts file on a rooted device ... if the hosts file understood those convenient wildcards. ;)

BTW, you can always use other apps such as Adguard, Ublock Origin, etc. for their additional features while relying on Knox/AdHell for basic domain blocking.
[Samsung Galaxy S10 Themes, Apps, and Mods] mistermidas:
Oh, after using them both I'm very aware of how different they are. But the main purpose I used either is just basically for ad blocking, which adhell does very well. Adguard is more "feature rich", but since only 1 feature really concerns me, Adhell is more than sufficient for my needs. As far as using them both, I could I suppose, but I like to keep things as simple as possible. If I ever run into any issues I can't resolve I can always go back to Adguard.
[Samsung Galaxy S10 Themes, Apps, and Mods] xoneatom:
Lol this dude doesn't get it. Just go return your phone and get something else. This forum doesn't have time for your cries.

---------- Post added at 02:49 PM ---------- Previous post was at 02:38 PM ----------

:victory::victory:
[Samsung Galaxy S10 Themes, Apps, and Mods] milojoseph:
My problem with using both ad hell and adgaurd is that when both is on my WiFi or data glitches.

Second anyone who uses a T-Mobile device such as a note 8 have any problems with their internet when using dms such as cloud flare?
[Samsung Galaxy S10 Themes, Apps, and Mods] Pinkestwinker:
You don't really need new keys every 90 days I generated one when I got my s8 and just now after upgrading to pie. You only need a working key to make changes in the adhell3 app. I setup everything just once and never really return
[Samsung Galaxy S10 Themes, Apps, and Mods] Mike B.:
Yes, you need a new key every 90 days. Once your key is expired, you might not notice until you want to change your Knox configuration (or even maybe reboot), but you're on borrowed time. It's a trivial matter to simply get a fresh key when either Samsung or Knox/AdHell tells you.
[Samsung Galaxy S10 Themes, Apps, and Mods] anonimowywybryk:
What the f....

I install app and generate key and app close. Soo i install app use the apk editor, generate new key, use admin for adhell, pass the new key and app close too why? I dont understand... the app close and close when i click activate key no error...
[Samsung Galaxy S10 Themes, Apps, and Mods] Mike B.:
Apparently, you're using a precompiled APK instead of compiling you own. Either you didn't patch your APK with a proper unique package name or (most likely), you're using the wrong key. Consider reviewing the FAQ on the official Discord support channel... or at least review the many times we went over the instructions already in this thread.
[Samsung Galaxy S10 Themes, Apps, and Mods] anonimowywybryk:
Please tell me name the key? When i generated a key i check 2 options. Development and backwards compatible, but the first not pass in the adhell so when I use backwards compatible app is close when activate
[Samsung Galaxy S10 Themes, Apps, and Mods] Mike B.:
You HAVE to follow instructions. You didn't get your key from https://seap.samsung.com/license-keys/generate/edu

See Post #236 ;)
[Samsung Galaxy S10 Themes, Apps, and Mods] Pinkestwinker:
Not true I literally ran my s8 for a year on an expired key.... To revert any changes made by adhell3 after key is expired u need to revoke administration rights. The blocking will continue as normal you just cannot use the adhell app to change anything once the key is expired....to disable the blocking after expired key u need to go to device administrator and delete adhell3. Hell it even continued to block ads after deleting the app.... If you think about what the app is actually doing you will understand why this is how it works.
[Samsung Galaxy S10 Themes, Apps, and Mods] Mike B.:
AdHell only needs to run long enough to configure Knox, AdHell itself doesn't block anything and admin privileges are only relevant to configure Knox. If you managed to keep a key active after Samsung terminated it, more power to you, but for users without superhuman abilities, they MUST get a new temporary key every 90 days unless they are paid Samsung partners. And I'm somehat familiar with how Knox/SABS/AdHell work, thanks! ;)
[Samsung Galaxy S10 Themes, Apps, and Mods] Pinkestwinker:
see​

After you sign to the website click the 3 lines on upper right, the click develop, then Android, then bottom one says something like Samsung edu keys or similar click that one and generate that key....you should be good after that if u compiled yourself or renamed the package.... That site sucks and gets a little confusing when you follow a link as once you sign in the link redirects to home page....hope that helps edit it's called Samsung edu sdk
[Samsung Galaxy S10 Themes, Apps, and Mods] anonimowywybryk:
Okey thanks, thats key is active app.

Mayby tell me a good configuration?:D
[Samsung Galaxy S10 Themes, Apps, and Mods] Kemby13:
I finally managed to get it working.. The key was in the right key, sort of speak (no pun intended) and the name of the .apk pacage :)... I was using the wrong (KLM) key and after that tryed an old ELM key that didn't work either. After some searching, i found a good tutorial (will edit and provide the link a bit later), followed it by the number and it worked like a charm, even though it was originally written for Note9. A day after that i repeated the proccess on my friends S10 and no problems whatsoever...

Edit: https://www. androidsage .com/2018/12/04/latest-adhell-3-1-1-installation-guide-android-9-pie-one-ui-8-0-oreo/

Pls remove the spaces before and after "androidsage"
[Samsung Galaxy S10 Themes, Apps, and Mods] Mike B.:
Your main problem was using the WRONG key, a common oversight. You need an EDU ELM key from https://seap.samsung.com/license-keys/generate/edu, not just any ELM key from any other source.

Glad to hear you go it working, but please note that the old outside link you mention provides INCORRECT information on how an where to get a key, based on an obsolete release and old Samsung requirements.

By far the best and safest places to get help with AdHell are the official AdHell support areas:

Main repo: https://gitlab.com/fusionjack/adhell3

Scripts for compiling: https://gitlab.com/fusionjack/adhell3-scripts

Dependable precompield APKs: https://www.mediafire.com/folder/sb37c6gmhqgbn

Official Support Discord Channel: https://discord.gg/hfreZum
[Samsung Galaxy S10 Themes, Apps, and Mods] mdiaz33685:
I have been trying to make adhell work and always had errors compiling my own... so I have been trying the pre-compiled since the s10 release with no luck.. and just now I got the precompiled to work amazed to myself.. something with my home pc that I was never able to compile it.

but just like all the precompiled downloaded and now my new one created, I am using a unique name and created the ELM key since this past month about 4 times...

I always get status error 204

what is status error 204
[Samsung Galaxy S10 Themes, Apps, and Mods] Mike B.:
Knox error 204 is ERROR_INVALID_PACKAGE_NAME. I could be coming from the package name itself (a common possibility if you tried to patched a precompiled APK), but if it installs OK then gives that error, it could also be coming from trying to use the wrong key (not using an EDU key, for example). I strongly advise you to compile your own with the scripts, which ends up being drastically easier once you get past the initial setup. No point in trying the same thing over and over again without changing anything. Reread the READMEs carefully and don't improvise.

I seem to recall that we had this conversation before. Revoke all old keys and get your key from https://seap.samsung.com/license-keys/generate/edu (that exact URL).
[Samsung Galaxy S10 Themes, Apps, and Mods] mdiaz33685:
I just deleted my keys again, and created it with my personnel one created on my work PC from my compiled apk, and YES it is finally working.

Thanks Mike.

Still dont know why my home PC didnt work, I had java and java SDK. Then updated everything and was out of options, so after I had everything working because of 1 missing file I found somewhere on the net, I uploaded the working folder to drive and tried the same install on this PC and it worked.
[Samsung Galaxy S10 Themes, Apps, and Mods] lukaszsas12:
do I have anything else to set or is it ok?

Wysłane z mojego SM-G975F przy użyciu Tapatalka
[Samsung Galaxy S10 Themes, Apps, and Mods] Mike B.:
Congratulations! Apparently, you already blocked 4681 domains, so obviously it's working. Reread the README for additional available optons. You can now safely close AdHell and forget about it until you need to change something. You're using build 290 which is only one behind the current 291. Maybe next time you'll consider compiling our own, and if you use the same package name you won't have to reinstall, just copy the new APK over your previous one.

Remember that Ahell3 is NOT supported here on XDA. If you need any information, feel free to visit our official channels (GitLab/Discord) where we can best help you.
[Samsung Galaxy S10 Themes, Apps, and Mods] anonimowywybryk:
someone can insert a screen of battery usage by adhell? I do not know if it works well for me, I feel a little drain of the battery when I use the phone
[Samsung Galaxy S10 Themes, Apps, and Mods] lukaszsas12:
Can you provide a link to the page from adhell ​​3 ?? where can I ask if I can here ??

Wysłane z mojego SM-G975F przy użyciu Tapatalka
[Samsung Galaxy S10 Themes, Apps, and Mods] wuub:
Adhell doesn't use any battery outside of when you have it open and play with the settings.

It's like editing the host file, there is no service open.

It's just Knox Firewall rules.
[Samsung Galaxy S10 Themes, Apps, and Mods] wuub:
See nothing there ;)
[Samsung Galaxy S10 Themes, Apps, and Mods] Mike B.:
AdHell only uses resources while it's in foreground and you're looking at it. You can close it at any time and it's only needed while you change the configuration. The actual blocking is handled by the Knox firewall that's an intrinsic internal part of the Samsung software. In other words, NO additional battery drain.
[Samsung Galaxy S10 Themes, Apps, and Mods] wuub:
Check/Read the first post, no?!?
[Samsung Galaxy S10 Themes, Apps, and Mods] guest_2011:
i still don't understand why it needs to be compiled. is it unique name-dependent?
[Samsung Galaxy S10 Themes, Apps, and Mods] Mike B.:
AdHell3 lives on GitLab. Once again:

Main repo: https://gitlab.com/fusionjack/adhell3

Scripts for compiling: https://gitlab.com/fusionjack/adhell3-scripts

Dependable precompiled APKs: https://www.mediafire.com/folder/sb37c6gmhqgbn

Official Support Discord Channel: https://discord.gg/hfreZum

I try to answer a few questions and correct erroneous posts on here, but I can't promise to catch them all, nor can I always find the time.
[Samsung Galaxy S10 Themes, Apps, and Mods] lukaszsas12:
ok I use mmoti like in the picture good or should I fusionjack ?? and since I have 290, can I download somewhere 291 because I can not find

Wysłane z mojego SM-G975F przy użyciu Tapatalka
[Samsung Galaxy S10 Themes, Apps, and Mods] Mike B.:
AdHell is source code for Samsung developers. It needs to be assembled/compiled to be turned into an executable APK. It may not be legally distributed as an APK because it requires access to proprietary Samsung data. Even to get a key, you need to become a Samsung Developer. Any other use is illegal and potentially exposes both the uploader and the hosting site to legal action. Similar products using the same Samsung material have been banned (by Samsung, and even XDA) in the past. AdHell3 is still thriving because it's correctly distributed as a source code project, not as an executable.

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

Use whatever provider works for you, the smaller the better. It's like asking us what size trousers you should get. The answer is: whatever fits you, but if it's way too big, it might be somewhat wearable but not very convenient.

Build 291 is the current one in the AdHell repo and can be compiled at will. Since it only adds a small cosmetic change over 290, you can probably wait.
[Samsung Galaxy S10 Themes, Apps, and Mods] lukaszsas12:
but does not have a ready APK to download in version 291? the last one is 290. If I want to install a new version, this one will remove and install a new one? And the last question you can give me hist fusionjack how should I enter this I would like to try this

Wysłane z mojego SM-G975F przy użyciu Tapatalka
[Samsung Galaxy S10 Themes, Apps, and Mods] Mike B.:
There is NO official AdHell3 to download. The 290 you found on MediaFIre is courtesy of one of our moderators who takes full responsibility for its distribution. To get a 291 APK, either try to find a dependable one online, or simply compile your own from the source. As for any Android app, if you upload a new AdHell3 version with the same signature and package name, there's no need to remove the previous one.

Plese read the instructions on how to add a new provider, such as the fusionjack list, but if you're happy with mmotti's there's no obvious reason to try and use an even bigger list.
[Samsung Galaxy S10 Themes, Apps, and Mods] lukaszsas12:
now I understand more a pity that it is not officially available for download because it is in itself unhelpful to compile APK. I know how to add a new provider but I do not know the address I should enter. Thank you very much for help

Wysłane z mojego SM-G975F przy użyciu Tapatalka
[Samsung Galaxy S10 Themes, Apps, and Mods] Mike B.:
You MUST read the documentation! From the AdHell3 README on GItLab:

Override default host with your own compiled host

Put default.host in app.properties, e.g. default.host=https://gitlab.com/fusionjack/hosts/raw/master/hosts​

As stated many times already, AdHell3 is something you should compile. There are many ways to assemble an Android app (Android Studio, git, etc.) but compiling with the scripts provided is a very simple matter, and definitely faster/easier/safer than relying on someone else's precompiled version, but that's clearly your choice. If you have further questions or concerns PLEASE visit our official support areas.

EDIT:

Please do not ask the same questions via private messages. At least, in the thread the exchange may benefit other members, unlike a private conversation. If the previous public replies to your queries are not sufficient, use our support area, but in this instance it's already all well documented in the README.
[Samsung Galaxy S10 Themes, Apps, and Mods] bigmann77:
Sorry if this has been answered or posted before. Does anyone have a list of what is safe to disable using Adhell etc. First time using it and got it set up last night. Thank you in advance.
[Samsung Galaxy S10 Themes, Apps, and Mods] Ratzinc:
Doesn't work, oh well. Tried generating 3 keys, only the backwards compatible one "worked" but force closes. Uploaded the all, still didn't work.
[Samsung Galaxy S10 Themes, Apps, and Mods] rajackar:
Got the app to work. Added easylist and kept default too. Still seeing ads everywhere. Also disabled and enabled domain rules. Shows it's got over 48000 domains.

Browsed through this topic and Reddit but can't really find what I'm missing. Any ideas.
[Samsung Galaxy S10 Themes, Apps, and Mods] Mike B.:
Assuming that you have correctly compiled AdHell3 or at least managed to correctly patch a precompiled APK, it'll work fine as soon as you use the correct key. Revoke all your old keys and get a fresh one from https://seap.samsung.com/license-keys/generate/edu (the EDU part is necessary!).

---------- Post added at 07:54 AM ---------- Previous post was at 07:44 AM ----------

Neither this topic nor Reddit are official AdHell3 support areas. Consider visiting the AdHell3 repository on GitLab or our Discord support channel.

"Easylist" is not a list of blockable domains for AdHell, it's intended for AdBlock. The AdHell3 default list (10K) is fine for most people, but Fusionjack's own list (40K) is an alternative if you need to. Are you seeing ads in all apps or only in your browser? It sounds as if you might be referring to seeing ads in Chrome. If so, you need to re-read the AdHell3 README and add the required firewall rule.
[Samsung Galaxy S10 Themes, Apps, and Mods] guest_2011:
Now i understand. Explains why the other 4 letter thread got closed and links removed. So it's SCUMSUNG's fault it can't be distributed as apk. Hmmmm. I paid $230 to motorola and i could easily root my phone and do whatever i wanted with it. Same for other brands. Now i paid $800 to scumsung and i can't even get a simple apk because they restrict their code. It looks like a job for me to send scumsung a nastrygram and switch brands. I'm not married to it. I hope scumsung gets class-actioned. For other reasons.
[Samsung Galaxy S10 Themes, Apps, and Mods] rajackar:
Thanks for your reply. I'm a bit searching still as information is a bit fragmented across sources ;)

Adhell seems to be working and I see blocked domains in the log in the app. These seem to be limited to graph apis and crashlog domains. I'm using edge as my main browser (yes I'm the one ;) ) and I'm seeing ads on all websites. Using the default list (11k) now. Can't seem to find the other list you're mentioning. Do you have a link by any chance?

Thanks!