yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] dante0001:
Hey guys

So sadly the ads came back... I launched adaway and blocked them again then rebooted the phone it didn't change anything, i'm really disappointed in this app and do not understand why it's so popular since adguard does a far better job... There must be something i'm missing, is there a solution please ?

Many thanks ! :)
[Android Apps and Games] guest4711:
Did you check your APN settings for proxy settings? Did you disable chromes data compression?

If you did, you should provide more information so someone could try to help you. When do you see adds? In which apps? Where do they come from? Which blacklists do you use?
[Android Apps and Games] jaibar:
[MENTION=2822685]PerfectSlayer[/MENTION] builds (4.0x) the red text on gray background is extremely difficult to read on some screens, especially on daylight. Maybe you can add an option for a different choice of colors?
[Android Apps and Games] dante0001:
Im talking about in app ads not on the browser. I've seen them in dead trigger 2 and manga master. When i used adaway the first time there were no ads in these two apps.

Crappy ads about games on dead trigger 2 and instagram ads on manga master. What do you mean by blacklists, i just used adaway stock
[Android Apps and Games] guest4711:
So add

https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts

to AdAway's list of host sources and try again...
[Android Apps and Games] dante0001:
how do i add all that ?
[Android Apps and Games] ktmom:
In the menu under "your lists".

I'm just saying, complaining that an app is not good, while not understanding the basics of using it, is odd.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] dante0001:
I meant how do i add your link to my adaway
[Android Apps and Games] ktmom:
It's not self evident when you go to the menu and "your lists"? Just add the URL there.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] dante0001:
Says it's not valid :/
[Android Apps and Games] ktmom:
Click on the link to open it in a browser then copy the address from the browser.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] jcmm11:
Try this (it's a mirror of the one posted). You can copy the URL from here and then paste it into AdAway or just type it in manually

http://sbc.io/hosts/hosts
[Android Apps and Games] ipdev:
[MENTION=9119319]dante0001[/MENTION]

If you are trying to add a host list, you need to be under Hosts sources.

If you are trying to add a specific domain to your black, white or redirect list, you need to be under Your lists.
[Android Apps and Games] ondoin:
Does Adaway have any impact on performance or battery? Because some reviews claim so and they say the hosts lists are too large.
[Android Apps and Games] guest4711:
As I told you: Add it to the list of host sources: AdAway -- Three dots Menu -- host sources -- Add (+).

---------- Post added at 12:08 AM ---------- Previous post was at 12:05 AM ----------

I see no significant loss of speed. It saves time and bandwidth because the ads aren't fetched, so it's impact on SOT should be more positive...
[Android Apps and Games] ktmom:
My bad, that what I get for doing it from memory [emoji850]

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] ipdev:
We all make a mistake now and then. Those who admit it, or point out their own, are rare. :D

I added the host list with no problems. That's when I reread a few pages back and thought I may have been mistaken in what the user was trying to do.

So I offered a reminder on what went were.
[Android Apps and Games] dante0001:
Okay i just did it, i'll see if it works, thanks everyone :)
[Android Apps and Games] ondoin:
Is there any "light" list with just the main advertising companies?
[Android Apps and Games] sacredsoul:
Is Steven Black's hosts file enough for is there anymore I should add? I still see Google ads in search sometimes.
[Android Apps and Games] DiamondJohn:
The default lists on i9nstall would be that.

You have answered your own question. If you see ads where you don't want to see ads, then it is "not enough".

As for the location, if you are talking about www.google.com then maybe you should try a search engine like www.duckduckgo.com
[Android Apps and Games] tifter:
Check out YouTube Vanced

https://xdaforums.com/android/apps-games/app-youtube-vanced-edition-t3758757
[Android Apps and Games] sacredsoul:
So are there any additional sources you would suggest?
[Android Apps and Games] DiamondJohn:
I am at the extreme end.

If you search the thread, my lists were posted only a page or two back.
[Android Apps and Games] dante0001:
My device is rooted but can't install magisk or twrp... So i don't know if i can get youtube vanced

