yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Pkt_Lnt:
All teh good chit be on 4/1 d00d! :angel: :highfive:
[Android Apps and Games] geokilla:
I have systemless root enabled in Magisk. That's why I don't know why it's not logging the TCP dump and need help on it. I'm following all those instructions and have tried multiple times.
[Android Apps and Games] doctor78SI:
Anyone else noticed that using adaway the websites load longer and slower?
[Android Apps and Games] ipdev:
I just reread the wiki on DNS Logging and realized I do a few things different. I doubt it makes a difference though.

I close all apps and then open AdAway.

I select "Delete Log File" before I enable tcpdump.

I stop tcpdump before I open the log file.

If I disable Ad-Blacking, I do it before I enable tcpdump.

Before you tear your hair out, try this.

Delete the log file manually.

/data/data/org.adaway/cache/dns_log.txt

Open AdAway, Log DNS, and select Delete Log File. It should recreate dns_log.txt as a 0 byte file.

If it doesn't, it is device related and you'll have to look into your setup.

Test with an app that requests hosts, YouTube for example.

Example

Disable Ad-Blocking. (Revert host file)

Clear Data on AdAway. (SystemSettings->Apps->AdAway->Storage)

Reboot.

Open AdAway and select DNS Logging.

Select Delete Log File

Select tcpdump (Should change to Running)

Then start YouTube.(Scroll up and down in app for good measure.)

Then switch back to AdAway and select tcpdump.(Should change back to Not Running)

Open Log File

If that doesn't work, then it's device, setup or something interfering.

Magisk version or Magisk module? Do you run xposed, maybe an xposed module?

Did you check your device thread? See if someone else has, had or can reproduce the same error with AdAway.

Is this on 5T, S8 or both?
[Android Apps and Games] xflowy:
hey guys! two questions coming from a pixel 2 xl (rooted stock 8.1) user:

1. do i need to reboot my device after i updated the hosts file?

2. does it make any difference to enable systemless hosts file in magisk settings?

thanks a lot!
[Android Apps and Games] guest4711:
1. If everything is working as expected there is no need to reboot after applying chanfes to your host file. But some implementations cache the host file, so rebooting forces them to use the new one.

2. It makes no difference in operation. But to change the real host file you need to mount /system r/w. And the checksum of the /system partition will change, so OTA updates could become unavailable, safety net could fail a.s.o. So I'd prefer systemless mode in Magisk.
[Android Apps and Games] xflowy:
thanks!

2. i guess systemless only makes sense if i have no other mods installed, which interfere with the system partition. since i also use viper arise and active edge mod in magisk, theres no need to do systemless adaway, right?
[Android Apps and Games] ktmom:
If you are using Magisk modules, they are handled systemlessly.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] geokilla:
This is on my OnePlus 5T. I followed your instructions and tried using Coffee Meets Bagel and www.pinnacle.com, which are the two app/websites affected by AdAway's ad blocking. A new log file was created but it was still blank. Then I tried TCP Dump again, this time browsing YouTube and the log file is still blank. So TCP Dump definitely isn't working.
[Android Apps and Games] ktmom:
Have you pulled and looked at a logcat covering the time you attempt a tcpdump?

You could also try using a different tcpdump method.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] :
Copying of Host files failed!

I've been using Adaway for long time, never had this problem.

Using Dirty Unicorns for months without any issue but recently decrypted my Oneplus 5t to flash stock OxygenOS then after flashing Omni Tresk Mod ROM with Magisk, I'm having this issue.

Tried Adaway v3.2 & v3.3, systemless Host in magisk & even flashed unified Hosts adblock magisk module, I get same error in AdAway "Copying of Host files failed!

Can someone please help me.
[Android Apps and Games] DiamondJohn:
Logcat
[Android Apps and Games] :
https://pastebin.com/92Fnxn2z
[Android Apps and Games] ktmom:
Could you kindly edit your post, remove the log and attach a link where you posted it at pastebin.com

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] ktmom:
Thank you for editing.

Have you tried Adaway-4.0.4-180603.apk? Remove existing install. Reboot for giggles. Make sure systemless hosts is toggled on in Magisk manager, then install the developer release.

Edit:

