yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] ktmom:
How big are the hosts sources you are downloading to make the hosts file? Are you adding lots of domains?

I'm thinking that you might retry with just a single simple source and see if that works.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] anwar amu:
I already done that sir. You see.. adding domain into whitelist meaning that another apps that use the same domain as source could show the ads.

And the domain list will keep increasing as the developer added new domain. So it would be more simple just to have specific app white list.

Thanks

WhatsApp now could use pip mode to show directly YouTube from chatt, And adaway host blocked them. The problem is.. it dns requests keep changing.
[Android Apps and Games] Portgas D. Ace:
I think the user you quoted didn't speak about AdAway not being updated but about the host source, which the user in the post before his talked about.
[Android Apps and Games] IlD4nX:
I have the same issue sometime, and I have to reboot to make it work again... But it's a weird issue considering the host source I actually have!
[Android Apps and Games] shaqman89:
You know whitelist could be used with wildcards.

In your case, you could just whitelist *.googlevideo.com

That, at least should solve the dns request changes, but of course it's not app-specific, which is not feasible using a host based solution.

There are app-specific solution that don't use a host based solution, if you really need it.
[Android Apps and Games] Dorisnov:
I'm having problems with the redirection: In the server name i cant put the Netease server (music.163.com) cause Add is disabled. Changing the numbers for letters and Add button enables.
[Android Apps and Games] curiousrom:
Apps To Create Flashable Hosts File for Un-Rooted Devices

Method 1: If your un-rooted device has a custom Recovery it's very easy to create a flashable adblocking hosts file with the free AdfreeZip - TWRP flashable hosts file, reboot & flash it.

Or use the app on an unrooted phone, copy the zip to your TV box & flash it.

I attached a flashable hosts.zip that AdfreeZip created in less than a minute. :eek:

***

Whitelist in AdfreeZip

In AdfreeZip's settings you can add additional hosts lists & URL's to the whitelist as seen in the screenshots.

To spot the URLs to whitelist it's a little more complicated than the AdAway method that [MENTION=8531988]ngshixuan[/MENTION] described here.

You could use OS Monitor found on F-Droid and some of ngshixuan's steps to capture the connections & export it in .csv format. Then copy/paste the URLs you want to a .txt doc > copy back to device & copy/paste each URL into AdfreeZip.

The F-Droid page says "OS Monitor won't support Android 7.0 and following versions" but that's not true for the Connection part at least as it works fine on my S3 LineageOS 14.1 (7.1.2) & S5 LOS 15.1 Oreo.

You can also use wildcards.

That whitelist option is not currently mentioned nor shown in a screenshot in AdfreeZip's Play Store page & will send a comment about it to the dev.

To monitor connections you can also use Connection List Free or Network Connections that have a nicer UI & more bells & whistles but you cannot export unless you get the paid versions. Network Connections free has a ten entries export limit which is pretty useless.

***

Method 2: On a rooted device using AdAway tweak your hosts file to taste then using the free ZIPme create easily a TWRP flashable zip as shown in the screenshots: > + > System > Hosts (Ad Block file) > OK > Create. It zips your current /system/etc/hosts file which can then be flashed on the un-rooted device.

***
[Android Apps and Games] kos25k:
thanks dude!I had to think this earlier..now is.too late as I unrooted my tv.box (vorke z6).and unfortunately nobody tells me how to install twrp to flash hosts from there..[emoji26]
[Android Apps and Games] osm0sis:
Most ROMs with addon.d used to automatically back up and restore hosts. If that's changed that's really annoying.
[Android Apps and Games] :
LineageOS is taking already care of the hosts file in his backup file in addon.d.

So I'm never reinstalling the adaway hosts for after LineageOS update.
[Android Apps and Games] mad-murdock:
It is annoying. At least OmniROM does not backup hosts.

So maybe creating a flashable .zip which has to be flashed once after a clean install would solve the problem. It does not seem like it will be added to AdAway by itself?
[Android Apps and Games] osm0sis:
Just steal the addon.d script from Lineage.

Interesting though, Lineage backs up hosts but doesn't have FlashAfterUpdate. Omni has FlashAfterUpdate but doesn't backup hosts.
[Android Apps and Games] PerfectSlayer:
I looked at the server sent headers and Last-Modified is well sent.

