yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] androcraze:
No.

Blocking ads reduces CPU load, puts less strain on video chips, and reduces the required memory footprint.

Blocking ads still takes fewer resources and less power than actually displaying the ads.

If you're truly worried about block too many list items, then drop from the default 4 to 3 or 2 or 1 lists.

I've used AdAway on much slower devices than my N5, and never had issues with poor performance or load time.
[Android Apps and Games] NLBeev:
Yes, seems logica.

Concerning battery drain I am thinking of background activities, slow connection and Google.play,services.
[Android Apps and Games] multi_rom_user:
Am I able to set AdBlock host to update host files automatically???

Never mind, I found it.
[Android Apps and Games] onesolo:
Any update on AdAway not working with 7.0/7.1 (with root obviously) ?!
[Android Apps and Games] jcsww:
It does work on stock with root for 7.0 on the Nexus 6 and 6P. I don't see why it wouldn't work on 7.1 as well, although I haven't had the time to update my phones yet.
[Android Apps and Games] Ja_som:
7.0 and 7.1.1 no issue on my devices...
[Android Apps and Games] rndchef:
I am on Nexus 6P running the beta 7.1 rooted. Flashed the systemless zip and still get the target fail and suggested simlink creation and then fail. Thought the zip was going to prevent further issue. Am I doing something wrong?
[Android Apps and Games] Treboeth:
Adaway works just fine on Nougat on my old LG G2 :)
[Android Apps and Games] jcsww:
Have you tried removing some bloatware first, like Google+ and many other useless pre-installed apps to make space for the slightly larger HOSTS file?
[Android Apps and Games] jcmm11:
When did you flash systemless zip? If I flash at the same time as flashing Rom, root and kernel it doesn't work. If I go back and flash after a boot to system it does work.
[Android Apps and Games] rndchef:
Thanks for the responses. I was able to get it working once I changed the folder settings to the original location system/etc. I had changed it to data/data/host as recommended before flashing the zip. Thanks for the help and getting rid of the pesky ads!
[Android Apps and Games] garrettsessions:
[MENTION=2822685]PerfectSlayer[/MENTION] I tried your test build on the PR. Works great on a Nexus 6P, 7.1 with PHH. Thank you for your hard work!
[Android Apps and Games] notorious.dds:
Nexus 6p running 7.0

I'm also using SuperSu 2.78.

It's working for me.

Since my setup utilizes systemless root, I installed the systemless zip and created a "su" folder within /system/bin/ per some random directions found using the Google. The app worked a couple of times and then started giving me the "Your dvice isn't rooted" error again.

I was able to fix this by

1. Boot into TWRP

2. Mount system partition (do NOT check the "mount read only" box).

3. Open the terminal and execute the following:

ln -s /su/bin/su /system/bin/su

I then deleted the empty su folder I had created earlier from /system/bin/ (since it didn't do anything) and rebooted.

All this does is create a symbolic link from the traditional location of the SU binary to its new location with systemless root.

My hope is that this will help other root apps as well which don't know to look for the SU binary in its new location.
[Android Apps and Games] rawhide85:
Thanks brother. +1
[Android Apps and Games] specialex:
can I just pointing it to data/data to work with systemless root

without need to flash systemless_hosts.zip?
[Android Apps and Games] Nergal di Cuthah:
No because android wouldn't know to look for your hosts there, it would still use the default host file
[Android Apps and Games] erghetto:
What is the advantage of using adaway in systemless mode?
[Android Apps and Games] Ja_som:
It does not work etherwise on Android 7 and on previous versions if you have systemless root, you should be able to install OTA files...

AFAIK
[Android Apps and Games] androcraze:
It's getting to the point where there probably is no real advantage; SafetyNet and AndroidPay are checking for any modifications, and any root is a no-no.

You can still do OTA updates I think.

Some devices have no room on /system, so systemless makes sense there as well.
[Android Apps and Games] PerfectSlayer:
Thanks! I hope the PR will be merged soon. :fingers-crossed:

Is there anything blocking it [MENTION=3355398]mrRobinson[/MENTION]?
[Android Apps and Games] mrRobinson:
nope! its merged. Thanks so much. If i typed up what my life is like right now you'd be surprised I even have time to merge.

Regardless... I've pinged one more guy who has a pull request. he'll prob have that in within a day. I'll update translations, maybe do a couple other things but maybe not.

Well get this released soon as I'm sure some other minor adjustments will surface once it hits the masses. then we can do more for a follow up or tweaked release.

this next release will be 3.2 so after that our fixes and adjustments will make it 3.2.1 etc..
[Android Apps and Games] PerfectSlayer:
No worry! I'm just lost between between XDA and Github user accounts (don't sure who's in charge on github project ^^')

