Hey Adaway to stick on dirty unicorns? - Nexus 6P Q&A, Help & Troubleshooting

Does anyone know how to get Adaway to stick on DU? It seems the hosts file gets updated but then reverts back to original after sometime.
Sent from my Nexus 6P using Tapatalk

junkfactory said:
Does anyone know how to get Adaway to stick on DU? It seems the hosts file gets updated but then reverts back to original after sometime.
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
Yeah I haven't been able to get it to work, their own integrated ad blocking (that doesn't work at all) gets in the way I believe so there's nothing we can do. Have you tried another ad blocker like Adblock Plus?

System > Etc....find all 3 Host files and delete them. Run Adaway and it will stick.

Heisenberg said:
Yeah I haven't been able to get it to work, their own integrated ad blocking (that doesn't work at all) gets in the way I believe so there's nothing we can do. Have you tried another ad blocker like Adblock Plus?
Click to expand...
Click to collapse
Yep! This was my only complaint with their ROM. I substituted adaway with some adblocking Xposed modules. The modules coupled with DU's native adblocking did the trick.

Thanks for the input. I think i actually got it to stick. Here's what i did
1. In adaway preferences, touch Target hosts file then select custom target
2. Select custom target then enter /system/etc/hosts.og
3. Close preferences the hit download and apply.
4. If asks to create symbolic link select yes
So far is been sticking for me. I i think hosts.og is the original and being restored at some point.
Sent from my Nexus 6P using Tapatalk

d08speed3 said:
System > Etc....find all 3 Host files and delete them. Run Adaway and it will stick.
Click to expand...
Click to collapse
thx, it works!

Related

Problems blocking ads

I've rooted my Nexus 4, but I can't seem to block ads. Tried adaway and adfree. Any suggestions?
Try adblock plus as well, maybe that works.
Dster said:
I've rooted my Nexus 4, but I can't seem to block ads. Tried adaway and adfree. Any suggestions?
Click to expand...
Click to collapse
Check to see that the file /etc/hosts actually gets updated when you use adaway/adfree. Also, you need to reboot your phone after you apply the new hosts file.
Same issue here, Used adaway, adfree, none of them seem to work.
stealthj said:
Same issue here, Used adaway, adfree, none of them seem to work.
Click to expand...
Click to collapse
I also have the same issue
marinierb said:
Check to see that the file /etc/hosts actually gets updated when you use adaway/adfree. Also, you need to reboot your phone after you apply the new hosts file.
Click to expand...
Click to collapse
No you don't, my ads are always blocked immediately after running ad away even if I don't reboot.
Sent from my Nexus 4 using Tapatalk 2
marinierb said:
Check to see that the file /etc/hosts actually gets updated when you use adaway/adfree. Also, you need to reboot your phone after you apply the new hosts file.
Click to expand...
Click to collapse
If you don't reboot your phone immediately after using AdBlock or AdFree (I switched from the former to the latter), then you will run into an issue where the Back button doesn't actually take you back in the browser. You have to double click it and mess with it in general.
I didn't know this for a solid 5-6 months when I first rooted my Atrix back in the day and it DROVE ME NUTS.
Anyway, go into Superuser or SuperSU and make sure that you've given AdBlock or AdFree root access. I would maybe even recommend just installing both apps anyway, reinstalling, granting root access, run/apply new hosts file, and then immediately reboot.
adway working just fine, are you sure that you rooted it properly though.
joshnichols189 said:
No you don't, my ads are always blocked immediately after running ad away even if I don't reboot.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Whether you have to reboot or not depends on cache and DNS. Just because your ads are always blocked, doesn't necessarily mean everyone else doesn't need to reboot.
Adfree works fine for me. Reboot the phone to be safe.
Stryder5 said:
Whether you have to reboot or not depends on cache and DNS. Just because your ads are always blocked, doesn't necessarily mean everyone else doesn't need to reboot.
Adfree works fine for me. Reboot the phone to be safe.
Click to expand...
Click to collapse
There's some funky stuff going on for me. I checked my hosts file, and it had in fact been updated by Adfree/Adaway/Adblock Plus (I've tried them all troubleshooting this).
Superuser says that they have the appropriate permissions.
I take it that there's multiple methods for rooting, right? I just followed the first walkthrough I found. I'm running the CM10.1 nightly with this issue.
Could someone who has adblocking working describe what method they used for flashing recovery? I'm thinking that there's some sort of problem with my filesystem. One symptom is that I can't figure out where RomManager is storing my backups. It sees them, and they take up space, but they're not in my SDCARD partition.
EDIT: I see that my backups are in /data/media/clockworkmod and the hosts file that is being altered by adblocking software is in /system/etc.
Dster said:
There's some funky stuff going on for me. I checked my hosts file, and it had in fact been updated by Adfree/Adaway/Adblock Plus (I've tried them all troubleshooting this).
Superuser says that they have the appropriate permissions.
I take it that there's multiple methods for rooting, right? I just followed the first walkthrough I found. I'm running the CM10.1 nightly with this issue.
Could someone who has adblocking working describe what method they used for flashing recovery? I'm thinking that there's some sort of problem with my filesystem. One symptom is that I can't figure out where RomManager is storing my backups. It sees them, and they take up space, but they're not in my SDCARD partition.
EDIT: I see that my backups are in /data/media/clockworkmod and the hosts file that is being altered by adblocking software is in /system/etc.
Click to expand...
Click to collapse
did you get it working?
I am having the same problem
Nexus 4
4.2.1
Unlocked & rooted using 1.3.0 toolkit..