I also tried on my development device and it seems working. (see attached capture)

Could you check again and report with logcat if you still have issue?

I had a look to my code as I thought there was a timestamp issue.

But all the dates I parse (HTTP headers, GitHub API dates) and use (java.util.Date) are UTC.

So I don't know where the issue could come from =/ Otherwise, it could be the date of the commit itself being in the future but it is not likely.

Could you check from times to times if it still happens? Otherwise will have to setup a dedicated GitHub repository to test… Thanks!
[Android Apps and Games] curiousrom:
TV Box?

Sorry, I don't have or know anything about TV boxes but here you go to get you started: site:xdaforums.com/ vorke z6 how to install custom recovery on tv box

***
[Android Apps and Games] Emu:
No more issues. It fixed itself after StevenBlack updated the hosts file.
[Android Apps and Games] x.trinity:
Everything seems working..

Yes, I found it working probably a few minutes latter, but when I run the update for the first time, I got that update issue tho :svetius:
[Android Apps and Games] PieceKeepr:
I tried updating each one individually and it worked fine. Weird that it just started doing this. I've never had the problem before.

Rebooting did not work for me. I backed up and then clean flashed my rom and it worked again like it used to. May be time for a fresh Install.
[Android Apps and Games] DiamondJohn:
Maybe a logcat before and after.Just sayin, not that I would of done it myself...;)
[Android Apps and Games] OronDF343:
I updated to 4.0.10, now I'm getting "Not enough storage space". Tried /data/data/hosts and /data/hosts but it fails to create the symlink. Magisk 17.1 / S-OFF / Oreo
[Android Apps and Games] patrickdrd:
actually there's a bug in the new version, 4.0.10.

when I choose to download and apply updates the last updated date is gone from the raw.github sources and

I have to press "check for updates" again in order to receive it,

why did I lose it? I shouldn't be losing it, [MENTION=2822685]PerfectSlayer[/MENTION]
[Android Apps and Games] Pkt_Lnt:
Because Lubarsky
[Android Apps and Games] SkubiDoo:
Latest Xiaomi.eu & latest Adaway & latest Magisk 17.1

I followed the instruction:

Path hosts in preference set as /data/hosts & boot to TWRP.

TWRP terminal:

ln -sf /data/hosts /system/etc/hosts

Reboot to system and adaway I can update hosts. After reboot I still can see ads.

hosts file is around 1,69mb

Who can help?
[Android Apps and Games] PieceKeepr:
That's the exact problem I just started having. I can update from a single source at a time but not from two or more at once.
[Android Apps and Games] OronDF343:
Updating from a single source does not work for me.
[Android Apps and Games] zpower:
[MENTION=2822685]PerfectSlayer[/MENTION] it's possible to add a option to use app in English instead force local language?

Thanks for your work :)

Enviado do meu Aquaris X5 Plus através do Tapatalk
[Android Apps and Games] ogisha:
Hi guys,

Anybody knows https version of following hosts

http://winhelp2002.mvps.org/hosts.txt

Thanks you very much.
[Android Apps and Games] Nergal di Cuthah:
No https yet. I have it in my lists because I used titanium backup from 3.2 to get it in my 4.x adaway
[Android Apps and Games] DiamondJohn:
I would of thought with all the free online converts. for many things, that some website would of supplied a free service that "channelled" a url, through their own https servers; but I do understand that its a cost for no obvious direct gain, but there is TOR. I did a quick web search and was surprised I didn't find one:eek: anyone else had a look or know of such? I thought one of the private styled search engines may do such, but the actual links to the found websites are direct.

=====

actually, just thought of another search term ("secure proxy") and ended up finding the following www.proxyssl.org, which resulted in

http://www.proxyssl.org/search.php?...CYEWL8sU+A==&key=77450607e78c6638&opt=0&fl=nr

where if you manually add in the "s" to the protocol gives you

https://www.proxyssl.org/search.php...CYEWL8sU+A==&key=77450607e78c6638&opt=0&fl=nr which appears to work :highfive:

