yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Note 9 Questions & Answers] N1NJATH3ORY:
How did you fix the parser error ?
[Samsung Galaxy Note 9 Questions & Answers] Demati:
I performed the following in APK Editor PRO:

1. Open the APK with the parser error.

2. Select Full Edit

3. Click on Manifest

4. Search for "sdk"

5. The following will appear:

<uses-sdk android:minSdkVersion="23" android:targetSdkVersion="27" />

6. Change the min SDK version to 14:

<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="27" />

7. Click Save

8. Click Build

9. Install
[Samsung Galaxy Note 9 Questions & Answers] N1NJATH3ORY:
Thanks it worked flawlessly :D Adhell 3.1 is installed and active awesome :D Quick question did you enable admin mode before you pasted in the key ? Also witch key did you copy from Knox ? i copied and pasted KPE Development key and it worked perfectly ?
[Samsung Galaxy Note 9 Questions & Answers] Demati:
I enabled admin first then copied and pasted the KPE development key. It does not activate regardless of whether I install Ahell from an APK or build it from source.
[Samsung Galaxy Note 9 Questions & Answers] brc6985:
I downloaded the APK from the mediafire link, but couldn't get it to activate when following the instructions to edit the APK. So I just installed without editing, and it activated and is working fine.
[Samsung Galaxy Note 9 Questions & Answers] N1NJATH3ORY:
Yeah i noticed that as well, as it would install fine if you didn’t edit the apk.. I’m not sure if mine was edited, i think i did edit the apk and saved it then used your way..

I’m not sure why they ask to edit the apk? i think as it says adblocker that’s against the T&C of Samsung Knox, well we will find out if Samsung check and disable our Samsung dev key only time will tell..
[Samsung Galaxy Note 9 Questions & Answers] brc6985:
I remember reading somewhere that adblocking was a no-no in Samsung's eyes, so I uninstalled and followed Demati's instructions, as well as renamed the package, and it installed and activated with no issues.
[Samsung Galaxy Note 9 Questions & Answers] Demati:
I'm really feeling insane as I can't get it to activate and I'm following the same directions and guides as everyone else.
[Samsung Galaxy Note 9 Questions & Answers] brc6985:
Where did you download the APK? I got it here: https://m.mediafire.com/folder/sb37c6gmhqgbn/AdHell_3. Then change min SDK version to 14, and rename the package (3.8.9 format). Also maybe try generating a new KNOX license key.
[Samsung Galaxy Note 9 Questions & Answers] hkjxda:
Even after changing the SDK min number, I still get the parser error...
[Samsung Galaxy Note 9 Questions & Answers] Demati:
All, I want to report that I have it working! I'm not quite sure what did it. I revoked my current KPE license and then issued a new one. At the same time I uninstalled Adhell and then reinstalled it from the APK that I downloaded from MediaFire (and fixed using APK Editor Pro). I rebooted my phone then I opened the app and to my shocking surprise it activated! I want to think that it had nothing to do with revoking and issuing a new KPE dev license but who knows? Maybe this was an issue on Knox license server.
[Samsung Galaxy Note 9 Questions & Answers] lukas77:
Hi all,

My last working license expired yesterday and I have generated a new license key. I can activate AdHell 3 anymore. I had rebuilt package with custom name. I have created a new package with a new name and still I can't activate the license. Error 102.

I noticed that SEAP website changed. Am I missing something?
[Samsung Galaxy Note 9 Questions & Answers] Tombias:
Try Blokada. It is just much easier.
[Samsung Galaxy Note 9 Questions & Answers] lukas77:
Thanks, however I'd really like to keep using AdHell, adblocker + package disabler is what I need.
[Samsung Galaxy Note 9 Questions & Answers] FtaWolf:
No. There's not one installed.

---------- Post added at 12:10 AM ---------- Previous post was at 12:09 AM ----------

Ok. I'll give it try.

---------- Post added at 12:14 AM ---------- Previous post was at 12:10 AM ----------

