yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] x.trinity:
Yes, definitely.

No matter what circumstances are, always , [after reboot], I get that message on screen.
[Android Apps and Games] DEVILOPS 007:
I got that with the old 3.3 and the new one. Not with 3.2 though. Any ideas [MENTION=2822685]PerfectSlayer[/MENTION]?
[Android Apps and Games] x.trinity:
Never seen that message on 3.2 tho.

What Android version are you on?
[Android Apps and Games] mrRobinson:
agree, all relevant. pm'd someone to convert to devdb. I'll redo the OP a bit, someone sent me a nice format, I'll credit them and edit. then once devdb [MENTION=2822685]PerfectSlayer[/MENTION] can add/modify with his changes.
[Android Apps and Games] Magoo222:
Same here on my nexus 6p with 8.1 AdAway has stopped
[Android Apps and Games] osm0sis:
I think you can do it yourself at this link: https://xdaforums.com/devdb/project/?task=import :)
[Android Apps and Games] DEVILOPS 007:
Don't have the issue with 3.2. with 3.3 I got the problem. I'm on Oreo 8.1.
[Android Apps and Games] PerfectSlayer:
I think it is related to this: https://github.com/AdAway/AdAway/co...c90b#diff-c9235d184a580eff7d3baaa8b81e3f53L31. I had to update the target to Oreo in order to build binaries with the latest SDK/NDK.

But targeting Oreo will cause issue using context.startService() here: https://github.com/AdAway/AdAway/bl...java/org/adaway/service/BootReceiver.java#L41. See Oreo migration documentation. It could explain the error on boot.

If it really is the cause, the good news is I already fixed it in the 4.0 (like notification channel). The bad news is I planned Oreo support for the 4.0 version only... Can someone provide a logcat to confirm?

The version 4.0 will open the Magisk settings when you click on systemless mode. It should be more user friendly ;)

Thanks you! :good:
[Android Apps and Games] xXx:
Here is a screenshot of a logcat proving it's an context.startService() issue. This happened on my OP5 running Oreo 8.0 and Magisk 16
[Android Apps and Games] jcmm11:
[MENTION=2822685]PerfectSlayer[/MENTION]

Suggestion for 4.0

Setup a way (quick tile would be perfect) to temporarily turn off the AdAway hosts file by unmounting the bound hosts file. To turn it back on simply reissue the relevant mount --bind command.

I have scripts that do this for both SuperSU and Magisk if you'd like examples. One thing the script doesn't currently do, that I think I'll implement, is to flush the cache for all my browsers (3 at the moment) + Webview. And I'm currently using Tasker to implement a quick tile that simply toggles the current state.
[Android Apps and Games] x.trinity:
Im taking under the consideration reverting to 3.2.
[Android Apps and Games] osm0sis:
Yeah, honestly though, throughout all these complaints and fixes re: Magisk, 3.2 has worked absolutely fine for me. Whatever the issue was, it was a regression introduced in the beta.
[Android Apps and Games] x.trinity:
Yep.

4.0 sounds promising I will give it a chance tho

Otherwise I will stick to 3.2
[Android Apps and Games] PerfectSlayer:
Keep in mind it is still a beta! That is exactly why I did not want to hurry and update the F-Droid version.

I just have updated the announcement post to notify of the regression. It should be fine for Android < 8 users.

(I do not have a recent device which runs under Oreo so I tested Oreo migration using an emulator and I don't reboot it often!)

I already have the fix but I will wait the original sign keystore before making a new release. ;)

What about the users which use "system" mode? Is-it okay to only have a quick tile to enable / disable ad-blocking? (it will download and install hosts again…)

Because there is a similar request on Github: https://github.com/AdAway/AdAway/issues/995
[Android Apps and Games] RedSkull23:
Version 3.3 runs great on my Honor 6X, as usual systemless hosts are grayed out but I'm an Xposed user so it doesn't matters :) keep up the good work guys!
[Android Apps and Games] MrBrady:
I see talk of 4.0. is it available for download?
[Android Apps and Games] Pkt_Lnt:
Not unless you have a time machine to get you to the future. :D
[Android Apps and Games] MrBrady:
Ah, got it
[Android Apps and Games] dreuzel:
Version 3.3 Essential for redmi note 4 android 7.0 but seaway is only running half.