[Q] Adblocking problems

I've tried all of the popular adblock methods, and they don't work for me on my rooted Nexus 4.
When I go into terminal and test a blocked domain, e.g. by doing "nslookup ib.adnxs.com", I get
Server: ....some IP address
Address 1: ....some IP address
Name: ib.adnxs.com
Address 1: 127.0.0.1 localhost
***********
So it looks like the hosts file is working in the terminal. But when I go into the browser I still see ads served from, for example, ib.adnxs.com .
***********
EDIT: for some reason my Nexus 4's browser looks in the /data/system/etc/hosts file instead of the usual location that adaway and adfree use, which is /system/etc/hosts. An easy fix is to create a link from the former location to the latter, or manually put the hosts file in the former location.
Try using "AdAway" from the play store.
Sent from my Nexus 4 using xda premium
Found a solution
slimldj said:
Try using "AdAway" from the play store.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Tried it, didn't work.
But I've figured things out.
For some reason, the browser is using a different location for the hosts file on my phone: /data/system/etc/hosts . I don't know why -- maybe it has something to do with the method I used for flashing recovery.
In any case, none of the programs like adfree or adaway were installing the hosts list to that location. I added it manually, and voila, adblocking goodness. If any one needs any help doing that let me know.
Which browser.. Chrome? Adaway seems to work with aosp stock browser I'm using.
galaxys said:
Which browser.. Chrome? Adaway seems to work with aosp stock browser I'm using.
Click to expand...
Click to collapse
Same issue in stock browser and chrome.
I swear, I must have done something wrong when I flashed clockworkmod. I had the problem the first few times I rebooted that I had to reflash recovery, and the phone reflashed it back to stock recovery. Whatevs, so long as everything works.

Ad blocking Apps Not working in Oneplus 3T OOS(4.1.4)[Systemless root via magisk]