BTW, are you SElinux permissive or enforcing?

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] DiamondJohn:
07-18 18:34:31.819 E/AdAway (12008): [COLOR="Red"]Remounting as RW failed![/COLOR] Probably not a problem!
07-18 18:34:31.847 E/AdAway (12008): Exception!
07-18 18:34:31.847 E/AdAway (12008): org.adaway.util.CommandException
07-18 18:34:31.847 E/AdAway (12008): at org.adaway.util.ApplyUtils.copyHostsFile(ApplyUtil s.java:186)

Can you manually remount your system as RW?

can you manually edit the /system/etc/hosts file?
[Android Apps and Games] :
Thanks for the reply.

SElinux was enforcing.

Yes, tried v4.0.4 also same problem.

I flashed Dirty Unicorns just now, everything is fine.

---------- Post added at 08:13 AM ---------- Previous post was at 08:08 AM ----------

yes, tried to remount system with terminal, but there was a error "read only filesystem".

So flashed dirty unicorns, now everything is fine.

---------- Post added at 08:14 AM ---------- Previous post was at 08:13 AM ----------

yes, tried to remount system with terminal, but there was a error "read only filesystem".

So flashed dirty unicorns, now everything is fine.
[Android Apps and Games] osm0sis:
[MENTION=2822685]PerfectSlayer[/MENTION] you should fix the thread title to make it say OFFICIAL. Way overdue. ;)
[Android Apps and Games] osm0sis:
Duplicate post. Please delete.
[Android Apps and Games] PerfectSlayer:
Done! :good:

That was one of the easier user request..!

About the application, the new design on the tcpdump feature is nearly finished (some screenshots are coming).

I also changed the database back-end (from SQLiteOpenHelper to Room) but I need to test the data migration before releasing a new dev build.

And I'm also having a long discussion with topjohnwu to improve its libsu API in order to use it in AdAway.

Last but not least, I should have some help about translation from [MENTION=2148774]Vankog[/MENTION] :fingers-crossed:
[Android Apps and Games] marciozomb13:
[MENTION=2822685]PerfectSlayer[/MENTION] is there any special reason for not merging translation update pull requests? I submitted a pt-rBR about 3 months ago and still open. Thank you for your time.
[Android Apps and Games] Vankog:
That's exactly the reason why I'm coming in ;)

Managing translations is a bit of a hassle and obviously on a lower priority for the main devs right now.

I am going to get involved with the translation management in hope to keep Transifex synced with manual PRs like all those Stringlate PRs. I think this should increase the merge speed. To help me with this, you could have a look at your PR and rebase it, because there were quite some changes to the Strings lately.
[Android Apps and Games] leapfrog2:
Wondering if anyone knows a fix, but I cannot use Hotspot while adaway is enabled. I turn on the Hotspot and it says error. On the laptop, it will say connected, but limited access. If I disable adaway, it will work just fine.
[Android Apps and Games] marciozomb13:
If this is a open source project, I strongly recommend you to take a look on the Crowdin site. Is by far the best tool for collaborative translation, and is free for Open Source apps! Thanks.
[Android Apps and Games] melphoi:
Anyone know which address to whitelist Facebook Messenger the original or the lite version because on my girlfriend phone, it keep shows loading icon and the profile picture of friends didnt showed up.

Thanks in advance
[Android Apps and Games] shaqman89:
Don't really have issues with both, using the default hosts.

Anyway, DNS logging should be your friend there.
[Android Apps and Games] acsway878787:
Try this one:

scontent.xx.fbcdn.net
[Android Apps and Games] ktmom:
Sounds to me like the captive portal check is blocked. Use [URL="https://github.com/AdAway/AdAway/wiki/LogDNS" ]DNS Logging[/URL] to sort it out.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] dolons:
Hello I hope you could help me. I'd like to use the list. https://www.i-dont-care-about-cookies.eu/abp/

If I enter the link under host it will not load because it has no *.txt at the end. I copied the list manually and pasted it into a *.txt file, downloaded it to my mobile phone and loaded it into adaway. But unfortunately the solution is not ideal because I don't get any updates. is there an easier way?
[Android Apps and Games] shaqman89:
That host list is for adblock plus, not for adaway.

