YT213AJ - Adaway stuck on Building hosts file. - Android Head-Units

Android head unit YT213AJ.
Not sure what version android these HUs really running. I think Andoird 6?
Anyway, I'm rooted with magisk installed. Had to install Adaway 4.3.6 since this is pre Android 8.
Says updates available but just stays on Building hosts file. Adaway is granted super user rights.
I have enabled systemless hosts in magisk and adaway settings. No luck
Disabled systemless hosts. mounted /system rw. changed /system/etc/hosts to rw rw rw. Same results. No go.
Has anyone got adaway working on one of these head units?

Related

Hosts / adblock

so im on the nexus 6p with nougat 7.0. Normally I will block ads by replacing the hosts file in system/etc. however since the update, using the same list I was using previously, i am seeing ads. i did clear cache
anybody have any insight as to why this is happening?
(and yes i know about MOAB and adaway, and all those devs are doing is replacing the hosts file as well, i just don't like the block lists they are using. i think they will have the same issue under nougat)
thanks for the help.
Idk what to tell you about that, but adaway works just fine. You have to flash a zip to make system/etc read/write.
The permissions for system/etc should be rw-rw-rw- for it to work.
EDIT
If you want, change the permissions to the above, copy your host file into it, test again.
could be a permissions issue, i'll try it when I get home and update
iRub1Out said:
Idk what to tell you about that, but adaway works just fine. You have to flash a zip to make system/etc read/write.
The permissions for system/etc should be rw-rw-rw- for it to work.
EDIT
If you want, change the permissions to the above, copy your host file into it, test again.
Click to expand...
Click to collapse
I have the same problem on N5X with AdAway. The changes to /system are recorded. AdAway APK installed as regular application though (worked in 6.0)
Aleq said:
I have the same problem on N5X with AdAway. The changes to /system are recorded. AdAway APK installed as regular application though (worked in 6.0)
Click to expand...
Click to collapse
All you have to do for Adaway is change the permissions for the /system/etc folder to rw-rw-rw- then it works like it should.
There's a systemless Adaway hosts file you can flash and then it works perfectly (at least it did for me). I've attached it.

AdAway on stock nougat- copying of host file failed

hello im getting the following message everytime i try and download the lists "copying of host file failed! please read help for more information"
ive just updated to the android 7.0 through the developer program, twrp custom recovery installed with root access build number NRD90M
just wondering what could be causing this and if i can do anything to try and fix it thanks
Is your /system set to read only, or read/write? If read only, adaway will not be able to update /system/etc/hosts
dratsablive said:
Is your /system set to read only, or read/write? If read only, adaway will not be able to update /system/etc/hosts
Click to expand...
Click to collapse
i have it set to read write im gonna try to flash the systemless hosts right now ill update how it goes
flashing the AdAway_systemless_hosts_v2.zip in the recovery, then unistalling and reinstalling the app seems to have worked
you can also use Magisk now to enable complete systemless root and then the hosts file /system/etc will be forwarded to the systemless version
I didn't even install Adaway, I just downloaded a host file and replaced it in /etc/
Works good enough for me and one less app running...
kennehh said:
hello im getting the following message everytime i try and download the lists "copying of host file failed! please read help for more information"
ive just updated to the android 7.0 through the developer program, twrp custom recovery installed with root access build number NRD90M
just wondering what could be causing this and if i can do anything to try and fix it thanks
Click to expand...
Click to collapse
In the exact same boat. Frustrating. Tried Adfree, to no avail. Adaway, to no avail. Tried the adaway bind zip file, making hosts writable, and even System to writable. Nothing.
treoo0_1 said:
In the exact same boat. Frustrating. Tried Adfree, to no avail. Adaway, to no avail. Tried the adaway bind zip file, making hosts writable, and even System to writable. Nothing.
Click to expand...
Click to collapse
i have fixed this by converting adaway from user apps to system apps using Link2SD, reboot and adaway working properly again
Very old thread, but I've had exactly the same problem installing AdAway on the last 3 or 4 phones -- all but one running Nougat 7.0, the other on Oreo 8.1. This was when trying to install AdAway versions 3.1 and 3.3.something.
I finally got it to write hosts file updates using one of the following, not sure which was the key:
-- Installed version 3.2 which had been running problem-free on an old phone for years. The biggest difference is this older phone is running Resurrection Remix 5.8.3 (Nougat 7.1.2).
-- Before trying to update the hosts file on this fresh install, I went straight to AdAway preferences and set "Check for updates daily", "Enable webserver", and "Start webserver on boot". After making those settings I tapped Download Files and Apply Ad Blocking, and it successfully wrote to the hosts file.
Again I don't know which was the fix. It seems weird that version 3.2 would work when a version just before and after it didn't work for me. But of course it is possible that the version is the difference. It seems even more weird that those 3 little preference settings make any difference at all . . . unless it's just the act of writing changes to the AdAway app itself.
Before installing 3.2, using Root Explorer I checked permissions on the working phone and one non-working phone, for the systems and etc folders, and for the hosts file itself. (In all cases AdAway is/was set to use /systems/etc/hosts.) I also checked Android permissions in the Apps list. All permissions were exactly the same on both phones: 0755 for system, 0755 for etc, and 0644 for hosts. No permissions assigned via Android.
Hoping this bump will also get fresh attention from somebody who might know the details of a real answer.
@Moondroid
Why the hell you trying to make some really old ass version of it work instead of installing the newest version? Lol
I've been using 4.2.7 and though its kind of weird on a fresh install I need to update and apply the hosts twice before searching for newer hosts comes back its up to date. But at least it works.

Magisk v 11.6 SafetyNet [issue]

What's guys.
I've done root on my Moto G5 Plus, everything is fine, except for 2 things.
First, I was unable to make Freedom work, but I've download Root Explorer and everything is good.
Second, is about this thread and Magisk root.
As I play Super Mario Run, there's a opition at Magisk called Madisk Hide.
But it is not working properly, as a press SafetyNet check and I receive a error CTS profile mismatch.
Could someone help with that?
PS: Sorry for my bad english.
I'm getting the same CTS profile mismatch.
Follow Steps :
1. Enable Magisk hide
2. Disable Android Debugging
3. Clear mario app data
It should work.
Mrdeviljv said:
Follow Steps :
1. Enable Magisk hide
2. Disable Android Debugging
3. Clear mario app data
It should work.
Click to expand...
Click to collapse
The problem is the mismatch on Magisk.
I tried that.
I have to download using Apteoide, beucase of root, the game was hide on playstore.
I've already tried that with no sucess.
I can play the game on the first level and tutorial, but when it's download the data, the game doesn't work anymore...
I have the same 'CTS profile mismatch' with Magisk, and Root Uninstaller says "have rooted but have not rw permission in /system" (Or something like that..)
i can't uninstall bloatware, i'm using led apk and other root functions, but uninstaller not working and adfree also fails blocking ads (sorry bad english)
Leodev said:
I have the same 'CTS profile mismatch' with Magisk, and Root Uninstaller says "have rooted but have not rw permission in /system" (Or something like that..)
i can't uninstall bloatware, i'm using led apk and other root functions, but uninstaller not working and adfree also fails blocking ads (sorry bad english)
Click to expand...
Click to collapse
In android n you have to mount system partition in order to remove bloatware follow below steps :
1.install busybox and terminal app
2.issue following command in terminal
Su
Now grant root access to terminal
3.now issue following command
busybox mount -o rw,remount system
That's it now you should be able to remove bloat.make sure to install busybox as mentioned in step 1

Systemless Adaway With Magisk

Systemless Adaway With Magisk
Can anyone help me with this i already have a working magisk safetynet and everything.... but i need the adaway this is the reason i root my phone but i dont want to loose ota
thanks
1. In Magisk Manager settings enable 'Systemless hosts'.
2. Reboot.
3. Install AdAway. Do not change the 'Target hosts file' setting in AdAway (/system/etc/hosts).
bitbidu said:
1. In Magisk Manager settings enable 'Systemless hosts'.
2. Reboot.
3. Install AdAway. Do not change the 'Target hosts file' setting in AdAway (/system/etc/hosts).
Click to expand...
Click to collapse
So, just to be 100% clear, once Systemless hosts is enabled and you reboot, when the system thinks it is working with /system/etc/hosts, it is in fact working with a magisk hosts file?
klaberte said:
So, just to be 100% clear, once Systemless hosts is enabled and you reboot, when the system thinks it is working with /system/etc/hosts, it is in fact working with a magisk hosts file?
Click to expand...
Click to collapse
Yup. As long as the option is enabled in Magisk. I've tested this out myself.
Just install unified Hosts AdBlock Module from the magisk download list, it has a gui now, no need to use terminal anymore, no need to install adaway.
coremania said:
Just install unified Hosts AdBlock Module from the magisk download list, it has a gui now, no need to use terminal anymore, no need to install adaway.
Click to expand...
Click to collapse
If using this module, do we still need to enable systemless
hosts option in magisk setting?
Edit: Ok, the module instruction said it has to be enabled.
Edit1: It's so much easier to use AdAway :silly:
I've had problems with Magisk/Adaway and SafetyNet on Nougat:
I had no SafetyNet issues, then I activated the 'Systemless hosts' option in Magisk, installed Adaway and downloaded the hosts to the standard path (/system/etc/hosts), which - afaik - at that time should have been 'overmounted' (is that an english term?) with /Magisk/.core/hosts.
Unfortunately it didn't work and I lost SafetyNet (but also the ads, though).
No I updated to Oreo, have Magisk systemless root with SafetyNet compatibility restored and want to try my luck with Adaway again. But I'm a bit afraid of just doing the above steps again. Is there a way to check if Magisks systemless host feature works? Like a symlink in the shell or something?
Thanks a lot for your help, much appreciated!
Imho, As long as the ads are being blocked and safetynet passed, then all is working as they should
Thanks for your reply wulfe13.
Yes, of course, in that case I'd be happy.
But like I said (or tried to say), I didn't pass SafetyNet test...
smashedup said:
Thanks for your reply wulfe13.
Yes, of course, in that case I'd be happy.
But like I said (or tried to say), I didn't pass SafetyNet test...
Click to expand...
Click to collapse
Strange.
Are you using Xposed on your device?
Nope. No Xposed at the time of the Adaway activation.
Well, maybe I'll just give it a try again...
edit: and it worked! Adblocker + SafetyNet
[Deleted]
It worked for me too on Oreo.
I just enabled the systemless adblock option in Magisk Manager. Then installed AdAway.
Ad blocker is working and SafetyNet passes.
coremania said:
Just install unified Hosts AdBlock Module from the magisk download list, it has a gui now, no need to use terminal anymore, no need to install adaway.
Click to expand...
Click to collapse
How can I access the GUI of Unified Hosts AdBlock, when I click over the module, nothing happens.
Edit: I guess I need the app Unified Hosts Manager
aenima73 said:
How can I access the GUI of Unified Hosts AdBlock, when I click over the module, nothing happens.
Edit: I guess I need the app Unified Hosts Manager
Click to expand...
Click to collapse
The module installs a apk for controlling, if not u use a old version. Install it from the downloads which are avaible in the magisk apk and you're good and have the apk installed too.
So on magisk 16.7 i enabled systemless hosts -> restart -> Installed Unified Hosts adblock module from the magisk app -> restart -> opened "bs.to" in chrome -> still see porn ads.
What did i do wrong?
~phoeny~ said:
So on magisk 16.7 i enabled systemless hosts -> restart -> Installed Unified Hosts adblock module from the magisk app -> restart -> opened "bs.to" in chrome -> still see porn ads.
What did i do wrong?
Click to expand...
Click to collapse
use adaway instead. for some reason the unified hosts app doesnt work for me either
thedemon786 said:
use adaway instead. for some reason the unified hosts app doesnt work for me either
Click to expand...
Click to collapse
the adaway i get from f-droid?
So i uninstalled Unified Hosts -> restart -> installed adaway -> Let is do its thing-> restart. Still see porn.
It is using /system/etc/hosts as host location.
I also tried different sites and cleared cache to confirm that the ads are not cached. Oh god i want xposed back. :crying:
~phoeny~ said:
the adaway i get from f-droid?
So i uninstalled Unified Hosts -> restart -> installed adaway -> Let is do its thing-> restart. Still see porn.
It is using /system/etc/hosts as host location.
I also tried different sites and cleared cache to confirm that the ads are not cached. Oh god i want xposed back. :crying:
Click to expand...
Click to collapse
in magisk settings -> enable systemless hosts-> reboot
install adaway -> download/install hosts -> reboot
Check this thread to use latest Adaway with Unified Hosts sources list systemlessly with Magisk
Latest APKs (by PerfectSlayer) can be downloaded from here

could not remount /system

Guys, i am on stock os, 7.0 , recently flashed magisk for systemless root and when i tried to use app mover to move some apps to system, i get error as could not remount/system. Tried supersu root as well but same result, im a newbie here. please help Used both Vegito and Ex kernel too. but i get the error everytime. But root checker shows i have root.
You could try the Magisk module named "App Systemizer". It can convert user apps to system apps, but systemlessly.
thorin0815 said:
You could try the Magisk module named "App Systemizer". It can convert user apps to system apps, but systemlessly.
Click to expand...
Click to collapse
Thanks, Is there a way to edit system files , like modifying host file ? It seems i have been using system root all these days. Is it still available ?

Categories

Resources