[Q] Adlbocking (Adaway) - Nexus 5 Q&A, Help & Troubleshooting

I know it was removed from the market.. I have the latest adway from F-droid but it doesn't work.. And yes I am rooted.
Is there any Adblockers that are working? Or ways to fix Adaway?

Randomacts said:
I know it was removed from the market.. I have the latest adway from F-droid but it doesn't work.. And yes I am rooted.
Is there any Adblockers that are working? Or ways to fix Adaway?
Click to expand...
Click to collapse
I had this problem so I uninstalled it and reinstalled it and now its working great..
Sent from my Nexus 5 using XDA Premium 4 mobile app

AdAway works fine. You need to either reboot before installing the APK, or clear out all recent apps before hand.

Yup, works fine for me also

Check your Superuser/SuperSU app to make sure you gave it permission, or;
Uninstall the app, reboot and reinstall, or;
Run fix permissions in CWM/TWRP.

Just to chime in here:
I have noticed that Adaway does fail to apply updated Hosts files. If you just keep telling it to update, it will usually work the second or third time. But it does fail for me the first time almost every time. I'm not sure if it's a r/w issue with Kitkat or just some kind of general compatibility issue.
If by "not working" you mean it fails to apply the host file, just keep trying. It should work eventually.

Related

[Q] [Solved] Superuser: isn't asking for permissions BUT apps work

I'm confused! I have superuser installed and as of yet no app has asked for permissions; they just work. With the exception of ROM Manager which just freezes (needs long hold on back key). On previous ROMs I've flashed, requests for permissions pop up and you allow/deny etc. I've tried using the updater from the marketplace (force closes) and updating the binary (force closes). Am not able to uninstall superuser. I've turned on/off USB Debugging, fixed permissions, almost everything else I've found on the net.
As apps are working it isn't the end of the world but I'm confused about why they are working and also slightly concerned over the security aspect of apps not asking me and just running.
Apps that work without asking include: Titanium Backup, CPU Master, NSTools, File Explorer
I9020
Matr1x 15 Kernel
Orca 1 RC-0.1 (Drew Garen/BamtauMod)
What version is it? Try flashing version 3.0.7, this was the first to work with ICS if I remember correctly.
http://downloads.androidsu.com/superuser/Superuser-3.0.7-efghi-signed.zip
Hi,
According to the app it's version 3.0.7 (41).
I should've mentioned that it's an ICS ROM, sorry.
flodb113 said:
What version is it? Try flashing version 3.0.7, this was the first to work with ICS if I remember correctly.
http://downloads.androidsu.com/superuser/Superuser-3.0.7-efghi-signed.zip
Click to expand...
Click to collapse
You sir, are awesome! Thank you for link. I installed it and now my apps are requesting permissions.
Dynamo Nath said:
You sir, are awesome! Thank you for link. I installed it and now my apps are requesting permissions.
Click to expand...
Click to collapse
Glad you're happy with it! When ICS came out, we had to wait a week (I think) for the update to make SU work properly. Great work from the dev, as always.

AdAway (Fully working) with tutorial