Thanks but it didn't work.
[Samsung Galaxy Note 9 Questions & Answers] ZionMainframe:
Unable to generate edu keys (ELM)

Hi all, a crazy issue

- I'm not able to get edu keys.

- When I go to this https://seap.samsung.com/license-keys/generate/edu, it says

"You already have a development key and cannot generate another one until it expires or you revoke the current key"

- But, i have revoked all my existing keys. Everything is either expired or revoked. Attached all screenshots.

Any clue? Please help.
[Samsung Galaxy Note 9 Questions & Answers] raul6:
Expired key still counts as being in use. Revoke it and you'll be able to generate new one.
[Samsung Galaxy Note 9 Questions & Answers] ZionMainframe:
Thanks for the help. It worked. I'm able to generate the edu key now.
[Samsung Galaxy Note 9 Questions & Answers] FuMMoD:
Still getting error 102 ughhhh.
[Samsung Galaxy Note 9 Questions & Answers] Ramses7420:
I'm sorry, but on my Note 9 under Android 9, my version work fine
[Samsung Galaxy Note 9 Questions & Answers] shev100:
Which version do you use? And how does the code start? KLM??
[Samsung Galaxy Note 9 Questions & Answers] FuMMoD:
Using 275 and do the modded version that was uploaded on the previous posts. Key generated is the edu key aka ELM key.
[Samsung Galaxy Note 9 Questions & Answers] raul6:
Assuming you copied the key correctly then the apk name is not unique enough (as in there are others with the same name)
[Samsung Galaxy Note 9 Questions & Answers] pland:
These keys don't give a permission android.permission.sec.MDM_FIREWAL.These keys are with limited licence who not includes this permission.

My Adhell3 created with Android Studio crashes after building and starting with KLM06-key.My phone is not a Note9,it is Galaxy S8+ with Android 9.0 Pie.It's the same,my friend have a Note9,and logcat in Android Studio with his phone is the same as attachened file.

Samsung maybe kill Adhell3.

Part of Logcat in Android Studio(colored in red) is in attachened file.

Sorry for my bad English.
[Samsung Galaxy Note 9 Questions & Answers] raul6:
Get the edu key, add /edu, to the link where you generate keys; obtain the latest Ah3 build . 288 and continue using
[Samsung Galaxy Note 9 Questions & Answers] pland:
Thank You! All done and work fine. :)

You make my day!
[Samsung Galaxy Note 9 Questions & Answers] hbproph.:
AH3

Thank you so much for sharing the link..! Two days ago I'm searching for it.. But just the KLE keys I found.

Everything is working fine immediately!

Thanks!
[Samsung Galaxy Note 9 Questions & Answers] pratik_193:
Does any one know a method to block ads in Facebook and Instagram app with adhell?

Fblc doesn't install on note 9 as fb is already a system app
[Samsung Galaxy Note 9 Questions & Answers] Nastrahl:
You can't with AdHell.
[Samsung Galaxy Note 9 Questions & Answers] pratik_193:
You know any app which can block ads in fb and Instagram? Non root method only.
[Samsung Galaxy Note 9 Questions & Answers] pizza_pablo:
I am using AdHell to block PIE update on a Verizon Note 9.

My key will expire soon. How important is it to renew the key and enter it in AdHell?
[Samsung Galaxy Note 9 Questions & Answers] Nastrahl:
AdGuard is supposed to be able to but I think it's not ready yet. I personally never had it to work for that yet.

You can try alternative clients to do so like Maki for Facebook. I think you actually can connect to Instagram with it to.
[Samsung Galaxy Note 9 Questions & Answers] raul6:
Without valid key AH3 will not function
[Samsung Galaxy Note 9 Questions & Answers] Nastrahl:
Alternatively I think you can disable the mandatory packages for updates with ADB first, then activate them to block them with AdHell if you want to do it on demand without the need of a computer every time.