I've installed newpipe for now
[Android Apps and Games] PerfectSlayer:
Ok, I think this commit should fix the issue. It run some test with the font size settings and I worked for me. Please confirm with the next dev release.

That's easy. The keystore is loaded some environment variables are declared (keystore location and password, key alias and password). Just put some "echo" commands in the build script and you will leak the signing passwords.

Same thing if the keystore is an encoded file by travis. You will need to decrypt it during the build so just put an "curl" command to post it somewhere on your server.

And as I found useful to build the PR, anyone can make a contribution and leak the signing key.

Hey, it's open source here! It not my app neither!

Even if they are my contributions, they only serve to benefit to everyone... not to receive complains!

You want the app to be better? Or have a better app? Check here!

Actually, I have the mrRobinson's keystore. So my latest beta are signed with the same keys as the builds in the XDA thread.

But you still have another keystore that comes from F-Droid. And they won't share it ;)

(package should be the same by the way)

Hum… Okay! So I just coded it this morning :laugh:

Check the attached screenshots.

As the latest beta seem stable, I think we are getting closer to a release.

I don't know if I should wait for the app to be translated (ie update locales on Transifex, wait for translations, publish to F-Droid) or publish it right now (and wait for translations then republish it)? I am quite frustrated with Transifex. Is there any better tool to integrate with Github repository?

Dev version update:

While waiting for the stable version, you could test a new release which includes: (link updated to fix force close in adware UI)

A new light (white) theme,

A new adware UI (using LiveData and ViewModel for the 1st time!),

A fix for the overlapping status texts in the home screen.

(And yes, as it is open source, any help is welcome to buy a new device to replace my Nexus 6. So check my donation links if you can afford it :good:)
[Android Apps and Games] Toutatis_:
I'm getting a force close when opening "Scan for adware" section with this build. Attached log.

Cheers
[Android Apps and Games] Midomad:
I can confirm.
[Android Apps and Games] JEANRIVERA:
I can confirm too
[Android Apps and Games] PerfectSlayer:
Ok, thanks for the report!

Hum, I tried the debug build on my N4 and emulator and it works fine.

The release build seems to have an issue. According the log, it does not find the (existing) constructor of the ViewModel.

It might due to the scope (package instead of public) as requested by Class.getConstructor() in the Javadoc. I will have a look at it ;)

EDIT: Full log tends to confirm the scope issue.

Caused by: java.lang.IllegalAccessException: java.lang.Class<org.adaway.ui.adware.AdwareViewModel> is not accessible from java.lang.Class<android.arch.lifecycle.ViewModelProvider$AndroidViewModelFactory>

EDIT 2: Confirmed. I could reproduce the issue with the release flavor and fix it. I have update the link in my previous post with a new build.

As said, it was my first time with Architecture Components :D
[Android Apps and Games] Toutatis_:
No more force close with new build here. Thanks.
[Android Apps and Games] drjat:
Is it still numbered 4.0.4-180603.apk
[Android Apps and Games] Midomad:
Yes, and working fine.
[Android Apps and Games] kryzeK:
Loving light theme, thank you! Please, in a future update consider enable dark statusbar icons for the light theme. This would look perfect since the header items are already black.
[Android Apps and Games] m0han:
md5: 2b36e80bb082f53cd29cf95ccba4099b
[Android Apps and Games] Sophia.xda:
please updates the powerful #Adaway host sometimes there ads showing in Fb Messenger apk, IMO apk and other apps comes google ads & other ads.

I used all Ad filters and #host but "Fb Messenger apk, IMO apk and other apps" here ads are not going away still ad's are appearing.

Please help need a fix... thanks :'(
[Android Apps and Games] ktmom:
There is a reason why you can add your own host source or block specific sites. No default setup is going to meet the needs of 100% of users.

Please start with the adaway wiki page about host sources.

Then read through the wiki page for logging DNS requests.

Of course, if the ads are being served from the same servers as the content (looking at you FB), then blocking the ads might block the content as well.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] Sophia.xda:
Thanks from very far I using extra hostsources of Adway but now I'll try DNS Requests and blacklist the ad site

