Adaway and the N5/Kitkat - Nexus 5 Q&A, Help & Troubleshooting

Has anyone had any success with Adaway and the Nexus 5?
I have installed it and updated the hosts file with it successfully, and I can confirm that the entries are indeed put in /system/etc/hosts but all the apps including chrome seem to completely ignore these entries which of course ruins the adblocking.
Verifying the hosts file is being modified and there is stuff in it:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And if I try and ping one of the entries at the cli, I get the proper 127.0.0.1 response:
But Chrome doesn't seem to care (yes, this is a fresh boot, and a site I'd never tried, so nothing would have been cached):
And it doesn't seem to be just Chrome ignoring it, other apps on the phone seem to ignore the hosts file as well.
Did something break in Kitkat?

And of course I figure this out as soon as I start a new thread thanks to another thread on here....
http://forum.xda-developers.com/showpost.php?p=38449154&postcount=26
Basically it was the wireless proxy setting in my provider's APN. I received a new sim for this phone and AT&T must have reset all those settings. I deleted out the proxy under the apn settings and now everything looks like it is working well.
I'll leave this here in case anyone follows in my footsteps and has the same issue.

GldRush98 said:
And of course I figure this out as soon as I start a new thread thanks to another thread on here....
http://forum.xda-developers.com/showpost.php?p=38449154&postcount=26
Basically it was the wireless proxy setting in my provider's APN. I received a new sim for this phone and AT&T must have reset all those settings. I deleted out the proxy under the apn settings and now everything looks like it is working well.
I'll leave this here in case anyone follows in my footsteps and has the same issue.
Click to expand...
Click to collapse
Yeah, thanks for updating the thread with you discoveries

Related

Anyone else being spammed like hell by XDA right now?

I have never been spammed so much in my life. Every freaking page I open gets this stupid popup. Been going on constantly for the last couple of days.
Anyone else or is it just my [chrome] browser being broken?
I already cleared out all my cookies & cache & everything else but still get this popup on every_freaking_page. STOPPIT. lol
Dell venue spam in pic below. Which btw gets in the way of the quick reply button sometimes.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Have you tried to install AdBlock Plus? It will remove ALL the ads from ALL the webpages. It's a must-have extension
You can download it on adblockplus [dot] org
JaviMotta98 said:
Have you tried to install AdBlock Plus? It will remove ALL the ads from ALL the webpages. It's a must-have extension
You can download it on adblockplus [dot] org
Click to expand...
Click to collapse
I had already disabled flash which did the trick, but this looks like a great plugin. Thanks.
We'd like to encourage websites to use straightforward, unobtrusive advertising. That's why we've established strict guidelines to identify acceptable ads, which are shown under default settings. If you still want to block every ad you can disable this in a few seconds.
Click to expand...
Click to collapse
Sounds fair to me. :good:
Seems to be working also.

Recurrent Sign-in Error

Hey,
Does anyone keep getting Google sign-in errors on their Razr HD? It started a couple of weeks back, and now a few times every day, this pops up. Mainly when using Chrome, I think.
Any ideas what the cause could be?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks,
Su
can't see your screenshot, so don't know what your actual error is but I have never had any issues with google services.
Are you on stock firmware or custom i.e. CM, Slim etc..?
StefanGA said:
can't see your screenshot, so don't know what your actual error is but I have never had any issues with google services.
Are you on stock firmware or custom i.e. CM, Slim etc..?
Click to expand...
Click to collapse
Totally stock Fido (Canada) ROM. Problem only started a couple of weeks ago.
This might work: http://i.imgur.com/G9UxoYD.png
Check you host file. http://forum.xda-developers.com/showthread.php?t=2638151
Hey,
I'll give it a go, but my icons aren't white as you can see in the screenshot. I am not actually losing connection to servers, just keep getting that stupid error message
Cheers,
Su
I'm getting that same exact error whenever I use Chrome. Hope someone can offer a solution to this. Not really a huge problem, but it is very annoying.
Jigz, are you on Chrome Beta by any chance? Perhaps that's the problem?
try to sign in another google account then switch back to the previous account this might help

Caller ID and Spam Protection Mod (Whitepages) keeps turning OFF