Take care of your life first then come back in few weeks when more users will have tried it.

Feel free to notify me if some user find issue about systemless feature. I'll see what I could do ;)
[Android Apps and Games] androcraze:
Your OP has the "Developer's Site" listed as: http://free-software-for-android.github.io/AdAway/

It returns an Error 404.

Perhaps:

https://adaway.org/ or https://github.com/AdAway/AdAway might be better links.
[Android Apps and Games] bobo_15:
Does it work with Nougat?
[Android Apps and Games] adeptustech:
Yes
[Android Apps and Games] mobileman88:
Perfectly
[Android Apps and Games] NLBeev:
You need to flash the systemless-hosts-zip file before installing AdAway.

Because in normal mode there is a big change that AdAway can;t write the 'hosts' file to system/etc. The zip binds the folder system/etc to another where AdAway is allowed to write. Mostly su.etc or data/data.
[Android Apps and Games] Segnale007:
AdAway not working with newer systemless root; workaround

Hello folks.

I have been hammering my head on the wall for the past few days since Adway basically wasn't working no matter what. I have followed few guides here and there, switched from different AdAway versions but no go regardless. I am currently on OP3Lite and Systemless root; SuperSU binary 2.78.

Ultimately I stumbled upon this guy here AdAway incompatible with newer systemless root #781... Boom!!!

I will detail the steps that worked for me to get around this nightmare;

#TWRP

Boot into TWRP, select "Mount" and choose "System";

Within TWRP, go back to main menu, select "Advanced" and choose "File Manager";

In File Manager, navigate to "/system/etc", find and select "hosts", choose "Delete" and "Reboot System";

#Android

Uninistal AdAway (if not latest)

Download and install latest AdAway from XDA Labs

Open AdAway and select "Preferences";

Select "Target hosts file" and choose "Custom";

Select "Custom" and set it to "/su/etc/hosts";

#PC or Android with a terminal emulator

$ adb shell
$ su
# mount -o rw,remount /system
# cd /system
# rm /etc/hosts
# ln -s /su/etc/hosts /etc/hosts
# mount -o ro,remount,ro /system

#Android

Open AdAway, select "Download files and apply AD blocking" and reboot once asked.

I hope somebody will find this useful :)

Thanks
[Android Apps and Games] bobo_15:
It says Copy Failed
[Android Apps and Games] flakinarist:
You have to install the systemless version
[Android Apps and Games] mrRobinson:
mrRobinson - XDA == 0-kaladin - github

Working on this now.
[Android Apps and Games] kryzeK:
[MENTION=3355398]mrRobinson[/MENTION] Hi, I made (lazy and very simple) a Round Icon for AdAway. You can use them for Pixel or anothers devices running Android 7.1 that support this feature, if you like it of course :good:

Here the zip with all sizes: https://drive.google.com/file/d/0BzkwxIh2-kkYZjJkUUVZTWZaYnc/view?usp=sharing
[Android Apps and Games] mrRobinson:
awesome. i'll get this 3.2 out then see about integrating it with bugfixes there after. Hopefully i can root my pixel soon and try it out.
[Android Apps and Games] mrRobinson:
3.2 Preview edition posted