Root is required for this application. Thanks to DesignGears & Chainfire for putting in the work for root to be on our phones.
Please try method 1 and 2 before posting that it doesn't work. Let me know which one worked for you in the comments.
_________________________________
Method 1 :
Download FDroid from this link - https://f-droid.org/FDroid.apk
Open FDroid and download AdAway.
Some have reported that this AdAway will install the host file without any issues.
_________________________________
Method 2 :
Download AdAway here - http://www.androidfilehost.com/?fid=23060877490004670
(All credit for the link goes to mrRobinson)
After you have installed and opened the app -
Click "Download files and apply ad blocking"
The app is going to crash, don't worry!
Re-open the application and click "Download files and apply ad blocking" again
This time it will give you a pop up saying "Copying of host file failed", once again don't worry!
Now click the refresh button in the top right, and now for the last time click "Download files and apply ad blocking"
You will now be told that it was successful and to restart.
This is how I got it to work, I apologize if it does not work on your device.
Please click the thanks button if this worked for you.
Screenshots
Don't you need root for this?
slidesear said:
Don't you need root for this?
Click to expand...
Click to collapse
Yes
147aaron said:
Yes
Click to expand...
Click to collapse
why wouldnt the official app work without crashing if you have root?
try the official one:
http://sufficientlysecure.org/index.php/adaway/
Guitarboarder28 said:
why wouldnt the official app work without crashing if you have root?
try the official one:
http://sufficientlysecure.org/index.php/adaway/
Click to expand...
Click to collapse
I tried to get the the app from that website but they want you to download it through a store. And I don't know about others but it hangs on downloading icons or something. So the only way I got the app was from mrRobinson post. According to him its the same app, but he just compiled it from the source from the Devs website.
does this nix the youtube apps? (pre-rolls)
wdkingery said:
does this nix the youtube apps? (pre-rolls)
Click to expand...
Click to collapse
I just tested it for you and no. I don't know of a way to that ether. I tried the youtube app and the mobile, they both had a ad on the same video that I tested.
Well yea but the stores legit no worries there
Sent from my SAMSUNG-SGH-I317 using xda app-developers app
I just installed it normally with no problems. Never even had a crash the first time.
I'm not rooted (yet), but all of my rooted device AdAway just works. So I really don't see any reason for the AdAway NOT to work if your phone is rooted. Unless I'm missing something here...
Pikezer1337 said:
I just installed it normally with no problems. Never even had a crash the first time.
Click to expand...
Click to collapse
Visual360 said:
I'm not rooted (yet), but all of my rooted device AdAway just works. So I really don't see any reason for the AdAway NOT to work if your phone is rooted. Unless I'm missing something here...
Click to expand...
Click to collapse
This was just my experience with it. I have used adaway on other devices and it just installed with no problem. I posted this because I had seen some other people were having issues with it, so I was just letting people know how I got it to work.
147aaron said:
Please follow tutorial before posting that it doesn't work.
Root is required for this application. Thanks to DesignGears & Chainfire for putting in the work for root to be on our phones.
Download AdAway here - http://www.androidfilehost.com/?fid=23060877490004670
(All credit for the link goes to mrRobinson)
After you have installed and opened the app -
Click "Download files and apply ad blocking"
The app is going to crash, don't worry!
Re-open the application and click "Download files and apply ad blocking" again
This time it will give you a pop up saying "Copying of host file failed", once again don't worry!
Now click the refresh button in the top right, and now for the last time click "Download files and apply ad blocking"
You will now be told that it was successful and to restart.
This is how I got it to work, I apologize if it does not work on your device.
Please click the thanks button if this worked for you.
Screenshots
Click to expand...
Click to collapse
I downloaded my AdAway from f-Droid, but I've seen the same crash behavior.
After the crash, the download and apply worked on the first try.
(The first time, I had to flash back to stock and re-root. The second time applying AdAway blocking took a couple of tries before it went through (6 more specifically))
you can try adaway 2.3 official
or
AdAway-release_Build-10.09.13
the new release is working like a charm
147aaron said:
I tried to get the the app from that website but they want you to download it through a store. And I don't know about others but it hangs on downloading icons or something. So the only way I got the app was from mrRobinson post. According to him its the same app, but he just compiled it from the source from the Devs website.
Click to expand...
Click to collapse
Mine also hung on downloading icons....so i went to playstore and seached for busybox...downloaded and installed newest version by jrummy....installed box and then tried the app again and install flawlessly....doesnt mean it will work for everyone but it worked for me...:good::laugh:
I just install it from fdroid. I don't really use a lot of stuff from there as it's mostly in the market, but I do for this one so I don't have to look for updates on a website etc.
i dled it from fdroid also, it didnt work at first, would just hang up on applying the files but i rebooted and it was successful the first try
rockinandroid said:
Mine also hung on downloading icons....so i went to playstore and seached for busybox...downloaded and installed newest version by jrummy....installed box and then tried the app again and install flawlessly....doesnt mean it will work for everyone but it worked for me...:good::laugh:
Click to expand...
Click to collapse
khaytsus said:
I just install it from fdroid. I don't really use a lot of stuff from there as it's mostly in the market, but I do for this one so I don't have to look for updates on a website etc.
Click to expand...
Click to collapse
xaniq said:
i dled it from fdroid also, it didnt work at first, would just hang up on applying the files but i rebooted and it was successful the first try
Click to expand...
Click to collapse
Thanks for the feedback. I will update the thread to have both methods shortly
I've found supersu leaving dozens of sudaemon's around which sometimes breaks root entirely (until you reboot) or sometimes you can manage to get su to work and then kill apps.
Adaway seems to potentially be a leading cause of this, or maybe it's just the obvious victim, I'm not sure. But I often find it's complaining it could not apply the hosts file, so I get into a shell, find a bunch of stray sudaemon's, kill them, then it's happy again.
I think there's still some tweaking that can be done for su on 4.3.
All I did was install Fdroid, then
Go into to terminal and type this
su
restorecon -R -v /data/data
Then install adaway and run as normal
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
Use FDroid
Just a quick heads-up. I used FDroid to install AdAway yesterday...no problems, loaded first time and enabled without a hitch. A word to the less experienced Android (Note 3) flashers like myself.
OFF TOPIC Question: What's the best Terminal Emulator to use for someone like me, who wants to learn to use a TE?? Your assistance would be most appreciated.
Thanx...Chief