Adaway only filters base on domain name, so that list shouldn't do anything other than making the host file long.
[Android Apps and Games] leapfrog2:
So I checked it out and I can't tell which ones I need to whitelist. I turned on my Hotspot, waited a few seconds, went to the log and looked. Most of it was from other apps like Amazon, Google api, etc. How do I know which one to whitelist for Hotspot to work?
[Android Apps and Games] ktmom:
You have to make educated guesses. You could whitelist everything and see if it's better. Then start deleting from the whitelist until it's broken again. If think it's likely related to a Google domain.
[Android Apps and Games] dolons:
I know. Thats why i use the way with the *.txt File. I ask if anybody know a different easier way to update the list.
[Android Apps and Games] jcmm11:
That list is useless for AdAway - it does nothing for you. Look at the contents of that list and compare it to the contents of a "normal" AdAway list. Your list has entries to modify the HTML code in a web page. AdAway deals strictly with host names and does nothing with the HTML code
[Android Apps and Games] leapfrog2:
So I turned on tcpdump.

Went to settings, and turned on Hotspot.

Went on my laptop, found the wifi, logged on.

Couldn't connect, sometimes it says connected and the wifi signal no longer has the little triangular icon on it but it still can't connect to websites. I.e. Google.com.

Turned off Hotspot and checked the log

Whitelisted everything

Rebooted, tried again, still unable to connect.

Any other thoughts? It definitely works when I actually disable adaway itself.
[Android Apps and Games] Nevaran:
The app doesnt work on Chrome browsing 9anime?

Seems to be working on installed apps but browsing that side in particular, nothing seems to be blocked, from banner to 'new tab' ads.

Edit: Zamunda.net also seems to not get all ads blocked(getting side popups on top of other things + banner ads)

Using S7 Flat rooted original rom
[Android Apps and Games] guest4711:
Did you disable "Data Compression" in chrome? Otherwise it cannot suppress the advs...
[Android Apps and Games] Nevaran:
I disabled "data saver" if thats what you mean
[Android Apps and Games] DiamondJohn:
[MENTION=4372104]dolons[/MENTION], all what has been posted is correct (AFIK). And there is no "easier" or easy way. However, if you really wanted the list to be updated automatically, you could create a boot script that downloaded the file (wget or curl) and then grep the lines into adaway format, or even insert them into the AdAway database blacklist table. I have also seen where URL's have used "content://" to access local file instead of web based files. As I said, not easy. And the list is not name server specific, for example, it blocks google translation if you were to simply include all the host names mentioned.
[Android Apps and Games] spawnlives:
Hi

I have been noticing a minor issue with 4.0.4 ( same with earlier versions) but works ok with 3.3

From the main screen going into menu item and then back to main screen it seems as though it is reverting back to initial state of when you open adaway.

Eg: open adaway - check for update if update available then go into any menu item ( host list for eg) then come back to main menu and the update notification is not there so you have to check for update again.

If option to 'check for updates is enabled on startup' then start adaway - it checks for update when finished checking go into any menu item then return to main screen it checks for updates again.

Also it does not give me the reboot notice after update.

Everything else is ok.

Options set in adaway - dark theme, systemless mode and allow whitelisting.

Device is a Samsung s8 stock nougat 7.0 using latest (beta) magisk/manger.

Haven't provided any logs as the is no error but can do so if needed.

Edit: I forgot to mention I have tried clearing cache/data as well as un/reinstall as well still the same.
[Android Apps and Games] Saswata Chakraborty:
Hi,