Maybe it will not display anymore annoying ADS !!
[Android Apps and Games] martyfender:
This lastest update did fix the overlapping text issue for me.

Thanks for all of your hard work!
[Android Apps and Games] oreo27:
Oh. So it requires that a GH contributor creates a PR that echoes the encrypted string?

Thanks for the update. I'll certainly be installing it.
[Android Apps and Games] carlese:
Guys I have some problems with adaway.. I have an app "Exercise Timer" that gives me "internal error" when clicking on the share button. If I disable adaway it works fine so the problem is that adaway is blocking something. I enabled tcpdump and the log doesn't show anything after clicking the share button, so what could it be?
[Android Apps and Games] ktmom:
Probably tcpdump is not working because your device is not SELinux Permissive. Go to your device forum and look for methods to change SELinux to Permissive.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] carlese:
It worked with 4.0.2 but not with 4.0.4..
[Android Apps and Games] ktmom:
Did you disable adaway to revert the host file, reboot, start tcpdump then go into the app and finally execute the button with the problem?

If you followed those steps to whitelist, them revert to the version that worked for you.

It's a very different problem that tcpdump stopped working with a specific release than my app doesn't work with adaway.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] carlese:
Ok it's not that adaway doesn't log anything.. I tried again and what happens is that adaway doesn't log anything from exercise timer, like it doesn't connect to anything, then I open instagram and adaway logs correctly. The strange thing is, how can this app work if adaway is disabled, but if enabled it doesn't log anything and doesn't work?
[Android Apps and Games] ktmom:
Did you disable adaway then reboot before trying to log actions within the app?

If you have log entries, how do you know they're not related to the exercise app?

The answer to your question is; something in you host file is blocking a request from the app. There is no other explanation for the app working with adaway disabled. You will just have to do the work whitelisting entries in the dump log until you find it.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] prathu30:
Is http://sbc.io/hosts/hosts down?
[Android Apps and Games] ktmom:
Apparently

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] carlese:
Found it (maybe)! I had to whitelist api.branch.io that popped up only one time..
[Android Apps and Games] DiamondJohn:
it appears to be back up again:good:
[Android Apps and Games] Gilfreitas:
how do I allow an app to show ads?

Sorry but I'm a beginner.
[Android Apps and Games] ktmom:
Start by reading the DNS logging entry in the adaway wiki.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] nomaramon:
App should have an option to import hosts source from a txt file, adding one by one is really tedious
[Android Apps and Games] guest4711:
Are you shure you speak about host sources? A host source in AdAway is the URL of a file containing lots of hostnames to be blacklisted.

In "your lists" you may blacklist or whitelist special hostnames. This lists can be exported, changed using any text editor and re-imported afterwards...
[Android Apps and Games] nomaramon:
Yes, I have multiple host sources, adding every single one was quite unpleasant
[Android Apps and Games] DiamondJohn:
I use a boot script which inserts ones that are not there, on every boot. When I flash a new ROM, it re-instates all the ones I had previously within the new ROM.
[Android Apps and Games] martyfender:
Isn't that over kill? I have heard that having too big of a host file will slow down your system, considerably. Like the use of MOAB, for example. Am I wrong?
[Android Apps and Games] pagebox:
I agree, maybe this thread is an idea: https://xdaforums.com/android/general/badmojr-one-host-file-to-block-t3713360
[Android Apps and Games] DiamondJohn:
Try for yourself. It may be specific to your device and rom and how you use it.

I originally used an under-powered 1GHz single core device with 512kb RAM and a huge hostfile. I cannot say I noticed the slowdown, but I am sure it was there, its just the benefit of ad-free running surpassed any noticeable ill effects.
[Android Apps and Games] s--c:
I haven't tested for long. But adaway + adblock reborn xposed module seems to work well on Android Oreo. Seems to get rid of empty spaces where ads are normally. More tested required though.

Anyone else with similar success?

Edit: conflicts with other apps. Not been updated so removed.

