yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Wolfcity:
I'm using the GitHub build (update through app or directly from XDA downloadlink).

I also think StevenBlacks and hegazi should be enough to reproduce and I absolutely understand that it's not easy to compare the whole thing with different settings and also when you're running the VPN build.

So I will install 6.1.3 tomorrow and try to log the update issues. Any log app you prefer?

And thanks for your fast response!
[Android Apps and Games] PerfectSlayer:
Here is what I tried this morning:

* Pixel 2 using Magisk 27

* Fresh install of my dev build using root mode

So far, the application installs and syncs properly.

* Enable verbose logging

* Kill and restart the app

* Add the Hegasi host file and sync

The apps reach 281k blocked hosts in a timely manner.

* Disable all sources

* Sync (this will drop most of the hosts context from database)

* Enable all sources back

* Sync again (this will force to download, parse and combine all sources)

It takes about <1 minute and successfully complete with the same number of blocked hosts (281k).

I checked at the logs and found nothing in particular other than a logging issues.

@Wolfcity Would you mind testing my dev build and report with a logcat? (I signed it with release signing key)

About the log app, you can use the one you prefer, and filter by package (with `org.adaway`) before sharing.

Just keep the complete log somewhere on your side, I might ask you more details/entries later on a specific time slot if I find anything.

And don't forget to enable verbose logging from AdAway settings and restart before capturing logs ;)
[Android Apps and Games] Wolfcity:
Ok, I tried to reproduce your process.

- fresh installed your dev build in root mode.

- enabled verbose logging.

- kill/ restart app.

- sync with disabled sources.

- add hegazi and StevenBlacks (got around 281k blocked hosts in about 30 sec).

- everything logged with Logcat Reader Professional.

- got 3 logs filtered by AdAway app.

Everything seems to be working good!

If something isn't ok with the logs (incomplete, forgot something) let me know, I will try again than.

Logs are attached with .txt ending as usual.

Edit:

Still device is Xiaomi Mi9T/Redmi K20 running xiaomi.eu A11.

Rooted with Magisk 27 stable and Shamiko. For sure systemless hosts activated.
[Android Apps and Games] osm0sis:
The issue I've always seen is when you do the initial sideload of AdAway and its data gets automatically restored from Google's backup, but because the backup includes the counts it shows and behaves wrong until you clear app data and set it up fresh.
[Android Apps and Games] Wolfcity:
Ok.... I never use app backup, not Google nor swift backup. For me setting up a new ROM is a good option to clean up the device and install only the apps I definitely need. What I don't miss is what I don't need anymore ;) The only things I backup is contacts and similar stuff, so AdAway is always installed freshly as all other user apps are. Only exception is when I don't update AdAway but install it fresh (in cases like this).

I always delete data/cache when doing so.

I hope I understood your post correctly.
[Android Apps and Games] Zimty86:
I have a problem with Adaway and the hosts file,

There was once a module here so that systemless hosts file goes, can give me this again ? I can't find it here anymore
[Android Apps and Games] bombadier:
Add it from the menu in Magisk
[Android Apps and Games] zgfg:
Module for what?

KSU, APatch, what - you don't need anything extra for Magisk (just to enable Systemless hosts in Magisk and reboot)

If it was here, it should be still, just search😁

For Kitsune, you need to properly configure SUList in Kitsune (Kitsune thread)

Or google for eg

GitHub Systemless hosts

and you will find the needed modules for KSU or APatch
[Android Apps and Games] m0han:
One for KernelSU can be seen in the screenshot.
[Android Apps and Games] Tracker31:
hi guys I have weird problem with AdAway, libwebserver.exec task running in background starts randomly consumes 100% of CPU core in background. It makes phone drain battery and overhear a lot. Is it local server? I tried some thinks clear data and cache, fresh install wipe all hostiles instead of stock and now trying 6.1.2 version in case if something was broken in 6.1.3
[Android Apps and Games] PerfectSlayer:
So it looks like everything went fine with the dev build, right?

I could not find issues from log either.

Is PID 13663 libwebserver from your screenshot? Did you encounter similar issue with past version too?
[Android Apps and Games] Tracker31:
yes it was libwebserver.exec so I see this problems for 2 week looks like maybe after update AdAway or after update Android to June on pixel 8 pro. I installed 6.1.2 and there is no problem with this behavior but server doesn't start even if cert is installed so maybe temporary solving but no server use option for now
[Android Apps and Games] Wolfcity:
I deactivated the Hagezi host list, it was new for me anyway, it seems to cause some problems (only 4 sources are shown instead of 5, had to sync several times a day). I will check some other host sources and if the problem persists/reappears I'll let you know.

