Originally Posted by mariosaraylian
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!
That enhanced log didn't help
. 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?