I did a security scan on VirusTotal and Adaway apk was reported as PUP.HighConfidence by Babable (Result: https://www.virustotal.com/#/file/e...3ef4aabb663d34c8e582fa80ef6a1835c5f/detection).

I downloaded the apk from F-Droid (Link: https://f-droid.org/packages/org.adaway/).

I was wondering if it is a false alarm.
[Android Apps and Games] jcmm11:
A couple of points:

PUP = potentially unwanted program

So that indicates some choice in the matter as opposed to a flat out malicious program.

It gets flagged by one program or of what 60+ or thereabouts? Do you really need to ask if it's a false positive? I'd strongly suspect a false positive if it was flagged by less than 25%, or even more. Also depends on the reputation of the engines doing the flagging (discovering that requires a bit of research).

Bottom line - yes it's absolutely a false positive.
[Android Apps and Games] Saswata Chakraborty:
Thank you for clearing my doubt..:good:
[Android Apps and Games] DiamondJohn:
Sorry to state the obvious, but only if it has been downloaded from the correct source.
[Android Apps and Games] nixie2121:
Im sorry if this has been discussed as a search brings up a lot of items that does not answer my question. What is the Enable webserver option for? Should I use it? thanks
[Android Apps and Games] ktmom:
The Local Webserver in Adaway provides a response to a redirected host rather than letting the DNS request go unanswered a will happen without it. In some cases apps will crash without a connection to a server, some phones have functionality issues with out a webserver response and sometimes it can speed up websites loading which are waiting for ads to load to complete.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] guest4711:
Tl. Dr.

It does not hurt to enable it.
[Android Apps and Games] xdarthanonx:
From the in-app help:
[Android Apps and Games] martyfender:
This sounds very interesting, but when I use this address in adaway, it shows local not available and online not available:

https://raw.githubusercontent.com/jawz101/MobileAdTrackers/master/hosts

Is there another address to use to download it in adaway, or do you need to make changes on that page, for it to be available for download in Adaway?

That was in version 3.3 of Adaway, although I have the newer, 4.0.4, beta version, I am testing on one of my devices.

EDIT: Apparently it is downloading and merging with my existing http://sbc.io/hosts/hosts file, after all.

Thanks
[Android Apps and Games] martyfender:
http://sbc.io/hosts/hosts

is a Steven Black mirror, that works well with Adaway. And I edited my post above that it is working and merging with my other list after all, it is just not showing the offline and online status and dates, the same as Steven Blacks on github:

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

which is why I think there is a mirror of it, that does show this info.

In the new beta version 4.0.4, those dates don't show because, unfortunately, they were removed.

That is why I am still using v3.3 and only testing the new version on one of my devices. I wish it could be added back as an option toggle, in the new version, though.
[Android Apps and Games] patrickdrd:
https://adzhosts.fr/hosts/adzhosts-android.txt isn't working, has it been moved?
[Android Apps and Games] jcmm11:
https://adzhosts.hizo.fr/hosts/adzhosts-android.txt
[Android Apps and Games] PerfectSlayer:
Thanks for sharing!

I admit I have particular knowledge in blocklist. So I am not able to maintain it.

Moreover, developing the application itself takes me a lot of my spare time.

As Vankog will be helping for translation, I am more than interested if anyone want to join the project and help to maintain the hosts sources.

There is a wiki page about this topic: https://github.com/AdAway/AdAway/wiki/HostsSources

But I think this kind of information that should be display within the application itself.

You see, user only see URLs and do not have enough information about the source itself.

It is the same idea that hosts sources are not only an URL.

According your feedback, I wonder if hosts sources UI should not evolve to provide a list of richer elements:

- to display a title (new),

- to display the URL,

- to display an optional description (new),

- to display the last date of source update (missing from 4.x version),

- to indicate wether or not the last update was installed,

- to disable it (the current checkbox).

As the user do not have an huge number of sources, it should be okay if each list element is higher.

More over, I could (later) add another tab with source recommendations.

So you will only be one tap away to add some other (famous or trustworthy) sources.

But in order to make this kind of improvement, I need someone to provide and maintain some hosts source definition :angel:
[Android Apps and Games] jawz101:
I'd just prefer a "Last downloaded" datetime and maybe a setting that lets you say "only update lists that haven't been downloaded in a number of dd:hh:mm" or something. And cache the previous download. That way if you're messing with your lists you don't have to keep going out and redownloading all of them.

All of the other values seem like too much maintenance. If it was handled like blokada where you can click a button and pull in new optional source list definitions from another repo. That way it's not like you have to keep updating the app to update the list definitions.

At that point I guess descriptions and junk could be maintained but the source l hostfile URL is enough for me, personally. "MOther of all Ad Blocking" list is friendly I guess but, as you can probably tell, I get pessimistic about list quality if the list itself hasn't been updated in months or years or I find it has a bunch of dead hosts. That's why I'd probably ignore a description.

As for the [MENTION=4336485]rottenwheel[/MENTION] thing- what [MENTION=221687]Mart[/MENTION]fender said. :)

