Android Century
  • Home
  • Android Zone
    • Android Apps
    • Android Games
    • Apps APk Files
    • Games Apk Files
    • Apps Hack Tricks
  • Reviews
  • Fantasy Zone
    • Entertainment
    • Quotes and Status
    • Life Style
    • Home Made Tips
    • Hair Care
    • Skin Care
    • Fantasy Tips
  • Tricks
    • Free Recharge
    • Free Internet
    • shopping Cashback
    • Recharge Cashback
  • Tech
  • Mobiles
  • Gadgets
  • News
  • How To's
  • Software
Breaking
Loading...

Featured post

How to Take Great Photos With Apple's iPhone X

Recent Posts

Labels

  • Android Apk Files
  • Android Apps
  • Android Games
  • Apps Apk Files
  • Entertainment
  • Fantasy Tips
  • Gadgets
  • Hair Care
  • HomeMade Tips
  • How To's
  • News
  • Quotes
  • Quotes & Status
  • Recharge Cashback
  • Recharge Promo Codes
  • Shopping Cashback
  • Technology
  • skin care
Home / How To's / How to Edit the Hosts File on Android

How to Edit the Hosts File on Android

Latest Govt. Jobs 18:09:00 How To's Edit
image
Whether you want to prevent your child from accessing Facebook or are simply sick of the advertisements that litter webpages, a custom hosts file can come in handy.
Note: This requires a rooted Android device.

How to Edit the Hosts File on Android

The easiest way to edit the hosts file on your device is to use the Android Debug Bridge, so go ahead and set it up. Once you’re done, navigate into the folder where ADB is located and type cmd into the location bar, which will open a command prompt in the current folder.
image
Once the command prompt opens run the following command to see what devices are attached to your PC.
adb devices
image
Next you need to download the host file from your device so you can edit it.
adb pull /system/etc/hosts F:\hosts
image
Then navigate to where you saved the file and open it with notepad.
image
Now comes the fun part: adding the host entries. Really, you can do anything you want for example, you can use your host file to block ads from appearing on websites instead of using an app like AdBlocker, or in our case we can just block a website like FaceBook by redirecting it to localhost – you will have to search around to get the exact domains to block. When you’re done adding the entries don’t forget to save the file.
image
Finally you will need ADB to push the file back to your device.
adb push F:\hosts /system/etc/
image
That’s all there is to it. Now I can’t browse to Facebook from my device.
Share on Facebook Share on Twitter Share on Google Plus

RELATED POSTS


How to HACK Google Play Music App

How to get BookMyShow Instant Disco...

How To Get Free Recharge And Money ...
How to Edit the Hosts File on Android How to Edit the Hosts File on Android Reviewed by Latest Govt. Jobs on 18:09:00 Rating: 5

0 comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments ( Atom )

Search This Blog

TEST BOOK FOR GOVT ENTRANCE TEST

TEST BOOK FOR GOVT ENTRANCE TEST
Find All Latest book for preparation of SSC,RAILWAYBANK PO,RBI,BANK CLERK,GATE ME,GATE CE are available here in less prices, to check out the books click here

Translate

  • Popular Post
  • Random posts
  • Category

Popular Posts

  • Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Refer & Earn Offer:  Hey Guys! Today I make an article about Teen Patti Referral ...
  • Taotronics TT-BH22 Headphones Review
    We make it a addiction to now not look up pricing of a product sooner than reviewing and if ...
  • Reliance Jio to offer sharp tariff discounts for customers signing up by March-end
    Reliance Industries' Jio unit will charge a tariff for its services from April, but will offer ...
  • Pentagon strongly condemns North Korea missile test
    The Pentagon on Monday strongly condemned North Korea’s latest missile test, adding that the ...
  • Fitbit Zip 2017 review
    Fitbit PROS: Clever, accurate tracking Expandable online service Integration with 3rd ...
  • Bank wallets growing faster than e-wallets
    In the  bank  versus  e-wallets  sweepstakes,  lenders  have now gained lost ground. As of ...