After solid feedback, will update with a 3.2 Final

Changelog 3.2

+* Systemless root support - extensive work by [MENTION=2822685]PerfectSlayer[/MENTION]

+* Improvements to root mounter - by [MENTION=2963865]sanjay900[/MENTION]

+* Translations updates

+* Various updates for support on Android 7.x
[Android Apps and Games] kryzeK:
v3.2 with systemless option finally works fine on Superuser by phh!

Thank you so much. I'm running Android 7.1
[Android Apps and Games] garrettsessions:
3.2 working great here. Nexus 6P on 7.1.1 with PHH root. Thanks for all the hard work.
[Android Apps and Games] RyomaEchizen:
Can i install the new version if actually i have 3.1.2 with systemless hosts file?

Thanks for your work :)

Enviado desde mi Nexus 6P mediante Tapatalk
[Android Apps and Games] s--c:
v3.2 works a treat. No more flashing systemles zips. Great work [MENTION=3355398]mrRobinson[/MENTION] :)
[Android Apps and Games] jesssiii:
I did, worked.
[Android Apps and Games] mrRobinson:
all thanks to [MENTION=2822685]PerfectSlayer[/MENTION] on this one!
[Android Apps and Games] Midomad:
No problem to update to latest version If already using systemless zip for adaway?
[Android Apps and Games] Pkt_Lnt:
Two posts above is your answer before you asked. ;)

http://xdaforums.com/showpost.php?p=69353911&postcount=7315
[Android Apps and Games] aheeejd:
I read last few pages, I'm running a Validus 5.1.1 rom on my LG G3 (ls990) & am wondering if I should/can install 3.2 preview or just stick with 3.1.2? Thank you & thanks for all your work
[Android Apps and Games] Midomad:
Yes just to be sure from Mr robinson :)
[Android Apps and Games] mrRobinson:
Don't wait for me. These guys are here to help. But yes that is one of the tests I did first on my nexus 6p. No issues.
[Android Apps and Games] TotallyAnxious:
3.2 confirmed working with magisk v8 after removing builtin systemless host lines from scripts.
[Android Apps and Games] mitchdickson:
Works great here also. Using phh, changed target file to /system, and it applies perfectly.
[Android Apps and Games] tag68:
Thank you for the Update!

Now I wonder if BusyBox still is required, because I can not see it listed in requirements.

Is it fine that adaway.org prominently links F-Droid where an incompatible signature is being used?
[Android Apps and Games] s--c:
and a big thank you to [MENTION=2822685]PerfectSlayer[/MENTION] might I add :)
[Android Apps and Games] mrRobinson:
I think its fine. To me there are 2 real sources of AdAway. I have full access to the git to merge and release versions. So when I do builds myself I post them here and XDA Labs. I have a history here so people are probably just fine with using the builds I produce. But this is a dev site and tons of people don't really look to xda to get their apps. F-droid has its own following of the more open source purists because the apps you get there, you don't need to trust a human to ensure they are built from source. So it has a good benefit for that. Its downside is i'm not going to tag the repo for f-droid to build until I know we have a solid build as those users won't probably come here for help. with two different builds you'll have 2 different signatures. So really as the user you have a choice, take my XDA published builds which can be more bleeding edge. Or stick with f-droid which will only see proven builds but will at times lag behind the latest changes.
[Android Apps and Games] mrRobinson:
Btw, I'm glad I'm seeing a lot of posts saying its working. I wouldn't mind a few asking for some improvements. Is everything clear on usage? What could be made better? Now is the time to see if we can get it in before 3.2 Final.