Log DNS requests can not be used.

Tcpdump. Can not be activated ?

Anyone with same problems?

Any advice ?

---------- Post added at 08:52 AM ---------- Previous post was at 08:49 AM ----------

Adaway. Not seaway clearly sorry
[Android Apps and Games] keerthiraja1988:
I am using AdAway version AdAway-release_Build-Feb.08.2017 in Android Nougat 7.1.1 in Lenovo K8 note. I am using Magisk Manager for Super User or Root Manager.

I have enabled Systemless root in Magisk manager version 16.0 and applied adblock. When I restart the mobile host file changed to default stock host file.

Please help.
[Android Apps and Games] prathu30:
Use 3.2 simple:D
[Android Apps and Games] oroboros74:
I'm sorry, I don't understand. Can you explain this (related to systemless option greyed out)?
[Android Apps and Games] guest4711:
Systemless hosts is handled by Magisk (if installed). To change the setting you have to use MagiskManager if Magisk is installed.

So this option in AdAway 4+ will redirect you to MagiskManager (if applicable).
[Android Apps and Games] ..Cory..:
Great Adblock! Been following this thread for years and it works 110%! One thing though... lots of alternative news media outlets are blocked in this host, so if you follow alternative news you will have to edit out most of your favorite sites.
[Android Apps and Games] ktmom:
This app doesn't block any site. It facilitates using the source list you choose (or not if you just use the default). Maybe there's a list more appropriate for your tastes.

"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
[Android Apps and Games] ..Cory..:
"in the host"

Butttttt I think I'm okay with just editing the host file instead of looking for a whole new one lol, cool quote though bro.
[Android Apps and Games] jcmm11:
For people running in system mode I guess you would have to do it that way. Basically the tile, for them, would simply duplicate the current option within AdAway to disable/enable. But for systemless root systems it just seems more efficient to not have to redownload the hosts file.
[Android Apps and Games] oroboros74:
In other words, it's greyed out not because it's not available, but because it's already activated via Magisk?
[Android Apps and Games] guest4711:
Yes, you could say it this way...
[Android Apps and Games] rjm831:
A quick tile that enabled the DNS logging - now THAT would be something!
[Android Apps and Games] dreuzel:
On adaway 3.3 is DNS logging working? On android 7.0 redmi note4 tcpdump does not activate.
[Android Apps and Games] PerfectSlayer:
Hi all,

I just received the mrRobinson keystore to sign the builds. So I add the Oreo boot fix and update the release.

So it should work fine with Oreo and new users could update from 3.2 :good:

If everything is okay, I will update the OP and the F-Droid version in the coming days.

Changelog:

Add support for ChainFire's SuperSU "bind sbin" systemless mode - by PerfectSlayer

Improve systemless activation error handling - by PerfectSlayer

Improve su location detection - by tstaylor7

Update Mongoose webserver - by MrRobinson

Replace CyanogenMod references by LineageOS - by experience7

Update translations - by Mattter, mission712, ThomasSmallert and muzena

Fix translation attributes - by Vankog

Fix Magisk 15.x support - by pec0ra

Please note:

This version is signed with mrRobinson key. So could update from 3.2 without uninstalling it,

If your feedback is good, I will update the OP then the version on F-Droid.

Thanks:

Special thanks to [MENTION=2148774]Vankog[/MENTION] and [MENTION=4466123]pec0ra[/MENTION] for working hard on their PRs (yes, I like to motive others to get their best!) and thanks to anyone who contribute to the version.

Download:

AdAway 3.3 on AndroidFileHost (md5: 0f6191f503d6fb9d351fc7f199b2a087)
[Android Apps and Games] ApoelEllhnwn:
Everything looks good so far!!

Thank you.
[Android Apps and Games] Ch3vr0n:
Does that this mean I can remove workaround script placed in su/su.d?

Do I update first and then remove the script? Or remove script first, then update and reboot?

