Hi, I wanted to block some ads both on my browser and within apps, since I was getting drained up of my data plan without me realizing it (can't say it's all about the ads).. but anyhow, I have both adaway and adblock+ apks hanging around which I installed on my ex s6 and installed without a hassle (I hadn't remember if they blocked ads within apps but I was to test it), so i went and installed both and it kept saying the server for retrieving the lists on adaway weren't found, so I thought it to be a problem with my data connection and waited to get back home and try on wifi (I didn't realized that I lost my internet access since then - had a busy day at work) and when I tried on wifi, I was able to download the list and then it ask me to reboot for changes to apply. After reboot it couldn't get access to download the list (it was set an update on start) so I uninstalled it.
Then I tried to configure adblock+ and I wasn't getting any connection either, so I uninstalled it too. Afterwards I realized I didn't have a connection at all (I could connect both to data and wifi but neither was passing through). So doing some research I realized both kept 'active' (the modified hosts file was still there) so I installed them both and disabled both, but I still had no internet). Then I disabled adaway again check on the hosts file content and saw there were too lines (localhost 127.0.0.1 and ::1 127.0.0.1) or the like. I restarted and had some whatsapp mesages come through but whenever I tried to access internet trough playstore, weather widget and so forth, I lost internet access again even por whatsapp. I kept trying to the other hosts files locations (those listed within the adaway app) to see if there was the problem but it said something about needing a create a link or so and I didn't accept and stayed on trying on the default one (data/system/hosts or so). Finally, after some more tries I couldn't get internet access but I'd got an error about samsungdevicesecutity service failed and went and freezed it on titanium and afterwards I had access to both whatsapp and playstore, so I went and uninstalled both adblock+ and adaway and rebooted so as to have a "clean start" (or so I thought) and I came up again without internet and haven't been able to reproduce what I had, no matter if I unfreeze the service, freeze it again, having it enabled and how many more times this service fails. Sorry about the long description, but I would believe that having a factory reset would solve this but since I didn't had the backup option enabled, I'm not sure if I would have to go through the process of installing / configuring everything again, so I wanted to make sure I could avoid the factory reset path.. anyone knows a way around this? Any help is appreciated.. thanks
I was freshly rooted with CF auto root (s7 edge international).
Best regards
Easier to use Firefox and uBlock maybe? Free as well...
Xophile said:
Easier to use Firefox and uBlock maybe? Free as well...
Click to expand...
Click to collapse
I had crystal already installed and was using samsung's internet. But I was trying to block ads on apps and failed to do some research on more recent options like the ones you mention or adguard/netguard that I have seen being mentioned on other posts. Thanks for the suggestion and for the long reading..
cmanh said:
Hi, I wanted to block some ads both on my browser and within apps, since I was getting drained up of my data plan without me realizing it (can't say it's all about the ads).. but anyhow, I have both adaway and adblock+ apks hanging around which I installed on my ex s6 and installed without a hassle (I hadn't remember if they blocked ads within apps but I was to test it), so i went and installed both and it kept saying the server for retrieving the lists on adaway weren't found, so I thought it to be a problem with my data connection and waited to get back home and try on wifi (I didn't realized that I lost my internet access since then - had a busy day at work) and when I tried on wifi, I was able to download the list and then it ask me to reboot for changes to apply. After reboot it couldn't get access to download the list (it was set an update on start) so I uninstalled it.
Then I tried to configure adblock+ and I wasn't getting any connection either, so I uninstalled it too. Afterwards I realized I didn't have a connection at all (I could connect both to data and wifi but neither was passing through). So doing some research I realized both kept 'active' (the modified hosts file was still there) so I installed them both and disabled both, but I still had no internet). Then I disabled adaway again check on the hosts file content and saw there were too lines (localhost 127.0.0.1 and ::1 127.0.0.1) or the like. I restarted and had some whatsapp mesages come through but whenever I tried to access internet trough playstore, weather widget and so forth, I lost internet access again even por whatsapp. I kept trying to the other hosts files locations (those listed within the adaway app) to see if there was the problem but it said something about needing a create a link or so and I didn't accept and stayed on trying on the default one (data/system/hosts or so). Finally, after some more tries I couldn't get internet access but I'd got an error about samsungdevicesecutity service failed and went and freezed it on titanium and afterwards I had access to both whatsapp and playstore, so I went and uninstalled both adblock+ and adaway and rebooted so as to have a "clean start" (or so I thought) and I came up again without internet and haven't been able to reproduce what I had, no matter if I unfreeze the service, freeze it again, having it enabled and how many more times this service fails. Sorry about the long description, but I would believe that having a factory reset would solve this but since I didn't had the backup option enabled, I'm not sure if I would have to go through the process of installing / configuring everything again, so I wanted to make sure I could avoid the factory reset path.. anyone knows a way around this? Any help is appreciated.. thanks
I was freshly rooted with CF auto root (s7 edge international).
Best regards
Click to expand...
Click to collapse
Well, since I didn't had internet access I couldn't go through the factory reset path (I was asked my sam account to continue), but had to flash to stock first (doing this I recovered my internet access) but since it continued with the samsungdevicesecurity error I then proceeded with the factory reset (with the downside of having to reconfigure and reinstall everything). Thanks but I couldn't be that much time without internet access (work and all).
Related
Hi everyone,
I'm positing because I have a peculiar issue. I cannot download from the Android Market....and I have tried the solutions on the internet from clearing data/cache to trying to sync my google account in different ways...
Here is the background:
- Bought used Vibrant on craigslist
- rooted, unlocked, then unrooted, then hard reset
- no external SD card
After every hard reset, in two instances now, I have been able to download from Android market SUCCESFULLY for about a ~30 min window. After this time window, any download from Market does NOT work, and after clicking 'Install' immediately goes to the red triangle status 'Download unsuccessful.'
At all times, my internet still works fine, both on 2G/3G/wifi.
Android market website does NOT show my device (is this because the device only works with the very first sync when the phone was purchased??)
Something is locking me out from downloading. It's come to such a stupid workaround that since I know Market WILL work after a hard reset, I do a mass download of my app essentials in the ~30 minutes that I have.
Thanks for any help in advance!
Clear market cache
also, setting proper permissions on /data/ and /data/app might help (with a program like root explorer)
Do you use titanium backup? Restoring any setting? I got similar problem when I freeze "media container" in titanium backup.
Had this problem when z4mod was setting incorrect permissions on /system partition
All,
To avoid the issues with any roms/rooting, I unrooted the phone, as stated in the first post.
I basically got the phone back to 'stock' settings, and I have this issue. Any additional help would be great...this is my first experience with Android and it has only been headaches....
getting nostalgic with my old E71. haha
So, did you use odin to go to jfd?
I'm really interested and willing to help, just santo make sure I understand everything that you've done.
How did you root?
Why no external?
I recently decided to block to next update just in case amazon breaks my root again. I went about trying to usual, freezing the process (but I couldnt find the service with app quarantine) to redirecting the server to 127.0.0.1 in the hosts file (which I never got working either, it never blocked amazonaws.com)
What I ended up doing was blocking amazonaws.com in my router, and now everytime my fire powers up I get a dialog saying "the Wi-Fi network you are connecting to requires you to sign in before accessing the internet. Would you like to sign in" and the wifi signal icon always has an X on it now.
Question is, is this a common phenomena when blocking the server?
Do any of the other methods not pop up this dialog box?
that worked for me:
kf was and is registered
removed /system/etc/security/otacerts.zip -> update downloaded but did not install -> was automatically deleted from cache folder after failed attempt to install
no guarantee !!!
Is the update installed from cache our the kindleupdate folder? I have some other ideas on blocking, but I am notsure on this part.
Sent from my SAMSUNG-SGH-I897 using xda premium
I used app quarantine, and locked OTASilentInstall. I would provide a link, but I can't yet.
Also added:
127.0.0.1 s3.amazonaws.com
Hoping it stops the updates.
this will not work ! - allready tested and confimed
the only working and confirmed method is to deregister !
i did not deregister, watched the download ... see above
for me my method worked and i see it as confirmed for me.
btw. use the search function - there is a quite big thread about this !
So even after actually locking down the OTA app it will still update?
for shure !
I was messing with AdAway to try to get it to work on a Stock Rooted ROM, and unfortunately, was never able to get that to work. So after trying to revert the hosts file, AdAway failed for whatever reason, and then I was stuck without internet. I can't browse the internet via Google Chrome, and I can't access the internet using the facebook application or any other application that relies on the internet.
I was wondering if someone could give me a default hosts file, or if someone could help me troubleshoot why I am unable to completely connect to the internet on 3G, 4G or WiFi.
I am not above resetting the device, but, I wanted to leave that as a last resort.
slixzen said:
I was messing with AdAway to try to get it to work on a Stock Rooted ROM, and unfortunately, was never able to get that to work. So after trying to revert the hosts file, AdAway failed for whatever reason, and then I was stuck without internet. I can't browse the internet via Google Chrome, and I can't access the internet using the facebook application or any other application that relies on the internet.
I was wondering if someone could give me a default hosts file, or if someone could help me troubleshoot why I am unable to completely connect to the internet on 3G, 4G or WiFi.
I am not above resetting the device, but, I wanted to leave that as a last resort.
Click to expand...
Click to collapse
If you are, as you say rooted then just use a root explorer (I use RootExplorer, also can use ROMToolbox, ES Pro etc..) to delete the current hosts file; in here /etc/hosts and then reboot and it should be created anew.
Also check your date and time settings. If they are not synched many things will not work
Hello XDA Assist Team,
A few days ago I installed AdAway (via F-Droid) to increase mobile surfing speed. Now I got the problem that while using Wifi, suddenly every app had a 10-15 seconds delay before actually starting to download/ starting to load the web page etc. Once "getting a firm grip" on the connection, the download speed was fine as usual (120 mbit/s). This problem did occur on every app while using wifi, but not while using mobile internet.
So I uninstalled AdAway. Now no application can access the internet. Regardless of wifi or mobile internet, no application managed to access the internet since the deinstallation.
The only host files in the /etc/host folder seems to be the localhost on "127.0.0.1" and another localhost with "::1" . At least that's what the Hosts Editor app said. I installed it via USB to check on the host file.
My system:
Oneplus Two, Oxygen OS 3 (Android 6.0.1), rooted
installed were AFWall+ and Xprivacy. I deactivated, then deinstalled them to make sure they won't interfere. The only other App I installed recently is Cerberus. Except for devouring my battery alive, it did not have any negative effects I could observe.
I tried searching the Unofficial AdAway Thread, but I was discouraged by the 600+ pages. I tried, but didn't didn't find anything useful. I posted my question there as well, but got no reply.
I don't have many skills regarding Android. I installed the OS, xposed framework etc. by closely following the instructions given here on XDA. I have a basic understanding on how to use all these applications but I don't know much about what happens behind the UI. I would really appreciate if you could help me out here and point me in the right direction, prefereably without having to nuke my OS. My last Nandroid backup is about 2 months old, unfortunately.
With kind regards,
Fennec
Edit: My progress:
1. I found a tutorial of how to find and delete the hosts file (http://forum.xda-developers.com/showthread.php?t=2717261) . It was stated that android would rebuild the missing file on reboot. That was not the case. Now in /system/etc there is no "hosts" file and my Internet still does not work. Hope that helps. I tried googling to find an untouched hosts file that I could copy into the folder, was not lucky yet.
2. Found a hosts file here: http://forum.xda-developers.com/galaxy-s2/help/hosts-file-missing-to-t2276818 . Copied it into the folder. Did not work. Help.
Please help me out.
Solved!
Writing down the facts I realized that I haven't tried disabling cerberus yet. I don't know why uninstalling adaway triggered the internet problem but Cerberus seems to have been the cause. It ran for 2 weeks without problem. Now my internet is free again. Either the deinstallation triggered the problem or it was a very nasty coincidence, coinciding with cerberus making trouble. Or maybe cerberus didn't like the system files being tinkered with and decided to lock a potential remote attacker out.
I am on my second V20, H990DS this time and I am running Superv20 which I have been using the past few days and is a dream, bar these issues I have run into which seem to be related to each other.
I have been unable to get youtube vanced to install on this V20, and it returns with
'Installation failed for unkown reasons'
then in advanced
'java.io.FileNotFoundException: No such file or directory'
I was also restoring a backup with Titanium Backup from my other phone to get around snapchats root detection as magisk hide did not work. On restoring the app+data I am hit with a generic 'App not installed.' message, and then titanium hangs on the screen indefinitely until rebooting the phone (did manage to restore just Data after installing stock snapchat).
Then I remembered the first few times I attempted to setup the phone and update magisk and magisk manager. After updating magisk, the next time the phone was booted I got a simple grey background and small white writing filling half the screen with the first line stating something similar to
'Crash on the LK!' (might not be exact, didn't have my other phone to take a photo) and I had to reinstall the rom. I did this twice to test just in case it was a random issue.
My assumption is that it is related to storage somehow and I did manage to find one thread with a similar issue so I checked if internal was not the default install location, but pm get-install-location returns with
1[internal]
but also I have tried setting the storage to auto and external and neither worked (for vanced at least)
Unsure what to try next as my troubleshooting and searching for similar issues has run dry.
Help much appreciated and thanks in advance <3
-A9