maybe [MENTION=4544860]osm0sis[/MENTION] has some suggestions. Things look good but I haven't looked at enough to know for sure if something we are doing could be made more robust. Plus I guess I'll update a bit for 7.1 once out of dev preview.
[Android Apps and Games] krule031:
[MENTION=3355398]mrRobinson[/MENTION] please include the latest translations in the final build, I fixed many of them for Croatian language :fingers-crossed::good:

Edit: Ooops, didn't saw you already said that translations were updated. Just be sure to update them once again because I did some changes minute ago :)
[Android Apps and Games] PerfectSlayer:
You're welcome! I took me some days to get it work but I'm glad it's done.

I hope you will enjoy it and may be we could enable it default then :)
[Android Apps and Games] m0han:
i'm on resurrection remix v5.7.4 rom for htc one m8. the rom came with adaway built-in. i had to flash the systemless zip file before updating the definition files. things look good.

but now, should i just install the apk and go about my business as usual? i ask again 'cos (after the v3.2 announcement) i haven't see anyone mention about their rom having come with adaway built-in.
[Android Apps and Games] stokholm:
What exactly does the preview do with the hosts file, when using phh's Superuser (not Magisk) systemless?

Does it run "su --bind /data/hosts:/system/etc/hosts" and put the hosts file in /data?

I couldn't figure it out from looking at the commit log.

A bonus question: If /data/su/binds exists with the bind mentioned above already, should I delete it before upgrading AdAway to the preview?
[Android Apps and Games] mrRobinson:
Looks like my pixel is rooted. But /system is now /system_root

Hmmmm
[Android Apps and Games] FunkeeC:
just tested latest version on my XL, worked well once i set it to do systemless. unfortunately once i unrooted the adblocking no longer worked (i would root my Moto X Pure just to use adaway then unroot to be able to use andoid pay). wonder if there will be any way to block via hosts w/o running root full time.
[Android Apps and Games] m0han:
[MENTION=3355398]mrRobinson[/MENTION], [MENTION=2822685]PerfectSlayer[/MENTION], [MENTION=4544860]osm0sis[/MENTION]...... please advise on the above. i'm rooted using chainfire's supersu v2.78sr1 and am using topjohnwu's systemless xposed v86.2 as of now.
[Android Apps and Games] exodius48:
Dev version still touching /system on my device, running MIUI 8 , rooted with supersu 2.78 as systemless mode. Already ticked "enable systemless mode". :confused:

Anyone can help me?
[Android Apps and Games] ren0.1:
Same problem, Nexus 6 with stock Android + root and "systemless AdAway" zip already installed. Still receiving symlink error / prompt.

If systemless AdAway zip needs to be uninstalled / undone, can someone provide a method?
[Android Apps and Games] swallowingled:
The systemless zip adds this file below, you can just delete it using a file manager with root access.

/su/su.d/0000adaway.script
[Android Apps and Games] m0han:
i'd like to know too w.r.t. an upgrade to v3.2. thanks.
[Android Apps and Games] theincognito:
[MENTION=3355398]mrRobinson[/MENTION] A huge fan of your work. :) I never had any problems with AdAway before. But,recently I switched my phone to Redmi Note 3.

Right now,I am running Android 7.0(CAF based ROM). Phone is rooted with Magisk + phh SuperUser(SuperSU seems to break sensors for this device). Anyway,I tried AdAway v3.1.2 (with and without systemless script) and v3.2.0 (with and without systemless script). The end result was the same everytime: "Rooted Android required. Either the su binary could not be found or you did not allow root permissions for AdAway". But,all other apps that require root works fine..

Please help me :crying:
[Android Apps and Games] shoey63:
You have obviously flashed SR2. Chainfire has made MAJOR modifications for Pixel devices. Check his latest G+ posts.
[Android Apps and Games] corkiejp:
Pixel or Pixel XL!

For using Adaway with Pixel phones try using the fix posted at the end of this.
[Android Apps and Games] fhem:
Thanks for your persistence and hard work.
[Android Apps and Games] jaibar:
Dev build from 10/28 solved me the problem that I couldn't write hosts file without changing its permissions beforehand.

