I had this installed on my new Note 8 (received yesterday) and started having problems right away. Apps wouldn't download, I had random reboots, and some apps wouldn't let me log in and no ads were being blocked in the browser.
I loved Adhell on my GS8+. The persistent notification you have on the lock screen and notification shade with VPN adblockers is super annoying. Not sure I would have pulled the trigger on my new Note if I had known about this Adhell drama. Why in the world would Samsung be against a dev utilizing a feature of Knox? It's the ONE time Knox has ever been useful to me.
Anyway, I hope someone finds a solution for the Note 8. I'm using Block This right now and dealing with the extra notification spam.
Does anyone notice that under settings > edit blocked URL's > show custom providers that the number of blocked addresses is always 2718? It was 2718 in the original Adhell, too. The github page mentioned it used a script to pull from two sources for the host file generated, https://adaway.org/hosts.txt and some other source. Pretty sure the hosts.txt from adaway updates like, weekly on my N6P. Shouldn't that mean that we should have more than 2718 blocked for Adhell?
I don't want to add any custom sources and have all the addresses double up, someone was mentioning bigger hosts files slows performance...
so can anyone tell whether it will work on an Galaxy A5 2017 (Nougat and Marshmallow)? Maybe the same dilemma there with newer KNOX-Version?
and second question, how does adhell exactly work? It doesn’t do anything with VPN right? But how then?
Could the KNOX-Framework also access the Android HOSTS-file where you normally need root-access? or how does it block the AD's?
May I ask if the system changes made by Adhell 2 is persistent through a factory reset? I did not disable or uninstall the app before factory resetting.
Ever since installing Adhell 2 on my Note 8 I've gotten random reboots and severe network connectivity issues. I've reprovisioned the note 8 and factory reset the device through regular and download mode.
I don't want to point fingers so quickly because it might be an issue with network congestion, but it has been an entire day and apps like the playstore still occasionally fail to load. It takes several minutes to get the download started.
I did that and it saids app cannot be found when I tried to disable it.
Perhaps the app messed with the Knox partition or something and changed a permanent setting in the rom. There's definitely something amiss since installing this app. I got this device less than 24 hours ago from FedEx.
I'm in the process of trying to flash a image via Odin but keeps running into mega transfer caps... urgh.
*** Disclamer I first want to note that the original developer did not help me in any way with this, he did not provide me with the code (it was found from public forks from his Github), nor guidance on modifying the app. I do not want to cause him any further inconvenience or trouble with his job. I simply forked the code and made some minor changes, so majority credit goes to the original dev, but as he is now dissociated from the project any other developers (including some of the contributors from the first version) are welcome to help continue. I take no responsibility for any issues this app may cause with your device.
Hi everyone, since Adhell was removed from the Play Store and the code was taken down from Github, I (not the original developer) got a copy of the publicly available code and made some changes to remove dependence on the original developer's server and removed the subscription on the new permissions feature. It was a very quick and dirty edit, but it was just to ensure the app still works once the original developer takes down everything related from his website, which the app relies on.
The way this app works was to utilize Samsung's Knox framework which included a Firewall feature that allowed ads to be blocked. The additional features such package disabling and permission blocking were also done through Knox. In order to make a Knox compatible app, a license has to be used, and the only way to get one is from Samsung unfortunately. It is fairly easy to get a "development" key from Samsung which lasts for 1-3 months (I believe) and so I have modified the app to require each user to enter their own key. I know this is not ideal, but it will keep working like this, and it reduces threat of Samsung revoking the license and disabling the app entirely for everyone. If any developer wants to help me rework the app, please let me know, help is definitely appreciated, and my code is still open source and available on Github. I'm a broke college student with very little time to work on this, and am by no means a professional dev, so I apologize in advance for slow updates and probably little in the way of additional features. I will do my best to keep it working.
So to procure your own "developer" license, you need to go to this link, and either register for a Samsung account or sign into your own, and then enroll as a developer. After that proceed to this link and generate a Knox Standard SDK Enterprise license key with a generic "key alias" (I recommend something like "testing", not something like "adhell", just in case). Copy over the key to your device somehow (email, Join, Pushbullet, etc.) as it is pretty long. When you open up the new Adhell 2 app, you will see a popup asking you to enable device admin access, enter a key, and then enable license, do the three steps in that order. If the key is not entered correctly, the license will not activate.