Just activate plane mode prior enabling them.

Edit : haha I just notice that I didn't understand your demand at all. Sorry for the offtopic. raul6 actually answered.
[Samsung Galaxy Note 9 Questions & Answers] pizza_pablo:
That's what I thought.

Thanks for confirming!

I hope I can do that key update successfully.
[Samsung Galaxy Note 9 Questions & Answers] raul6:
Make sure you use edu key. KLM key will no longer work due to changes by Samsung. Also, go for latest build .289 currently
[Samsung Galaxy Note 9 Questions & Answers] Ramses7420:
I don't found the 289 version
[Samsung Galaxy Note 9 Questions & Answers] raul6:
As long as the version is higher than .265 then. That and higher support edu key
[Samsung Galaxy Note 9 Questions & Answers] mtweisenbarger777:
I don't know if this is posted somewhere in this thread but as many of you know you must have a different type of key now. And if you have one of these keys and its been revoked/expired it often times won't let you create a new one. What I did was simply create a new SEAP account and generated a new key. Boom, works like a charm. I hope this helps someone.
[Samsung Galaxy Note 9 Questions & Answers] pcriz:
I have like 25 revoked keys on my page. It's never stopped me for revoked keys. Only stopped me for expired. Which you should be revoking
[Samsung Galaxy Note 9 Questions & Answers] mtweisenbarger777:
Yeah but not everyone remembers to go in and revoke before it expires. I have had that problem.
[Samsung Galaxy Note 9 Questions & Answers] pcriz:
Lol so they need go in and do that. Instead of making a new account.

Edit: Just to be clear. You can revoke expired keys.
[Samsung Galaxy Note 9 Questions & Answers] ramses742001:
How can i download this 289 version ?

Envoyé de mon SM-N960F en utilisant Tapatalk
[Samsung Galaxy Note 9 Questions & Answers] raul6:
https://gitlab.com/fusionjack/adhell3-scripts
[Samsung Galaxy Note 9 Questions & Answers] ramses742001:
Do you have the apk ?

Envoyé de mon SM-N960F en utilisant Tapatalk

---------- Post added at 05:18 AM ---------- Previous post was at 05:17 AM ----------

Do you have the apk ?

Envoyé de mon SM-N960F en utilisant Tapatalk
[Samsung Galaxy Note 9 Questions & Answers] pizza_pablo:
Is this REVOKE a setting in the AdHell app?

Should this be done prior to the key exclaim date?
[Samsung Galaxy Note 9 Questions & Answers] raul6:
When the time comes, deactivate the licence first from within Ah3, assuming your version has that option. Then create edu key; build the latest apk .289 install and enter edu key when prompted.
[Samsung Galaxy Note 9 Questions & Answers] pcriz:
You revoke on the Samsung site on the page that lists all your keys.

You should be able to revoke after a key has expired.

It's not a setting in adhell.
[Samsung Galaxy Note 9 Questions & Answers] pizza_pablo:
Got it.

Thank you, very much!
[Samsung Galaxy Note 9 Questions & Answers] N1NJATH3ORY:
Dude how do you add the add /edu ? There's no option ? i can only generate a key it does not let me add /edu ?

UPDATE!!!! extract package i see what you mean never mind.. Thanks
[Samsung Galaxy Note 9 Questions & Answers] Goku80:
I'm trying the elm key but honestly it gives me error 102. Using 289 build
[Samsung Galaxy Note 9 Questions & Answers] raul6:
the apk name (com.package.name format) has to be unique, when it's not error 102 occurs
[Samsung Galaxy Note 9 Questions & Answers] ramses742001:
No problem for me with 289 version. Installing on the previous version 288

Envoyé de mon SM-N960F en utilisant Tapatalk
[Samsung Galaxy Note 9 Questions & Answers] Goku80:
So guys hang on. Can I edit 289 using apkeditor on my phone then once I change the name then I go and get the key and extract the file online? Sorry I'm confused. The old way was so much easier