[Q] how to show MaaS360, that my device in NOT rooted? :)

Hello Team.
I have a unusual situation. :>
I have my HOS rooted and CandyKat ROM installed. Everything is working just fine
Unfortunately, I have to install MaaS360 app to authorize my dev in our corporate network. After installation, I can not move forward, since MaaS360 indicates, that my dev is rooted ;>>
Q: what should/can I do, to have my HOS indicating as un-rooted but still have my lovely Candy ROM installed?
hboot2.16 etc. in place... ;>
Could you try revoking root rights from that MaaS360 app in superusrr
Sent from nowhere over the air...
Rapier said:
Could you try revoking root rights from that MaaS360 app in superusrr
Sent from nowhere over the air...
Click to expand...
Click to collapse
well.. the MaaS360 is taking the control over whole dev after installation, so I don't think this can be so easy... nevertjeless, I'll try
update:
well.. ;>
it didn't work BUT, my Lotus Notes is working.. ;D so the MaaS360 is notifying about broken rules, rooted dev, but LN is working fine.. ;D interesting..
in case the MaaS360 will wipe my data due to rooted dev - any idea how to tell this f*** tool to treat it as unrooted dev?
xklonik said:
well.. the MaaS360 is taking the control over whole dev after installation, so I don't think this can be so easy... nevertjeless, I'll try
update:
well.. ;>
it didn't work BUT, my Lotus Notes is working.. ;D so the MaaS360 is notifying about broken rules, rooted dev, but LN is working fine.. ;D interesting..
in case the MaaS360 will wipe my data due to rooted dev - any idea how to tell this f*** tool to treat it as unrooted dev?
Click to expand...
Click to collapse
I know for sure that was an app in play store that was fooling some other apps you have root (so the other way around). It could be that a similar app exists. Have you tried for ex an xposed module that block some rights of apps? Xposed works at system level so it could do the job...
Sent from nowhere over the air...
Rapier said:
I know for sure that was an app in play store that was fooling some other apps you have root (so the other way around). It could be that a similar app exists. Have you tried for ex an xposed module that block some rights of apps? Xposed works at system level so it could do the job...
Sent from nowhere over the air...
Click to expand...
Click to collapse
I'm not sure, which "xposed" app you proposed - there are few of them in the play store.. nevertheless, I tried to use some simple methods, like remove su & busybox from the /system/xbin - unfortunately it didnt work.. any other sug's? in a worst scenario, I'll buy another used HOS, but I don't really want to do that..
update:
I tried things like:
RootCloak
SuperSu - Full unroot
no success..
update2:
lest take it from the other side..
let's say I wanted to have my dev rooted only to change the ROM.. I already installed my new ROM and I don't really need the root anymore.. what should I do to un-root my dev without going back to stock ROM? I don't really know what this MaaS360 is checking to find the dev. rooted.. (well, maybe google knows, I'll check in the meantime)
solution found... ;>
the helpful soft is....: RootCloak Plus!
and this is the whole procedure I made...
0) I installed and tried to run MaaS360 - this will allow you to add proper app to RootCloak in next steps
1) I run the SuperSu and used the "Full unroot" option - it will remove su and busybox from the /system/xbin
2) I downloaded and installed RootCloak
3) I added from the list following app: com.fiberlink.maas360.android.control
4) I removed MaaS360 completely - first stop the app in options, then remove from apps
5) I restarted the dev
6) I run the RootCloak to check if my added app is still added ;>
7) I downloaded and installed the MaaS360 again
8) After giving my credentials, the app configured its desktop and works just fine...
I'm just wondering if I can reinstall back SuperSu (because RootCloak should prevent MaaS360 from recognize my dev as rooted), but I don't actually need SuperSu right now, so I'll just enjoy my corpo apps on my phone..
In case of questions, please let me know
Thanks for all help and directions!
xklonik said:
I'm not sure, which "xposed" app you proposed - there are few of them in the play store.. nevertheless, I tried to use some simple methods, like remove su & busybox from the /system/xbin - unfortunately it didnt work.. any other sug's? in a worst scenario, I'll buy another used HOS, but I don't really want to do that..
update:
I tried things like:
RootCloak
SuperSu - Full unroot
no success..
update2:
lest take it from the other side..
let's say I wanted to have my dev rooted only to change the ROM.. I already installed my new ROM and I don't really need the root anymore.. what should I do to un-root my dev without going back to stock ROM? I don't really know what this MaaS360 is checking to find the dev. rooted.. (well, maybe google knows, I'll check in the meantime)
Click to expand...
Click to collapse
The Xposed modules should be downloaded from the Xposed repository not from Play Store....there was an Xprivacy module that block some per-app rights, I cannot check right now since I don't have Xposed installed
Sent from nowhere over the air...