Sent from my Nexus 6P with Tapatalk
[Android Apps and Games] osm0sis:
I updated from 3.2, working well so far using Magisk 16, but I notice the grayed-out systemless feature has the box unchecked. Can you have it display as both checked and grayed out when the Magisk bind mount on hosts is detected? That would be more intuitive for the end user.
[Android Apps and Games] DEVILOPS 007:
Still getting the adaway has stopped message at bootup on Oreo 8.1 OP5T unfortunately.
[Android Apps and Games] jcmm11:
I would guess option 2 since I suspect that AdAway will place it's own script there. (Can't verify, running Magisk at the moment)

Keep a copy of the original script until you're sure everything is working correctly.
[Android Apps and Games] Ch3vr0n:
It's ha hand-made. Work around fix to add Oreo support

Sent from my Nexus 7 with Tapatalk
[Android Apps and Games] jcmm11:
Actually it was sbin support (I was the op on that). AdAway should be incorporating something very similar - it'll just be aware of it now. If it uses the same name for the script it may even recognize the one you placed there and just leave it be.

But as I stated I can't test this any more since moving to Magisk.
[Android Apps and Games] martyfender:
Is this different from the version you released a couple of day ago? The new version will not install over that version without removal of that older version?
[Android Apps and Games] Pkt_Lnt:
Key points from:

https://xdaforums.com/showpost.php?p=75785065&postcount=10597

"just received the mrRobinson keystore to sign the builds. "

%< snipped >%

Please note:

This version is signed with mrRobinson key. So could update from 3.2 without uninstalling it,

Which means that yesterdays update signed by PerfectSlayer is different due to signature keys being different than todays.
[Android Apps and Games] oreo27:
I'm currently on 3.2. Is there a newer stable version available or should I wait for the OP to be updated? AdAway is still working flawlessly on my device.
[Android Apps and Games] androcraze:
Then why worry about it? AdAway's updates are more for compatibility than anything else. All versions modify the hosts file exactly the same way.

The only reason to break a "sure thing" is to help others by providing feedback and testing to the developers. If everything is working at this point with your ROM, it's a needless update.
[Android Apps and Games] oreo27:
I typically update if there are new features or if there's better compatibility down the road. I suppose I'll just wait for the OP to be updated. :) Thanks!
[Android Apps and Games] Magoo222:
Still getting the same msg with [MENTION=2822685]PerfectSlayer[/MENTION] new build on Oreo 8.1

"Adaway has stopped" at bootup

Nexus 6p