Random Posts

  • Shivaay Movie Review
    Shivaay Movie Review
    11.11.2016 - 0 Comments
    STORY: Shivaay (Ajay Devgn), a fearless Himalayan mountaineer covered in Lord Shiva tattoos, heads to…
  • AmpMe brings Spotify integration to its neat stereo music app
    AmpMe brings Spotify integration to its neat stereo music app
    03.02.2017 - 0 Comments
    The app uses other devices and Bluetooth-enabled speakers to amplify music, so you can theoretically have a…
  • New Samsung Galaxy S7 Review
    New Samsung Galaxy S7 Review
    25.02.2017 - 0 Comments
    There was a time, several years ago, when I found it difficult to praise or even recommend Samsung…
  • How to Fix Annoying Nest Secure Notifications
    How to Fix Annoying Nest Secure Notifications
    30.01.2018 - 0 Comments
    Depending on how you have Nest’s Home/Away Assist feature set up, you might be receiving notifications to…
  • Nokia 4 with Snapdragon 450 SoC to launch
    Nokia 4 with Snapdragon 450 SoC to launch
    21.02.2018 - 0 Comments
    Nokia 4 is expected to replace the Nokia 3 when it gets launched at the MWC 2018 later this week. (Image of…

Labels

Android Apk Files Android Apps Android Games Apps Apk Files Apps Hack Tricks Entertainment Free Internet Freecharge Gadgets Games Apk Files How To's Laptops Guide Mobiles Reviews Technology Viral's android zone free recharge

Entertainment

Tricks

Popular Posts

  • Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Refer & ...
  • Taotronics TT-BH22 Headphones Review
    We make it a ...
  • Bank wallets growing faster than e-wallets
    In the  bank ...
  • Reliance Jio to offer sharp tariff discounts for customers signing up by March-end
    Reliance Industries' Jio unit will charge a tariff for its services from April, but will offer ...
  • Hands-on with the home windows 10 Creators update for the Xbox One: Beam recreation streaming arrives
    The Windows ...
  • Pentagon strongly condemns North Korea missile test
    The Pentagon on ...
  • Fitbit Zip 2017 review
    Fitbit PROS ...

Random Posts

  • Amazon is now an investor in Android creator Andy Rubin’s Essential smartphone
    Amazon is now an investor in Android creator Andy Rubin’s Essential smartphone
    19.08.2017 - 0 Comments
    Andy Rubin’s Essential smartphone is a potential rival to the iPhone and Samsung’s flagship Galaxy S8…
  • Here's how Google will help you find more games and save on the Play Store
    Here's how Google will help you find more games and save on the Play Store
    28.02.2017 - 0 Comments
    What's Google's objective when it comes to games this year? "The trend or unifying prospect is…
  • Samsung Galaxy S8 Release Date & Specs Rumours: Galaxy S8 Linked With April 21 Release Date
    Samsung Galaxy S8 Release Date & Specs Rumours: Galaxy S8 Linked With April 21 Release Date
    17.02.2017 - 0 Comments
    The Samsung Galaxy S8 – and Galaxy S8 PLUS – will get a release date inside Q1 2017... and…
  • Apache Struts 2 exploit used to put in ransomware on servers
    Apache Struts 2 exploit used to put in ransomware on servers
    08.04.2017 - 0 Comments
    Attackers are exploiting a vulnerability patched last month in the Apache Struts web development…
  • The Best Xbox One video games - 20 of this era's need to-play titles
    The Best Xbox One video games - 20 of this era's need to-play titles
    31.03.2017 - 0 Comments
    It doesn't really feel like it, but it's been three whole years since Microsoft launched…

Most Popular

  • Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Refer & ...
  • SAMSUNG GALAXY J7 (2016) REVIEWS
    SAMSUNG GALAXY J7 (2016) REVIEWS
    SAMSUNG GALAXY J ...
  • Top 5 Best SmartPhones under 7000 Rs (March 2017)
    Looking for the ...
  • Apple, IBM, Cisco are huge because of Indians, do not deny them H-1B visa: RBI Governor Urjit Patel
    ...
  • SAMSUNG GALAXY J7 (2016) Specifications
    SAMSUNG GALAXY J ...
  • BlackBerry Teases Marshmallow Beta Testing for Priv by Next Week
    Blackberry ...
  • LG Q6 Review
    LG Q6 Review
    2017 is ...

Contact Form

Name

Email *

Message *

Offers Zone

Created By Android Century Distributed by Android Century
  • Home
  • About us
  • Contact us
  • Privacy policy
  • Terms of use
  • Advertise here
Subscribe Via Email Subscribe To Android Century By Email And Get Free Updates. ;-)


Your email address is safe with us!