Does anyone have Adaway running on Android 10? - Google Pixel 2 Questions & Answers

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.

Related

[Q] Adlbocking (Adaway)

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.

Ad blocking

For the life of me I cannot block ads. I've tried adaway magisk modules and manually editing the hosts file. Only way Ive been able to do it is via VPN but I don't want to go that route.
It did work. Then I reset my phone and it now no longer works.
Any ideas?
miffymiffy said:
For the life of me I cannot block ads. I've tried adaway magisk modules and manually editing the hosts file. Only way Ive been able to do it is via VPN but I don't want to go that route.
It did work. Then I reset my phone and it now no longer works.
Any ideas?
Click to expand...
Click to collapse
Have you tried systemless hosts in Magisk and then AdAway?
bp328i said:
Have you tried systemless hosts in Magisk and then AdAway?
Click to expand...
Click to collapse
yeah, same thing. Still showing ads.
Ive used about 8 different versions of adaway too cos I know there were issues previously.
miffymiffy said:
yeah, same thing. Still showing ads.
Ive used about 8 different versions of adaway too cos I know there were issues previously.
Click to expand...
Click to collapse
I'm using this version with no issues whatsoever. Not sure why it says that it was installed via the Google play Store...lol

adaway??

Does anyone else have adaway working? I'm on global 10.5.10 and adaway says something about symlink missing and when I try to fix it within adaway, it doesn't work
If you use magisk go to settings and enable systemless hosts
Works on my OnePlus 8. Make sure you enable systemless hosts in magisk like other user said.
noloukos said:
If you use magisk go to settings and enable systemless hosts
Click to expand...
Click to collapse
This is what happens when I enable adblocking then when i create a symlink it says this and has me reboot but after I reboot it says adblocking isn't enabled again so I keep creating a symlink over and over
I figured it out, I just rebooted and it eventually worked ?

Downgrade rooted device from Android 11 to Android 10 without data loss

I upgraded to Android 11 (Oct 2020 stable) a couple of days ago. I have never been more disappointed in an Android release. My phone freezes constantly and the only way out is a hard reboot. Sometimes it takes 5-6 reboots before the phone behaves normally. There are lots of threads on Google forums where people are facing the same issue on different pixel models, so it looks like an issue with the OS and not the phone. I would like to go back to Android 10 and preferably save my data. I have a rooted phone. Can I follow the same steps that I performed to upgrade - https://www.youtube.com/watch?v=fYib1WNr2I8?? Thanks!
slvrhwk said:
I upgraded to Android 11 (Oct 2020 stable) a couple of days ago. I have never been more disappointed in an Android release. My phone freezes constantly and the only way out is a hard reboot. Sometimes it takes 5-6 reboots before the phone behaves normally. There are lots of threads on Google forums where people are facing the same issue on different pixel models, so it looks like an issue with the OS and not the phone. I would like to go back to Android 10 and preferably save my data. I have a rooted phone. Can I follow the same steps that I performed to upgrade - https://www.youtube.com/watch?v=fYib1WNr2I8?? Thanks!
Click to expand...
Click to collapse
No, downgrading requires a wipe (factory image with -w intact).
slvrhwk said:
I upgraded to Android 11 (Oct 2020 stable) a couple of days ago. I have never been more disappointed in an Android release. My phone freezes constantly and the only way out is a hard reboot. Sometimes it takes 5-6 reboots before the phone behaves normally. There are lots of threads on Google forums where people are facing the same issue on different pixel models, so it looks like an issue with the OS and not the phone. I would like to go back to Android 10 and preferably save my data. I have a rooted phone. Can I follow the same steps that I performed to upgrade -
?? Thanks!
Click to expand...
Click to collapse
I am assuming you are rooted? Are you using systemless hosts module and Adaway? That causes what you are describing...there is a bug in one of them.
Uninstall Adaway and the Systemless Hosts module if so.
TonikJDK said:
I am assuming you are rooted? Are you using systemless hosts module and Adaway? That causes what you are describing...there is a bug in one of them.
Uninstall Adaway and the Systemless Hosts module if so.
Click to expand...
Click to collapse
Yes, I'm using Adaway and Systemless Hosts module. Cool, I'll delete it. Any other way to run adblock currently?
Thanks a ton, btw! This really helps!
Edit: I uninstalled Adaway. But I'm running the canary version of Magisk and when I go to settings, there's no option to delete Systemless Hosts module. There is a button "Systemless Hosts" and when I click on it, it says 'Added systemless module for adblock apps'. How do I delete it?
slvrhwk said:
Yes, I'm using Adaway and Systemless Hosts module. Cool, I'll delete it. Any other way to run adblock currently?
Thanks a ton, btw! This really helps!
Click to expand...
Click to collapse
Check out this thread.
https://forum.xda-developers.com/pixel-3-xl/help/rooted-pixel-3-xl-frequently-freezes-t4164793/page5
slvrhwk said:
Yes, I'm using Adaway and Systemless Hosts module. Cool, I'll delete it. Any other way to run adblock currently?
Thanks a ton, btw! This really helps!
Edit: I uninstalled Adaway. But I'm running the canary version of Magisk and when I go to settings, there's no option to delete Systemless Hosts module. There is a button "Systemless Hosts" and when I click on it, it says 'Added systemless module for adblock apps'. How do I delete it?
Click to expand...
Click to collapse
One way to delete it would be to create a file called remove in the systemless host directory in /data/adb/modules/, and reboot. I don't have that module, so I don't know what the directory name is.
An alternative to AdBlock is Settings, Network & Internet, Private DNS. Set Private DNS provider hostname to dns.adguard.com.

