1. Are you ready for the Galaxy S20? Here is everything we know so far!

FIXING ADS IN ROM root

Discussion in 'Android Lounge' started by aio developers, Feb 14, 2019.

  1. aio developers

    aio developers Android Enthusiast
    Thread Starter

    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
     


  2. Deleted User

    Deleted User Guest

    I think something got lost there in step 2. What file should we be editing to remove these IP addresses?
     
  3. aio developers

    aio developers Android Enthusiast
    Thread Starter

    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
     
  4. aio developers

    aio developers Android Enthusiast
    Thread Starter

    Example is the picture
     

    Attached Files:

  5. Deleted User

    Deleted User Guest

    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)
     
    MoodyBlues likes this.
  6. aio developers

    aio developers Android Enthusiast
    Thread Starter

    or USE AD blocker apk
    adguard apk
    there are many to block ads
     
  7. Deleted User

    Deleted User Guest

    So why not just install an ad blocker, rather than edit the hosts file, which can't be done on an unrooted device anyway.
     
    MoodyBlues likes this.
  8. aio developers

    aio developers Android Enthusiast
    Thread Starter

Loading...

Share This Page

Loading...