Not sure why, but it works. Using phh's superuser and Bokrom 7.1.

Many thanks!
[Android Apps and Games] osm0sis:
;)

Looks good to me! I tested out the functionality and it's all working great.

Should be fine. Try it and let us know?
[Android Apps and Games] mrRobinson:
Did you try rebooting after checking that? Can you check mounts?
[Android Apps and Games] m0han:
although i did not face any errors, i'm not sure if things are fine. there is a (new) folder org.adaway-1 in /data/app. the (rom's built-in) Adaway folder in /system/app remains as such. there is hosts in /system/etc (dateline reflects the update).

---------- Post added at 09:01 AM ---------- Previous post was at 08:47 AM ----------

after installing the v3.2 apk, i checked preferences. 'enable systemless mode' was already selected. i proceeded to 'apply host sources' and rebooted immediately thereafter. so, what is the correct procedure? btw, how does one 'check mounts'? thanks for all the help.
[Android Apps and Games] exodius48:
No, i did not reboot.

How to check mount?
[Android Apps and Games] shaqman89:
Using terminal or adb, just type mount.
[Android Apps and Games] exodius48:
[MENTION=3355398]mrRobinson[/MENTION] here mount log
[Android Apps and Games] yanleites:
Nexus 5X DP 7.1.1 Works great !
[Android Apps and Games] m0han:
mine:
[Android Apps and Games] Natakranta:
[MENTION=3355398]mrRobinson[/MENTION], with latest update system method finally works with PHH Superuser, it writes hosts to /system/etc without problem (with previous version June 26 build, I had to remount system r/w in terminal before running AdAway to successfully apply newly built host file)

Nexus 6P running ABC, an AOSP 7.0 ROM, with PHH superuser.

Epic win!

The Answer to The Ultimate Question of Life, the Universe, and Everything is: CLEAN FLASH.
[Android Apps and Games] Robert342:
Hello. I've got a question. How can I unlock ads in this app? : https://play.google.com/store/apps/details?id=com.acmelabs and this: https://play.google.com/store/apps/details?id=com.slidejoy

Sent from Oukitel K10000 (Android 5.1)
[Android Apps and Games] githyanki:
Does adaway work for you?

Methods of removing ads in apps that don't use the host file are forbidden topics on XDA.
[Android Apps and Games] Robert342:
AdAway works perfectly. Perfect block ads into many apps, but I wanna unlock it only in this two apps.

Sent from Oukitel K10000 (Android 5.1)
[Android Apps and Games] androcraze:
By "unlock", you mean you ***WANT*** to see the ads?

Disable the app in AdAway settings.

Reboot the phone.

Click the three dots in AdAway, slect "Log DNS Requests", follow the directions.

Open the app you want the ads for, make sure the ads appear.

Close the above app

Review the log file you've created, and enter those entries in your whitelist
[Android Apps and Games] PerfectSlayer:
According your mounts, systemless is well enabled.

To check if enabled, you should have the following line:

/dev/block/loopX on /system/etc/hosts type ext4 (rw,seclabel,noatime,data=ordered)

Where loopX is the same as the loop device as root (check where su binary is mounted, here «loop0»):

/dev/block/loop0 on /system/xbin/su type ext4 (rw,seclabel,noatime,data=ordered)

The settings will be checked if the /su/su.d/0000adaway.script is present.

It's the same script that some of you have flashed throw recovery for the previous releases.
[Android Apps and Games] jaladhjin:
What does the "Allow Redirection" feature mean enabled vs disabled ?

It has a little warning about it being a security issue if enabled..

Why ? What's the difference ?

What could a potentially malicious address / site / whatever do ? Versus what would a not malicious site be using it for ?

/salute
[Android Apps and Games] m0han:
not knowledgeable enough to get the full gist of what you mean. in layman's terms, does this mean that /system is untouched through this adaway update? and i could safely receive ota updates to the rom, should they get released?