Some apps disappeared on the Play Store after I rooted my phone.

When I first rooted my phone, everything was fine but after a few days some apps started showing up as "This app won't work on your device"
It wouldn't be a problem since I can just download the APK's, but I need to use the Revolut app, it is only available as a mobile app and when you don't install it from the Play store, it just doesn't work.
Can anyone show me a workaround for this?
Maybe a way to trick play store into letting me download all the apps as usual
or a way to trick the app into thinking it's been installed from the play store.
I thought about locking the bootloader again (OEM) but it'll wipe all data, and I don't want that. Because it's been a few months since I rooted my phone and I have a lot of data.
My phone is Samsung Galaxy S10E - SM-G970F if this info means anything.
hmm, try unrooting it, install all apps you need, and then re-root it again.
NikolaTechGuy said:
hmm, try unrooting it, install all apps you need, and then re-root it again.
Click to expand...
Click to collapse
Rooting wipes all the data tho
Quidney said:
When I first rooted my phone, everything was fine but after a few days some apps started showing up as "This app won't work on your device"
It wouldn't be a problem since I can just download the APK's, but I need to use the Revolut app, it is only available as a mobile app and when you don't install it from the Play store, it just doesn't work.
Can anyone show me a workaround for this?
Maybe a way to trick play store into letting me download all the apps as usual
or a way to trick the app into thinking it's been installed from the play store.
I thought about locking the bootloader again (OEM) but it'll wipe all data, and I don't want that. Because it's been a few months since I rooted my phone and I have a lot of data.
My phone is Samsung Galaxy S10E - SM-G970F if this info means anything.
Click to expand...
Click to collapse
you must pass safetynet as well as play integrity api in order for the apps to reappear. You can check this status by downloading the application YASNAC for safetynet status and Play Integrity API checker for checking play integrity status.
If your using magisk then you can flash safetynetfix module from here.
Flashing it should make the Basic integrity and cts profile check from False to true in yasnac
It should also turn Basic Integrity and Device Integrity from a Cross to a Tick
Strong integrity will always fail for rooted users. so forget abt that
Then go to apps > find playstore > storage > clear data
Open playstore again and you'll see an outdated UI dont worry it'll restore on the next app opening
in playstore then tap on your profile picture at the top right then go to settings. Scroll down and see if the device is play protect certified.
If it is the apps should reappear.
This is way too overkill tbh. you could just install Aurora store and call it a day since its litt playstore without accounts and stuff.
Captain_cookie_200 said:
you must pass safetynet as well as play integrity api in order for the apps to reappear. You can check this status by downloading the application YASNAC for safetynet status and Play Integrity API checker for checking play integrity status.
If your using magisk then you can flash safetynetfix module from here.
Flashing it should make the Basic integrity and cts profile check from False to true in yasnac
It should also turn Basic Integrity and Device Integrity from a Cross to a Tick
Strong integrity will always fail for rooted users. so forget abt that
Then go to apps > find playstore > storage > clear data
Open playstore again and you'll see an outdated UI dont worry it'll restore on the next app opening
in playstore then tap on your profile picture at the top right then go to settings. Scroll down and see if the device is play protect certified.
If it is the apps should reappear.
This is way too overkill tbh. you could just install Aurora store and call it a day since its litt playstore without accounts and stuff.
Click to expand...
Click to collapse
Yes but if I install it from the Aurora store I won't be able to use Revolut probably.
Also I installed the module, and though the YASNAC check has 2 ticks, the Play Integrity checker says failed on "Device integrity" and "strong integrity." What do i do then?
Quidney said:
Yes but if I install it from the Aurora store I won't be able to use Revolut probably.
Also I installed the module, and though the YASNAC check has 2 ticks, the Play Integrity checker says failed on "Device integrity" and "strong integrity." What do i do then?
Click to expand...
Click to collapse
hm what method of rooting do you use?
Captain_cookie_200 said:
hm what method of rooting do you use?
Click to expand...
Click to collapse
if you flashed the safetynet fix in magisk already then im afriad i dont know what else is wrong
Captain_cookie_200 said:
hm what method of rooting do you use?
Click to expand...
Click to collapse
Downloaded the firmware, and changed it using magisk, flashed it using ODIN.
It's Magisk 25.2
Zygisk: Yes
Ramdisk: No
But I also have the "Hide Magisk" option, and Systemless Hosts module
Captain_cookie_200 said:
if you flashed the safetynet fix in magisk already then im afriad i dont know what else is wrong
Click to expand...
Click to collapse
Yep I did.
Quidney said:
Yep I did.
Click to expand...
Click to collapse
i dont know then. i passed safety net on one ui 5 on galaxy A32 4G using that module
Captain_cookie_200 said:
i dont know then. i passed safety net on one ui 5 on galaxy A32 4G using that module
Click to expand...
Click to collapse
I also passed the check after the 25th reboot. It took some time to adjust I guess.
But I cannot hide my magisk launcher, it gets detected by Revolut. Welp
Quidney said:
I also passed the check after the 25th reboot. It took some time to adjust I guess.
But I cannot hide my magisk launcher, it gets detected by Revolut. Welp
Click to expand...
Click to collapse
Actually there is a way to fix that as well.
First of all go to magisk then press the gear icon on top right then select Hide the Magisk app. Allow it to install unknown apps. Give it a good name Let it do its work. do not go to home or anywhere while it is reinstalling the apk as something else
Second of all download shamiko from here.
First make sure you have enforce denylist disabled in the magisk's settings. Yep disabled. if it is enabled toggle it off
Then flash shamiko and reboot. Now once you boot back into the system. Open magisk again (or the new reinstalled renamed magisk app) and go to settings and then go to configure denylist. Now find your app and press the checkbox
Now see if it bypasses the root detection. if not then clear all your apps in your recents and try again. This trick always helps to get around apps with root checks.
Captain_cookie_200 said:
Actually there is a way to fix that as well.
First of all go to magisk then press the gear icon on top right then select Hide the Magisk app. Allow it to install unknown apps. Give it a good name Let it do its work. do not go to home or anywhere while it is reinstalling the apk as something else
Second of all download shamiko from here.
First make sure you have enforce denylist disabled in the magisk's settings. Yep disabled. if it is enabled toggle it off
Then flash shamiko and reboot. Now once you boot back into the system. Open magisk again (or the new reinstalled renamed magisk app) and go to settings and then go to configure denylist. Now find your app and press the checkbox
Now see if it bypasses the root detection. if not then clear all your apps in your recents and try again. This trick always helps to get around apps with root checks.
Click to expand...
Click to collapse
Just noticed since you have magisk hide your either using magisk delta or an older version of magisk. I guess you could just use magisk hide but incase that isnt working the method above is the way to go.
Captain_cookie_200 said:
Just noticed since you have magisk hide your either using magisk delta or an older version of magisk. I guess you could just use magisk hide but incase that isnt working the method above is the way to go.
Click to expand...
Click to collapse
I have 25.2 (25200), Zygisk.
But There's an option in the settings right now it says "Restore the Magisk App" because I've already hidden it.
Captain_cookie_200 said:
Actually there is a way to fix that as well.
First of all go to magisk then press the gear icon on top right then select Hide the Magisk app. Allow it to install unknown apps. Give it a good name Let it do its work. do not go to home or anywhere while it is reinstalling the apk as something else
Second of all download shamiko from here.
First make sure you have enforce denylist disabled in the magisk's settings. Yep disabled. if it is enabled toggle it off
Then flash shamiko and reboot. Now once you boot back into the system. Open magisk again (or the new reinstalled renamed magisk app) and go to settings and then go to configure denylist. Now find your app and press the checkbox
Now see if it bypasses the root detection. if not then clear all your apps in your recents and try again. This trick always helps to get around apps with root checks.
Click to expand...
Click to collapse
I'm on the phone with my friend while she sleeps so I cannot reboot the phone >_<
But I'll update you tomorrow probably if it works.
Quidney said:
I have 25.2 (25200), Zygisk.
But There's an option in the settings right now it says "Restore the Magisk App" because I've already hidden it.
Click to expand...
Click to collapse
oh i see. wait how.do you have magisk hide then
Quidney said:
I'm on the phone with my friend while she sleeps so I cannot reboot the phone >_<
But I'll update you tomorrow probably if it works.
Click to expand...
Click to collapse
oh i see. i just tested it on my device and yes it works. the shamiko method is listed prevents the root detection. hope it works fine for you
Captain_cookie_200 said:
oh i see. wait how.do you have magisk hide then
Click to expand...
Click to collapse
I don't have "Magisk Hide" I think that is another feature (Superuser -> Hide) which does not exist for me.
Quidney said:
I don't have "Magisk Hide" I think that is another feature (Superuser -> Hide) which does not exist for me.
Click to expand...
Click to collapse
magisk hide was removed. anyways try the shamiko method and tell if it works
Captain_cookie_200 said:
magisk hide was removed. anyways try the shamiko method and tell if it works
Click to expand...
Click to collapse
Yep everything worked out. I have Revolut now, and it doesn't detect magisk or root.
I still don't have Google Pay, but that's a job for future me.

Categories

Resources