Thanks for your hard work!
[Android Apps and Games] martyfender:
Is that the only difference, Or is it the same except for the keystore?
[Android Apps and Games] Computoncio:
Me too :(

Phone: Redmi Note 4 - mido

Kernel: ElectraBlue Kernel 10.0

ROM : Resurrection Remix v6.0.0 [8.1.0][mido] 20180219

MODS: Dolby Atmos for Oreo Black 'n Cheese Edition - Unity 20180220-2 + ViPER4Android 2.5.0.5 Black 'n Cheese Edition - Unity 20180220-2 ,

Audio Modification Library AML,

Xposed v90.1 sdk27 beta3 topjohnwu,

Magisk v16.0 + Manager v5.6.0
[Android Apps and Games] Toutatis_:
No issues with latest build as far as I'm concerned. Nexus 6P / DU latest RC / Magisk v16.0. I'm not getting any FC upon reboot.

Thank you [MENTION=2822685]PerfectSlayer[/MENTION], looking forward to v4!
[Android Apps and Games] PerfectSlayer:
Could one of you (or both) share a logcat?

Because it will be hard for me to fix an Oreo compatibility issue without running device nor logcat :( Thanks!
[Android Apps and Games] Magoo222:
Hopefully this helps? [MENTION=2822685]PerfectSlayer[/MENTION]
[Android Apps and Games] DjDiabolik:
I see this:

Last Updated 2018-03-02

But the last developer it's same build about last years... I'm lost something?

*edit*

Read some old posts... Some speak about an 3.3 version or similar. It's most recent respect the developer version?
[Android Apps and Games] Magoo222:
Here's some more info
[Android Apps and Games] Magoo222:
Sorry for the the multiple posts think I got it all this time
[Android Apps and Games] Computoncio:
Here you have the logcat https://drive.google.com/file/d/1U6UWPGgZuvwgdluYc3GpLfXTjvihmGm_/view?usp=drivesdk

If you need anything more just ask.

Phone: Redmi Note 4 - mido

Kernel: ElectraBlue Kernel 10.0

ROM : Resurrection Remix v6.0.0 [8.1.0][mido] 20180219

MODS: Dolby Atmos for Oreo Black 'n Cheese Edition - Unity 20180220-2 + ViPER4Android 2.5.0.5 Black 'n Cheese Edition - Unity 20180220-2 ,

Audio Modification Library AML,

Xposed v90.1 sdk27 beta3 topjohnwu,

Magisk v16.0 + Manager v5.6.0
[Android Apps and Games] Toutatis_:
Nevermind, I rebooted one more time and I'm also having the "AdAway has stopped" error.

I'm prety sure I didn't get it the first time I rebooted, maybe I missed it.

[ 03-07 00:29:47.236 5005: 9056 I/ActivityManager ]
Start proc 10339:org.adaway/u0a147 for broadcast org.adaway/.service.BootReceiver

[ 03-07 00:29:47.252 10239:10239 D/AndroidRuntime ]
Calling main entry com.android.commands.am.Am

[ 03-07 00:29:47.327 5005: 6521 W/ActivityManager ]
Bringing down service while still waiting for start foreground: ServiceRecord{92bb37d u0 org.adaway/.service.BootService}

[ 03-07 00:29:47.350 10339:10339 D/AndroidRuntime ]
Shutting down VM

--------- beginning of crash
[ 03-07 00:29:47.350 10339:10339 E/AndroidRuntime ]
FATAL EXCEPTION: main
Process: org.adaway, PID: 10339
android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground()
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1768)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

[ 03-07 00:29:47.386 5005: 5056 I/ActivityManager ]
Showing crash dialog for package org.adaway u0

[ 03-07 00:29:52.788 5005: 5035 I/ActivityManager ]
Killing 10339:org.adaway/u0a147 (adj 906): empty #17

[ 03-07 00:29:52.884 5005: 5039 W/ActivityManager ]
Ignoring remove of inactive process: ProcessRecord{e9d097e 0:org.adaway/u0a147}

---------- Post added at 01:06 ---------- Previous post was at 00:54 ----------

This post should anwer your questions
[Android Apps and Games] RSDamasceno:
DELETED
[Android Apps and Games] RSDamasceno:
Bug report:

"AdAway stopped"

Notification error (toast screenshot)

And soft reboots (logs attached)

Device: Moto G 2014

Android: 8.1.0

Rom: Pixel Experience

Magisk 16.0

Xposed v90b3r1 (from Magisk repo)

Busybox 1.28.1 (YDS)

AdAway 3.3
[Android Apps and Games] daywalk3r666:
systemless hosts does not work.the option in magisk is set but adaway writes the hosts in system/etc

magisk 16

los 15.1 unofficial
[Android Apps and Games] guest4711:
No. It's writing to a hostfile in .core which is mounted as /system/etc/hosts. So no change on /system (but as long as magisk is active you don't see the original hostfile).
[Android Apps and Games] Sophia.xda:
please give me any links to block youtube ads thanks?
[Android Apps and Games] osm0sis:
Edit your post and remove the OP from it. It is beyond ridiculous looking to quote it. There is an Xposed module which can do "YouTube AdAway", and searching could have easily found you that answer and will find you links.
[Android Apps and Games] osm0sis:
[MENTION=2822685]PerfectSlayer[/MENTION]