My Oneplus 3T is running on OOS 4.1.4 (Android 7.1.1). i just rooted(via systemless method) my 3T 4 days back with Magisk V12, after unlocking the boot loader and flashing the latest TWRP v3.1.1. no dm-verity triggered, so no warning on boot except the unlocked boot loader warning. my system is read only. i just enable magisk systemless host.
i installed the latest version of Adaway v3.2(Supports systemless root) and enable the ad blocking but it doesn't worked still am getting ad in apps like es file explorer, mx played, etc.
i had tried many ad blocking app like DNS66, adguard, etc.
i had also tried both host based ad blocking and VPN based ad blocking nothing worked for my.
dose any one have any idea or any suggestion to block ads in my one plus 3T
where's the guide?
BonnyBedlamBoy said:
where's the guide?
Click to expand...
Click to collapse
What guide?
Apps are getting smarter
I believe the main problem is that app developers are getting better at circumventing ad blockers. I use AdAway, and it has a "Scan for AdWare" feature that basically shows you the apps you have that it knows can get past it. I think MX Player is on that list. ES File Explorer isn't, but it gets ads through also.
Azaruddin said:
My Oneplus 3T is running on OOS 4.1.4 (Android 7.1.1). i just rooted(via systemless method) my 3T 4 days back with Magisk V12, after unlocking the boot loader and flashing the latest TWRP v3.1.1. no dm-verity triggered, so no warning on boot except the unlocked boot loader warning. my system is read only. i just enable magisk systemless host.
i installed the latest version of Adaway v3.2(Supports systemless root) and enable the ad blocking but it doesn't worked still am getting ad in apps like es file explorer, mx played, etc.
i had tried many ad blocking app like DNS66, adguard, etc.
i had also tried both host based ad blocking and VPN based ad blocking nothing worked for my.
dose any one have any idea or any suggestion to block ads in my one plus 3T
Click to expand...
Click to collapse
I have Adguard premium and it works great for all of my apps (except pandora). The problem with adaway is it's just a host blocker. Adguard will use https filtering to remove the ads from apps that are being sneaky. I don't know what apps you have so I can't be more specific than that. I'm on RR right now and also have no issues on OOS 4.1.3 for the other OP3T in my house.
shadeau said:
I have Adguard premium and it works great for all of my apps (except pandora). The problem with adaway is it's just a host blocker. Adguard will use https filtering to remove the ads from apps that are being sneaky. I don't know what apps you have so I can't be more specific than that. I'm on RR right now and also have no issues on OOS 4.1.3 for the other OP3T in my house.
Click to expand...
Click to collapse
ok @shadeau i will try the Adgaurd premium. But i thing adgaurd premium is a VPN based adblocker. thanks for your info. i'll share my experience after trying out the Adgaurd premium. :good:
jfsat said:
I believe the main problem is that app developers are getting better at circumventing ad blockers. I use AdAway, and it has a "Scan for AdWare" feature that basically shows you the apps you have that it knows can get past it. I think MX Player is on that list. ES File Explorer isn't, but it gets ads through also.
Click to expand...
Click to collapse
@jfsat
Dose Adaway works u ? if so
what version of adaway r u using ?
what is ur OOS version ?
Azaruddin said:
@jfsat
Dose Adaway works u ? if so
what version of adaway r u using ?
what is ur OOS version ?
Click to expand...
Click to collapse
Try https://labs.xda-developers.com/store/app/org.blokada
Works great for me, I need to disable adblock easily at times and this works great.
LMcR92 said:
Try https://labs.xda-developers.com/store/app/org.blokada
Works great for me, I need to disable adblock easily at times and this works great.
Click to expand...
Click to collapse
Thanks @LMcR92 i will try blokada today and i'll share my experience with you :good:
Azaruddin said:
ok @shadeau i will try the Adgaurd premium. But i thing adgaurd premium is a VPN based adblocker. thanks for your info. i'll share my experience after trying out the Adgaurd premium. :good:
Click to expand...
Click to collapse
It has a VPN-based mode (which I use), but because of the https filtering (which you need to manually enable in settings and install a certificate for) it filters more ads because it sees all of the ad requests of the app. Last time I checked Adguard had a trial period you could use to evaluate the app.
shadeau said:
It has a VPN-based mode (which I use), but because of the https filtering (which you need to manually enable in settings and install a certificate for) it filters more ads because it sees all of the ad requests of the app. Last time I checked Adguard had a trial period you could use to evaluate the app.
Click to expand...
Click to collapse
Hmm k thanks for the info @shadeau
LMcR92 said:
Try https://labs.xda-developers.com/store/app/org.blokada
Works great for me, I need to disable adblock easily at times and this works great.
Click to expand...
Click to collapse
Azaruddin said:
Thanks @LMcR92 i will try blokada today and i'll share my experience with you :good:
Click to expand...
Click to collapse
@LMcR92 blokad is only working with the browser. it blocked only ads in the browsers and not in apps. Still am getting ad in the apps like ADM, es file Explorer, MX player, etc. it also consumes more battery.
shadeau said:
It has a VPN-based mode (which I use), but because of the https filtering (which you need to manually enable in settings and install a certificate for) it filters more ads because it sees all of the ad requests of the app. Last time I checked Adguard had a trial period you could use to evaluate the app.
Click to expand...
Click to collapse
I also have adguard premium.
I am running latest OOS beta with magisk systemless root.
I have tried to use Adguard premium via Local HTTP Proxy (i.e. root method), but it just doesn't seem to work and as a result I use the Local VPN method, which seems to work.
I did use to use Adaway previously, but that isn't working at the moment, based on these problems.
Azaruddin said:
My Oneplus 3T is running on OOS 4.1.4 (Android 7.1.1). i just rooted(via systemless method) my 3T 4 days back with Magisk V12, after unlocking the boot loader and flashing the latest TWRP v3.1.1. no dm-verity triggered, so no warning on boot except the unlocked boot loader warning. my system is read only. i just enable magisk systemless host.
i installed the latest version of Adaway v3.2(Supports systemless root) and enable the ad blocking but it doesn't worked still am getting ad in apps like es file explorer, mx played, etc.
i had tried many ad blocking app like DNS66, adguard, etc.
i had also tried both host based ad blocking and VPN based ad blocking nothing worked for my.
dose any one have any idea or any suggestion to block ads in my one plus 3T
Click to expand...
Click to collapse
At last after few days of my observation, i found that all the ad blocking app where working fine in Oneplus 3T.
Adaway v3.2 almost blocks all the ads, even though there some ads in like es file explorer, mx played, etc. the reason for those ads is that, they are the coming through the Facebook.com.
is there any solution to block these ads ?
@Azaruddin: https://www.seven.com/android-adblocker-download.php < AdClear. Does the best job, if you can't afford a license of AdGuard .