For the moment the dev build is working.

Thx!

Maybe roll back to 6.1.1 for the time being webserver is working there definitely. Can't say anything to the background consuming.
[Android Apps and Games] eng3:
The past few weeks

I noticed my battery life was terrible the past few weeks. Battey apps didn't show any apps or wakelocks. I started monitoring cpu usage and noticed libwebserver 100% often. I disabled the webserver and my battery life is greatly improved now. (I also have about 25-50% usage from system_server but not sure whats causing that, seems unrelated) I remember for a while the server wouldnt start at all and a fix was rolled out.

I posted before about adaway selectively not blocking ads at all for me. Over the past few weeks (around the same time the battery issue started) it started working for me. I did have to reinstall chrome at one point so maybe completely clearing all the data did the trick.
[Android Apps and Games] Wolfcity:
After some logging I found out that on my rooted Xiaomi Mi 9T (A11) AdAway 6.1.3 (stable and dev) the libwebserver is working but also consuming a lot of battery because of high CPU usage.

As on 6.1.2 the webserver wasn't working at all I made a backup of my lists, deleted cache/data of AdAway, uninstalled it and installed 6.1.1. and restored my lists

That one is working well, webserver is running and no high battery drain.

I have to say that it's no problem for me to use AdAway without webserver/certificate but I wanted to know if it's working.

@PerfectSlayer : Maybe you should compare 6.1.1 to 6.1.2 instead of 6.1.2 to 6.1.3.

If any logs are needed again let me know!

Edit

:

Logs added (verbose)

Synced without sources

Synced with sources
[Android Apps and Games] eng3:
I'm on the Mi 14U. Maybe Xiaomi has something to do with it too.

I also seem to have no issue without the webserver, I think it should make stuff load faster since it will fail immediately vs waiting for a timeout. I'll try to go back to 6.1.1 when I get a chance but I'm trying to figure out my issue wtih system_server using cpu. Do you see the same on your Mi? It's not at 100%, more like always 25-50%
[Android Apps and Games] Wolfcity:
Could be Xiaomi related. I sent some logs to perfectslayer a few posts above.

I'm not sure how high the CPU usage has been but it wasn't definitely not 100% but enough to make "others" the most consuming app, more than screen or browser. Could be around 50/70 %.
[Android Apps and Games] eng3:
libwebserver was at 100% for me at least for a while. I was manually checking via terminal. Nothing showed up in battery usage stats but I don't think it shows services like this. I've been monitoring my battery drain over time and it's around 2X better now that I disabled the webserver.

The system_server is less than 100%, only 25-50% but I'm 99% sure it's unrelated to adaway
[Android Apps and Games] Wolfcity:
I tested with BBS and (for comparison) with GSam.

BBS shows the libwebserver under "processes".

At the moment I have GSam installed and it shows 5s CPU foreground activity in about 80 minutes.

As AdAway doesn't consume anything important except the webserver both apps doesn't show any relevant consumption if

a) 6.1.1 is running (and maybe older)

b) webserver is deactivated

c) both

It would need more user input to make sure what's the culprit of it all.
[Android Apps and Games] eng3:
BBS doesnt support Android 14.

I didn't see libwebserver in gsam, not sure if it would catch it
[Android Apps and Games] Wolfcity:
BBS catches it.
[Android Apps and Games] PerfectSlayer:
So it feels from your reports the web server is draining battery, even in 6.1.3, but you can't find what is triggering the issue, right?

Webserver in 6.1.2 is definitely broken (it should not even start) but I won't if it can cause battery issue as part of the upgrade to 6.1.2... Like the system is desperately trying to upgrade the lib / binary to a non-working version, and the only way to get back to a clean state is to stop the web server from a (upgraded or downgraded) working version.

It was fixed in 6.1.3 but that includes a Mongoose update. Most of the changes for the update are related to TLS handling: https://github.com/AdAway/AdAway/co...16091f3d60f120ff6d245aa9313b1ed1c82c4b728b459 (Go to Files changed tab, and Load the last one webserver.c) but you can have a look if you think of something.

