No, because as he says, you enable it through magisk settings. It's built-in.
Sent from my Pixel 3 XL using Tapatalk
No, because as he says, you enable it through magisk settings. It's built-in.
That enhanced log didn't help [emoji6]. I was kinda hoping for the path that was being used.martyfender & ktmom:
Here is the verbose logcat of whats going on. I am still getting the "Copy Failed" error when I try to update hosts and at "Bulding Hosts File" stages in AA.
For the sake of diagnosing, I cleared the App Data and Cache and restarted AA. When I did that it shows "Enabled Newest host filed enabled" (with the green check mark), but when I tap "Check for Updates", I see "Update Available: newer hosts files available", then I tap "Update Hosts" after it downloads the current hosts files and it says "Applying, building hosts file", that is exactly when I get the "Copy Failed" error.
This is driving me NUTS!
Thanks for any help you guys can provide!
...
May be a change coming down the line but, for now I would still recommend enabling the magisk systemless module.
Just tried on my Pixel 3aXL with Magisk systemless hosts module disabled.
Looks like systemless hosts still have to be enabled in AdAway.
The hosts file is updated but can not be viewed in AdAway.
After a reboot the hosts file is back to stock and systemless in not enabled in AdAway. With the Magisk systemless hosts module enabled, AdAway works just just like it should.
(3aXL is running stock 10 and rooted with Magisk canary-debug.)
I'm curious also.I'm pretty convinced we'll be in a confused state with all of the different combinations of devices, software and Magisk for awhile.
While I'm on Magisk 19.3, Pie and a Pixel 3XL, my experience is very different from yours. Without systemless hosts enabled in Adaway and without systemless hosts in Magisk, I can modify and view the hosts file and after multiple reboots, everything sticks. In this case, the file is in /sbin/.magisk/mirror/system/etc
Originally, when I tested, the file was modified in the mirror directory regardless of the enabled/disabled state of the Magisk systemless hosts module.
However, if the systemless host module in Magisk is disabled, and the systemless hosts settings in Adaway is enabled, the file gets put in /sbin/.magisk/modules/.core
BUT, when I just reinstalled the systemless hosts module and rebooted (yet again), now the hosts file is placed where you would expect; /sbin/.magisk/modules/hosts/system/etc
I'm thinking that what you upgrade from/to plays into how the glitches settle out.
While I am on an "older" Magisk release, I don't think using the bleeding edge channel is a good baseline either. [emoji6]
Android 8.0.0 on Magisk 20.0 (20000)That enhanced log didn't help [emoji6]. I was kinda hoping for the path that was being used.
I scanned back through the thread/your posts, and I don't see what version of Magisk your running.
Somewhere around Magisk 19.3, things changed for systemless hosts. I say that based on date stamps on the files on my device.
I have always had the systemless hosts setting enabled. On my device, I have (had) a /sbin/.magisk/modules/hosts/system/etc/ path with a hosts file that is older than my last hosts update. Disabling the systemless hosts, then rebooting had no affect on my ability to update the hosts file with Adaway.
The updated file now lives in /sbin/.magisk/mirror/system/etc. So I completely removed the systemless hosts module. As expected, there was no negative effect on updating hosts, and the file in the mirror path definitely is updated. I guess I missed a change log entry for Magisk.
So, if you are on at least Magisk 19.3 or newer, I think the systemless hosts module is a red herring.
This also is consistent with recent posts confirming that Adaway is working without systemless hosts enabled on A10. I'm sure there's changes were made due to the inability to mount / on A10. The entire partition is mirrored.
What OS and Magisk version are you on?
ipdev:@mariosaraylian
From the steps you describe.
I didn't see you mention AdAway requesting and gaining root access.
I haven't run into it lately, for me, it was always Magisk related.
All other apps / modules seem to work fine but, AdAway always showed me when my Magisk install was broken.
I know I've seen others mention just being able to toggle SU on or off/on for AdAway in Magisk's Superuser settings. If you take a look at the log file in Magisk, you should see a su request once or twice while AdAway is updating (or attempting) to update the hosts file.
@ktmom
May be a change coming down the line but, for now I would still recommend enabling the magisk systemless module.
Just tried on my Pixel 3aXL with Magisk systemless hosts module disabled.
Looks like systemless hosts still have to be enabled in AdAway.
The hosts file is updated but can not be viewed in AdAway.
After a reboot the hosts file is back to stock and systemless in not enabled in AdAway. With the Magisk systemless hosts module enabled, AdAway works just just like it should.
(3aXL is running stock 10 and rooted with Magisk canary-debug.)
Cheers.
...
I am seeing conflicting information here on everyone's suggestions. Should I maybe uninstall Magisk all together and reinstall it, or just uninstall the Systemless Hosts Module in Magisk, Reboot, Clear Data in AdAway, reboot, and turn on Systemless Hosts in Magisk again, then reinstall Adaway and try again...????
This exists. It's called DNS logging....
Please add the log records are blocked, it is very necessary!
That would be called white listing and yes, this has worked for a long time. Did you carefully read that page?In my Adaway 3.2 this DNS log does not display domains that are already blacklisted. And I need to detect attempts of applications to make DNS request which domain is already in the black list. That's what I need.
DNS Log does not allow this now. Or in 4.2.9 the log works differently, not as in 3.2?
That would be called white listing and yes, this has worked for a long time. Did you carefully read that page?
Do you have hide Magisk Manager enabled?Magisk Manager 20.0, enabled Systemless Host, Adaway 4.2.9.
It doesn't prompt for root request.
In Magisk's superuser app list, Adaway doesn't appear.
Do other apps request root access? Have you rebooted after installing everything? Have you tried grabbing a log while enabling ad blocking?Hide Magisk Manager is not enabled.
I cannot disable ad blocking as it's not enabled
Fresh install of Magisk and Adaway.
Lenovo K5 Pro with GSI Linage 16.0 Android Pie 9
Yes, File Manager such as Xplore requested for root and I can see it in Magisk Manager superuser app.Do other apps request root access? Have you rebooted after installing everything? Have you tried grabbing a log while enabling ad blocking?
If it helps, an example of that mistake of trying to run (non-rootable) two VPNs at a time would be to try to use both of these at the same time.Non root uses VPN, hence make sure you don't run another VPN in parallel
Followed the guide. It's simple enough until I try to find the hostname I am supposed to white list - there are probably 50 entries just clicking on one article. Plus the names don't give any clue what they are related to. I tried white-listing about a dozen different entries but none allowed the comments to be read. At this point it's still easier to turn off Adaway and scroll the articles then turn it back on when I'm done.Do it by logDNS. Check the Wiki:
Start the log and open your preferred site.
Whitelist what has to be whitelisted.
GitLab, like GitHub do not set LastModified HTTP header so update status is not supported... yet!Is anyone using a hosts list hosted on Gitlab? It keeps showing "Unknown update status".
It works well here. I failed to reproduce as I change the HTTP client library and how I use it.Hmm, not working for me for this URL, v4.1.0 shows something like not updated in -360 days (some large negative value). Can you please see if you can reproduce?
https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts
Not really. You could choose a lot of different mode.All the F-Droid apps I know of have manual push updates to the store.
Isn't automatic build basically for nightlies?
Thank you so much! :highfive:I exist still... do you know what i have to do to transfer ownership? if i edit project it doesn't let me change the primary author so i assume i have to PM some higher up to make this happen?
Thank you too!