03-07 08:20:19.653 V/AlarmManager( 945): Triggering alarm #1: 1 when =1520425200990 package =org.adaway operation =*alarm*:org.adaway/com.commonsware.cwac.wakeful.AlarmReceiver flags =0x0
03-07 08:20:19.672 D/EmbryoManager( 945): Embryo claimed. org.adaway, pid=3195
03-07 08:20:19.785 W/ActivityManager( 945): Background start not allowed: service Intent { cmp=org.adaway/.service.UpdateService (has extras) } to org.adaway/.service.UpdateService from pid=3195 uid=10109 pkg=org.adaway
03-07 08:20:19.787 E/AndroidRuntime( 3195): Process: org.adaway, PID: 3195
03-07 08:20:19.787 E/AndroidRuntime( 3195): java.lang.RuntimeException: Unable to start receiver com.commonsware.cwac.wakeful.AlarmReceiver: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=org.adaway/.service.UpdateService (has extras) }: app is in background uid UidRecord{1a8495f u0a109 RCVR idle procs:1 seq(0,0,0)}
03-07 08:20:19.787 E/AndroidRuntime( 3195): Caused by: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=org.adaway/.service.UpdateService (has extras) }: app is in background uid UidRecord{1a8495f u0a109 RCVR idle procs:1 seq(0,0,0)}
03-07 08:20:19.787 E/AndroidRuntime( 3195):	at org.adaway.service.DailyListener.sendWakefulWork(DailyListener.java:93)
03-07 08:20:19.807 I/ActivityManager( 945): Showing crash dialog for package org.adaway u0
03-07 08:20:22.135 I/ActivityManager( 945): Killing 3195:org.adaway/u0a109 (adj 900): crash
03-07 08:20:22.135 D/ActivityManager( 945): Process org.adaway has 0 services
03-07 08:20:22.141 D/EmbryoManager( 945): prepare org.adaway user 0
03-07 08:20:25.154 I/ActivityManager( 945): Start proc 10175:org.adaway/u0a109 for embryo org.adaway
03-07 08:20:25.155 D/Embryo_Uterus( 945): Embryo created.org.adaway, pid=10175
03-07 08:20:25.213 D/Embryo (10175): preload org.adaway, 13ms, hwui=true, layout=false, decor=false

Just got this out of nowhere.
[Android Apps and Games] Computoncio:
I have the same, maybe the cause of the FC was discovered ;)

Phone: Redmi Note 4 - mido

Kernel: ElectraBlue Kernel 10.0

ROM : Resurrection Remix v6.0.0 [8.1.0][mido] 20180219

MODS: Dolby Atmos for Oreo Black 'n Cheese Edition - Unity 20180220-2 + ViPER4Android 2.5.0.5 Black 'n Cheese Edition - Unity 20180220-2 ,

Audio Modification Library AML,

Xposed v90.1 sdk27 beta3 topjohnwu,

Magisk v16.0 + Manager v5.6.0
[Android Apps and Games] pkelly517:
https://support.google.com/youtube/answer/6305537?co=GENIE.Platform=Android&hl=en
[Android Apps and Games] jcmm11:
If you're using Firefox

https://addons.mozilla.org/en-US/android/addon/adblock-for-youtube-tm/
[Android Apps and Games] PerfectSlayer:
Thanks all for the logcat! (what a nice present to have a lot of bug notifications when you woke up! XD)

I finally revert back to target API 25 in order to not trigger the issue. I hope it will work for you: https://www.androidfilehost.com/?fid=673956719939825702 Can you confirm?

So Oreo support will definitely be shipped for the 4.x version:

CWAC Wakeful is no more supported and I already port it to Evernote Android-Job,

The service to boot the web server is removed (I start it in the broadcast receiver instead. Is-it really lighter to start a foreground service with its notification rather than running a new shell process in background?),

Notification channel are not implemented yet (but there is a PR).

And it is a waste of time to backport to 3.x version (master) then rebase 4.x on master… So if it works with API 25 target, let's keep it that way for the moment :fingers-crossed:
[Android Apps and Games] Toutatis_:
No more "AdAway has stopped" error with this build, I rebooted twice to make sure.
[Android Apps and Games] DiamondJohn:
You could also not use the standard Google youtube app. Search for NewPipe. That can act as a Youtube app replacement and does not display ads.
[Android Apps and Games] x.trinity:
I got this ads with the latest 3.3 bld.

Please, anyone willing to share own AdAway hosts and lists?