And GitHub hosted lists are known to not show an update date. I think I've read the new Dev versions of Adaway address that quirk.

And thanks [MENTION=2822685]PerfectSlayer[/MENTION] for not slaying me. I don't like being critical of the original list because it's dismissive of the work up until then, and I wouldn't have been able to make a list without this tool he made to make it.
[Android Apps and Games] niliar:
A polite request from one of those with a huge number of sources: if not too much programming hassle or complexity, could we have the ability to collapse/expand this expanded list view if implemented? The current list details would not be a bad option for the collapsed view.

Also, would it be possible to combine the check for updates and download (if changes detected) into one button press rather than the two it currently takes? I seem to recall one press being standard prior to 4.x but maybe wrong.

Thanks for your work

EDIT: Also with jawz, not sure you need to maintain the host details info yourself, you could also just add extra text fields when adding a new host file and allow user to enter info if they want (maybe only title) otherwise it would just display like now with url as title
[Android Apps and Games] patrickdrd:
it doesn't seem to be working now
[Android Apps and Games] jawz101:
Well, if it was not implemented, I'm just thinking if list details weren't implemented I'd be fine with it.

If a way to add details was implemented, I'd think precanned descriptions for precanned lists would be ideal because then each person doesn't have to add them unless they add a non-default list.
[Android Apps and Games] guest4711:
The list AdZHosts migrated their website, there was a temporary link yesterday (adzhost.hizo.fr) that went offline for today because they finished the migration to adzhosts.eu.

Use: https://adzhosts.eu/hosts/adzhosts-android.txt
[Android Apps and Games] jawz101:
@PerfectSlayer, while I'm speaking up, I don't know if you have considered removing the "scan for adware" feature? It only looks for like 12 ad companies while there are at least this many. Personally, I might recommend directing people to Exodus Privacy to scan apps for adware. F-Droid partnered with them as well as the Yale Privacy Lab to remove junk from F-Droid apps along with a utility to scan your current apps for over 130 different tracking libraries

github

app download links: play store,f-droid

Plus, it would reduce the code complexity I would think. If not, I could get you about 100 or so more code signatures to look for :/
[Android Apps and Games] IronTechmonkey:
As limited as the adware scanner may be I've found it to be helpful at exposing a few apps (to later be removed or firewalled) without the need for an additional scanner. It would be nice if it could be improved but I do hope it is not removed (even though I can understand the reasons for suggesting that).
[Android Apps and Games] :
This app/hosts just slows down browsing in 40% of my sites I visit. Currently cleaning hosts file back to stock. What's the point?

Thanks for the app though
[Android Apps and Games] IronTechmonkey:
... or you could contribute constructive feedback with details and logs to find out why performance is impacted on your devices while it is not on most others. This is a development thread, and that is the point. ;)
[Android Apps and Games] :
My apologies if I sounded rude, but I realized the white list section and I'm not going to air my laundry here, so I've got to add about 30-40 addresses [emoji37]

So I'll continue to use it and contribute and findings.[emoji12]
[Android Apps and Games] DiamondJohn:
If you read the thread, you will find that running a local web server may avert that issue.

But thanks for your comments though.
[Android Apps and Games] :
Now working satisfactory. Great app!
[Android Apps and Games] fatspirit:
Are 4.* labeled releases a fakes?
[Android Apps and Games] patrickdrd:
is there a mirror for https://raw.githubusercontent.com/jawz101/MobileAdTrackers/master/hosts

because I'm having trouble adding it to hostsman (it says server doesn't provide all information and source is incompatible) plus adaway says local not available, online not available)
[Android Apps and Games] Ja_som:
https://xdaforums.com/showthread.php?t=2190753&p=76438086
[Android Apps and Games] PerfectSlayer:
Definitly! It is the kind of thing I don't want to happen when the version 4 will be released! :crying:

It is a good idea! But what will be the use case?

I mean, I won't send all the user installed app package information into Exodus platform? (or at least, not without clearing explaining why!)

Can we elaborate on this idea?

Absolutely! It took me months to find hundred of commits that could look legit to add to the git repository and build and APK which successfully fake original signature :victory: