[Q] Adblocking in 4.2.2 (note 2, CM 10.1) - Android Q&A, Help & Troubleshooting

Update: If anyone finds this, the fix is to delete any proxy settings listed in your APN settings (system settings>Mobile Networks>APNs - delete the proxy settings and then menu>save).
When I was on stock I used adfree android (rooted) to change the hostfile and prevent any ads. It worked great on wi-fi and mobile data.
On android 4.2.2 (using CM 10.1) it doesn't work on mobile data. When on wi-fi all ads are blocked, but when I see H+ in the status bar and am using mobile data, I still see them. I'm rooted and have given it superuser permissions. Adblock plus, adfree android and adaway don't work either. Any ideas? Would love to get rid of those ads again!
I've seen this article but my understanding is that it only affects non-rooted devces, as root can automatically set the proxies or whatever it needs to do?

Download the host file at this thread. Hopefully it will help.

I edited this thread after posting as I only just found out that it wasn't working on 3g and was on wi-fi - I thought it universally wasn't working.
This made googling much easier and I found the problem: go into your APN settings and delete any proxies listed. Reboot and ta-da!
Fixed.

Good app. i testing app.

Related

[Q] APN restore disabled in ICS? why disable features?

did a search for "APN" here and didn't find a thread. anyway
just moved to a leaked ICS build for my SGS2 and the app says that it can't do it in ICS due to the OS not allowing it.
question is, why disable useful things like this? they did it a while back with allowing apps like tasker access to turn on gps (thank you secure settings). i imagine there'll be a workaround at some point but it's annoying to get new features in new versions of android but have other parts taken away. (google giveth and google taketh away).
not a rant as easily worked around but annoying
Totally agree
it was very nice feature. Now I need to switch manually between corporate and internet apn. I hope that workaround will be available soon.
APN available all the network : D for me
The problem is, due to google policy on ics, applications or services can't change your apn settings.
- So you need to switch it manually in mobile network settings, if you are using more than one, it's not very handy.
- Other problem is restoring apn settings but it's based on the same root cause.
Ofc. you can use as much apn's as you want...

Wifi only access to google.com