Never had seen this in a previous 3.2.
[Android Apps and Games] DjDiabolik:
Never obtain ads on YouTube app or use YouTube by a browser also on 3.2 dev version and after now whit 3.3 installed/upgraded yesterday.

Are you sure you have applied correctly the host file on your device?
[Android Apps and Games] Brds7t7:
AdAway can't block YouTube ads and YouTube AdAway no longer seems to work for me. I've found this to be the best solution: https://xdaforums.com/android/apps-games/app-youtube-vanced-edition-t3758757

Works on all my devices.
[Android Apps and Games] SilverZero:
Looks to be working for me. Oreo 8.0.0.
[Android Apps and Games] rjm831:
The ads are coming from the app itself. You need to spend some time doing the DNS logging ritual. The process has been fully explained elsewhere in the thread. Good luck!
[Android Apps and Games] x.trinity:
Ive just performed LogDNS Wiki tut, but in vain. 'Log file is empty' is what I get , spent a good time playing within the app itself, tho..

Anyways, its weird I had never seen such ads before in 3.2, N and/or O neither..
[Android Apps and Games] kryzeK:
Please a question I have a long time ago: when I use adaway with Magisk (systemless hosts enabled), does it need to reboot the device to apply?
[Android Apps and Games] NYLimited:
I have never rebooted after updating and works fine for me. Using stock LG ROM with Magisk. Same process with SuperSU..
[Android Apps and Games] rjm831:
I've had similar issues w/certain apps. I was advised to 1) turn Adaway off (ie use original host file) 2) DNS log with the app and 3) hope you find the ad server in the log.

Hopefully someone else will come up with a better solution for you to try.
[Android Apps and Games] FlanjeUK:
Yes it worked fine for me on SlimKat 4.4.1 with ART :)
[Android Apps and Games] Drifus Dreskeke:
Adaway 2.8, host list and webserver working here - 4.4.1 ART.

Nexus 7 FHD, Tapatalk
[Android Apps and Games] Tennic:
Thank you all for the answers :) ... I was afraid that it does not work, because I had read somewhere that Adaway not work with ART.

Perfect then, I can safely use it with ART :)
[Android Apps and Games] EP2008:
Do they differ from the ads in desktop search results, because can easily be blocked. They are really annoying on a mobile device.
[Android Apps and Games] powerhouselb:
Wonderful App

I love it. Thanks. Originally, I only rooted my GS3 to remove the bloatware. Now, I'm finding many wonderful and extremely useful utilities that will make my phone even more awesome. Great work.
[Android Apps and Games] ck.chunkeat:
doesnt work with accuweather.. Anyone have any tips as to how to get it working?
[Android Apps and Games] visceralpsyche:
I'm using the release version, not beta, and that worked for me.
[Android Apps and Games] vesolec1:
i want to know that too
[Android Apps and Games] EP2008:
You aren't seeing those search ads? Are you using the default lists or did you add any custom?
[Android Apps and Games] S3cret:
Does someone else have problemes using AdAway with 4.4.1 and franco kernel? Activating the hosts file takes ages and after some time it says that it didn't succeed.
[Android Apps and Games] RokuP:
That feature is in Chrome stable, not just the beta. Never enable it.
[Android Apps and Games] EP2008:
Maybe I'm losing my mind but. ..
[Android Apps and Games] Dedzigs:
Love it! some sites like apkma***, put many stupid ads, and my tablet lags abit... it works great +i quess official game ads are removed to, like thos who change ads in small coner box. 5\5!
[Android Apps and Games] ole12:
Anyone tried moviepop?

The game will not load if I have adaway enabled.

The game starts, but when I accept a challenge, it hangs on loading.

Anyway I could somehow make it work or bypass it?
[Android Apps and Games] mclisme:
Exactly the same issue here with Purity 4.4.1 + ART + AK Kernel. I would swear it worked when I first jumped on the 4.4 wagon but then again it's been too many flashes lately. Do you also run ART instead of Dalvik and in case you do, have you tried switching to Dalvik and see what happens?

(I am too bored waiting twice for the app data to be rebuilt so I am asking if you would be so kind to try this! :p)
[Android Apps and Games] manpildo:
Use adaway 2.5.