I would really like to do away with adds, and have been struggling with this. Here is what I have tried so far:
1. After a temp root I ran adfree, which claimed to be a success, but upon trying out the browser and various apps the ads remained.
2. Noting that after a run of adfree, it states that the DNS cache must be cleared, I opened a root terminal and entered clear dns. Upon opening an ad filled app, I was delighted to find the ads gone. Tempting fate, I opened the browser and found that any site containing ads would freeze, and not load (xda for example).
3. I thought that maybe clearing the dns was the issue, so I took the hosts file generated by adfree, placed it on my sd, and made a visionary.sh script in /data/local, which upon boot placed the host file in /system/etc. The script ran fine, all ads were gone in apps, but again, websites with ads would not load.
This is where I am stuck. Getting the host file in the correct directory upon boot is not a problem, but I cannot figure why blocking ads causes the websites to not load. Any input would be appreciated.
I have experienced something kinda similar, but not exactly. I didn't have any luck with the app. A long time ago when I was running 1.5 it worked but not anymore. I learned about replacing the file with a modified hosts file into /system/etc. The only time it worked is when there was full root and my file manager of choice, root explorer, was able to truely write in the system folder and others. I always had to reboot in order for it to take. Since we don't have full root, after reboot, the stock hosts file is restored. I'm sure you already know this by the sounds of it.
Full root should be uploaded by tonight, so I would just wait for that if I were you
Sent from my PG06100 using XDA App
Yeah, this thread should probably be closed, as I made it prior to tonights great news.
Per OP request, closed
Related
this site here looks like a good, relatively recently updated (at least for now) source for a hosts file to block a TON of adservers.
Even though their target audience is micro$oft windoze users, the hosts file works just fine in linux (and, in Android!)
Blocking Unwanted Parasites with a Hosts File
About halfway down the page, they have a link labelled "To view the HOSTS file in plain text form."
Download it in a real browser, and adb push it to /system/etc/ on your phone after adb remount...
Or, transfer it to your sd card and overwrite your /system/etc/hosts with it using root explorer, or terminal emulator, or some such.
This /etc/hosts file redirects lots of ad site URLs to 127.0.0.1 (the local machine.)
Here, for the lazy (or not technically inclined,) is a flashable zip to use in your edify-scripting recovery (like relatively current editions of CWM) with the 7-23-2011 updated version of the hosts file downloadable from the page I linked above.
Since this is just the /etc/hosts file, there's no app to eat your precious /data partition space, or run in the background wasting RAM.
It's great in the browser. speeds up forum sites quite a bit, even if it's still missing a few of the ad sites that try to load before you get to see the posts you're after.
It also blocks at least some admob ads when I've tested it (haven't had any ads show up yet but I've only tested it out today.)
NOTE: even though the zip is supposed to be signed with a testkey, recovery won't flash it unless you turn off signature verification.
Better than having to manually copy the hosts file in terminal or ADB, though.
TESTED ONLY ON OPTIMUS V! may work on other phones... try it on something else if you dare.
I use an app called ad away. Which uses that site to download from. Ad Away also allows you to add your own locations so I added the list the firefox addon ad block plus uses.
Hello Everybody,
Last week i upgraded my SGS2 to 4.0.3, and i made a full reset, because some minor things did not work as expected. Now i got the stock firmware (I9100XXLPQ) with The CF root kernel (3.0.15-I9100XXLPQ-CL223505) on it.
Now my problem. AdFree does not work anymore. AdAway and manually copy the hosts file to /etc/ neither. Of course i rebooted my phone several times. hope i did not make any other noob mistake... I tried different hosts files, one of them worked as expected on my friends HTC Sensation.
Someone got any help for me? im freakin' out because of these advertisements^^
Wish you a nice day and thx 4 all helpful answers
ad free
Working for me on CM9.
You might need to check the settings in 'Superuser'.
install adfree back and do everything like instructed... and if it still doesnt work, try to check the hosts file size? if its WAY TOO SMALL then u did something wrong and Adfree didnt modify ur host file correctly
it still does not work maybe there are some local files that i have to delete? (like dns cache which clears by rebooting the phone)
Adfree doesn't seem to work on ICS. Try adaway.
Make a copy of the hosts file .
Open hosts file on phone with notepad delete all the data save and close .
Run one of the add apps and see what happens to the file .
jje
I deleted everything i "modded" with the hosts file, downloaded AdAway and now it seems to work. I think the hosts file from AdAway is very incomplete, but manually adding urls works now.
I couldnt figure out the problem. Maybe you just have to do it twice
Does anyone know how to get the advertisements urls from the apps? i want to block them manually.
thx 4 all the ansers.
I too noticed AdFree is not working on ICS, currently on the SG2 Epic 4G Touch FF18 update. Checked hosts file and it is updated with entries. I tested with manual entry and confirmed the hosts file works, but it seems like apps are bypassing it.
Control Test:
1. open www.purple.com (simple page that loads purple, handy for testing internet routing) - page loaded without issue
2. updated default hosts file with "127.0.0.1 www.purple.com"
3. open www.purple.com - receive "Webpage not available"
App Test:
1. Angry Birds in game ad still shows up
2. click ad, browser opens to "Webpage not available" - This proves hosts file is working, but because the ad still shows up in game is what makes me think apps are somehow bypassing hosts file...
I installed AdAway and when he created the hosts file can not and he said "lack of space on the partition!
Attempt to modify the hosts file in the preferences for target / data / data / hosts "
johnny8910 said:
Working for me on CM9.
You might need to check the settings in 'Superuser'.
Click to expand...
Click to collapse
Thanks.. I had to revoke the permissions from SuperUser and re-started Ad-away. The app asked for permission again and this time manage to write the host files
Hi to all
My Streak 5 is running DSC ROM v1.1 and am using the included Android stock browser (v2.3.3).
When I try to view adfly web pages (eg *******/), I am not able to see them - I get the 'web page not available' error message.
What do I need to do to both view these kind of web pages and also for them to load properly in the Android browser? I can see the pages on any PC but have singularly failed to find a way via the browser on my phone
Many many thanks to anyone who can put me out my misery..
This may be due to the modified hosts file that is included with DSC. Look in /system/etc/ and find a file named hosts. Make a backup of it. Open the original in a text editor and remove everything but this line:
127.0.0.1 localhost
Leave a blank line at the end of the file, save and exit.
It may require a reboot to be effective. If it doesn't work, just revert to your backup.
lordmorphous said:
This may be due to the modified hosts file that is included with DSC. Look in /system/etc/ and find a file named hosts. Make a backup of it. Open the original in a text editor and remove everything but this line:
127.0.0.1 localhost
Leave a blank line at the end of the file, save and exit.
It may require a reboot to be effective. If it doesn't work, just revert to your backup.
Click to expand...
Click to collapse
Thanks very much for the quick reply - much appreciated. Your suggestion about the hosts file gave me a clue.
I have AdAway installed, which blocks ads (on both webpages and those sent/displayed by apps and games) by modifying the hosts file. I disabled AdAway and reverted to the DSC ROM hosts file - and I can now see adfly pages on the browser.
However, I still wish to block ads on web pages, while still being able to use adfly-type sites. I also don't want to lose the ability to block ads shown/sent by apps & games. Is there an alternative method to block these?
AdAway was extremely effective at doing its job and I'd be loath to lose that functionality. For example on my PC, I use Chrome with AdBlockPlus extension which allows me to see and navigate through adfly-type sites while not being subject to ads.
Any advice or suggestions would be gratefully received. Thanks again for your help.
Cheers
AdAway and other such programs only combine the lists of blocked sites compiled by well-known sites into a single HOSTS file. They currently cannot exclude specific sites. For that, you have to edit the file manually.
Continue using AdAway, but use a text editor afterward to manually update the HOSTS file to exclude the site you want to see.
Strephon Alkhalikoi said:
AdAway and other such programs only combine the lists of blocked sites compiled by well-known sites into a single HOSTS file. They currently cannot exclude specific sites. For that, you have to edit the file manually.
Continue using AdAway, but use a text editor afterward to manually update the HOSTS file to exclude the site you want to see.
Click to expand...
Click to collapse
Actually AdAway has a whitelist facility. I've added ******* to it but can still see all the ads, unlike when I use AdBlock Plus under Chrome on a PC. Guess that'll have to do, unless anyone knows of a more elegant solution..
Cheers
I've used AdAway for months now and didn't realize it had a whitelist. Good to know the feature exists, though I am unlikely EVER to use it.
lordmorphous said:
This may be due to the modified hosts file that is included with DSC. Look in /system/etc/ and find a file named hosts. Make a backup of it. Open the original in a text editor and remove everything but this line:
127.0.0.1 localhost
Leave a blank line at the end of the file, save and exit.
It may require a reboot to be effective. If it doesn't work, just revert to your backup.
Click to expand...
Click to collapse
thanks bro!!!
I stop using adaway due to this problem. SO many website can't be opened. MOdify the host file and now things work again or just click disable adaway and it will modify the host file for you
For the app, you might want to use lucky patcher to block the ads
lordmorphous said:
This may be due to the modified hosts file that is included with DSC. Look in /system/etc/ and find a file named hosts. Make a backup of it. Open the original in a text editor and remove everything but this line:
127.0.0.1 localhost
Leave a blank line at the end of the file, save and exit.
It may require a reboot to be effective. If it doesn't work, just revert to your backup.
Click to expand...
Click to collapse
Can't find system , can you be more specific , not able to find in file manager
pramodb said:
Can't find system , can you be more specific , not able to find in file manager
Click to expand...
Click to collapse
You need to be using a file manager that allows root functions, such as ES File Explorer, Root Explorer, etc. A non-root enabled file explorer won't allow you to see /system/
lordmorphous said:
You need to be using a file manager that allows root functions, such as ES File Explorer, Root Explorer, etc. A non-root enabled file explorer won't allow you to see /system/
Click to expand...
Click to collapse
Dude , I used es explorer and I'm still not able to find system
pramodb said:
Dude , I used es explorer and I'm still not able to find system
Click to expand...
Click to collapse
Did you enable the root explorer features of ES? I'm not sure where to go from here to help you. Finding /system/ is pretty basic stuff.
If you are familiar with using adb, you can use it to pull the file to your computer, edit it, and push it back into place. The command would be:
adb pull /system/etc/hosts
adb push hosts /system/etc/hosts
There are lots of guides available for using adb and it is a worthwhile tool to know and use.
I like Notepad ++ for editing files on my computer. It's free and simple to use.
I'm willing to help, but keep in mind that I no longer have this phone as I moved on to the S3 last July.
lordmorphous said:
Did you enable the root explorer features of ES? I'm not sure where to go from here to help you. Finding /system/ is pretty basic stuff.
If you are familiar with using adb, you can use it to pull the file to your computer, edit it, and push it back into place. The command would be:
adb pull /system/etc/hosts
adb push hosts /system/etc/hosts
There are lots of guides available for using adb and it is a worthwhile tool to know and use.
I like Notepad ++ for editing files on my computer. It's free and simple to use.
I'm willing to help, but keep in mind that I no longer have this phone as I moved on to the S3 last July.
Click to expand...
Click to collapse
Okay , got it but it is already in the way you said of should he , what do you suggest I do now
lordmorphous said:
Did you enable the root explorer features of ES? I'm not sure where to go from here to help you. Finding /system/ is pretty basic stuff.
If you are familiar with using adb, you can use it to pull the file to your computer, edit it, and push it back into place. The command would be:
adb pull /system/etc/hosts
adb push hosts /system/etc/hosts
There are lots of guides available for using adb and it is a worthwhile tool to know and use.
I like Notepad ++ for editing files on my computer. It's free and simple to use.
I'm willing to help, but keep in mind that I no longer have this phone as I moved on to the S3 last July.
Click to expand...
Click to collapse
Okay , I got it and its in the way you said it should be , so any suggestions. And BTW I'm using gt-p5100 on job 4.2.2 via CyanogenMod
Well, that ruled out the hosts file. I'm stumped now. If I think of something I'll post it.
lordmorphous said:
Well, that ruled out the hosts file. I'm stumped now. If I think of something I'll post it.
Click to expand...
Click to collapse
Hi
I had the same problem like others had so what i did , i just move the host file from system/etc to just system , now i can open adf and other sites but now i can see ads running in my apps and games . Now i want to manually edit the hosts file so that the ads won't run in apps & games but it won't block adf . So can u tell me which data to remove from the host file ??
Okay i just remove the adf (dot)ly and cdn(dot)adf(dot)ly from the hosts and now i can open adf and also no ads in the apps or games.
But has problem with the linkbucks , still can't open it and can't find it in the hosts also
easy video tutorial made by me
https://www.youtube.com/watch?v=Kaochdv3cbs
Hi
hi
after doing that i have this error
unable to connect proxy server
how to fix this?
EDIT: Will move this thread to the Galaxy S4 troubleshooting forum. Please don't hesitate to reply or contact me if you happen to figure this one out though.
Hello,
I am using a Sprint Galaxy S4 on stock 4.4.2. I recently set out to enable native tethering so I can have 4g on my tablet. After looking around a little I found the odex and jar for my device/version (NAE) and used TowelRoot to get root access. After copying over the services.jar and services.odex files I found that any time I install a new app it will crash when I try to open it. Also, when I try to change R/W permissions in ES File Explorer it crashes now.
I installed the jar and odex by simply copying them to the system/framework folder per a QBKing77 guide. Another guide had suggested installing using goomanager but I quickly found that it was discontinued. I considered using Flashify but ended up just using QBKing's method since it was quicker and required no extra app.
Thanks for any help you can give me. I'm happy to provide additional information if it gets us closer to a fix.
Just a little update... I can provide the error report every app gives if it is helpful. Also root access was removed somehow and towelroot does not reactivate it. Some apps have limited write capability (ES File Explorer, games) but others randomly have no write ability (Box will not copy files to my phone nor its SD Card).
Any ideas? Since I lost my root access I can't try restoring the old services.jar, .odex as Framework is on lockdown again.
Hi,
Since ES File Explorer's last update (via Google Play), a weird folder named "dianxin" appeared on my phone's internal memory.
After some researches, I found out:
-Dianxin is a chinese custom rom (which is weird because I have a stock rom and no root)
-ES File Explorer's last version is causing its apparition (some XDA Developpers' member said it here: http://forum.xda-developers.com/xperia-z5/help/dianxin-folder-t3346358/post66082381#post66082381)
I looked into my father's phone who also use ES File Explorer and that folder was present.
Does anyone has any info about that? I think it's extremely suspicious, plus, that app is used by loads of people (2 millions users).
Should I use another File Manager?
Same here, after installing the latest version of ES File Explorer earlier this morning the dianxin folder appeared, I tried deleting it only to have it reappear hours later, extremely frustrating and suspicious. If you read some of the latest reviews left on the Google Play Store, you'll notice that a few have also spotted this and some have even said that their AV flagged the latest version of ES File Explorer as a threat. I immediately uninstalled ES File Explorer and did a soft factory reset, and haven't seen the folder since, I'm now reluctant to reinstall ES after this, I'll just have to wait for further explanation on this or use a different file manager instead :/ I'm wondering how this even got through the approval process at all, hopefully someone can shed some light on this :/
Sent from my iPhone using Tapatalk
Same Here
mortaest said:
Hi,
Since ES File Explorer's last update (via Google Play), a weird folder named "dianxin" appeared on my phone's internal memory.
After some researches, I found out:
-Dianxin is a chinese custom rom (which is weird because I have a stock rom and no root)
-ES File Explorer's last version is causing its apparition (some XDA Developpers' member said it here: http://forum.xda-developers.com/xperia-z5/help/dianxin-folder-t3346358/post66082381#post66082381)
I looked into my father's phone who also use ES File Explorer and that folder was present.
Does anyone has any info about that? I think it's extremely suspicious, plus, that app is used by loads of people (2 millions users).
Should I use another File Manager?
Click to expand...
Click to collapse
I also use ES File Explorer and this folder "Dianxin" shows up .. It is suspicious because i search the folder name and the result is it is a chinese custom rom I think it is a malware I delete it and It didnt show up again by now
I've checked into that dianxin folder and I found 2 files: the 1st one is an .0 file but I couldn't open it as other .0 files I've tested.
The 2nd one is named "journal" and I could open it with a text editor:
"libcore.io.DiskLruCache
1
1
1
CLEAN e8dd70db5163eccfbe80f53c786ae2a2980"
Any idea what it could be?
Nexus 6 here, not rooted and stock, latest version of ES Explorer and no dianxin folder on my device.
I have it again on my stock G2 with latest ES, after deleting it yesterday.
Same here dianxin folder present.
I've uninstalled this crap app ES explorer
Go to ES File Explorer settings menu - tap on "Notification Settings" - Uncheck "Notify me of app permissions". And then deleted the Diaxin folder. Reboot your devices.
I've had the same problem ... & I have never set App Notifications on. I simply found an earlier version archived online & installed it. Hopefully ES will fix the problem, but until they do, please don't update.
FunSucker said:
Go to ES File Explorer settings menu - tap on "Notification Settings" - Uncheck "Notify me of app permissions". And then deleted the Diaxin folder. Reboot your devices.
Click to expand...
Click to collapse
It was already unchecked and it doesn't prevent from creating the dianxin folder
let it alone..its nothing much..
if u don't feel safe then use other explorers..
Nothing much? It's kind of suspicious and nobody knows what this folder does on the internal memory
I signaled to google, I contacted the developers, I wrote a bad review explaining the situation and I wrote a thread here. I think it's everything I can do. I'll try other file managers till we have an answer
mortaest said:
It was already unchecked and it doesn't prevent from creating the dianxin folder
Click to expand...
Click to collapse
Hmm oke. I found new permissions in latest version about dianxin (attachment) and some other permissions about baidu server..
Im still used ES for now, cause im not sure this is a malware or what.
You can try to used any app for kill that unwanted permissions, if you really want to still using ES.
Just opinion
Thanks, I was trying other file managers when I finally got an answer from the developers:
"Hi, Thanks for your concern. As you may noticed that, in order to keep contact with users, we add message box page at the homepage, and dianxin folder is where cache files store. In the next version, we will move this folder into .estrongs. In case you are interested, dianxin is dessert in Chinese. Greeting from team."
False alarm it seems
mortaest said:
Thanks, I was trying other file managers when I finally got an answer from the developers:
"Hi, Thanks for your concern. As you may noticed that, in order to keep contact with users, we add message box page at the homepage, and dianxin folder is where cache files store. In the next version, we will move this folder into .estrongs. In case you are interested, dianxin is dessert in Chinese. Greeting from team."
False alarm it seems
Click to expand...
Click to collapse
Yeah it's a special chinese desert.... a windows trojan? check this avast forum https://forum.avast.com/index.php?topic=147023.0
alexacm said:
Yeah it's a special chinese desert.... a windows trojan? check this avast forum https://forum.avast.com/index.php?topic=147023.0
Click to expand...
Click to collapse
I don't think that only using the same name is enough to say the ES team put a malware in their file explorer. But the thing *is* suspicious. What troubles me most is that if they put this folder into .estrong folder, nobody would notice, malware or not. As for me, it's quite the time to uninstall ES file explorer and look for something different, as they are integrating too many useless (for me) features; some of them (like new home-page and new app installation notification) are also annoying.
Hi,
I have some serious information concerning e-file manager but am new here. Although I have visited many times over the last several years, I can't post links yet. Google Citizens Lab,Baidu browser, and there is one short report, but you want the indepth analysis which is ten times longer. Half way down that report is the relevant information on all EStrong products. Look up my profile if you need help.
Edit:
Finally I can post a link to the research on Baidu and also concerning ES File explorer as well as a boat load of other apps using Baidu analytics or ad SDKs. Over 500 apps in playstore had one or more.
https://citizenlab.org/2016/02/privacy-security-issues-baidu-browser/
Read the whole report, and the response from Baidu which is a three page PDF listed in the article.
bye, ES file manager
mcguolo said:
I don't think that only using the same name is enough to say the ES team put a malware in their file explorer. But the thing *is* suspicious. What troubles me most is that if they put this folder into .estrong folder, nobody would notice, malware or not. As for me, it's quite the time to uninstall ES file explorer and look for something different, as they are integrating too many useless (for me) features; some of them (like new home-page and new app installation notification) are also annoying.
Click to expand...
Click to collapse
I am totally with you on this. as a long time ES file manager Pro user, I'm done with them. This little thing is enough to cause me to dump their product, which has been implementing features that detract from my usability. It may seem like nothing much, but I don't need my file browser to contact a Chinese server to tell me what's going on with my files. Nothing much is what Estrongs is going to get from me now.
Also, as an android developer of a major product, you'd think that EStrong would be visible in this forum to address concerns.
So even Es file manager PRO has these annoying features... unbelievable! In these days I'm giving Solid Explorer a try, but there are many other alternative apps, like Fx File Explorer, Cabinet, Amaze, and many other.
New "feature" !!!!!!!!!!
"charging boost" !!!