By default their redirect takes you to http, but if you manually add in the "s" (as in https), the url also appears to work. I have not tested the final url in AdAway.
[Android Apps and Games] osm0sis:
Unfortunately doesn't appear to work outside of your own browser session. Good idea though. Maybe that server should also maybe get with the times however.
[Android Apps and Games] DiamondJohn:
Im guessing thats a case of getting what you paid for. I saw a lot of paid/subscription services available that may somehow work differently. ie I am not sure how you would connect / be identified on something like a mobile device with a changing IP, for a paid service. But with something like TOR available, it just seems a little strange that no-one would offer, what in my thinking, is similar to a single step (ie a proxy) of a TOR ring, or even a HTTPS entry point into full TOR.

I think they have got with the times, in that they are not giving it away for free. I remember back in the early days when there were a number of free services to send free SMS messages over the web.
[Android Apps and Games] osm0sis:
I meant the hosts site still using http instead of https. Hopefully they get with it. :)
[Android Apps and Games] Chaplan:
Most users are rooting with Magisk and use systemless hosts.

Magisk systemless hosts have always survived ROM updates as long as I boot rooted.

Flash ROM update, flash magisk (on OMNI Magisk addon.d kicks in so not needed) and boot with the hosts I had before updating in place.

This works for Nandroid /data restores also.

The only scenario this gets off the rail is uninstalling Magisk and installing it again, then downloading hosts and a reboot would be needed, I don't really know if this is what is being discussed though.

A backup/restore hosts sources in AdAway would be welcome though.
[Android Apps and Games] Zorachus:
Just installed AdAway on my Pixel 3 XL. What are the recommended extra hosts I should I add ? Or other settings to make it best?
[Android Apps and Games] jlee08517:
Honestly the default is good enough for majority of people. If things start not working start white listing.
[Android Apps and Games] vietnam100:
I have Android 9. How do I get the app to run. Either it lacks a shortcut or is too low storage space. Xiaomi Mi Mix 2s. Thanks in advance. Adaway 4.0.10.

Gesendet von meinem MIX 2S mit Tapatalk
[Android Apps and Games] m0han:
+1. hope the dev would be able to do something about this.
[Android Apps and Games] vMAC:
Steve Black's hosts
[Android Apps and Games] vMAC:
Anyone had any luck with a curated Spotify host source?

I used to use Chef Koch, but alas that list is no more.
[Android Apps and Games] Ultramanoid:
That is not a question that has anything to do with AdAway development; there are a lot of similar queries, sometimes taking up whole pages of the thread : 'My favourite hosts file is no more', 'what to do to allow / block X', 'please recommend best for X', etc, etc.

It would be very appropriate and much more useful for everybody if someone opened a thread devoted to hosts file sources.
[Android Apps and Games] rypz79:
GJ ? and happy B-Day ?

Can the OP pleaae update the AdAway version on the thread's title ? we're at [4.0.10] now

TnxAloT

?
[Android Apps and Games] Pkt_Lnt:
The OP will be updated when the 4.x app comes out of beta and testing.
[Android Apps and Games] vietnam100:
Before that I had no problems with Android 8 and Adaway 3.3. The advertising was hidden everywhere (apps, websites) everywhere. Now with Android 9 and V4.0.10 does not work anymore. Can someone please help me and explain how this works again? Many Thanks. Translated with Google translator.

Gesendet von meinem MIX 2S mit Tapatalk
[Android Apps and Games] ktmom:
There is an issue with http:// sources on Pie. This is not Adaway, but a change in the way Google designed Pie to block http:// sites in favor of forcing websites to go to https://

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] DiamondJohn:
Maybe this one?

Yeah, I'm full of "good ideas" that don't work, but most don't use the word "ideas" when discussing what I am full of.:(

The following one worked for me when I pasted the URL into a separate/unrelated TOR window. :highfive:

https://ssl-proxy.my-addr.org/myaddrproxy.php/http/winhelp2002.mvps.org/hosts.txt

I created the link at: https://ssl-proxy.my-addr.com/

I found the site with a web search of the term "free online https proxy". So there maybe be more than this one option. It was simply the first I came across that worked in an unrelated TOR window.

The fact I can "decipher" the source link from the new URL, is also a good indication it does not rely on session states. :good:

Again, I did not check how it operates within AdAway, as I am running the older version, on an Oreo ROM that does not have the whole HTPS issue. ie its not personal;)
[Android Apps and Games] shaqman89:
Nice concept. And it does seems like it's working.

I tested this on Pie using AdAway 4.10.