I did try instrumenting hosts update but Sentry custom instrumentation tracing API is such a pain 🤮 I don't want Sentry to leak into my codebase and they don't support OpenTelemetry tracing API on Android. I will keep thinking of another solution but I still don't want anything intrusive (neither for the user nor the code base).
[Android Apps and Games] maanski3:
I was able to enable AdAway blocking successfully with your app, mrRobinsonn. It doesn't work on some games but it's ok. It's good to have AdAway back nevertheless as it helped blocked ads from most apps. Thank you! I don't know what I'd do without AdAway. :)
[Android Apps and Games] bubbleboi:
This app is wonderful. Kept me from spending money that I didn't really have to shell out. Thanks!!!
[Android Apps and Games] BladeRider:
Thank you Mr Robinson for developing and release the app.

Hope you can continue the effort in the future
[Android Apps and Games] ph3n0mII:
/deleted
[Android Apps and Games] soundping:
If your adaway has been hanging on »www.ismeh.com/HOSTS

A new address has been added http://adaway.sufficientlysecure.org/hosts.txt

The new address can be manually added.

*Open AdAway.

*Click on the android menu button(left one used for settings).

*Click on Hosts sources.

*UnCheck (ismeh.com/HOSTS).

*Click the (+) in the top right corner.

*Add new host address (http://adaway.sufficientlysecure.org/hosts.txt)..Click Add and your done.
[Android Apps and Games] Benoox:
Thanks i started to worry about ads once again after google block add block from play store (irony)
[Android Apps and Games] zsyhan:
I didn't even know adblockers for android exists. Thanks
[Android Apps and Games] ~kyle:
[MENTION=4694107]ph3n0mII[/MENTION], you might want to read the post linked below and respect the OP's wishes.

http://xdaforums.com/showpost.php?p=39279703&postcount=73
[Android Apps and Games] maanski3:
Oh..nooo. I meant that was before I realized AdAway was removed in the Playstore that's why it kept on making an error :P But when I put in mrRobinson's AdAway by passing the Playstore, it was able to automatically add the host file. But thank you for the manual instructions, soundping. I'll keep that note in mind. :)
[Android Apps and Games] zgroten:
This seems to have stopped working as well for me as it has in the past.

Many apps have ads getting through. If anyone has found a solution, or has been experiencing the same issue, please let me know.
[Android Apps and Games] bobbyphoenix:
Update to the newest host files if you're not on them yet. Then clear all app cache with something like CleanMaster or App Manager III. Then reboot before opening any other apps. I use App Manager III Pro myself. Once it loads all the apps it prompts to clear cache. Works great. After reboot AdAway should work as it should.

Follow the white rabbit....
[Android Apps and Games] zgroten:
This worked! Thank you so much.

Its funny I did a full wipe and reinstall of my ROM on my phone but what I didn't realize is that I was restoring with carbon.

I basically backed up my problems.
[Android Apps and Games] mkanet:
Boy, when this app is disabled, it's sure obvious when web browsing! I had upgraded from Android OS 4.1.1 to 4.1.2; and, noticed webpages were plastered with tacky ads. Sure,enough, when I opened Adblock, I noticed it said, "Disabled" in red. All I had to do was enable it; and, was updated with valid hosts files to use. All it good now. Thanks for all the hard work for this app.
[Android Apps and Games] bads3ctor:
I just discovered my adaway apk gone from my tablet and I was pissed! Google auto deleting apps from my tablet....f*ck Google. Thanks for the compiled apk....I also donated to the adaway dev.
[Android Apps and Games] 47th_Ronin:
^^^ nice avatar man...

Used to love that show....

Now i gotta go watch Farscape lol
[Android Apps and Games] twistkill:
I use adfree. Its still the lightest (only 600 odd kb) and works better than every other 2mb+ apps.

http://adfree.bigtincan.com/adfree.apk
[Android Apps and Games] jpcenon22:
I just want to say

Thanks!!! hahaha
[Android Apps and Games] peped94:
when i enable adaway and then go to website such as adfly, the website can load but it seems like it not load until finished . all the image in adfly website is not load . i also cant see the 'skip ad' button but it was there since i can press at the skip ad button position(eventhough it is not appear) . btw, i have whitelist the adfly . how to solve this problem ? most of website nowadays have direct to adfly to dload something:crying:
[Android Apps and Games] lesp4ul:
You have to open hosts file in adaway settings or in /system/etc/hosts with text editor, find adfly line and delete it. But you have to do it again each time after updating host.

Or you can do a trick with opera mini, paste adfly link on it, when wait counter running write "javascipt:" in address bar without quote. It will skip and redirect to 'click here' page.
[Android Apps and Games] peped94:
but i have tick allow redirection and whitelist at setting . but it does not work . im using dolphin browser
[Android Apps and Games] worknman:
I heard it is a big hit on performance as well.
[Android Apps and Games] sublimaze:
Are you suggesting Xposed causes a performance hit? Xposed is a framework. It does not use extra cpu cycles or resources like an app continuously running in the background. Your device will not take any more of a performance hit with or without Xposed enabled.
[Android Apps and Games] LucentBirch:
I just had my YouTube ads disappear for a couple of days and now they're back again...weirdest thing I have ever seen...
[Android Apps and Games] gaurav2009:
Ah i thought it was only me starting to get annoying ads on youtube,if anyone able to get rid of the youtube ads then please do share here..
[Android Apps and Games] Cookie Ninja:
Try to add l.ytimg.com to your blacklist in adfree/adaway. In case you want to do it manually, edit /system/etc/hosts and add that to your list.

Dead Cookies leave no trails...
[Android Apps and Games] angelcalibur:
Hello!

What is te different between this apps and AD-B that we can find in STweaks for alucard kernel?

I'am using Slimsaberkat rom.

Thx for your help!;)
[Android Apps and Games] swat4samp:
Can i add only hosts which i manually add to blacklist and remove default host sources? I don't need system wide ad blocking, only in a particular app. Is it possible?
[Android Apps and Games] an0n981:
That is not how the hosts file (the file where AdAway adds its entries) works.
[Android Apps and Games] bberryhill0:
You can turn off the hosts sources and add your blacklist but the blacklist will apply to all your apps.