---------- Post added at 10:47 AM ---------- Previous post was at 10:13 AM ----------

Right update. 288 and 289 when I try to edit they come back as corrupt no matter how many times I try to redownload. 275 works fine though. Although every time I try going to the app once I set it up keeps crashing. Will leave it to that for now
[Samsung Galaxy Note 9 Questions & Answers] hinds90:
Is it possible to generate ELM keys? Can't find the keys on SEAP. Using 3.1.1.
[Samsung Galaxy Note 9 Questions & Answers] raul6:
Add /edu to the link where you generate keys
[Samsung Galaxy Note 9 Questions & Answers] hinds90:
Could you further explain this?
[Samsung Galaxy Note 9 Questions & Answers] N1NJATH3ORY:
The way i did it, i upload the APK to the SAMSUNG KNOX edu section!! Then it ties the key to your apk then it will activate!!
[Samsung Galaxy Note 9 Questions & Answers] Nastrahl:
It's probably the best way to get banned and let Samsung to investigate further a way to block such apps.

All of that because nobody reads the god damn readme.
[Samsung Galaxy Note 9 Questions & Answers] pcriz:
What is?
[Samsung Galaxy Note 9 Questions & Answers] N1NJATH3ORY:
Common dude millions of users upload apk's to Samsung KNOX? They can't check every single apk or can they ?
[Samsung Galaxy Note 9 Questions & Answers] Mike B.:
Oh, I forgot about this thread! Folks, I see LOTS of misinformation here. Note that we don't provide official AdHell3 support here on XDA, but you might find a few active threads such as that one where we have posted a few useful suggestions. For best results, we strongly encourage you to visit the official AdHell3 GitLab repository and review the README there, as well as visit our active Official Discord channel, including its FAQ.

The current AdHell3 as of this writing is build 291, which is fully suited for use with a valid 128-byte EDU ELM key, includes a convenient way to see which domains you have blocked, as well as other goodies. Unless you don't have access to a computer at all, use the provided scripts to assemble your own version, a much easier/safer/better approach than trying to patch someone else's copy. Lastly, I see recent references here about associating your APK in SEAP. Do NOT do that; it's not needed at all and may cause problems. Just follow the AdHell3 documention to the letter without taking shortcuts or improvising and you'll be fine.
[Samsung Galaxy Note 9 Questions & Answers] Phazonclash:
This.

Just use that goddamn script. It's pretty easy to compile/update your own APK. All you have to do is type a single, short command (adhell3 clean build) in a command prompt/terminal when you want to update/recompile your APK and ta-da, a few minutes later you have that super great, up-to-date copy of Adhell3 called "app-debug.apk" (or something similar) you can install over the old one. You don't even have to re-enter your key

You need a key? There: https://seap.samsung.com/license-keys/generate/edu

The script fails to compile the APK? Launch your command prompt with administrative rights.
[Samsung Galaxy Note 9 Questions & Answers] N1NJATH3ORY:
Oh eff Quote “Lastly, I see recent references here about associating your APK in SEAP. Do NOT do that; it's not needed at all and may cause problems"

i have done that, I’ll read the readme as info is scattered all over the place! You gets bits and bobs here and there, and no one gives the real info no offence to anyone! Those of you who did go out your way to help me us etc. thanks i'll remove the apk from SEAP and follow your suggestions. Thanks
[Samsung Galaxy Note 9 Questions & Answers] Mike B.:
Actually, the information on how to build and configure AdHell3 is easy to find where AdHell3 is documented and supported (GitLab)! It's an ongoing coding project for developers, not a premasticated APK for anyone to simply download and use.