See screenshot.
[Android Apps and Games] Saswata Chakraborty:
Adguard users claim it to be faster and more effective than Adaway. Such a bold claim!!! I was wondering if someone could share their opinion here.
[Android Apps and Games] ktmom:
Just my humble opinion -

This is a development thread. Discussing/debating/arguing the merits of this app or any other really doesn't belong here.

The general discussion forums are a better place for that type of discussion and I know that there are already existing thread(s) discussing the pros and cons of the various "ad block" alternatives. I've even looked them in this thread before.

Preventing pages of back and forth on non-development related subjects is benefit to Adaway users. It becomes easier to find the relevant release information. Particularly for English as a second (third, Google translate) users.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] craigevil:
https://filterlists.com/
[Android Apps and Games] Adamk102:
https://www.ab-solution.info/use/hosts-files.html

Wysłane z mojego MI 6 przy użyciu Tapatalka
[Android Apps and Games] kgirlx:
Hosts files

Anyone have the actual Steven black hosts files address to put into adaway.. I've tried 2 and both say not online. Thanks
[Android Apps and Games] ktmom:
The github link works fine for me: https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] vietnam100:
4.0.10 local webserver not work?

Gesendet von meinem MIX 2S mit Tapatalk
[Android Apps and Games] ktmom:
Working for me. What problem are you experiencing? Turn on debugging in Adaway then grab a logcat covering when you turn it on.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] vietnam100:
Where can I find the file?

Gesendet von meinem MIX 2S mit Tapatalk
[Android Apps and Games] vietnam100:
Adaway not working on Android 9?View attachment 4626419

Gesendet von meinem MIX 2S mit Tapatalk
[Android Apps and Games] IonutGherman:
Working fine for me.
[Android Apps and Games] ktmom:
It also works fine for me on Pie (Essential PH-1). Is that "not responding" response when you apply hosts or turn on webserver?

How to logcat.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] craigevil:
http://sbc. io/hosts/hosts
[Android Apps and Games] ktmom:
The http site will not work, without modifications, on Pie.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] vietnam100:
That is to complicated for me. Adaway is not as easy on Android as V3.3. I'm going back to Oreo. There are no problems. Downloading the host sources does not work. Enable web server is not working. Adaway hangs up.

Gesendet von meinem MIX 2S mit Tapatalk
[Android Apps and Games] peterlee928:
good luck. my phone is android pie and adaway works. :good:
[Android Apps and Games] ktmom:
Remember that this is a developer's site and this specifically a development thread. Pie is new and Adaway 4.x is a beta. It's more than helpful for users with problem to invest time in helping to identify those problems. Particularly when others with similar setups are having no trouble.

You should go back through the thread and read posts, especially around the various 4.x releases. There have been many discussions about the changes Google made in Pie and how it affects Adaway.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] TogoFire:
Bug

IMG: https://prntscr.com/la3wua

https://prntscr.com/la3wqr

https://prnt.sc/la3yhd

LogCat: https://app.box.com/s/eu0vi522sudwi57z303t9gntv9b3xism

Bug Report: https://app.box.com/s/032izszjlezc2aycg1lmwnbm4sikmajy

---------- Post added at 11:54 PM ---------- Previous post was at 11:46 PM ----------

Thanks :)

---------- Post added at 11:56 PM ---------- Previous post was at 11:54 PM ----------

AdAway updates: https://androidfilehost.com/?w=profile&uid=890129502657583021
[Android Apps and Games] lov86calv:
Same with the other Downloads list that so popular. We can change our computer anyway.
[Android Apps and Games] roxion22:
am getting ads in wallpaper app by adchoices! what should i do? i use default hosts provided in adaway?
[Android Apps and Games] ktmom:
Start with the Adaway wiki.

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] SOCOM-HERO:
Having lots of ads on Tapatalk. Any solution?
[Android Apps and Games] infatality:
Buy the pro version.
[Android Apps and Games] anwar amu:
Hi, after spending about an hour to log and whitelisting dns from pip mode YouTube in WhatsApp. I 'm able to make it worked again. But somehow it still being block somettimes and i need to start process log and whitelisting. ?

Would you mind to give me some more information about wildcards?

I'm still thingking about adhell app whitelist is good feature to add in adaway though.

Thank you
[Android Apps and Games] Ultramanoid:
Just a thought...

