AdHell 2 - Rootless Ad Blocking

Status
Not open for further replies.

Mike B.

Recognized Contributor
Nov 17, 2011
3,140
3,173
263
/
Simply searching the thread before posting may get you faster answers!

how can we download the latest version? from the link I download the 1.0 version
Any download link you may or may not be able to follow from the OP is likely to be pointing to an obsolete apk.

The current incarnations (AdHell2 by @mmotti and SABS by @NeedleGames) are available for compiling on GitHub. You might also try to download a recent apk provided by those devs (also on GitHub) and change its package ID yourself. This is NOT an app that you can simply download and install, you need to do some minor homework.

Is there something I can do to get Netflix to work on my current version of adhell 2 or do I need to download another version?
You forgot to mention which specific version you were using with which list of domains, but I suspect you may be using a slightly older AdHell2 in which @mmotti had blocked port 53 for all apps. As discussed previously (search the thread for "Netflix"), this has been remedied in both AdHell2 and SABS. Grab the one you prefer, use the default blocklist , and you shouldn’t have any Netflix trouble. If your AdHell version has that feature, you could also simply disable blocking for your Netflix app under "Manage Adblocked Apps", but getting a current version seems wiser.
 
Last edited:
  • Like
Reactions: mmotti

Mike B.

Recognized Contributor
Nov 17, 2011
3,140
3,173
263
/
I've updated the SABS on github. Please test and let me know if it works for you. Tomorrow I'm making a thread for real. Last time life got in the way.
A clean thread with an up-to-date OP will be a great help!

Your latest v6 works flawlessly and is definitely getting to look a lot better. Not that "pretty" matters, but it's getting to look very professional. Good work!

Pet peeve: the strings still refer to "URL lists" and "blocked URLs" , but URLs are not allowed there, only domains... ;)
 
  • Like
Reactions: Bobthahog

mmotti

Senior Member
Nov 11, 2014
661
580
0
I've updated the SABS on github. Please test and let me know if it works for you. Tomorrow I'm making a thread for real. Last time life got in the way.
Good on you, mate. Very interesting following your recent commits.

If you could implement async tasks for enabling / disabling and then correct the fragment's 'state' checking, you'd be onto a real winner.

Perhaps also some kind of text view below the enable / disable and reports buttons which updates the user on the current status may also be a good idea.. But maybe this would not be necessary with the 'state' checking working correctly.

Also - be careful with blanket blocking port 53 as you'll likely have users experiencing issues with Netflix etc. You may want to either include a warning notification when the switch is toggled or change it to only apply for Chrome (the most evident problem child). Feel free to take the code for the chrome only blocking from my most recent commit.
 
Last edited:

Mike B.

Recognized Contributor
Nov 17, 2011
3,140
3,173
263
/
Good on you, mate. Very interesting following your recent commits.

If you could implement async tasks for enabling / disabling and then correct the fragment's 'state' checking, you'd be onto a real winner.

Perhaps also some kind of text view below the enable / disable and reports buttons which updates the user on the current status may also be a good idea.. But maybe this would not be necessary with the 'state' checking working correctly.

Also - be careful with blanket blocking port 53 as you'll likely have users experiencing issues with Netflix etc. You may want to either include a warning notification when the switch is toggled or change it to only apply for Chrome (the most evident problem child). Feel free to take the code for the chrome only blocking from my most recent commit.
Is async enabling worth the trouble? Unless the user insists on using grossly oversized input files, it doesn't take very long on our devices, does it? Realistically, updating/processing the input file(s) is not something that need to be done very often and a simple "wait a couple of minutes" message may suffice. I confess that I only look at the app whenever I compile a new version, long enough to make sure it's all working right. In fact, what I run here goes away on its own as soon as it's enabled since It doesn't need to run in background at all.

FYI, the port 53 thing seems to also apply to several Chrome-based browsers. I haven't tested the Samsung Internet browser for that yet.
 

mmotti

Senior Member
Nov 11, 2014
661
580
0
Is async enabling worth the trouble? Unless the user insists on using grossly oversized input files, it doesn't take very long on our devices, does it? Realistically, updating/processing the input file(s) is not something that need to be done very often and a simple "wait a couple of minutes" message may suffice. I confess that I only look at the app whenever I compile a new version, long enough to make sure it's all working right. In fact, what I run here goes away on its own as soon as it's enabled since It doesn't need to run in background at all.

FYI, the port 53 thing seems to also apply to several Chrome-based browsers. I haven't tested the Samsung Internet browser for that yet.
It's more of a nice to have, really. Sometimes when you come out of certain menus with Adhell and click enable or disable, nothing happens and the status doesn't update to reflect this until you flick between menus or rotate your phone screen.

It would just bring a more polished and professional feel to the app and it can't hurt doing some items in a separate thread to the UI thread. It's obvious to us that you have to perhaps rotate your screen to redraw the fragment to see the actual status, but to new users it may be a little confusing / off putting.

I've only personally witnessed Chrome itself circumventing ad blocking in the past - Samsung Internet didn't have the issue when it first came about.
 
Last edited:

eXPerience1983

Senior Member
Nov 19, 2007
288
15
38
I've updated the SABS on github. Please test and let me know if it works for you. Tomorrow I'm making a thread for real. Last time life got in the way.
Updated, force close all the times.. :(

Edit:
Found, if I change the installation settings in APK editor pro to internal only it doesn't works. Just rename and keep the other things untouched.

Enviado desde mi SM-G955F mediante Tapatalk
 
Last edited:
  • Like
Reactions: myafik

gschroer

Member
Mar 3, 2014
29
7
0
I've updated the SABS on github. Please test and let me know if it works for you. Tomorrow I'm making a thread for real. Last time life got in the way.
Updated (built from source code) to version 0.6 and it is working as designed. The selection to block port 53 is stopping netflix from working. Great job on the UI.
 
Last edited:
  • Like
Reactions: NewWorldOrphan9

eldervamp17

Senior Member
Jul 28, 2017
60
14
0
Downloaded the updated version 0.0.6. Changed the apk name using apk editor pro to the same name as the 0.0.5 version I got installed. It installed / updated, and works great :)
 

jed84

Senior Member
May 25, 2013
230
38
58
Yes, wait a couple of days tops. New version is coming

---------- Post added at 06:31 PM ---------- Previous post was at 06:29 PM ----------




It's actually very easy. Only manifest file needs to be edited and more specifically only two lines where package name is. There are apps like apk editor pro, app cloner and the other one that is not allowed to be talked about here because it warez. Just use it to edit my apk and there will be no complaints from me.

What is the source of apk editor pro?
Could only find apk editor in google play store.
 

eldervamp17

Senior Member
Jul 28, 2017
60
14
0
What is the source of apk editor pro?
Could only find apk editor in google play store.
I go to this site [aptoide.com] to get all my stuff and even keep the apps on my phone up to date.

---------- Post added at 04:58 AM ---------- Previous post was at 04:32 AM ----------

So the standard package list on SABS, from what source is that from? Is it based on steven blacks unified host? I used mmotti script he posted with unified hosts as a source but it still comes to like 44k better than 56k without using the script though. Basically just want to make sure all the google ads / tracking is blocked since it seems like google play services acts as a source for generating ads for most of the installed apps on the phones.
 
Last edited:
  • Like
Reactions: jed84

NeedleGames

Senior Member
Nov 22, 2014
507
633
0
github.com
So the standard package list on SABS, from what source is that from? Is it based on steven blacks unified host? I used mmotti script he posted with unified hosts as a source but it still comes to like 44k better than 56k without using the script though. Basically just want to make sure all the google ads / tracking is blocked since it seems like google play services acts as a source for generating ads for most of the installed apps on the phones.
It's on github:
https://github.com/LayoutXML/SABS/blob/master/standard-package.txt
 

Txingudi

Senior Member
Nov 4, 2012
152
20
0
Spain
Hello to what name should be changed and how would the change be made with the apk editor? Which version is the one that needs to be installed ... Thanks

Enviado desde mi SM-G950F mediante Tapatalk
 

NeedleGames

Senior Member
Nov 22, 2014
507
633
0
github.com
Hello to what name should be changed and how would the change be made with the apk editor? Which version is the one that needs to be installed ... Thanks

Enviado desde mi SM-G950F mediante Tapatalk
https://imgur.com/Jn7eu2O.png

Change the circled name to any random name.
For example com.txingudi0.sabs. That way, you will know that no one has used the name (because it's your nickname), you won't forget it (although you can still look it up in sabs settings), and the lenght is the same as it was before.

It's APK Editor Pro, Common edit in picture.
 
  • Like
Reactions: Txingudi

mata77

Senior Member
Apr 6, 2010
121
12
38
https://imgur.com/Jn7eu2O.png

Change the circled name to any random name.
For example com.txingudi0.sabs. That way, you will know that no one has used the name (because it's your nickname), you won't forget it (although you can still look it up in sabs settings), and the lenght is the same as it was before.

It's APK Editor Pro, Common edit in picture.
Great, I have installed and now tested sabs.. Is it possible to hide the space left empty by the advertisement (like what happens on a p k m r r or r) as it happens with in normal adblocker? Thanks for the app

Inviato dal mio SM-G950F utilizzando Tapatalk
 
Status
Not open for further replies.