Hi there,
I'll explain what's wrong here, I have a Samsung S3 i9300 with Android 4.3.1 (SlimBean) and everything works fine. Only when I turn on WiFi (tried several), my internet acces is limited to the google site, and some apps like Facebook and Whatsapp. But when I try to navigate to other websites, I recieve a -Not found- error.
So it seems like technically everything is ok (otherwise I also couldn't open google in my browser). Other devices connected to the same network do not have this issue. I tried to change DNS settings (e.g. 8.8.8.8), but this is not possible in 4.3.1 as far as I can see.
Any suggestions are welcome!
dkloos said:
Hi there,
I'll explain what's wrong here, I have a Samsung S3 i9300 with Android 4.3.1 (SlimBean) and everything works fine. Only when I turn on WiFi (tried several), my internet acces is limited to the google site, and some apps like Facebook and Whatsapp. But when I try to navigate to other websites, I recieve a -Not found- error.
So it seems like technically everything is ok (otherwise I also couldn't open google in my browser). Other devices connected to the same network do not have this issue. I tried to change DNS settings (e.g. 8.8.8.8), but this is not possible in 4.3.1 as far as I can see.
Any suggestions are welcome!
Click to expand...
Click to collapse
Does it happen on a particular WiFi network or any WiFi?
Is your WiFi hidden?
You can try making Android forget this network & again manually setting it up.
You can also check for any App that may be restricting WiFi traffic
EDIT:
You can change WiFi network settings even in 4.4.2 KitKat
Long Press your Wifi -> Modify Network -> Check 'Show Advanced Options' -> Change IP Settings to 'Static'
Now all settings incl DNS will be visible & you can change them.
I tested several networks and they're not hidden.
I use DroidWall, but uninstalling this does not have an effect unfortunately. Also forgetting and reconnecting does not help.
[EDIT]
Thanks for the tip, however this also does not give me access to the rest of the world wide web..
dkloos said:
I tested several networks and they're not hidden.
I use DroidWall, but uninstalling this does not have an effect unfortunately. Also forgetting and reconnecting does not help.
[EDIT]
Thanks for the tip, however this also does not give me access to the rest of the world wide web..
Click to expand...
Click to collapse
Did try using some software such as Wifi Connection Fixer?
Also did you try using different browsers on your phone?
I was having such an issue with ebay.in on the stock browser my i9300. But the same thing loaded perfectly with Chrome.
Clearing the Data & Cache of the stock browser helped later on.
I will try the Wifi Fixer, thanks!
I tried two different browsers without luck, and it is a problem beyond the browser imo, because the Play Store also can not download apps when connected to WiFi. I can search for apps, but when I want to download them, it gives me a -no connection, retry-..
dkloos said:
I will try the Wifi Fixer, thanks!
I tried two different browsers without luck, and it is a problem beyond the browser imo, because the Play Store also can not download apps when connected to WiFi. I can search for apps, but when I want to download them, it gives me a -no connection, retry-..
Click to expand...
Click to collapse
If nothing works, I guess you might have to reflash your ROM after clearing the whole data & cache.. :crying:
IMO, CM11 M2 (Android 4.4.2) is quite good, just flashed it on my S3..
Well, I now changed the DNS settings to the google DNS server (8.8.8.8 and 8.8.4.4) and rebooted the phone and this did the trick.
I don't really understand it, but I am glad I can use my phone without wiping it completely again!
dkloos said:
Well, I now changed the DNS settings to the google DNS server (8.8.8.8 and 8.8.4.4) and rebooted the phone and this did the trick.
I don't really understand it, but I am glad I can use my phone without wiping it completely again!
Click to expand...
Click to collapse
Great! :victory:
Enjoy using your phone once again!

[Q] Trouble using Adblock Plus with Xprivacy/Orbot/Orwall

Hi all, first post since I lost my last account login. On to business:
First off, I'm running an HTC One XL which doesn't seem to be an option in the user CP, whatever.
HTC One XL, rooted.
TWRP 2.7.1.0
4.4.4 Paranoid Android 4.6 Beta 1
Minimal GAPPS, just the framwork and play store.
Xposed Framework running Xprivacy
Orwall forcing all traffic through Orbot
Full disk encryption.
The problem is that I want to install Adblock Plus and have all traffic, WiFi and mobile be filtered for ads. I just can't seem to get it working.
I install Adblock, even allow it SU, I've tried turning on 'Local Traffic' in Orwall, forcing it through Tor, keeping it fenced and allowing it to bypass Tor. I've added a proxy address of 'localhost' on port '2020' of both the WiFi connection and my APN. Nothing, Orbot connects as usual but no traffic is getting through, I think Adblock's local server is being blocked somewhere but I don't know where.
I'm sure it worked briefly after I first installed it but then my phone randomly rebooted and I've not got it working since.
I'm very happy with my build up to this point with security and anonymity being very strong in the setup. Adblock would really put the cherry on top.
Help?
EDIT: Thinking about this further, I realsied that both Orbot and Adblock Plus are both proxy services and need to be configured in series such as:
WiFi or Mobile connection -> Orbot -> Adblock Plus
In order to configure a proxy in Orbot requires root permissions, something the Orbot devs strongly suggest you do not do and I'm inclined to agree. Therefor I've decided to use a Host file solution instead, maybe this thread will be of use to someone if they stumble upon it via a search engine. I hope so, I've spent far too many hours on this already.

No internet with proxy settings

I have a rooted Moto X 1st Gen on stock 4.4.4 with Xposed Framework installed.
I cannot connect to the Internet with my university's proxy settings without the use of Proxydroid, while everyone else can browse the Internet on the same WiFi network without being rooted, though certain apps like WhatsApp don't work.
For me, nothing would work just by applying the proxy settings but with Proxydroid I can use the browser (need it to work without Proxydroid as well) and WhatsApp as well, but not the stock Email app, which is very frustrating.
I had installed a number of ad-blocking software but uninstalled all of them except for an ad blocking Xposed module, and also have Gravitybox installed. Any help?

Question Rooted Stock Image - Hot Spot Tethering, no internet connection is there any fix?

Hey I just reverted back to stock from Cherish OS, kept having way too many issues with the ROM rebooting or just freezing. I managed to get hotspot working on Cherish by editing the build prop to include:
net.tethering.noprovisioning=true
then pushing adb shell: settings put global tether_dun_required 0
Was working fine minus the crashes.
Now going back to stock I havnt had any unexpected crashes but I cannot seem to get the tethering to work anymore using magiskhide prop config. Does anyone know what else needs to be done to get wifi tethering working again? It looks like the DUN APN setting on my custom APN does not stick around after saving it, I dont know if it was enabled on Cherish OS somehow or what the difference between the two set ups would realistically be.
Edit:
Solution Provided by lentm:
"If you're rooted, try using VPN Hotspot: https://github.com/Mygod/VPNHotspot/releases"
Just enabled wlan0.
Still looking for a solution, If someone can point me to where I might need to start to resolve this I would appreciate it.
Ex; does it need a custom keneral? or Radio?
What is the limiting factor, that doesnt allow the connected device to get internet?
If you're rooted, try using VPN Hotspot: https://github.com/Mygod/VPNHotspot/releases
I can confirm the linked app works and replicates the built in Wifi Hotspot feature. I have it running on a T Mobile, bootloader unlocked, rooted, stock firmware, and on Android 11. Worked with my desktop, other phone, and Smart TV. I do not have it as a part of my plan. No VPN, port, or other nonsense to setup on the client to get it working. Just put in the WiFi spot password and off you go!.
Thanks for the link! I was never able to find a way to get the built in one working with out an app of some kind. I have no idea what would be needed to patch the factory hotspot to get it working without an app.
xVoidx said:
I can confirm the linked app works and replicates the built in Wifi Hotspot feature. I have it running on a T Mobile, bootloader unlocked, rooted, stock firmware, and on Android 11. Worked with my desktop, other phone, and Smart TV. I do not have it as a part of my plan. No VPN, port, or other nonsense to setup on the client to get it working. Just put in the WiFi spot password and off you go!.
Thanks for the link! I was never able to find a way to get the built in one working with out an app of some kind. I have no idea what would be needed to patch the factory hotspot to get it working without an app.
Click to expand...
Click to collapse
Great. BTW, I think the reason why it's recommended to use with the VPN (such as AdGuard) is to hide the tether usage.
I was a bit skeptical, but after I enabled the wlan0 toggle it worked! thank you soo much I have been struggling with this for a while.
lentm said:
Great. BTW, I think the reason why it's recommended to use with the VPN (such as AdGuard) is to hide the tether usage.
Click to expand...
Click to collapse
Something to note here I wasn't using Adguard and had no issues with the hotspot vpn app. I wasn't using the "Temporary Hotspot" toggle in the app either. Using the wlan0 option gave me Internet on any device I tried while on T Mobile service / Towers. I went out of town and I'm now roaming on US Cellular indicated on my notification bar. This hotspot method stopped working for me. I could connect to the hotspot but no internet. After some research I found using Adguard does resolves this as you mentioned. In the VPN hotspot app you must choose "tun0" as the upstream interface.

Categories

Resources