Is there such a thing as only making banner ads go away and keeping the rest stock? - Moto X4 Questions & Answers

Does it require root? And if so, is there a way to do it that is minimally impactful to the stock software already on the phone?
The reason I ask is that I've never been 100% satisfied with how custom ROMs have worked or how the phones I've had have seemed to experience issues post-hacking. Ideally I'd be able to keep what comes stock and just be able to make the ads go away, both apps and websites.
What would this group recommend for a new Moto X4?

How about set up OpenVPN and something like Pi Hole on your home network. Then when out & about VPN into your home network to get mobile ad blocking as well. Could be some cost and fiddling for sure.

Ya I hear you on that (having rooted devices in the past but not wanting to now)
For web browsing it's fairly easy. Install Firefox then the uBlock origin add on.

Thanks. Hoping for something non-browser specific if I can that also blocks ads inside apps. I did end up finding this and so far it's worked ok. It's a VPN proxy app.
https://android.gadgethacks.com/how...pps-without-root-extra-battery-drain-0174614/

Yeah its called buying the one thats not from amazon.

Yes, With Root you can Install AdAway. It simply populates your HOSTS file with all the ad sites, thus preventing any app from retrieving ads.

I'd recommend dns66, which is non-root and creates a local VPN provider for the sole purpose of blocking DNS queries to known ad hosts, similar to how the root apps do it except with the VPN instead of modifying /etc/hosts.
Although it does not remove the banner ads. Those ads probably come from a host that is not on blocklists; or since it comes through the app, it can't be singled out like normal.
Also, you currently cannot root the Amazon edition since the bootloader is not unlockable.

Related

Ad sponsered free apps increasing, Any type of firewall?