Question about Ads blocker apps

What apps do you guys use to block ads and still get OTA updates?
I just got a Mi A1 and I intend to root it and install xposed, but with the OTA updates in mind.
If you guys have any suggestions they will be very much appretiated.
def.man said:
What apps do you guys use to block ads and still get OTA updates?
I just got a Mi A1 and I intend to root it and install xposed, but with the OTA updates in mind.
If you guys have any suggestions they will be very much appretiated.
Click to expand...
Click to collapse
If you're talking about ads in browser just use firefox and install adblock plus in addons.
In youtube install youtube adaway you can search it here
In apps i don't know ?
Magisk systemless hosts + adaway = system wide ad blocking. Only very few apps are showing ads (those are probably using their own ads instead of standard ad servers).
For youtube I use ogyoutube with microg.
Without modifying the system you can still use the open source project http://blokada.org
I use block this! It creates a VPN which blocks ad dns hosts.
majamee said:
Without modifying the system you can still use the open source project http://blokada.org
Click to expand...
Click to collapse
This is a good one. It blocked from the 9gag app and in chrome aswell. The only anoying thing is the "key" notification it leaves on. Anyway to hide it?
_mysiak_ said:
Magisk systemless hosts + adaway = system wide ad blocking. Only very few apps are showing ads (those are probably using their own ads instead of standard ad servers).
For youtube I use ogyoutube with microg.
Click to expand...
Click to collapse
I used to have Adaway in my old phone, but I read that it messes with the system host files and thus I would not be able to take OTA updates. Does Magisk have its own Adaway that is different somehow?
def.man said:
I used to have Adaway in my old phone, but I read that it messes with the system host files and thus I would not be able to take OTA updates. Does Magisk have its own Adaway that is different somehow?
Click to expand...
Click to collapse
I've read it as well (only one guy who mentioned it btw.), but to be honest I do not believe it. I am using the latest Adaway version which has enabled "systemless mode" by default and it didn't modify my system hosts file. But I must admit that I didn't receive any OTA yet and had to always flash full ROM to update my system, so can't guarantee it
_mysiak_ said:
I've read it as well (only one guy who mentioned it btw.), but to be honest I do not believe it. I am using the latest Adaway version which has enabled "systemless mode" by default and it didn't modify my system hosts file. But I must admit that I didn't receive any OTA yet and had to always flash full ROM to update my system, so can't guarantee it
Click to expand...
Click to collapse
Do you have the december update?
def.man said:
Do you have the december update?
Click to expand...
Click to collapse
Yes, I flash full ROM via fastboot each month (did the same with my old Nexus 5X, so I'm used to it).
Magisk has a systemless adblock module called "Unified Hosts Adblock".
Don't block adverts. Ya, I may sound like a noob & jerk but that's the only way everyone of us get to use free contents. The developer & content creator won't be giving away stuffs for free if they don't earn. Support the Developers & content creator.
Hriddhi said:
Don't block adverts. Ya, I may sound like a noob & jerk but that's the only way everyone of us get to use free contents. The developer & content creator won't be giving away stuffs for free if they don't earn. Support the Developers & content creator.
Click to expand...
Click to collapse
I support devs directly, I either purchase a full version or donate to them. If there is only "free" app filled with ads, I see no reason to not to block them. As soon as content creators start serving unobtrusive ads (web, youtube, ..) I'll stop blocking them. Until then...adaway is and will be my second installed app (the first one is Titanium backup pro ). Btw. there wasn't a single ad during past 20 years which I would be interested in, if I clicked on one, it was by mistake.
I use minminguard (xposed module). to update, simply flash full stock rom (keep user data in mi flash tool) then update ota. Unlock bootloader again, boot TWRP and flash magisk.
i had troubles updating to november patch due to adaway. i installed the latest adaway there is, it even said systemless hosts in option.. yet it did modify my hosts file directly - i checked this after i unistalled adaway + magisk
not sure if i did something wrong on my end, just saying that it didnt work for me systemless.. would like to hear if someone managed to get it to work tho
im now using unified adblock from magisk, works okayish
DeV91 said:
i had troubles updating to november patch due to adaway. i installed the latest adaway there is, it even said systemless hosts in option.. yet it did modify my hosts file directly - i checked this after i unistalled adaway + magisk
not sure if i did something wrong on my end, just saying that it didnt work for me systemless.. would like to hear if someone managed to get it to work tho
im now using unified adblock from magisk, works okayish
Click to expand...
Click to collapse
Not sure what went wrong on your end, but modifying system data would lead to fail of Safetynet check. I am running Magisk + systemless hosts + Adaway and Safetynet passes the check, so I assume that nothing has been written to the system. I will confirm once I actually receive an OTA, so far fastboot images were out earlier than mine OTA

AdAway

I have rooted 7T Pro 5G successfully, but after installing AdAway, it does not work due to not being able to access the host file location. Probably due to the different system structure here - but has anyone gotten it to work?
You have to root to use this app, and without it, the others don't really do much - especially with Google crap.
You need to enable systemless hosts module
gaww said:
I have rooted 7T Pro 5G successfully, but after installing AdAway, it does not work due to not being able to access the host file location. Probably due to the different system structure here - but has anyone gotten it to work?
You have to root to use this app, and without it, the others don't really do much - especially with Google crap.
Click to expand...
Click to collapse
Enable this option...
js042507 said:
Enable this option...
Click to expand...
Click to collapse
Thanks, but I cant find the screen with the option or a module.
I saw systemless hosts for Addblocker apps, and it said the module had been added, but I don't see it ?
gaww said:
Thanks, but I cant find the screen with the option or a module.
Click to expand...
Click to collapse
That setting is in the adaway app. Sorry forgot to mention...you have go into magisk manager and select 'systemless' hosts option as well.
js042507 said:
That setting is in the adaway app. Sorry forgot to mention...you have go into magisk manager and select 'systemless' hosts option as well.
Click to expand...
Click to collapse
I did everything but still didn't work, but then remembered I had changed the host location earlier. put it back to the default, and now working - thanks again!

Categories

Resources