[Help] What happens to Adhell2 when the Knox key expires?
I guess I will be able to use a new key, but still curious.
What happens to apps already disabled? Can I re-enable them even after the key expires?
EDIT: So, I checked out some of the source code. This tells us that it uses this API, and the description says
If the disabled application package is uninstalled and then re-installed, it is enabled again. To avoid this use case, the administrator can disable the application package and prevent re-installation using setApplicationInstallationDisabled(String).
and Adhell2 doesn't use setApplicationInstallationDisabled, which means uninstalling (e.g. in Play Store) and re-installing would leave the app enabled. It involves uninstalling though.
Posted Oct 11, 2017, 6:56 AM UTC · edited
I don't know the exact answer to this but I'll share what I've read, 'keys' are dealt by Samsung and they kept revoking the keys throwing everyone who used the app off. So get around this Adhell has a download page you can 'generate' new keys, basically making it work for a limited amount of time through Samsung's developer program, chances of the keys getting revoked are smaller but are time restricted and you need to reinstall the new app every time it expires. AKA you uninstall current version, visit the download page and just reinstall.
IMHO it's probably best to just use Disconnect Pro, sometimes they make the app free for a limited time but if you need it sooner rather than later and can't afford it, version 1.11 can be easily found on Google.
Hopefully you get some info out of this.
I get that disconnect pro has ad blocking, but does it have package disabling?
Unfortunately not, if this is a must have then Adhell is the way to go.
I didn't see anything about the download for AdHell 2 generating new keys, it said it generated a new package name in order to stop Samsung from disabling it.
I assumed that updates to the S8 had been made which disabled the package names used by AdHell so they had to randomize it.
Good point! I just double checked with the xda thread and you're spot on. It generates new a new package name each time and you need to get your own key from a link supplied in the thread. When the key gets revoked or expires you simply change it by requesting a new one in the link and if the app gets blocked download a new generated one. Personally haven't used Adhell just going on what I've seen and read, I use Disconnect for the whole ease of use, it lacks the package disabler but I can't complain, it does the job!