Well been doing alot of study lately and it seems ALOT of apps on the market that are full versions and are "free" seem to have ad sponsored elements in them. Sending your GPS data to whoever or other various things. Now while if the dev mentions on the description that their "Paid" version is ad free. Least its up front and honest about it. However alot of Apps I found out hide this info it seems. Is this going to be the new "Kazaa" on the G1? Back when Kazaa came out, is when the influx of "Spyware" was increasing. Im worried is this happening to the G1 now? While I can understand devs choosing this to make their app free and gain from it a lil. Whats to say other devs wont use this for other intentions that may have some negative impact?
Just wondering tho.. for modded G1s. Is there some sorta firewall app or so yet that might be useful? Anyways just thought I would post for discussion case I am worried over nothing.
Install AdFree from the Market.
Cool ill try that. Still tho some discussion would be good. Cause I don't know if this should be something to start getting concerned on. Apps running in background draining battery, and reporting info possibly and so. Or am I getting concerned over nothing?
Mysticales said:
Cool ill try that. Still tho some discussion would be good. Cause I don't know if this should be something to start getting concerned on. Apps running in background draining battery, and reporting info possibly and so. Or am I getting concerned over nothing?
Click to expand...
Click to collapse
A little paranoia is a healthy thing, too much is bad, but these ads collect all sorts of location information to profile you and provide relevent advertising, but who knows what else happens with the data etc etc etc
PS you need root access on your phone to use AdFree
Yea Im fully rooted, No worries there. =) Thanks for this heads up. I use host files as well on my PC.. since then never had a issue with spyware again. Any news on if he would let us update the host file ourselves? Id love to use the file I have on my PC. Heh.
Anyways as for discussion goes. Can these ads know your G1 email, or linked email account? Next off, is there a ability that these ads could read your personal data as text msgs, contacts (to spam phone calls) or anything like that? Android being a new OS.. not sure what devs and ads can do with access to a phone. Its like a new gateway has been opened.
Kinda wish a dev could comment if the G1 would even have this ability and if it could be a bad thing.
Edit: Good question, this Ad Free, is it like if you add a hosts file in a router? Like if I use the G1 to tether, is it blocking the ad banners even on tethered connections? Would be interesting to know for sure since imagine a built in firewall that protects tethered PCs too.
Mysticales said:
Yea Im fully rooted, No worries there. =) Thanks for this heads up. I use host files as well on my PC.. since then never had a issue with spyware again. Any news on if he would let us update the host file ourselves? Id love to use the file I have on my PC. Heh.
Click to expand...
Click to collapse
You can use your own hosts file on your own phone, AdFree just automates the process, if you look at this thread it started off describing how to do things manually.
Anyways as for discussion goes. Can these ads know your G1 email, or linked email account?
Click to expand...
Click to collapse
Possibly, I haven't looked into accessing the google credentials from the android APIs so I don't know for certain, might be a private API google only shares with it's own apps, that doesn't mean someone won't figure out how to access them however.
Next off, is there a ability that these ads could read your personal data as text msgs, contacts (to spam phone calls) or anything like that? Android being a new OS..
Click to expand...
Click to collapse
When you install an app there is a screen displayed of the permissions the apps ask for, read/write contacts, calendars etc will all be displayed, you should be able to see the permissions an app will have access to after it's installed as well from memory.
not sure what devs and ads can do with access to a phone. Its like a new gateway has been opened.
Click to expand...
Click to collapse
You should be more worried what google will do with all the info it collects to be honest, but that's another issue altogether.
Kinda wish a dev could comment if the G1 would even have this ability and if it could be a bad thing.
Click to expand...
Click to collapse
You are prompted during install as to what the app will be able to access, google leaves it up to you to accept it or not.
Edit: Good question, this Ad Free, is it like if you add a hosts file in a router? Like if I use the G1 to tether, is it blocking the ad banners even on tethered connections? Would be interesting to know for sure since imagine a built in firewall that protects tethered PCs too.
Click to expand...
Click to collapse
Depends how the tethered setup gets DNS info, if it uses the information from the hosts file then yes, but this is dependent on what the tether setup does.
Mysticales said:
Its like a new gateway has been opened.
Click to expand...
Click to collapse
Only if you never bothered reading the permissions requests when installing an app. They clearly describe what permissions an app wants to use and you can cancel the installation if you feel you don't want to give an app the right to access your personal info. So if you install a game that says it wants access to your Google Account info (which would include your email and thus all your associated google services) then you have only yourself to blame if the dev sends you a ton of spam or sells your email address.
Bottom line is read the permissions requested carefully and decide whether you trust the company/entity that created the app before installing it. Also, i'd be very wary installing any root apps, since root apps by their very nature can operate outside of dalvik sandbox and do practically anything they want to your system. I'm only running two root apps right now: Market Enabler and Wifi Tether. They are both open source.
Well of course I read the permissions thing. However still I would still wonder about things.
Mysticales said:
Well of course I read the permissions thing. However still I would still wonder about things.
Click to expand...
Click to collapse
Google actually closed up some of the loop holes that apps were using on Android 1.0/1.1 to enable wifi etc.
jashsu said:
They are both open source.
Click to expand...
Click to collapse
Unless you audit the code and compile it yourself, you have no idea what the binary is actually doing.
Location data is only used for serving the right banners and calculate the profits the banner view/click has depending on the location (country) of the viewer.
Its not anything malicious and you can easily see the permissions when installing.
People all like free apps instead of paying a few dollars, but when an ad is added people try to get rid of it... Havent you all ever wondered why the ads are there? Just like on a forum as the one you are on right now? Right they generate at least a little bit of money for a dev that doesnt want to charge the users directly by letting them pay, but spends almost all his free time to keep apps updated, write new once and answering questions.
As soon as there is virtually no way too make money on a market, the market will die as developers/companies will move over to an other platform of development.
delta_foxtrot2 said:
Unless you audit the code and compile it yourself, you have no idea what the binary is actually doing.
Click to expand...
Click to collapse
It's not difficult to get the code from svn and compile it. Pretty effortless.
rogro82 said:
As soon as there is virtually no way too make money on a market, the market will die as developers/companies will move over to an other platform of development.
Click to expand...
Click to collapse
Many people don't like to view ads on their computers, let alone their mobile phone. Thus if people can block the ads easily, they will. Content producers and software developers will simply have to find a new business model to pursue. Maybe that's a free/premium differentiation model or maybe its microtransactions. That or they will have to deal with a percentage of their userbase blocking ads.
Well I am sure most devs Block ads too, either on their mobile or pc.. no one wants any type of issue.
Now again, I said I understand why they are there for free apps. Its just that as a user myself.. I like to know Im protected from potential hazards. Also alot of devs like to make something hot to use on later resumes and projects. Ive worked with alot of devs in my time start with nothing and grow to get bigger jobs in RL cause of the project. =)
jashsu said:
It's not difficult to get the code from svn and compile it. Pretty effortless.
Click to expand...
Click to collapse
I didn't say it was hard to get or compile it, but auditing the code to make sure nothing malicious is going on can be very difficult at times. There is a code obfustication competition each year and it's extrodinary what some can do and you'd never know unless it was pointed out to you.
Mysticales said:
Well I am sure most devs Block ads too, either on their mobile or pc.. no one wants any type of issue.
Click to expand...
Click to collapse
It's not just "issues" too many ads tick a certain segment of the population off to the point that they go to these lengths to get rid of them.
This is of course before you factor in this segment of the population are usually the least to click on ads, usually for ethical/moral reasons, so them getting rid of ads is usually no big loss.
Last time I checked AdFree was downloaded less than 5,000 times, now compare this to a speedometer app I made which anyone can run and it's been downloaded over 10,000 times I highly doubt any dev relying on ads will actually loose out by the people that can and are blocking them.
rogro82 said:
Location data is only used for serving the right banners and calculate the profits the banner view/click has depending on the location (country) of the viewer.
Click to expand...
Click to collapse
The meta data that can be gleened from this sort of advertising can have all sorts of flow on effects and unintended consequences.
I see the world and potential pitfalls in things differently than others, I don't know why, but the more data collected the worst things can be.
If you are interested in what country they are from/in just pull the country code from the SIM card, why narrow it down to within a few metres?
Well since I have been using Adfree. Let me say this. My G1 seems to be running faster! I dont get as many force close/wait errors. Certain apps like atrackdog for one RUN faster. I mean without the ads running, it seems my apps speed through their task and do what they are supposed to. Kinda interesting note oddly.
Also lets say a app you know would be using GPS to locate you on a map. Thus triggering "Give app permission to use your GPS" which you know why it needs it. But does the app also tell you that it uses the GPS for Ads? So I dont always trust what it says when it comes to permissions as it doesnt mean in the underline that its not using the same permission to do other things. Would be nice if the G1 had a notice that the app uses Ad support.
Linux is a wonderful and powerful operating system that can do just about anything you can possibly dream of.
First, the hosts file hack is a piece of crap since all it does is it points potentially malicious domain names back to self. It doesn't take into account connections that are ip address based... those will still go through and there is nothing that can be put in the hosts file to stop that.
iptables on the other hand.... included in 1.0 and 1.1, and several custom 1.5's, can do many strong things; block by ip address (including if it tries to lookup by dns), block by port, *BLOCK BY USER ID*.
The latter is particularly interesting since each program installed on android is assigned its own userid. That means that with the correct iptables rule, you can block all network traffic for THAT PARTICULAR PROGRAM. Or you can blacklist/whitelist servers for that program, etc.
http://www.cyberciti.biz/tips/block...ingle-user-from-my-server-using-iptables.html
http://www.cyberciti.biz/tips/linux...ng-access-to-selectedspecific-ip-address.html
For example, when I issue this command:
iptables -A OUTPUT -o tiwlan0 -m owner --uid-owner 10017 -j DROP
My browser is no longer able to connect (since it is uid=10017) using wifi (tiwlan0 is wifi). Note: leave out the entire "-o tiwlan0" argument and it should block all outgoing on all devices for that userid.
To find the userid for a particular program, do "ls -l /data/data/program'sdatadirectory"
So on JF 1.51 is this ability already there? Yea I know Linux is great for iptables. Always is, even in routers hehe.
If its not in there already, Debian, how well does that work on the G1?