AdAway is a hosts file manager. The first and only definitive solution to prevent adware issues is NOT installing or using adware.

Which in this day and age turns out to be also good privacy / safety advice, if one wants to avoid tracking, spyware, data mining and malware -- which is what adware has become. Don't add insult to injury buying a 'pro' version from the criminal.

Find a ( sometimes, yes, slower, uglier, less capable ) alternative. Promote and donate to open source. Buy an old-fashioned, money-in-exchange-for-product piece of software that does not promote itself with a vulnerable and damaging spyware-laced tracker version that is 'free' and oh so pretty.
[Android Apps and Games] shaqman89:
I'm not sure what more information I can give.

In essence, you could whitelist a similar set of urls by using wildcards.

Eg: rather than whitelisting:

s1.youtube.com

s2.youtube.com

Etc

You could just whitelist:

s*.youtube.com

Maybe sharing also what you have whitelisted so far might help others who are having the same issue.
[Android Apps and Games] BookCase:
Been getting this error for the past 2-3 days. "Copying hosts file failed" Any ideas?
[Android Apps and Games] BookCase:
My hosts
[Android Apps and Games] DiamondJohn:
logcat.
[Android Apps and Games] jerryspring:
Please update description. This is on 3.3, not 3.2 like xda labs says. Thanks.

---------- Post added at 12:02 PM ---------- Previous post was at 12:02 PM ----------

Clear data...then reboot. Then open again and set up. Download 3.3
[Android Apps and Games] SOCOM-HERO:
Haha, not worth $10. Last 5 versions have had systemic photo viewing issues on several forums. They just barely fixed it in the last update. Whatevs, I just report their ads most of the time since it is scantily clad women for fake dating sites. If they ads were better, I'd consider just dealing with it. I have ad personalization turned off and still get these gross ads.
[Android Apps and Games] BookCase:
Apparently, it's an issue with my ROM. I'm going to have to wipe the phone and re-flash the rom, i think. All of my apps are force closing and I did what you said to no avail.
[Android Apps and Games] kinfolk248:
how effective are such?

---------- Post added at 07:20 PM ---------- Previous post was at 07:06 PM ----------

How is 4.1 treating you guys?
[Android Apps and Games] BookCase:
Quite effective. Also, I just learned my kernel has adaway built in.
[Android Apps and Games] kinfolk248:
i just added them and Im SOOO glad that 'adchoices' ads dont pop up anymore...so far lol
[Android Apps and Games] Zorachus:
Do I just copy and paste that link into the AdAway host section, then refresh and reboot ?
[Android Apps and Games] craigevil:
No that is a list. I suggest either Steven Blacks or Energized blu.
[Android Apps and Games] Zorachus:
https://github.com/topics/ad-blocker

Copy and paste that into my hosts list ?
[Android Apps and Games] ktmom:
That is a summary of hosts sources available on GitHub.

Look at the attached pictures.

1) Starting with the link you posted, click through to Steven Black's list.

2) Then click through the "readme" to get to the matrix of available Black sources.

3) Finally, choose which of the sources "recipes" you want to use and click through the "raw hosts" to get the actual source. That URL is what you must add to the Adaway hosts sources.

NOTE: anyone using Adaway 4.x and/or Pie needs to read through the thread and become familiar with why non-https urls are a problem and how to fix it in Android (not Adaway).
[Android Apps and Games] Zorachus:
Thank you ktmom

So I just added this to AdAway hosts

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

Is that correct?
[Android Apps and Games] ktmom:
Yes

"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
[Android Apps and Games] Aghoraswami:
Hi Guys can anybody help me I have issue where in adaway displays message of "not enough space " on the partition.

I have tried everything mentioned in the forum and also in the help about changing partition and updating each hosts file individually but of no use.

Only when I disable 1hosts.cf then only I get no issues. It works properly.

Guys how to rectify this? I have attached my all hosts file screen shot .

Thank you in advance.

Edit :

Device : Land

Adaway : 4.10

ROM : RR Oreo 8.1 official

No exposed or any other adblocking app.

Magisk 17.1 stable

Forgot to add to earlier post.
[Android Apps and Games] DiamondJohn:
post your logcat.

Also get the space available on your partitions.

df -h;
[Android Apps and Games] Aghoraswami:
Hi

A really noob question how to take a logcat and to find out partition sizes?

Thank you for replying.