Here on XDA, I try to help a bit when time permits (see #177, #194, etc.), but my main advice is to simply check the official documentation instead of relying on guesses from other users. ;)
[Samsung Galaxy Note 9 Questions & Answers] VandyCWG:
Fixed my issues...so I will leave it with #1 only!

1) Thank you for the scripts!!! Oh my, this was easy! Pulled and built the app without trouble.
[Samsung Galaxy Note 9 Questions & Answers] brc6985:
This is what worked for me. I'm on stock Pie Feb. 1 security patch.
[Samsung Galaxy Note 9 Questions & Answers] Mike B.:
You only need to edit the package name, no need to mess with anything else. You merely need a unique package ID and a correct EDU ELM key.
[Samsung Galaxy Note 9 Questions & Answers] brc6985:
When editing only the package name, license validation did not work. It only worked when I edited line 132 as well.
[Samsung Galaxy Note 9 Questions & Answers] Mike B.:
Maybe review your patching procedure (or even whatever precompiled APK you started with)? The only entry that matters is the package name in the Manifest. Using APK Editor PRO 1.8.28 as documented seems to be the foolproof method. As mentioned countless times, compiling your own latest AdHell3 gets rid of all those headaches... ;)
[Samsung Galaxy Note 9 Questions & Answers] beta546:
I don't intend to completely disagree with you as I really am not clued up on this, but I did exactly that, download the APK from mediafire, changed package name and installed, tried multiple times to activate with my ELM key and it just wouldn't, so did as that guy said and changed authorities line to match package name, my key then worked and adhell is running fine again.

I have always got my adhell APK from the mediafire link in all guides, I have never had to do anything at all other than install and enter license key, this time it didn't work after I just updated to February security patch today, so got googling to figure it out, found this thread and as I'm not with my PC couldn't use the scripts from github and thought I'd give it a go just changing that authorities line too, it worked straight away.

As I said, I can't explain why, when you say it's not necessary, all I can say is that it worked instantly after changing that line.
[Samsung Galaxy Note 9 Questions & Answers] Mike B.:
Oh I'm quite sure that you missed (or added?) a step somewhere if you had to change the signature (android:authorities) in the manifest, but as long as you're happy, all's well! ;)
[Samsung Galaxy Note 9 Questions & Answers] beta546:
Not sure mate, as I said, previously I've only ever had to download the APK, install and enter my key, with your latest version that didn't work, so read about changing the package name, did that and it still wouldn't work, then tried the authorities line too and it did.

So literally all I did was download the APK, open it in apk editor, changed the package name, then change the authorities line to match the new package name and that did it.

---------- Post added at 12:07 AM ---------- Previous post was at 12:06 AM ----------

This is where I downloaded it by the way

https://m.mediafire.com/folder/sb37c6gmhqgbn/AdHell_3
[Samsung Galaxy Note 9 Questions & Answers] Mike B.:
Something as simple as using a different APK Editor PRO version or method can force a signature (authorities) change. The binaries in that MediaFire directory are dependable, but what happens to them after they are in the user's hands is anybody's guess... ;)
[Samsung Galaxy Note 9 Questions & Answers] beta546:
Well it's a strange one. I'm up and running again though which is the main thing ? Once I'm back at my computer I'll do some proper reading on the gitlab page and learn all I need to, in order to do it the proper way ready for the next time I need to update.

For now I'm just glad it's working again haha.
[Samsung Galaxy Note 9 Questions & Answers] williamlaw:
Hi Everyone,

Just updated v3.1.1.290 and generated EDU key, but still failure to activate.

Anything wrong ?

Thanks
[Samsung Galaxy Note 9 Questions & Answers] raul6:
From Discord faq:

"Errors during activation

If an error occurs while activating the license in Adhell3, make sure that:

•You have generated the EDU key and you have copied full key. (128 characters) [Error 201]

•You have correctly set/changed the package name. It have to be unique and it is not recommended to use phrases such as ad, adhell, adblock etc. It can be problematic. It is recommended to use the name of the package separated by two dots (eg. com.pachage.name) You can use a random package name. [Error 102]

•Check the website http://status.samsungknox.com

if there is a issue and you have not made any mistakes above, wait until all services are working