Swyped from my Verizon LG G2 using Tapatalk Pro 4.5.2
[Android Apps and Games] bogdan1980:
One month ago it start on youtube, i need to refresh videos to play. Msg with network down appear. Or gplay start with network down msg, need to refresh. Does that on few routers, on s2 with 412, g2 on 4.3, note 3 on 4.3 and other on 4.4.2. What could cause this? I know it's adaway fault, with it off youtube, gplay reload or start ok. What could google change to cause this?
[Android Apps and Games] Quinnaay:
Just downloaded this now and Xposed Youtube Adaway :) thanks!
[Android Apps and Games] swat4samp:
Ok then. I use minminguard which works perfect for all apps except for tubemate which doesn't open at all. So only blocking those which i add in blacklist alone isn't possible with adaway right?
[Android Apps and Games] Pons:
Blocking those SITES/URLs alone in AdAway's blacklist is possible, on a system level. Blocking individual apps is not.
[Android Apps and Games] swat4samp:
So, if i unselect the default host sources and only add blacklists manually and apply adaway, the ads won't show on apps which use that address, am i right?
[Android Apps and Games] bberryhill0:
Sounds right to me. Try it.

Swyped from my Verizon LG G2 using Tapatalk Pro 4.5.2
[Android Apps and Games] andrisrozkalns:
Amazing apk. All Google ads are gone.
[Android Apps and Games] borda01:
I have a problem with latest AdAway app.

Suddenly stopped blocking ads i Chrome. In all other apps ads are blocked.

What's going on ?
[Android Apps and Games] Cookie Ninja:
Chrome uses data compression and pipes traffic to your browser bypassing the hostfile. You need to disable that in your browser settings (dunno which settings never used that crap Google-sponsored browser, I simply freeze/disable/delete it), or better still, get an alternate browser. I recommend Firefox.

Dead Cookies leave no trails...
[Android Apps and Games] jmindset:
I agree. Firefox is 10x better than chrome. On both desktop and mobile.

Sent from my LG-LG870
[Android Apps and Games] Exostenza:
Is it possible to get adaway blocking the ads in YouTube? Didn't have a problem with adfree.
[Android Apps and Games] dimm0k:
CPU usage

is there any way to determine what may be "hanging" due to a redirection to localhost that a program I have may be trying to reach? seems like when I have AdAway enabled my CPU usage is a bit higher than normal when idle than when it's disabled.
[Android Apps and Games] BlackX777:
After a change from SuperSU to Superuser, the original app works fine. So maybe the problem is SuperSU
[Android Apps and Games] khanmein:
bro how to edit? using root explorer/file manager faced FC issue or loading too long & quite lag when typing
[Android Apps and Games] ckyy:
Don't bother, it doesn't work.
[Android Apps and Games] Cyclu:
Next time if you want edit effectively your host file the best to do it's use this application Hosts Editor:

