The purpose of the reboot is to clear the Java DNS cache. If a "fast" reboot does that, you're good to go. I suspect it won't though.
OK, thanks for your quick reply !
The purpose of the reboot is to clear the Java DNS cache. If a "fast" reboot does that, you're good to go. I suspect it won't though.
The purpose of the reboot is to clear the Java DNS cache. If a "fast" reboot does that, you're good to go. I suspect it won't though.
Yup, very true. I didn't have to reboot the N6, but every device since had required a reboot. I don't think anything I said was contrary to this. If a fast reboot works, great. If no reboot works, even better. If you are walking on the edge of your knowledge, just reboot and be done with it [emoji56].Depends on Android version and system. I don't remember myself the last time I had to reboot any of my devices when replacing the hosts file directly in /system/etc; it is picked up instantly.
After a host update, is it possible to perform a "fast" reboot (restart applications an UI without touching low-level system) or it's necessary to perform a "normal" reboot ?
I've found nothing about that on previous posts.
Thanks !
The purpose of the reboot is to clear the Java DNS cache. If a "fast" reboot does that, you're good to go. I suspect it won't though.
I do not know if it clears the cache, but the closest I know of is
am restart;
am write;
sync;
sleep 0.5;
On a side, I can update my host file and have it working, but I am not using Magisk system-less host.
Depending on device/ROM, it may work without systemless hosts - but if it works without, still check that such real changes into system/etc/hosts doid not breake Device certification in Google PlaystoreRight, same here. ( Point being there's no definitive answer to the question, as ktmom post says, whatever works. )
Depending on device/ROM, it may work without systemless hosts - but if it works without, still check that such real changes into system/etc/hosts doid not breake Device certification in Google Playstore
If you lost Device is certified (and if it bothers you), you will have to disable AdBlock, activate Systemless hosts, enable AdBlock, and you will also need to Clean Data for Google, Google Playstore, Google Playstore Services, Google Framework Services to 'convince' Playstore again to accept your Device as Certified.
Due to the possible complications with obtaining again Device is Certified, I use Systemless hosts even if it might work without
I always (hard) reboot; it just takes maximum a minute - so what. And as I only update AdAway once a week, I think that's pretty decent.
For the matter of fact, I used to set AdAway to update automatically every day, and only over WiFi, but it really properly worked for me like three or more years ago on some Lollipop phone - although I did try various things (keep it working in background, disabling battery optimization) on various newer phones and Android versionsI always (hard) reboot; it just takes maximum a minute - so what. And as I only update AdAway once a week, I think that's pretty decent.
@Ultramanoid
I agree totally regarding your statements in the brackets and that are the reasons why i run all my phones (including my current pixel 4 xl) only with Roms which don't include Gapps and Google Play Services.
Good to see that i'm not the only one who thinks about this in that way
Use Logcat, try to login/download in your app/whatever, inspect the log to find where it wants to go but DNS resolving fails
I use F-Droid: https://f-droid.org/en/packages/org.adaway/Great work on the app. Thanks a ton.
---------- Post added at 01:48 PM ---------- Previous post was at 01:37 PM ----------
Is there any easy way to update the app. I know the definitions do get updated automatically. But since this is not present on the play store, it is very difficult to know when an update is available.
Great work on the app. Thanks a ton.
---------- Post added at 01:48 PM ---------- Previous post was at 01:37 PM ----------
Is there any easy way to update the app. I know the definitions do get updated automatically. But since this is not present on the play store, it is very difficult to know when an update is available.
You must make sure that you every week or so force updating of hosts file (AdAway settings).Great work on the app. Thanks a ton.
---------- Post added at 01:48 PM ---------- Previous post was at 01:37 PM ----------
Is there any easy way to update the app. I know the definitions do get updated automatically. But since this is not present on the play store, it is very difficult to know when an update is available.
Regex would be great, but alas, no. It is an issue with DNS on phone, it does not accept regex expressions in the hosts file. AdAway can put them in, but it would be confusing when they didn't work. Better to not allow them so there's an indication that they won't work right away.Hey guys,
I searched the whole thread for "regex" and found only two mentions about it so I decided to put the question on the group.
Question is I tried add an entry on whitelist like *googleadservice.com but the button "apply" grayed out.
So the question is , is Regex is supported ? if yes how is the sintax.
tks
Most probably an android problem. Maybe open an issue report on GitHub.I use Adaway non-rooted via VPN on a xiaomi redmi note 13 pro+. It works fine, except that it does not automatically start after a reboot. Any ideas why not?
I did:
Ever since I set the Always-on VPN, I get a message after reboot (before providing the unlock code for the first time): "Disconnected from always-on VPN — Change network or VPN settings".
- Selected "Background autostart"
- Set Battery saver to "No restrictions"
- Set Always-on VPN in preferences
- Set Block connections without VPN" in preferences
Adaway is supposed to start automatically after a reboot, right?
Thanks for helping!
It's always blatently (NEVER automatically )asks me on a data clear, just tried it and gotI have been using Adaway, both rooted and non root versions, for several years. My phone broke last week, and while I wait for a replacement I am using a borrowed stock Oneplus 9. It is running Android 14, with no other VPN apps. When I install Adaway, it installs the root version, so I get a systemless host error. It used to install the correct version automatically, is there any way to force it to install the non root version?
GitLab, like GitHub do not set LastModified HTTP header so update status is not supported... yet!Is anyone using a hosts list hosted on Gitlab? It keeps showing "Unknown update status".
It works well here. I failed to reproduce as I change the HTTP client library and how I use it.Hmm, not working for me for this URL, v4.1.0 shows something like not updated in -360 days (some large negative value). Can you please see if you can reproduce?
https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling-porn/hosts
Not really. You could choose a lot of different mode.All the F-Droid apps I know of have manual push updates to the store.
Isn't automatic build basically for nightlies?
Thank you so much! :highfive:I exist still... do you know what i have to do to transfer ownership? if i edit project it doesn't let me change the primary author so i assume i have to PM some higher up to make this happen?
Thank you too!