Can adaway implement this in future builds?
[Android Apps and Games] niliar:
Would you mind posting a copy of the script file, or just the relevant code section if the file does more than just that (did a search and saw two other mentions of a script but couldn't find actual file, apologies if missed)? Might be a better alternative for many than a data-only Titanium Backup restore if they want to readd large numbers of lists.
[Android Apps and Games] sergiomc22:
Hello

Is there any special configuration I must do to make Adaway block advertising? In Nougat it worked well for me. Now in Oreo 8.0, no.

Smartphone : Moto Z Play

Android Oreo 8.0

AdAway 4.0.3-b6a21a25

Root with Masisk 16.4

Thank you.

PS: activate the Systemless root option in the Adaway preferences, but even so, I have publicity, for example in the CamScanner application
[Android Apps and Games] Nergal di Cuthah:
Did you enable systemless hosts in magisk settings?
[Android Apps and Games] sergiomc22:
No. Let me see.

Enviado desde mi XT1635-02 mediante Tapatalk
[Android Apps and Games] ktmom:
If any ads anywhere are blocked (or the hosts file is larger than just a few bytes), then adaway did its job. You can use a different or more host sources, DNS logging off your device supports SELinux permissive or maybe the app is using direct IP addresses to serve the ads bypassing the host file. In the latter 2 cases, there is nothing Adaway can do about it.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] sergiomc22:
I tried to go on chrome to Google Analytics and it's blocked. So I guess Adaway is working.

I will try another apps to see if there are ads.

Thanks.
[Android Apps and Games] DiamondJohn:
Ads not being blocked is an indication that your host sources list is lacking in some way or the app is wrangling around the DNS path, not that Adaway is not working. Pinging a blocked host name would be a better test.
[Android Apps and Games] DiamondJohn:
I wouldnt mind, but it will take a LOT of work to make it work on your device/setup as I have a whole bootscript "environment" setup with includes etc that you would need to also install. It's all a "work in progress" so has old code not called, and is way more complex than the task at hand (built over multiple years for different cases and ROMs); lots of dead code and anarchic features.

So, here is the main script: https://www.hastebin.com/izidoxeyom.bash

The "meat and potatoes" are held in the function "checkhostsource", which also inserts the host source into the whitelist to ensure the host source isn't being blocked by AdAway;)

And here is the main include file (cut down) which sets up a lot of variables I reuse between my many many boot scripts, including this one.

https://www.hastebin.com/vukuparinu.ini

I think the above two should basically get you pretty close after culling the dead code and it also (can optionally) loads all the black lists from a directory of text files on my sdcard (see "dobadhostfile"). On second viewing, a similar system could of been used for the host sources as well. ie load a list of host sources from a file instead of explicit calls.

If you go about making it more generic so as it is self contained (ie not dependent on all my other cr@p), I would be more than happy that you shared for others who might find it useful.

Good luck, and I hope it helps.:good:
[Android Apps and Games] zgfg:
Sorry if this was already answered...

I have one particular URL that I need to whitelist: rink.hockeyapp.net

I can delete it from my hosts file or I can exclude 1hosts.cf from host sources (hockeyapp is blocked only in that source file) but I'd like to know how to whitelist and thus prevent that it gets blocked by future Adaway hosts file auto-updates

I saw (enabled by default) Enable whitelists option but didn't find where to enter my whitelisted URLs
[Android Apps and Games] ktmom:
Menu -> Your Lists

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] zgfg:
Tnx
[Android Apps and Games] Hedied4me:
Where do you find Blockada?
[Android Apps and Games] Bakica:
It's Blokada, just google it
[Android Apps and Games] guest4711:
Blokada v3 (ad blocker) (The ad blocker - battery efficient, fast, powerful and simple to use) - https://f-droid.org/app/org.blokada.alarm and a similar app: DNS66 (Block ads/hosts via DNS) - https://f-droid.org/app/org.jak_linux.dns66
[Android Apps and Games] githyanki:
http://lmgtfy.com/?q=Blocada
[Android Apps and Games] s--c:
https://blokada.org/index.html

