I was wondering if anyone knows what file in a decompiled apk/app that needs to be removed to stop the ads. The ads program info appears to be all over the apk/app I have tried to remove just the ads files, but the apk/app force closes upon activation or boot up ? There has to be one line of code that can be removed that disable the ads without crashing the apk/app ?
jimzweb1 said:
I was wondering if anyone knows what file in a decompiled apk/app that needs to be removed to stop the ads. The ads program info appears to be all over the apk/app I have tried to remove just the ads files, but the apk/app force closes upon activation or boot up ? There has to be one line of code that can be removed that disable the ads without crashing the apk/app ?
Click to expand...
Click to collapse
Here flash this and you will be all good.
http://forum.xda-developers.com/showthread.php?p=32276021
Sent from my SM-G900P using Tapatalk
Download an app that lets you turn off adds and see what gets changed. That is where I would start.
Sent from my SM-N900P using Tapatalk
JonSCSL said:
Here flash this and you will be all good.
http://forum.xda-developers.com/showthread.php?p=32276021
Sent from my SM-G900P using Tapatalk
Click to expand...
Click to collapse
Hey JonSCSL, I tried the mod it works great !!! It does however store 39mb of malware sites my device, which it needs to access on boot up. Be cool if they could figure a way to store that info in the cloud then access it at boot up.
jimzweb1 said:
Hey JonSCSL, I tried the mod it works great !!! It does however store 39mb of malware sites my device, which it needs to access on boot up. Be cool if they could figure a way to store that info in the cloud then access it at boot up.
Click to expand...
Click to collapse
Do you use Xposed? There is an xposed Module that blocks ads from apps of your choice and system apps. It is a canceled project but it works great.
Sent from my SM-G900P using Tapatalk
JonSCSL said:
Do you use Xposed? There is an xposed Module that blocks ads from apps of your choice and system apps. It is a canceled project but it works great.
Sent from my SM-G900P using Tapatalk
Click to expand...
Click to collapse
Found it by fatminmin, I have not tried it yet but I did decompile it to see how he stopped the ads. I have to say he has a better grasp on it then I do, I got lost about half way through trying to follow programing.
Related
I have made the mistake of responding to an ad that I got on my phone. Now I am getting random notifications on my status bar. They are links to crap no one wants. Does anyone know how to prevent them from coming to my phone? Thanks!
Sent from my Fully Automatic Shooter using XDA
Bdozier said:
I have made the mistake of responding to an ad that I got on my phone. Now I am getting random notifications on my status bar. They are links to crap no one wants. Does anyone know how to prevent them from coming to my phone? Thanks!
Sent from my Fully Automatic Shooter using XDA
Click to expand...
Click to collapse
Usually notification ads are caused by some ad-supported app using something like Airpush. I recommend you run Addons Detector to see if there are any offending apps and remove them.
https://play.google.com/store/apps/details?id=com.denper.addonsdetector&hl=en
You can also opt out of the Airpush notification ads by following the directions at the following link. You do have to install and run their opt out app, but then you can remove it.
http://www.airpush.com/optout
Finally, if you are rooted, you can run AdAway:
https://play.google.com/store/apps/details?id=org.adaway
coal686 said:
Usually notification ads are caused by some ad-supported app using something like Airpush. I recommend you run Addons Detector to see if there are any offending apps and remove them.
https://play.google.com/store/apps/details?id=com.denper.addonsdetector&hl=en
You can also opt out of the Airpush notification ads by following the directions at the following link. You do have to install and run their opt out app, but then you can remove it.
http://www.airpush.com/optout
Finally, if you are rooted, you can run AdAway:
https://play.google.com/store/apps/details?id=org.adaway
Click to expand...
Click to collapse
Sorry, I can only click thanks one time!
Sent from my PG86100 using XDA
How can I get rid of ad's that are on my icons bar plz and think you
Sent from my DROID X2 using xda app-developers app
Are you rooted? If so download and install Adaway from the play store. What you are getting are called "push notifications", many free apps will start pushing them to your phone. Adaway will block those and in app ads as well. Just make sure to check it every so often for an update in app. Hope that helps.
Sent from my CM10X2 using Tapatalk 2
Ad Away will get rid of banners in apps. Not too sure about the notifications. If it does, then cool. But also, you may want to try AirPush Detector. It will show you exactly which apps are giving you those apps if you want to delete the app that is causing them. If Ad Away doesnt work for those type of ads and you want to keep the apps that are doing it, you can also try Airblocker - Airpush Block. I have never tried it but it seems to do what you want.
casper846969 said:
How can I get rid of ad's that are on my icons bar plz and think you
Sent from my DROID X2 using xda app-developers app
Click to expand...
Click to collapse
Not sure if this will help but I use this pdroid and the startup commander in Rom toolbox to tell me what my apps are doing
http://forum.xda-developers.com/showthread.php?t=1551298
don't be scared it's only a phone
ogd x d2g x2 gs3
old ladies ^
jsgraphicart said:
Ad Away will get rid of banners in apps. Not too sure about the notifications. If it does, then cool. But also, you may want to try AirPush Detector. It will show you exactly which apps are giving you those apps if you want to delete the app that is causing them. If Ad Away doesnt work for those type of ads and you want to keep the apps that are doing it, you can also try Airblocker - Airpush Block. I have never tried it but it seems to do what you want.
Click to expand...
Click to collapse
I use Adaway on ALL my phones, I wouldn't say it gets rid of push notifications if I didn't have first hand experience.
Sent from my CM10X2 using Tapatalk 2
d34thbl00m said:
I use Adaway on ALL my phones, I wouldn't say it gets rid of push notifications if I didn't have first hand experience.
Sent from my CM10X2 using Tapatalk 2
Click to expand...
Click to collapse
Adaway is the way to go then. I have used it for a long time as well and love it. I just dont think I use any apps that give me push notifications. Good to know though.
jsgraphicart said:
Adaway is the way to go then. I have used it for a long time as well and love it. I just dont think I use any apps that give me push notifications. Good to know though.
Click to expand...
Click to collapse
I'm a gameaholic I have tons of free games and apps that send push notifications.
Sent from my CM10X2 using Tapatalk 2
Heya guys,
I had 4.1.1 till few weeks ago, after I updated to 4.1.2 Wanamlite ALL adblockers I try don't work... I used Adfree before and had 0 Ads in apps.
Now, no matter which one I try I have ads in there.
I had to install another version of adfree which removes only a few ads but not all, I tried adblock plus, adaways, and adfree....
My phone's rooted as usual, i let them acces internet via droidwall...
What is the problem ?
Is there a general change in 4.1.2 hich prevents some ads from being blocked ?
Thanks in advance.
Gram
All should work. What if you turn off droidwall?
Adaway worked for me on 4.1.2 and 4.2.1 leak. I then moved to 4.2.2 aosp and it still works
Sent from my GT-I9300 using Tapatalk 4
See
http://sufficientlysecure.org/index.php/adaway/
rootSU said:
All should work. What if you turn off droidwall?
Adaway worked for me on 4.1.2 and 4.2.1 leak. I then moved to 4.2.2 aosp and it still works
Sent from my GT-I9300 using Tapatalk 4
Click to expand...
Click to collapse
Heya,
Droidwalls logs are empty, i set things up a year ago so doirdwall isn't it. plus adfree and all the others adblocker apps always have all permissions.
So should I simply try another version other than 4.1.2 or why the hell isn't it working ? *sigh*
If you don't know why its not working, how can you rule out any cause?
Logic says remove as many variables as possible. I asked what happens without droid wall. Did you try it? I ask because you didn't satisfactorily answer the question.
Please rule out droidwall first. Then we talk more.
Sent from my GT-I9300 using Tapatalk 4
rootSU said:
If you don't know why its not working, how can you rule out any cause?
Logic says remove as many variables as possible. I asked what happens without droid wall. Did you try it? I ask because you didn't satisfactorily answer the question.
Please rule out droidwall first. Then we talk more.
Sent from my GT-I9300 using Tapatalk 4
Click to expand...
Click to collapse
Droidwall disabled, still ads....
**EDIT**
I told u The log is empty so nothing gets blocked...
Gramrock said:
Droidwall disabled, still ads....
**EDIT**
I told u The log is empty so nothing gets blocked...
Click to expand...
Click to collapse
Who is to say the logs are working? Thanks for testing.
Please attach your hosts file.
Sent from my GT-I9300 using Tapatalk 4
Adblocker plus (not crapy Play's one) works fine here with AFWall+.
It can't block all adds, only those coming from external add networks, not those natively brought through the application's server (mostly games I guess).
Striatum_bdr said:
Adblocker plus (not crapy Play's one) works fine here with AFWall+.
It can't block all adds, only those coming from external add networks, not those natively brought through the application's server (mostly games I guess).
Click to expand...
Click to collapse
Yeah its the same for me.
I am using the same aps I used to use before 4.1.2, I was using the older version of adfree which was working perfectly. No inapp ads nothing.
Now i had to update the adfree to another version and the inapp ads are not blocked anymore. I mean those built in.... because those aps cannot acces the internet anyways.
The got blocked before I am just wondering why not anymore...
rootSU said:
Who is to say the logs are working? Thanks for testing.
Please attach your hosts file.
Sent from my GT-I9300 using Tapatalk 4
Click to expand...
Click to collapse
http://the-depth.com/hosts
hope it helps...
Gramrock said:
http://the-depth.com/hosts
hope it helps...
Click to expand...
Click to collapse
Thanks. If this is from /system/etc (or /etc) then it rules out the apps. Your hosts file has 25000+ entries (more than mine by about 4000)... so it would definitely appear to be a rom issue. The app is doing its job by writing to the hosts file.
I trust it has standard /system permissions?
rootSU said:
Thanks. If this is from /system/etc (or /etc) then it rules out the apps. Your hosts file has 25000+ entries (more than mine by about 4000)... so it would definitely appear to be a rom issue. The app is doing its job by writing to the hosts file.
I trust it has standard /system permissions?
Click to expand...
Click to collapse
Hey, yeah prolly... It has root permissions. I was using the older wanam rom, it was working pretty nice....
What I am asking myself is: some ads seem to be built into the ap itself, since i don't allow any of the games or apps i use to connect to the internet. So ofc some ads are always there right ?
But then I realize, hey I was using all those aps before and none of those ads were there before...
What u think, should I change the rom ? can u recommend a good one ? I was pretty happy with wanam tbh...
cheers.
Gram
If you can tell me a few games to test for you I can let you know....
Since the hosts file simply blocks web hosts connecting in from the internet, it can't touch ads that are embedded in the game that works when the internet is off. So yeah, anything that still works with no internet cannot be blocked.
When I use touchwiz, I prefer wanam
Sent from my GT-I9300 using Tapatalk 4
rootSU said:
If you can tell me a few games to test for you I can let you know....
Since the hosts file simply blocks web hosts connecting in from the internet, it can't touch ads that are embedded in the game that works when the internet is off. So yeah, anything that still works with no internet cannot be blocked.
When I use touchwiz, I prefer wanam
Sent from my GT-I9300 using Tapatalk 4
Click to expand...
Click to collapse
Alright cool...
First game: Third blade
In this game if u start a level, u get a small banner ad at the center top of the screen. Now, the game is blocked and cannot access internet. yet It has this ad. Here comes the twist though, When I had my sgs+ back 2 years ago, and had adblocker i didnt have that banner ad, so whats deal with that nowadays ? Simply different version ? (upgrade with integrated ads) ?? The sgs+ had 2.3.3 or so...
Second game: Jewels saga
If i start the game now I get this stupid fullscreen ad which I have to press away. I used the same game in 4.1.1 with wanamlite and adaway and dindn't have this ad, so how come after the upgrade, under the same circumstances this ad now appears ? Please check if u get the fullscreen ad at the start..
I deleted a **** load of games so I only have these 2a atm...
Thanks alot.
Sincerely
Gram
There are ads built in to some apps .
jje
JJEgan said:
There are ads built in to some apps .
jje
Click to expand...
Click to collapse
yeah, but i am using the same apps i used to in 4.1.1 and there the adblocker blocked them, now i have em. thats what makes me wonder...
Easy test, flash 4.1.1...
Sent from my GT-I9300 using Tapatalk 4
I have a rooted Galaxy Mega I recently bough, running stock ROM 4.22. I am upgrading from an original Galaxy Tab 7 (rooted and still running Gingerbread.. working like new).
Like on my Galaxy Tab 7 I installed Adaway on the Mega, but, seems I cant get of any ads at all. All apps display ads even the Mega is rooted and Adaway properly configured. Am I do anything wrong or need special configuration or is there a knows inssue about removing ads with this phone? Any other app that works or workaround for the problem?
Aside from this problem, the Mega is a great phone! Extremely happy
Thanks in advance for sharing any advice and input of this
im having the same problem
its probably the 'webserver' doesnt stay on, the moment you exit adaway its turns off by itself
Add away is working perfectly here. Maybe reinstall and try from the start
Sent from my GT-I9205 using Tapatalk 2
Kangburra said:
Add away is working perfectly here. Maybe reinstall and try from the start
Sent from my GT-I9205 using Tapatalk 2
Click to expand...
Click to collapse
Positively does not work. Installedl and uninstalled several times the app (and several versions) and never works.
.. in fact I hear with stock Samsung ROMs & Android 4.22 there are issues with Busy Box that can cause this.. but I also updated my Busy Box and no fix..
VeEuzUKY said:
Positively does not work. Installedl and uninstalled several times the app (and several versions) and never works.
.. in fact I hear with stock Samsung ROMs & Android 4.22 there are issues with Busy Box that can cause this.. but I also updated my Busy Box and no fix..
Click to expand...
Click to collapse
My Rom is based on stock and has root and busybox and is adfree, Can you just edit the hosts file?
View attachment hosts.zip This is the actual text file, just rename without .zip and copy to /system/etc, making a backup first.
This is a few days old but one I restored and then updated, I am hoping you can do the same.
Kangburra said:
My Rom is based on stock and has root and busybox and is adfree, Can you just edit the hosts file?
View attachment 2229149 This is the actual text file, just rename without .zip and copy to /system/etc, making a backup first.
This is a few days old but one I restored and then updated, I am hoping you can do the same.
Click to expand...
Click to collapse
Thanks, I will try.
.. in fact I hear with stock Samsung ROMs & Android 4.22 there are issues with Busy Box that can cause this.. but I also updated my Busy Box and no fix..
OK so goes like this:
Replaced your hosts file. With WIFI, no ads. Using 3G, ads everywhere still. So crazy.. I don't understand..
I have a rooted stock Samsung Rom with AdAway 2.6 installed and have no ads at all. On My Note 2 however, I have found that AdAway doesn't work if I have flashed Crossbreeder.
VeEuzUKY said:
OK so goes like this:
Replaced your hosts file. With WIFI, no ads. Using 3G, ads everywhere still. So crazy.. I don't understand..
Click to expand...
Click to collapse
APN proxy causes ads to show up. Remove it and all is good!
Kangburra said:
APN proxy causes ads to show up. Remove it and all is good!
Click to expand...
Click to collapse
Thanks for the reply. I have no idea what APN Proxy is or what/where I need to remove. Can you tell me what I need to do? Thanks again!
Menu -> Settings -> More Networks -> Mobile Networks -> Access Point Names -> <tap the currently selected apn>
If Proxy is anything other than Not Set, remove that entry.
Reboot and try again.
Kangburra said:
Menu -> Settings -> More Networks -> Mobile Networks -> Access Point Names -> <tap the currently selected apn>
If Proxy is anything other than Not Set, remove that entry.
Reboot and try again.
Click to expand...
Click to collapse
Thank you VERY much!! Yep, it worked! My question is, why were there proxy settings at all if not needed?.. anyway, thank you indeed very much!
VeEuzUKY said:
Thank you VERY much!! Yep, it worked! My question is, why were there proxy settings at all if not needed?.. anyway, thank you indeed very much!
Click to expand...
Click to collapse
It helps them monitor your usage/histroy. Reduces the amount of data they use, doesn't (usually) do anything for you. Glad it's fixed.
Kangburra said:
It helps them monitor your usage/histroy. Reduces the amount of data they use, doesn't (usually) do anything for you. Glad it's fixed.
Click to expand...
Click to collapse
OK got it. I use more than one SIM Card/network.. I guess need do tthe same for all. Thanks again
Kangburra said:
APN proxy causes ads to show up. Remove it and all is good!
Click to expand...
Click to collapse
Correct me if im wrong is it the same as having the "webserver" feature in adaway running?
Sent from my GT-I9152 using xda app-developers app
aben.dc said:
Correct me if im wrong is it the same as having the "webserver" feature in adaway running?
Sent from my GT-I9152 using xda app-developers app
Click to expand...
Click to collapse
In a way yes, but not completely. You are blocking sites and using a proxy bypasses the site address as everything is server from the proxy IP address.
Adaway webserver would remove the ads and then show the page complete, a bit like Opera Mini.
Or pay for the apps you use
Troute said:
Or pay for the apps you use
Click to expand...
Click to collapse
Not all of then have a paid version mostly free but with ads
Sent from my GT-I9152 using xda app-developers app
Troute said:
Or pay for the apps you use
Click to expand...
Click to collapse
I use it because of the Web sites with ads. I pay for 200mb per month and that can soon disappear with lots of ads on each Page
Sent from my GT-I9205 using Tapatalk 2
aben.dc said:
Not all of then have a paid version mostly free but with ads
Click to expand...
Click to collapse
There is that yes.
This is to Remove adds in many apps like angry birds and even blapk market. Tested working. Didn't see adaway in android market so here it is..
Ad away can be found in F-droid. Just an FYI
How does it block your ads? I use the same and still saw ads in apps. So had to use lucky patcher on those to clear them out
Sent from my SM-N900P using Tapatalk now Free
There are a few apps that it does not remove ads from and I am not to sure why. The official apk can be found here.
http://sufficientlysecure.org/index.php/adaway/
I'm using bigtincan's AdFree
Official Download Mirror
Always used this on my previous devices and it worked well. Havn't seen any ads yet.
Can anybody confirm this as another ad block solution?
Kompster said:
I'm using bigtincan's AdFree
Official Download Mirror
Always used this on my previous devices and it worked well. Havn't seen any ads yet.
Can anybody confirm this as another ad block solution?
Click to expand...
Click to collapse
Ive heatd of AdFree for a while but I've found AdAway easier to use. Comes down to personal preference.
Sent from my Sprint SG Note 3 using Tapatalk 4 Pro
nolimit06 said:
Ive heatd of AdFree for a while but I've found AdAway easier to use. Comes down to personal preference.
Sent from my Sprint SG Note 3 using Tapatalk 4 Pro
Click to expand...
Click to collapse
AdFree is much better at blocking/removing ads from my expierence
MikeyLee said:
AdFree is much better at blocking/removing ads from my expierence
Click to expand...
Click to collapse
Ill give it a spin.
Sent from my Sprint SG Note 3 using Tapatalk 4 Pro
tt281gt said:
How does it block your ads? I use the same and still saw ads in apps. So had to use lucky patcher on those to clear them out
Sent from my SM-N900P using Tapatalk now Free
Click to expand...
Click to collapse
I don't suggest lucky patcher. There are several issues caused by lucky patcher. The main one being your device showing out a of storage space when trying to install apps.
Skunk Ape1 said:
I don't suggest lucky patcher. There are several issues caused by lucky patcher. The main one being your device showing out a of storage space when trying to install apps.
Click to expand...
Click to collapse
Why did you have to jinx me!? I had no such problem until I read it here Removed Lucky Patcher
I was using AdAway with no luck blocking ads.
So I flashed the mother of all ad-blocking found here:
http://forum.xda-developers.com/showthread.php?t=1916098
Now that, worked great except some sites I do visit are blocked but all it takes is a simple edit to the hosts file to remove the block on said sites. :victory:
tt281gt said:
Why did you have to jinx me!? I had no such problem until I read it here Removed Lucky Patcher
I was using AdAway with no luck blocking ads.
So I flashed the mother of all ad-blocking found here:
http://forum.xda-developers.com/showthread.php?t=1916098
Now that, worked great except some sites I do visit are blocked but all it takes is a simple edit to the hosts file to remove the block on said sites. :victory:
Click to expand...
Click to collapse
Lol.... at least when it happened, you knew what caused it. I know if some people that took weeks to figure out what was causing it.
adaway has been my favorite since it came out. it's the only one i know of that allows custom black AND whitelists.
madsquabbles said:
adaway has been my favorite since it came out. it's the only one i know of that allows custom black AND whitelists.
Click to expand...
Click to collapse
The problem is that adaway or Adfree dont seem to keep their info on reboot so the ad re-appears... a pain
no on any of my 6 set ups. adaway always keeps its settings. it actually writes over the host file. maybe you're doing a symlink instead into a temp directory?
madsquabbles said:
no on any of my 6 set ups. adaway always keeps its settings. it actually writes over the host file. maybe you're doing a symlink instead into a temp directory?
Click to expand...
Click to collapse
For the life of me I can't get AdAway to work. Right at the last step it gets an error. AdFree works though. Doesn't block everything but its better than nothing.
Skunk Ape1 said:
Lol.... at least when it happened, you knew what caused it. I know if some people that took weeks to figure out what was causing it.
Click to expand...
Click to collapse
I am one of those people. . I spent at least a week trying to debug .. deleted stuff off my sd off my internal.. Tried another sd.. Finally someone read my plight and told me . Man that was a pain. .
Sent from my SM-N900P using Xparent Purple Tapatalk 2
SantinoInc said:
For the life of me I can't get AdAway to work. Right at the last step it gets an error. AdFree works though. Doesn't block everything but its better than nothing.
Click to expand...
Click to collapse
I just got it working on my NOTE 3! I installed adaway 2.7 ran it and just like 2.8 it did not work. ... cleared data and cache... uninstalled and did the same thing for 2.6 and it also did not work so I tried 2.8 one more time and like magic it will write the host file now.
sounreal said:
I just got it working on my NOTE 3! I installed adaway 2.7 ran it and just like 2.8 it did not work. ... cleared data and cache... uninstalled and did the same thing for 2.6 and it also did not work so I tried 2.8 one more time and like magic it will write the host file now.
Click to expand...
Click to collapse
I was having issues with it also...Using Titanium Backup I converted it to a system app and it hasnt failed since on me.....
How do I add Google ads to safelist on AdAway? I mean I don't wanna block Google adds that show up when doing a Google search.
I use Adaway at my rooted Note 3.
The problem is that Facebook and Messenger doesn't work.
If I replace the new Hosts with the original and freeze adaway, the two apps work.
So, is it possible to use adaway but remove some hosts, an Facebook, Messenger still work?
Please, if somebody knows the hosts to removeā¦.
Help.
Thanks in advance,
Stavros