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
I deleted my hosts file on my droid RAZR Max could somebody tell me how to replace it or place a link for it so I can download it.
Thank you
While you're at it u should just flash this adblocking hostfile
http://forum.xda-developers.com/showthread.php?t=1916098
Hi, want to rewrite hosts file in system/ets/hosts to block ads but every time when I restart my phone it is back the original hosts file. I have rooted phone but I tried many ways to rewrite it but nothing works form me. It works but just until restart anyone knows how to do it?
Hi guys, i got root on my Honor 10 and would like to modify the hosts file to block ads.
I assume the correct one is /sytsem/etc/hosts right?
I can confirm that i have root acces because i can rename the hosts file and create other files.
I am using the AdAway app which worked just fine on my old phones.
But this time it says "replacement of hosts file failed" ... no further information.
Since i know the sources where AdAway is getting its information from i would like to simply modify the host file by myself.
What format does the hosts file needs to have to work? Like .txt file and remove the file extension afterwards.
Any ideas?
If you are rooted why not try masigk host file?
Hi, recently I've dual-booted my computer with Android & Windows 10. But the android rom has shown too much ads so I've deleted the files causing to show the ads from the "system.img" and also "ramdisk.img" (downloaded from internet) and replaced the files with the original ones. Now the ads are not showing but I had built-in root access with SupperSU which I've lost after replacing "ramdisk.img". So I've extracted the original and the downloaded "ramdisk.img" and found an "init" file which doesn't have any file extensions and the "init" file is differing in size between the original & downloaded "ramdisk.img". So I think this file may be the cause to revoke root access. So need to change the file.
Does anyone knows which type of file is the "init" file and how can I edit it?