Guys,
Any idea why Caller ID and Spam Protection option automatically gets OFF, Mostly upon Reboot?
It's in Settings/Advanced Settings/ --
I have it enabled on ROM by using the below code on OMC/XSG/cscfeature.xml
Code:
<CscFeature_Common_ConfigSvcProviderForUnknownNumber>whitepages,whitepages,whitepages</CscFeature_Common_ConfigSvcProviderForUnknownNumber>
This used to work quite well on the S7 and Note 7, and no issue with switching off on reboot. Just on the S8 I'm facing this issue.
Any help is much appreciated!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Having the exact same issue with my S8+ in Canada. Has anybody been able to find a solution to this problem?
Thanks.
Nawaab1969 said:
Having the exact same issue with my S8+ in Canada. Has anybody been able to find a solution to this problem?
Thanks.
Click to expand...
Click to collapse
Offhand i don't have a solution.
However, i can say it's not supposed
to be like that.
My phone is not rooted.
Stock Rom.
No issues with Caller Id button and Spam Protection, sticking /staying on.
(After reboot or not,)
I can toggle it, just fine.
See screenshot.
Don't know if Service Provider
has to support this function, to work.?
or did you maybe disable
"some" setting on phone
and have a knock on affect.
or was the relevant setting "broken /corrupted"
by some other 3rd party app.
If none of above, consider a factory reset.?
It will save you a lot of frustration /trouble.
i'm also had this issue in j7 pro

Contacts keep closing

Hi Everyone. I got a new account but I've visited this site lots of times now in about 4 years.
First of all, I would like to thank all the developers here especially to Tkkg1994 for developing the superstock rom on the galaxy s7.
I have installed it on my phone and works great! I would like to ask if anyone else is encountering this problem on this ROM? The samsung contacts app(stock) keeps crashing if I go to "settings". I wanted to export my contacts from here.
I have tried reinstalling about 8 times now with different options and settings (tried stock kernel, tried superstock kernel, tried installing all samsung and google apps, tried with/without adblocker, tried with/without busybox). Would appreciate any help or info on this. Thanks XDA!
Regards,
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Looking for a fix.
I also noticed after the recent update that my contacts keep closing when trying to enter the settings. Wondering what it is and looking forward to a solution.
Did you get this fixed?
I fixed it by manually installing a newer Samsung Contacts app. Just Google "Samsung Contacts apk", download a newer version (I downloaded the latest 3.1 that was newer than what was on my phone).
Drop the apk in /system/priv-app/SamsungContacts80, set the permissions on the new file to RW-R--R--, add an underscore to the end of the old original Samsung Contacts file so that you have a backup of the original file that is not used, then reboot.
Voila! Everything is fixed.
Clean app data

LineageOS 19: unwanted GPS pings upon PCAP start

Hi people,
I want to make my Samsung s10e phone with Lineage 19 completely clean without any unwanted network communications, but...
... when I start network communication monitoring using "PCAPdroid" app I get GPS (system app) pings to some servers, watch the screenshot below:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Everything other is quite clean but this GPS pinging makes me crazy. I have Location service disabled in settings but it still works somehow. Those GPS pings happen right away after I start monitoring and if I remember correctly they repeat a few times a day.
Can anyone explain me why does it happen and how can I disable that GPS completely? I don't plan to use GPS in nearest future.
Maybe those pings don't associate with the Lineage but with the pcap app I am using? I'll appreciate any hints.
P.S. I have kind of basic gapps installed as well but they are completely disabled in app settings.
after doing some research I found that those requests belong to A-GPS system and those are requests to SUPL servers. after digging even more I found associated settings inside my Android system.
I found gps configuration files at following locations:
system/vendor/etc/gnss/gps.xml
/vendor/etc/gnss/gps.xml
Click to expand...
Click to collapse
I found following fields in the xml file:
SuplEnable="true"
LbsEnable="true"
Click to expand...
Click to collapse
as well as SUPL addresses exactly those which appear when I listen network communication using a pcap app.
However both of xml files are unwritable so I can't edit them. So I'd like to ask:
how do I edit those gps.xml config files correctly?

Categories

Resources