Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 5 of 5
  1. Thread Author  Thread Author    #1  

    Default I accidentally deleted my "host" file.

    I accidentally deleted my "host" file which placed at etc/hosts.....
    and now its charging very slow... is it because that file that i deleted?
    i already hard reset it but it wont recovery back the file.
    do i need to flash the rom back?
    sorry of my bad english.
    btw my LG optimus g proE988 is rooted
  2. #2  

    Default Re: I accidentally deleted my "host" file.

    You have a few options.

    • Post and see if someone can leave their host file for you to download and place on your device. They are generic as far as I remember and contain no personal/device " specific " information that should cause any security issues.
    • Flash the stock " factory " firmware.
    • Download a stockish custom ROM and pull the host file from the ROM at the "/system/etc/" location and place it on your device.


    However I don't see this causing any issue with the charging of your device. Host file to my knowledge (sorry its been a while) only has to do with what you device is allowed to visit. Its frequently modded to work with Adblocking apps on rooted devices.
    Paul
    Moderator Team Leader @ Android Central

    I am the Tegra Champ. What this means is that from time to time NVIDIA might send me new products to try out. This will not affect my thoughts, ideas, or opinions about any product that are discussed in the forums. Those are still my own.
  3. #3  

    Default Re: I accidentally deleted my "host" file.

    Quote Originally Posted by Paul627g View Post
    You have a few options.

    • Post and see if someone can leave their host file for you to download and place on your device. They are generic as far as I remember and contain no personal/device " specific " information that should cause any security issues.
    • Flash the stock " factory " firmware.
    • Download a stockish custom ROM and pull the host file from the ROM at the "/system/etc/" location and place it on your device.


    However I don't see this causing any issue with the charging of your device. Host file to my knowledge (sorry its been a while) only has to do with what you device is allowed to visit. Its frequently modded to work with Adblocking apps on rooted devices.

    Android OS keeps cache of Google Play Store items in order to quickly serve content to users and to save .......this has nothing to do with charging..and it doesn't matter...clear cache from app setting for playstor....it will come again...no need to flash a ROM...ull end up messing things
    Thankyou.
  4. #4  
    Rukbat's Avatar

    Posts
    13,924 Posts
    Global Posts
    13,926 Global Posts
    ROM
    Modified Stock 4.4.2

    Default Re: I accidentally deleted my "host" file.

    The hosts (not host) file is a list of canonical (human-readable) addresses and their numeric addresses, so that you don't have to look up the address (which is what DNS is for), or you can redirect a site to the phone itself (which is how ad blockers work).

    The default hosts file has localhost set to 127.0.0.1, which is the address for any device referenced to itself - so that you can use "localhost" as an address. Deleting the hosts file has no effect on the computer, unless you have some addresses stores there for your convenience (like having amazon's address equal to amz - so you type amz in your browser and you get to amazon).

    It has absolutely nothing to do with charging the battery. Turn the phone off and see how long it takes to charge. (That way the computer is off, so no file matters.)

    A slowly charging battery in a phone that age suggests that you normally run the battery down to almost 0 - which you should never do. Read The Care and Feeding of Lithium Polymer Batteries. (The G Pro I'm working on for someone takes about an hour from 40% to full on a wireless charger - and the battery was badly discharged at least once - too far gone to get more than the LG logo before it shut off. But doing that regularly will damage the battery, give you long charge times and short times between charges [and this is a phone with particularly good battery life].)
  5. #5  

    Default Re: I accidentally deleted my "host" file.

    Quote Originally Posted by Vincent Kmd View Post
    I accidentally deleted my "host" file which placed at etc/hosts.....
    and now its charging very slow... is it because that file that i deleted?
    i already hard reset it but it wont recovery back the file.
    do i need to flash the rom back?
    sorry of my bad english.
    btw my LG optimus g proE988 is rooted
    My moto e is rooted and play store is not working..(same as your problem) plz help me I'm very tired of doing this..

Similar Threads

  1. Love my S5 but one little problem
    By Courtenay Dawn in forum Samsung Galaxy S5
    Replies: 19
    Last Post: 06-11-2014, 12:29 AM
  2. Popping noise from my XPERIA T2 Ultra?
    By lester2518 in forum Sony Xperia Series
    Replies: 5
    Last Post: 06-10-2014, 10:08 AM
  3. bord with my phone
    By sony android in forum Sony Xperia Z
    Replies: 3
    Last Post: 06-09-2014, 06:31 PM
  4. Will my Moto X work in Costa Rica
    By azdmelani in forum Moto X (2013)
    Replies: 1
    Last Post: 06-09-2014, 12:00 PM
  5. Replies: 0
    Last Post: 06-08-2014, 10:22 PM

Posting Permissions