https://play.google.com/store/apps/details?id=com.nilhcem.hostseditor&hl=en
[Android Apps and Games] Natakranta:
YouTube ads

Has anybody found a way to block YouTube ads without using exposed?

Is it due to YouTube apk update? If so to which version should I come back?
[Android Apps and Games] USBhost:
Try this I haven't had a chance to test them

Add these host sources

http://pgl.yoyo.org/adservers/serverlist.php?showintro=0;hostformat=hosts

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

I got them from adfree app

They may be the same as adaway but who knows
[Android Apps and Games] 12gage:
do you mind specifying? Does this mean you white list them or black list them? I was also having issue with the new NFL Now app, it plays an ad every time you open the app and if it's disabled it just hangs on a black screen, I can get it to work if I disable AdAway all together, but doing that every time I'd like to open the app is a pain. Any suggestions?
[Android Apps and Games] N3droX3:
I also get these youtube ads since i updated to the version 5.7.36 / 5.7.41. I have Adaway and Adblock Plus installed but nothing really blocks those ads. I've got a friend. He is using the same Youtube version as me and he is using adblock plus without root. But he doesn't see any of the ads. I can easily block those ads by installing older versions but then i can't watch the videos in 1440p anymore because there aren't any options in those early versions.
[Android Apps and Games] BACARDILIMON:
Non of the ads that use to be blocked are blocked anymore. Am I doing something wrong.
[Android Apps and Games] bogdan1980:
Do not use youtube 5.12, use 5.7 or test anything between.

On 5.12 they change ads injection, and ads appear everywhere, even in another window on top of clip window.

Tested 5.7 and its ok, no ads.
[Android Apps and Games] Natakranta:
I have 5.9 and adds are coming through AddAway :(

I'm downloading older Slim gapps to get older version. I'll update my findings.
[Android Apps and Games] j1gga84:
Will there be an update to AdAway in the (near) future because last update was in March or is there no need for an update ;)

Regards and thanks for your work :)
[Android Apps and Games] Natakranta:
5.7.41 from Slim gapps and still adds are coming through :(

Which exact version are you using?

This is annoying.
[Android Apps and Games] shaunnicho:
If you use xposed there's a module on that blocks YouTube ads. Wish they had a chrome one
[Android Apps and Games] Natakranta:
Thanks. I've heard about that module but I'm trying to avoid Xposed.

I'm hoping for AddAway update to fix it.
[Android Apps and Games] jcsww:
I went to apps and uninstalled the YouTube updates. No ads again, thankfully. Hopefully someone can get around to updating AdAway soon. Disabling auto updates is a good thing as well.
[Android Apps and Games] shobuddy:
I have not seen an update to the host file in over a week. Is this consistent with others out there? Normally I see an update to host file every two to three days so just wondering.
[Android Apps and Games] wintrxtrem:
Same here, no update in a while.
[Android Apps and Games] N3droX3:
Someone from the Adblock Plus team said that Google is sending us those ads via https. So there are currently no way to block them.
[Android Apps and Games] USBhost:
Then we can block it

We just need to get the host name of the https ad server
[Android Apps and Games] bogdan1980:
Ok, so, for all of you with ads problem, use 5.7 or older youtube, adaway and adway xposed module. If still not working, use older version free of ads, v4.0.23. This is last version before google put ads on youtube apk.

V4.0.23 modded, HD on 3g,wifi if you want, zero ads, this apk does not include ads, woek on older and newer android,

http://www30.zippyshare.com/v/80087414/file.html

Or use v4.4.xx, its modded, it has hd on 3g, wifi if you want.

http://www30.zippyshare.com/v/62155762/file.html

Or v5.3 non modded, oficial

http://www30.zippyshare.com/v/59699891/file.html
[Android Apps and Games] N3droX3:
Older versions are not a option for me. Because i only have 1080p and 1440p in 5.7.41 and 5.9.12. If i downgrade, i only have 720p. And for watching videos with 720p without ads, i am currently using the mobile version of youtube. I have already tested the modded version of the youtube app. Unfortunately Google is blocking all 1080p Videos now on that app.
[Android Apps and Games] bogdan1980:
How do you know that google block 1080 on modded apk?

Edit, you are right. 1080 not work on modded apk, 4.0,4.4.

5.7 work, didn't test any less then 5.7
[Android Apps and Games] Natakranta:
Thanks a million!

5.3.28 from your 3rd link doesn't display adds but it doesn't show video picture next to video name. See my screen shot.