• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

FIXING ADS IN ROM root

aio developers

Android Enthusiast
1.search fir host in your phone
eit and remove any adres ir site apart from.127.0.0.1 localhist
3.delete host from rom
now reboot
whala NO ads
 
I think something got lost there in step 2. What file should we be editing to remove these IP addresses?
 
in the bost file there should be only ONe ip which is 127.0.0.1 and localhost all are just ads in the phone that people add to.make money and track information sir
 
Example is the picture
 

Attachments

  • Screenshot_2019-02-14-22-00-25.png
    Screenshot_2019-02-14-22-00-25.png
    14.2 KB · Views: 122
Ah, you mean /etc/hosts?
You know that file is only used to map IP addresses to domain names?
Besides, removing entries here won't stop any app wishing to establish a direct network connection, using a hardcoded IP address and port. The /etc/hosts file doesn't come into play.
The only way to stop ads being delivered to your phone, is to switch off the network connection (4G data, or wireless)
 
So why not just install an ad blocker, rather than edit the hosts file, which can't be done on an unrooted device anyway.
 
Back
Top Bottom