[Q] After fooling around with AdAway I have no internet connection - Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot

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

Related

G2 D800 Lollipop Tethering

So just recently had to go back to stock to upgrade up to Lollipop. Everything went great. Getting everything setup and tried to go through the steps to turn the tethering check. Getting a error SQL Editor saying the database is locked. Have tried several root browsers and nothing can open the databases to be able to edit them. Have used One Click Root and successfully rooted it. Any ideas as how i can get into the database to be able to turn off the tethering check. Have also tried pdanet and it also will not work due to the tethering check. Any ideas i will be willing to try. Thanks
Attached is a picture of the error when I try to edit the database

FTP server now useless?

Hi,
Since I've updgraded to Marshmallow, I can't reach my phone storage from my PC via FTP server app. It says insufficient rights when trying to browse emulated/storage.
Any idea/solution? I don't want to root my phone.
I notice this few days ago. But yesterday all running normal. Reboot your router and your device. Renew your dhcp server.
I'll try that tonight, thanks!
Unfortunately did not help. :crying:
Seems for me that Marshmallow denies some permissions needed for this app to work properly.
try reinstall the app. I noticed after an upgrade i wasn't prompted for permissions for apps that were already installed. maybe in mm this app needed a new permission or something and is stuck in a way that it can't ask, in short, trying to reinstall will force all the permissions prompts and hopefully it might work after that

No Internet connection possible (Wifi or mobile) after the deinstallation of AdAway

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.

Lost internet afterwards instaling adaway/adblock

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).

question for Galaxy Express 3(not listed). Trying to bypass google verification

so my friend found a samsung galaxy express 3 from at & t and wanted me to set it up for him. so he gave it to me, first thing i did was factory reset it in recovery mode. Then problems started. I dont have the previous owners account so i need to bypass the google verification. But i have no idea how. ive tried the side sync method, the open with option never showed up. this phone doesn't have usb hosting so i cant use an otg cable. i tried the real term method, just an error when i put the codes. i tried the no computer methods, i can get into ultra power saving mode, but thats it. with the other no computer methods it comes down to restarting it, and when it comes back on theirs camera access but for me when i restart it its locked, but no camera or phone access. ive tried every option i could find and even tried installing a stock ROM, succeeded with the stock rom installation thinking it would remove the google verification but still didn't. does anybody have any ideas? i cant enable USB debugging. so i dont think i can root it and install a custom rom and disable it. at least i think. im new to this stuff so if anybody has suggestions for me then that would be great. Thank you in advance
Google frp bypass. Methods have changed, due to patching. You need to research the most current method. I used Rootjunky's method back in the fall of 2016. Worked like a charm. Consisted of a phony call through an emulator, triggered a request for contact storage, led to browser opening playstore for a vcard app. Download frp bypass app instead, viola!! Imho, too much work for that phone.
I managed to get into chrome. Now what?
So with a bunch of messing around I managed to get into chrome through the emergency call but I'm in chrome. Which is how most methods work is through chrome. U install an app then run it and ur able to bypass it pretty much. But I can't install any apks. When I download a file it ask if I wanna download it, then starts it but never prompts me when it's done so I can't open it and install it. If I redowbload the same file it lets me look at the downloaded files and I can even get to the SD card. But if I tap on anything that's not a folder it kicks me back to the browser. So how could I get on the Samsung store to get es file explorer or install apks? Any help would be great thanks
I've had success setting up a samsung account installing es file explorer, then putting the app needed on sd card or Bluetooth it via a settings app. Rootjunky has the apks. But yes the 911 loophole is there if you don't have a sim to do a realterm dialer method

Categories

Resources