Chrome Device Support Library causing ads

Hello, long time reader - finally decided to post.
I bought the Note 5 on launch day, and have overall been very happy with it, especially after debloating. I had been noticing over the last couple weeks that a lot of websites would have ad choice ads on the bottom of the pages, through Chrome or through apps that use WebView. It was only on certain sites. When I went to my own personal sites, I would never see the ad so I was sort of thinking it was the site. But the more and more I saw them, they really seemed out of place. I dont use many apps on my device, and am very careful what I install so I was not worried about malware.
I finally decided to start disabling things to see if I could get these ads to stop, and sure enough, when I disabled Chrome Device Support Library (assuming it came installed as I did not install it), the ads went away.
Does anyone have any similar experience? I am missing anything by disabling this? I just want to make sure I don't have anything additional that would have caused these ads.
Thanks in advance for any info.
I personally use NoHomo...
*NoChromo.
http://android.wonderhowto.com/how-to/block-ads-android-web-browsers-no-root-needed-0162075/
(Sent from another Galaxy)
I'll try it out to see. I would imagine if it did affect anything else, it would be device syncing possibly?
This would solve my problems if it doesnt affect anything else. Hate sites where they pop up an ad that closes out of video and I lose my spot.

To root or not to root, that is the question

Hey folks,
I just bought 3 Moto X4 Android One phones directly from Google Fi for my wife & kids to replace their aging Samsung J3 phones (2016). I'm prepping their phones now before wrapping (screen protector, bumper cases, Micro SD cards stuffed with music, charging the batteries, etc). I couldn't find the latest factory image to flash directly, so I've been installing the updates one by one (6 hours & counting, sheesh!)
The question I'm asking is: should I updated them to the latest version of Oreo (OPWS28.3.5), then root with Magisk & disable OTA (by removing the update app with a root uninstaller)? Once I hand over the phones, I will probably never be able to do any maintenance on them (one of my girls is in college, the other is a teen and needs her privacy). The main reason for rooting is to install AdAway. However, I don't want them to have issues with apps that detect root (such as Netflix, Pokemon Go, banking apps, etc).
Or I can hand over the phones as-is and they will have to deal with ads.
I want them to have the latest security updates, however I also want them to have a pleasant browsing experience like I have on my rooted Pixel 2.
Thoughts?
Same question here.
Retail version.
Wondering if I should root now or wait for pie. I've never owned a phone this long without rooting it (2 months! Lol). But been happy with it so far.
I just miss the customization features.
And losing space on internal fast (from a/b I've read).
So wait or go for it now?
Blokada is a good alternative to AdAway, it routes the whole wifi and mobile traffic through a hosts file like a vpn but without connecting to another server. Just whitelist Play Store and Google Drive (if it's used), in my blacklist is only MVPS enabled.. and yeah it works really great
https://blokada.org/
stovo06 said:
And losing space on internal fast (from a/b I've read).
Click to expand...
Click to collapse
Didn't know about this...after looking it up, I found it's called Seamless Updates, and its a real pain for ROM developers. I was wondering why the ROM scene on the Pixel 2 was so small as compared to, say the Nexus 5. Well, its a good thing I got them 32GB micro SD cards, they will need it for the insane amount of photos they take lol
Zokhii said:
Blokada is a good alternative to AdAway, it routes the whole wifi and mobile traffic through a hosts file like a vpn but without connecting to another server. Just whitelist Play Store and Google Drive (if it's used), in my blacklist is only MVPS enabled.. and yeah it works really great
https://blokada.org/
Click to expand...
Click to collapse
Great tip!!! Thanks, I'm going to go try it out now.
To get the latest OTA update on a rooted X4, I flashed the most recent available firmware (from Sept or Oct I believe; it doesn't have to be the absolute latest as updates are inclusive, but a full Android version change is probably another story), let the OTA come in, then re-pushed recovery and root. All in, it took under an hour. If your kids do not quite have the technical prowess to do this, I would suggest leaving them un-rooted. They will get very annoyed at the "OTA update available!" notification that never goes away.
Hopefully the alternative ad blocker Zokhii suggested works out for you.
booting into TWRP will break the ota update
Installing adblocker is a pretty stupid reason to root if you're going to hand the phone to some people that have never even heard of XDA before. I've been on this site for... what? At least 6 years now. I *program* on the six phones that I have. And *I* haven't rooted my phone because I haven't needed to. I just use the Brave Browser that has adblock built-in. That's a wrap.
Just hand them the phones with a bow on top and hope nobody gave you a tie.
Brave Browser doesn't block in-app banner ads, which can be a security risk on par with "handing a rooted device over to a novice" because there are plenty of malicious ads using socially-targeted messages designed to trick the user into giving up personal or account information. And although it can be argued that it's best to just teach people to not click on ads, I'd rather spend the time teaching them other things like how to be a responsible
administrator.
How does that meme go with the Joker? " Give someone a Windows laptop with adminstrative privileges & no one bats an eye, give someone a rooted Android device & everyone loses their mind".
I ended up installing Blokada & it seems to do a great job of blocking most ads ( doesn't block Facebook Messenger ads, but then neither does Adaway).
Don't do it..once you unlock the bootloader it can't be relocked.
The only reason I unlock a bootloader and root are for custom ROMs. There simply isn't enough development for this phone to justify the hassle IMO.
A30N said:
Brave Browser doesn't block in-app banner ads, which can be a security risk on par with "handing a rooted device over to a novice" because there are plenty of malicious ads using socially-targeted messages designed to trick the user into giving up personal or account information. And although it can be argued that it's best to just teach people to not click on ads, I'd rather spend the time teaching them other things like how to be a responsible
administrator.
How does that meme go with the Joker? " Give someone a Windows laptop with adminstrative privileges & no one bats an eye, give someone a rooted Android device & everyone loses their mind".
I ended up installing Blokada & it seems to do a great job of blocking most ads ( doesn't block Facebook Messenger ads, but then neither does Adaway).
Click to expand...
Click to collapse
I do believe... for your family... a warranty would be FAR more useful than an adblocker...
And have you actually USED Brave lately? I use it everyday... (in fact... I'm using it right now) and *I* haven't seen any banner ads. I think it does a pretty good job.
A30N said:
Didn't know about this...after looking it up, I found it's called Seamless Updates, and its a real pain for ROM developers. I was wondering why the ROM scene on the Pixel 2 was so small as compared to, say the Nexus 5. Well, its a good thing I got them 32GB micro SD cards, they will need it for the insane amount of photos they take lol
Click to expand...
Click to collapse
I am not a dev, however, I thought this a good thing.
Yes it eats Data. Yes, it's different and most likely scares people (developers) off (it sure scared me before I began reading about it).
But it can really save your ass from what I've read. Any issues and you can jump back to the previous ROM. I am guessing this is what gives us Project Treble support (unofficial I think but still have it).
Plus I have a 128 gig external and they are super cheap. And I am reading about the next falgships having 1Tb of storage?
A30N said:
Hey folks,
I just bought 3 Moto X4 Android One phones directly from Google Fi for my wife & kids to replace their aging Samsung J3 phones (2016). I'm prepping their phones now before wrapping (screen protector, bumper cases, Micro SD cards stuffed with music, charging the batteries, etc). I couldn't find the latest factory image to flash directly, so I've been installing the updates one by one (6 hours & counting, sheesh!)
The question I'm asking is: should I updated them to the latest version of Oreo (OPWS28.3.5), then root with Magisk & disable OTA (by removing the update app with a root uninstaller)? Once I hand over the phones, I will probably never be able to do any maintenance on them (one of my girls is in college, the other is a teen and needs her privacy). The main reason for rooting is to install AdAway. However, I don't want them to have issues with apps that detect root (such as Netflix, Pokemon Go, banking apps, etc).
Or I can hand over the phones as-is and they will have to deal with ads.
I want them to have the latest security updates, however I also want them to have a pleasant browsing experience like I have on my rooted Pixel 2.
Thoughts?
Click to expand...
Click to collapse
In pie update u can easily block ads by changing default dns with adguard dns. No need for root and third party app :fingers-crossed::fingers-crossed:
Definitely read the FAQs thread for one stop shop info. You can flash latest Android Pie image with locked bootloader and once you unlock bootloader, twrp can be installed along with Magisk anytime no matter which version of firmware you're on.
But to your original question, rooting is up to you. We're a small audience compared to the mass phone users that just need a phone. I'm a must have root. Once your unlocked bootloader, install twrp, and root, it breaks official OTAs. You'll have to wait for full image to become available to flash minus the "erase userdata" to update and keep all internal data.

DNS over TLS in Pie

Android 9 supports "Private DNS" which uses DNS-over-TLS to provide better security and privacy, I set my X4 to "dns.google" instead of "automatic", as per this article: https://android-developers.googleblog.com/2018/04/dns-over-tls-support-in-android-p.html
- looking for some insights/comments on a subject of practical benefits of this feature.
Google private DNS setup: https://developers.google.com/speed/public-dns/docs/using#android
A DNS over TLS connection is encrypted in the same way HTTPS is. It can also sometimes be quicker than the default DNS (correct me if I'm wrong about this). However, airports and some other places do not allow external DNS, forcing you to turn it off.
MisterFribble said:
A DNS over TLS connection is encrypted in the same way HTTPS is. It can also sometimes be quicker than the default DNS (correct me if I'm wrong about this). However, airports and some other places do not allow external DNS, forcing you to turn it off.
Click to expand...
Click to collapse
Good to know that, I was setting up my new router at home the other day, so I went through some web sites getting some info and ended up changing all DNS/iPvs etc..., that's how I stumbled upon that 'tls' thing and was wondering if it has any merit to it. My desktop browser(Firefox) used to be very slow and now it's pulling pages really fast after changing to Google DNS from random default. Am suspecting my cable co. has been monitoring my web traffic, slowing it down.
With dns.adguard the phone has functional add blocker, tried several free apps from the play store and it seem to filter adverts out pretty good, no standalone app just the private dns set up:
mzsquared said:
With dns.adguard the phone has functional add blocker, tried several free apps from the play store and it seem to filter adverts out pretty good, no standalone app just the private dns set up:
Click to expand...
Click to collapse
I agree. But it still lets a few ads though. So if there is a better dns-over-tls alternative to adguard I'm open to trying it.
Nezzox said:
I agree. But it still lets a few ads though. So if there is a better dns-over-tls alternative to adguard I'm open to trying it.
Click to expand...
Click to collapse
You can try adguard.apk. I like just the simple dns thing. Here is a link w/ a lot of information about it, see all the comments below the article:
https://www.androidpolice.com/2018/...wn-dns-service-and-it-works-with-android-pie/
mzsquared said:
You can try adguard.apk. I like just the simple dns thing. Here is a link w/ a lot of information about it, see all the comments below the article:
https://www.androidpolice.com/2018/...wn-dns-service-and-it-works-with-android-pie/
Click to expand...
Click to collapse
Well, I used blokada before. The point for me is to find something that enables me to not use a apk. The ideal solution would be to have a more aggressive dns-over-tls adblocking since it's possible in Android pie. I feel that adguard is too allowing and does not fair well in blocking ads delivered from Facebook or local ads.

Blocking Ads in Apps

Over the weekend, I purchased a Galaxy S10. It’s the Verizon variant and as such wont get root. I’m actually not interested in root as my last phone was missing the last few years updates as I did the Ron Popiel, “Set it and forget it”. I’m all good there and am rather happy with it since I had an S5 running Lollipop.
Before upgrading, I asked some questions regarding whether I needed root as my main desire was to be able to use ad blocking software and block ads in applications. I was told to use Blokada. I’ve installed it and it’s not doing what I expected. What it does:
1. It installed a VPN which I keep having to turn on and off.
2. It does not block ads in all applications.
3. It prevents some apps from working: Spectrum, NFL…
Coming from AdAway, I was looking for a program that ran in the background and simply blocked ads. This program does not and now that it installed a VPN, It’s going to cause trouble for me when I want to use the corporate VPN to access my work computer. Besides, not being unobtrusive, the fact that it’s using a VPN means that whoever built the program now has access to my data stream.
Does some know if maybe I’ve misconfigured the program or if there is another program that I should use to achieve seamless background operation.
Maybe all I need is alterative DNS servers so ads won’t load. I’m not sure what to do.
Use Blokada or Adguard, or at least that's what I've used. I actually use paid version of Adguard but the other works fine
https://blokada.org/index.html
I'm using AdGuard DNS with a Quick Settings toggle I've made with Tasker to enable and disable it on the fly.
No app needed, it's fast and works like a charm even in apps or YouTube.
I need to disable it for public WiFi with login to make the login sites work, only. If I'm logged it I re-enable it.
I was using AdAway before but I wanted to try a rootless phone after I had issues with my USB Port and I like it.
I just tried Blokada again. I found that I could use the DNS frature and be protected from ads, but spectrum tells me, "VPN Unsupported". how do I get around this and not use VPN to block Ads?

Categories

Resources