Just came across it recently. If I wasn't rooted, I'd be using blockada. :)
[Android Apps and Games] JGradyO:
Probably not. AdAway manages your hosts file - that's it. It can't intercept and modify the HTML code that sets aside space for ads.
[Android Apps and Games] jcmm11:
As mentioned since AdAway only modifies the hosts file it can't remove the blank spaces. If you use Firefox install the uBlock Origin add-on and that will handle it. (Should also handle any ads that slip thru AdAway, although using AdAway will lower your bandwidth usage + handle apps other than the browser)
[Android Apps and Games] pkelly517:
Where are my fingers?

Can you type for me?
[Android Apps and Games] Hedied4me:
That would be great, please.
[Android Apps and Games] s--c:
Unfortunately I use Chrome. Hopefully it'll get add-on support. Firefox was little slow IMO. Hopefully minminguard does the trick. But for now I'll stick with adaway.
[Android Apps and Games] onolox:
Chrome will never have plugins. they said that.
[Android Apps and Games] daert:
You can try Samsung Internet with Adguard and ABP plugins. They can work together.

ABP lets you add filter lists, while Adguard lets you add single custom filter as ublock origin
[Android Apps and Games] androidfive:
Can anyone say me where i can find the last Version of Adaway?
[Android Apps and Games] :
https://xdaforums.com/showpost.php?p=76546451&postcount=11061

;)
[Android Apps and Games] fusk:
Didn't know that either. OP says the latest versions always are on XDA labs. This link: https://androidfilehost.com/?w=search&s=Adaway should be in the OP.
[Android Apps and Games] ktmom:
It's an in-development version. V3.3 in the OP still works fine. Using fdroid is also a choice.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] fusk:
True, true. The option would be nice tho.
[Android Apps and Games] ktmom:
Why would a developer want to encourage people to install an in-development release when those same people demonstrate they won't read the thread or wiki by filling the thread with questions that have been answered in both locations?

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] fusk:
I was thinking more along the lines of avoiding the repeat questions, but if that's something they don't care about then i guess that's fine too.
[Android Apps and Games] kantjer:
Best way to avoid repeat questions is for everyone to stop answering them, hopefully that will force users to start using the search function.
[Android Apps and Games] :
Dream on... :)
[Android Apps and Games] dviree:
Editing a site nthe whitelistsr crashes

Eg s.romania.com to *s.romania* crashes
[Android Apps and Games] ktmom:
What version of adaway are you running?

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] fusk:
That is not how people work. I've seen that many times, miscommunication between devs and users. Devs trying to get users to do one thing and users do the opposite because devs don't understand human behavior and users don't understand what devs want them to do.
[Android Apps and Games] IronTechmonkey:
[MENTION=8126387]martyfender[/MENTION], I also happen to use Android's native Largest (aka Huge) font setting on some devices but don’t think they experienced the same issue (due to different display properties or ROM variants). Just to be sure, could you say which version of Adaway you were using when capturing the screenshots attached to this post? https://xdaforums.com/showpost.php?p=76447517&postcount=11006. Thanks.

In any event I've used this as an excuse to jump from 3.3 to the latest test build (4.0.4-180603) on one device. The UI tweaks are very nice and even make the material design elements almost tolerable. Sorry for the side rant but, it is amazing how many highly polished, widely popular, paid apps drop that button right on top of interactive UI elements (worse at the aforementioned large font sizes), and it is very nice to see that does not occur in Adaway.
[Android Apps and Games] akashsriram:
Systemless mode is not working can anyone help me plz am using latest magisk manager and install 16.4v and system less mode is enabled
[Android Apps and Games] guest4711:
It has been discussed many, many times: The current version does not indicate it's use of a systemless host file provided by magisk.

It is essential to turn on systemless host in MagiskManager, REBOOT, initialize AdAway (download & merge host files), REBOOT, enjoy...
[Android Apps and Games] badmojr:
And the fight continues ...

https://ador.chorompotro.com/energized/

https://xdaforums.com/android/software-hacking/energized-protection-ad-porn-malware-t3803773/
[Android Apps and Games] patrickdrd:
oh my, another one? :eek:
[Android Apps and Games] badmojr:
not mine! ;)
[Android Apps and Games] peterlee928:
sbc.io/hosts still down for me... anyone else having the same issues?