•Try everything from the beginning: build an APK again, generate a new key in a new account, etc. "
[Samsung Galaxy Note 9 Questions & Answers] buddz__43:
Hello, is ok if you can share to me your EDU key?.. mine just expired..
[Samsung Galaxy Note 9 Questions & Answers] VandyCWG:
Just go generate a new one
[Samsung Galaxy Note 9 Questions & Answers] Galactus:
:rolleyes:
[Samsung Galaxy Note 9 Questions & Answers] slit:
Hi. I'm trying to uninstall Adhell 3 and it doesn't, sadly. It says that the key is invalid after getting a new one on Samsung KNOX developer site. I understand this is because Admin KNOX privileges, but as I can't put a new key I can't access the bundled uninstaller. Should I do a factory reset? And if, will it remove Adhell? I'm on S9+ Android Pie april update.

Thanks in advance.
[Samsung Galaxy Note 9 Questions & Answers] Mike B.:
Didn't you have a chance to read the last many messages in this an other threads, or even check our repo and support areas? You can no longer get the EDU ELM key AdHell3 requires. I you don't have a valid key, revoke AdHell3's admin privileges (wherever the "Device admin apps" setting is on your device, probably under "Biometrics and Security -> Other Security Settings" on an S9) and uninstall AdHell3 as you would any other user app, then consider alternatives.
[Samsung Galaxy Note 9 Questions & Answers] pcriz:
It also prompts I believe in the notifications to remove privs as well if you try to uninstall an app with admin privs. For the lazy.
[Samsung Galaxy Note 9 Questions & Answers] JakeArmitage:
Im also having troubles getting Adhell 3.1 to work. I rename it, repackage it with APK Editor, generate a license key, but it just won't validate. I get Error 208 or 201. Ive tried renaming it several times to a random string of letters, and ive generated 4 different KPE license keys. Anyone got any good ideas on how to get this to work?
[Samsung Galaxy Note 9 Questions & Answers] Nastrahl:
How did you generate more than 1 key?

If I don't wait until it expire, or won't allow me to generate again, telling me that I already got an active key.
[Samsung Galaxy Note 9 Questions & Answers] shmic:
You must revoke previous one, and than you can generate a new. But a also have a problem with validation, error code 102.
[Samsung Galaxy Note 9 Questions & Answers] JakeArmitage:
Revoke the previous key, there is a button for if if you click on the alias of the key.

I found a solution on reddit so i thought i'd share it here.

Build your own apk from the source instead of using the precompiled ones, instructions are here: https://gitlab.com/fusionjack/adhell3

Then follow these instructions to associate the license key with the package: https://www.reddit.com/r/Adhell/comments/acd5wm/solution_for_error_102/

After the key was associated with the package i built with the instructions above, it accepted the key first try. Adhell 3 works like a charm now. This is not my solution so i take no credit for it, thank the guy on reddit who wrote the post.
[Samsung Galaxy Note 9 Questions & Answers] lukas77:
Thanks Jake,

In my case the solution with uploading previously renamed package via APK Editor Pro worked. I didn't have to compile AH3 from source.

https://www.reddit.com/r/Adhell/comments/acd5wm/solution_for_error_102/
[Samsung Galaxy Note 9 Questions & Answers] JakeArmitage:
Huh.

I should've done that instead myself too instead of downloading tons of crap and wading through build instructions that honestly were a bit over my head. Might have gone faster and frustrated me less. :)
[Samsung Galaxy Note 9 Questions & Answers] su8z3ro:
To get adhell3 to work on my note 9 i just had to generate a backwards compatible key then copy and paste and tap activate..... my issue is that knox has hidden the developer options.... anyone know what permissions or services to disable to get the developer options to show in the settings menu? I have already enabled developer mode by clicking the build number repeatedly till it said developer mode enabled.

---------- Post added at 02:16 AM ---------- Previous post was at 02:09 AM ----------

Generate a backward compatible key and it should activate no problem....