Something like Xposed-RootCloak for Pie

Anyone know of a way to have the phone report it is not rooted like you could with Xposed/Rootcloak?
toy4x4 said:
Anyone know of a way to have the phone report it is not rooted like you could with Xposed/Rootcloak?
Click to expand...
Click to collapse
Have you tried magisk hide?
Sent from my [device_name] using XDA-Developers Legacy app
Yes. It still seems to have issues app wise. Maybe the app is installing some module I don't know of? I grab the app off of the play store, mark it in MagiskHide and then install Outlook on top of that and mark it in MagiskHide. It still reports root.
toy4x4 said:
Yes. It still seems to have issues app wise. Maybe the app is installing some module I don't know of? I grab the app off of the play store, mark it in MagiskHide and then install Outlook on top of that and mark it in MagiskHide. It still reports root.
Click to expand...
Click to collapse
Does magisk show that your phone passes the safety net check?
Have you used the feature to hide the Magisk manager app? It renames the package so other apps don't know it is installed. Apps don't need special permissions to retrieve installed package names, Pokemon go won't work unless you do that. Also, it tended to not work if you had a folder by the name of Magisk even though it didn't have storage permissions it would get a different error if the file was there vs not there.

Does anyone have Adaway running on Android 10?

Due to mounting issues with the current root solution on Android 10, Adaway doesn't seem to be able to either write to the hosts file or modify it. Has anyone found a solution?
Thanks....
floepie said:
Due to mounting issues with the current root solution on Android 10, Adaway doesn't seem to be able to either write to the hosts file or modify it. Has anyone found a solution?
Thanks....
Click to expand...
Click to collapse
Really? Mine is working exactly as in Pie. I am rooted with magisk 19.3 and have systemless hosts module installed. Adaway has no issue writing to this hosts file.
clcdev said:
Really? Mine is working exactly as in Pie. I am rooted with magisk 19.3 and have systemless hosts module installed. Adaway has no issue writing to this hosts file.
Click to expand...
Click to collapse
Thanks! Got it working. There is no module any longer, as it is a setting in the app itself - a setting which you just tap with no dialog, only a "toasted" confirmation.
floepie said:
Thanks! Got it working. There is no module any longer, as it is a setting in the app itself - a setting which you just tap with no dialog, only a "toasted" confirmation.
Click to expand...
Click to collapse
When I click that checkbox, I got the confirmation on the bottom that says Adaway was granted Superuser rights, but the box doesn't actually check, and nothing changes. Am I missing something stupid?
Go to setting in magisk and enable this module, restart, and then adaway should work.
I've tried that. Got all messages showing up that it's fine. Rebooted and still see ads in certain pages.
Unfortunately best solution thus far is the AdGuard app but that's VPN and draining juice.
wbgenetic said:
I've tried that. Got all messages showing up that it's fine. Rebooted and still see ads in certain pages.
Unfortunately best solution thus far is the AdGuard app but that's VPN and draining juice.
Click to expand...
Click to collapse
Just to make sure; you also checked the systemless mode in AdAway?
(after reboot to enable magisk systemless module)
If it blocks most ads you may want to add another hosts source.
Mother_Teresa said:
Just to make sure; you also checked the systemless mode in AdAway?
(after reboot to enable magisk systemless module)
If it blocks most ads you may want to add another hosts source.
Click to expand...
Click to collapse
I have the same problem. Pixel 2 XL, Android 10. Magisk works, safetynet works. Adaway doesn't. The systemless hosts module in magisk shows as enabled, the tick box on adaway doesn't work (when I tap it nothing happens). When I select enable adblocking in Adaway it starts building the hosts file and ends with an error message "remount failed. Remounting the partition as read/write failed!".
airmark said:
I have the same problem. Pixel 2 XL, Android 10. Magisk works, safetynet works. Adaway doesn't. The systemless hosts module in magisk shows as enabled, the tick box on adaway doesn't work (when I tap it nothing happens). When I select enable adblocking in Adaway it starts building the hosts file and ends with an error message "remount failed. Remounting the partition as read/write failed!".
Click to expand...
Click to collapse
Are you using the latest AdAway? Maybe you need to update the app itself.
Hmmm can I add other stuff to the hosts file? Sort of like easy lists for different languages like adblocker on chrome for PC? This might do the trick if possible.
hunfatal said:
Are you using the latest AdAway? Maybe you need to update the app itself.
Click to expand...
Click to collapse
Version 4.2.9. F-droid says it's the latest
wbgenetic said:
Hmmm can I add other stuff to the hosts file? Sort of like easy lists for different languages like adblocker on chrome for PC? This might do the trick if possible.
Click to expand...
Click to collapse
Yes, checks settings
So most ads get blocked but not all?
adaway forum to get latest version and gossip.
I also had issues getting AdAway running on Android 10, but managed to get it going eventually. I had the same issues as the others: "Enable systemless mode" checkbox was "toasting" but not checking in AdAway, despite tapping the "Systemless hosts" item in Magisk and getting successful-looking toast notifications.
Steps that worked for me:
Take note of any settings you have in AdAway, as they are about to go away
Completely uninstall AdAway. This means Force Stop, Clear Cache, Clear Data, then Uninstall
Reboot
Open Magisk Manager --> Settings --> Tab the "Systemless hosts" item. You should get the toast notification.
Install the latest version of AdAway (v4.2.9 as of now, as others have mentioned)
Open AdAway --> Preferences. With luck, you'll see that Enable systemless mode is checked already (pretty sure mine was). If not...maybe try checking it now.
AdAway should work now. Make sure to poke around and add back any customizations you used to have.
Hope that helps!
I stopped using adaway in favor of DNS66 for about two years now. Might be worth a shot if you're still having issues with Adaway
https://f-droid.org/en/packages/org.jak_linux.dns66/
HypromanGT said:
I also had issues getting AdAway running on Android 10, but managed to get it going eventually. I had the same issues as the others: "Enable systemless mode" checkbox was "toasting" but not checking in AdAway, despite tapping the "Systemless hosts" item in Magisk and getting successful-looking toast notifications.
Steps that worked for me:
Take note of any settings you have in AdAway, as they are about to go away
Completely uninstall AdAway. This means Force Stop, Clear Cache, Clear Data, then Uninstall
Reboot
Open Magisk Manager --> Settings --> Tab the "Systemless hosts" item. You should get the toast notification.
Install the latest version of AdAway (v4.2.9 as of now, as others have mentioned)
Open AdAway --> Preferences. With luck, you'll see that Enable systemless mode is checked already (pretty sure mine was). If not...maybe try checking it now.
AdAway should work now. Make sure to poke around and add back any customizations you used to have.
Hope that helps!
Click to expand...
Click to collapse
FIXED : Did same twice didn't work untill i gave permission of storage to the app before launching it
driss.sadok said:
FIXED : Did same twice didn't work untill i gave permission of storage to the app before launching it
Click to expand...
Click to collapse
I have done step by step and doesnt work, i've got android 9, but it doesnt metter still cant make it work. Root works, hosts i've checked with file menager is also full, updated sources. Checked with 3 browsers and i still see alot of ads...
smile20 said:
I have done step by step and doesnt work, i've got android 9, but it doesnt metter still cant make it work. Root works, hosts i've checked with file menager is also full, updated sources. Checked with 3 browsers and i still see alot of ads...
Click to expand...
Click to collapse
have you enabled systemless hosts in magisk?
gvsukids said:
have you enabled systemless hosts in magisk?
Click to expand...
Click to collapse
Yes, in magisk manager, restarted system, then installed adaway, gave permission to storage before first turn on, then checked systemless host setting in Adaway menu, but it was already on, downloaded sources, restarted system and now it supposed to wotk, but it doesn....There was just one reason i've rooted system, and it doesnt work...
Try enabling the hosts before installing adaway. Are you using the fdroid version?
gvsukids said:
Try enabling the hosts before installing adaway. Are you using the fdroid version?
Click to expand...
Click to collapse
This is how i've done . First enabled in magisk manager, then installed Adaway. I've downloaded direct Adaway apk from frdroid site.

Categories

Resources