p.s.: my thanks limit for the day is up. but, thanks a lot.
[Android Apps and Games] exodius48:
So where i can put this code?

/dev/block/loop0 on /system/etc/hosts type ext4 (rw,seclabel,noatime,data=ordered)

Recently checked, there is 0000adaway.script inside /su folder. Also /su/system/etc there is hosts file. But hosts inside /system/etc/ also has big file.
[Android Apps and Games] PerfectSlayer:
Those information allows developers to check what's happening with systemless mode and if it's enables.

If it's enabled, it means Adaway won't edit the hosts file of you /system partition.

Concerning OTA, if hosts file was the only modification you had on your system partition, then OTA updates could now applied (if they only patch system partition).

Systemless root is altering boot partition which means OTA updates still won't apply if they try to patch the boot partition.

---------- Post added at 14:28 ---------- Previous post was at 14:23 ----------

In fact, this is not a code to put somewhere. It's an extract of the logs of mounts you give us ;)

Those big hosts files should be the same. The mount line you mention means it « mirrors » the hosts file from « /su/system/etc/hosts » to « /system/etc/hosts ».
[Android Apps and Games] Commander Cody:
The new systemless mode that came with the unstable release 3.2 is working perfectly fine on my N5X with the Android 7.1.1 Preview.

Thanks. :)
[Android Apps and Games] m0han:
well, 'those big hosts files' ARE INDEED the same. excellent explanation; i stand enlightened. many many thanks. permit me to attach a few screenshots. :D :good:

View attachment 3922833 View attachment 3922834
[Android Apps and Games] Jangoux:
New to the app and getting "Failed to save host files" error or something like this. How can I fix this ?
[Android Apps and Games] exodius48:
So in other way AdAway systemless mode is work in my device, right?
[Android Apps and Games] Ja_som:
Which version do you use and on which device and Android version?

W/o those informations no one can help you
[Android Apps and Games] Jangoux:
Motorola XT1068 (2nd Gen, 2014, Moto G), on latest CM14 build
[Android Apps and Games] osm0sis:
Since the status seems to be causing most/all remaining confusion with the feature, would it be possible to have an indicator the bind mount is active?

Seems the toggle ties to the placement of the su.d script, so maybe a little line of text below that says whether the bind mount if active, ("Enabled, bind mount active"), or alternately has failed and maybe a reboot is required ("Enabled, bind mount failed - Reboot?").
[Android Apps and Games] Ja_som:
Do you have enough free space in system partition?
[Android Apps and Games] Jaizu:
Dev version working so good on Android N, thanks for sharing (:
[Android Apps and Games] Robert342:
Anyone got the mail to developer?

Sent from Oukitel K10000 (Android 5.1)
[Android Apps and Games] Jangoux:
Yeah, I guess, did a clean wipe/install yesterday.
[Android Apps and Games] PerfectSlayer:
That's right ;)

Yes, it's based on the presence of the file because it's a robust way to detect systemless mode.

When the script is installed, it's immediately ran. There is no need to reboot to apply systemless so it should have no different state like "enabled" and "bind mount active".

When the script is uninstalled, you need to reboot to disable systemless but a popup warns you.
[Android Apps and Games] osm0sis:
Agreed, but running the script isn't the same as knowing it worked. Which is I think why we have so many people asking, and why I suggested a bit more transparency/detail in the information provided.

if [ "$(mount | grep hosts)" ]; then echo "Enabled, bind mount active."; fi; #?
[Android Apps and Games] piccit:
Isn't one able to tell when it works based on being able to apply ad blocking and seeing it reported as enabled
[Android Apps and Games] exodius48:
Ok ,case solved.

But I've another issue, i add new hosts source but its not updated, how to solve? Already updated then reboot, but after rebooted , its still not updated.

Pic attached!