Hovatek Forum
  • Training
  • Private Support
  • Blog
  • Journal
  • Home
Login or Register Hello There, Guest! Please Login or Register to gain Full Access!
Login
Username:
Password:
  Lost Password?
OR login via
   
X

  1. Hovatek Forum
  2. MOBILE PHONES HELP SECTION
  3. Android
  4. [Tutorial] How to fix Google apps not connecting to internet after rooting
  • Hovatek Forum
  • MOBILE PHONES HELP SECTION
  • Android

  • February Discount: 48% discount on Hovatek's online training which covers Mediatek Smartphones, Smartwatches, Feature phones & Tablets. ENROLL NOW (Feb, 2019)

    Pages (2): 1 2 Next »
    Thread Rating:
    • 0 Vote(s) - 0 Average

    Share   Tweet

    [Tutorial] How to fix Google apps not connecting to internet after rooting

    hovatek
    hovatek
    Administrator

    Posts: 44,626
    Threads: 1,123
    Joined: Oct 2013
    Thanks 313
    #1
    01-16-2017, 01:27 PM

    After rooting, a few users encounter problems with Google applications not being able to connect to or access the internet. This of course means you can't login. The affected apps could include (but isn't limited to) Gmail, Google Play Store, Google accounts, Google Hangouts, Contacts sync, Google Drive, Google maps etc. To confirm that this issue is root related, these apps are able to connect to the internet once the phone is unrooted.
    The problem is the hosts file

    How to fix internet connection issues / problems on Google applications after rooting


    Follow the steps below to fix internet connection errors on Google apps after rooting

    1. Root the phone
    2. Download and install a root browser apk like ROM Toolbox lite or ES file explorer
    3. Navigate to System > Etc folder
    4. Open the hosts file using a note editor
    5. It should look something like

      Code:
      127.0.0.1 localhost
      ::1  ip6-localhost
      127.179.155.107 android.clients.google.com

    6. Skip the first line, delete everything else then save and reboot the phone
    7. If that doesn't work then delete the hosts file
    8. Sometimes, logging into your Google account (on a browser) and disabling 2-step verification does the trick

    [Image: Hovatek_google_apps_wont_connect_to_inte...ting-1.png]


    Need faster replies or urgent assistance?
    Try our Private Support for a one-on-one session with a Hovatek Rep. UPGRADE NOW!


    (This post was last modified: 06-12-2018, 09:44 AM by hovatek. )
    Website Find
    Reply
    X
    Thanks to hovatek



    You're adding reputation because of this user's post, which is linked in their profile. A comment isn't needed, but if you want to leave one, please enter it below.


    vingalzy
    vingalzy
    Junior Member

    Posts: 34
    Threads: 7
    Joined: Jun 2016
    Thanks 0
    #2
    03-10-2017, 07:38 PM
    Which line should I skip???

    Sent from my Infinix NOTE 3 Pro using the Hovatek Forum App
    Find
    Reply
    X
    Thanks to vingalzy



    You're adding reputation because of this user's post, which is linked in their profile. A comment isn't needed, but if you want to leave one, please enter it below.


    vingalzy
    vingalzy
    Junior Member

    Posts: 34
    Threads: 7
    Joined: Jun 2016
    Thanks 0
    #3
    03-10-2017, 07:39 PM
    (01-16-2017, 01:27 PM)hovatek Wrote:  [Image: Hovatek_google_apps_wont_connect_to_inte...ting-1.png]

    After rooting, a few users encounter problems with Google applications not being able to connect to or access the internet. This of course means you can't login. The affected apps could include (but isn't limited to) Gmail, Google Play Store, Google accounts, Google Hangouts, Contacts sync, Google Drive, Google maps etc. To confirm that this issue is root related, these apps are able to connect to the internet once the phone is unrooted.
    The problem is the hosts file

    How to fix internet connection issues / problems on Google applications after rooting
    • Root the phone
    • Download and install a root browser apk like ROM Toolbox lite or ES file explorer
    • Navigate to System > Etc folder
    • Open the hosts file using a note editor
    • It should look something like

    Code:
    127.0.0.1 localhost
    ::1  ip6-localhost
    127.179.155.107 android.clients.google.com
    • Skip the first line, delete everything else then save and reboot the phone
    • If that doesn't work then delete the hosts file
    • Sometimes, logging into your Google account (on a browser) and disabling 2-step verification does the trick
    Which line should I skip???
    Find
    Reply
    X
    Thanks to vingalzy



    You're adding reputation because of this user's post, which is linked in their profile. A comment isn't needed, but if you want to leave one, please enter it below.


    hovatek
    hovatek
    Administrator

    Posts: 44,626
    Threads: 1,123
    Joined: Oct 2013
    Thanks 313
    #4
    03-11-2017, 06:33 AM
    (03-10-2017, 07:38 PM)vingalzy Wrote:  Which line should I skip???

    Sent from my Infinix NOTE 3 Pro using the Hovatek Forum App

    Skip 127.0.0.1 localhost

    Need faster replies or urgent assistance?
    Try our Private Support for a one-on-one session with a Hovatek Rep. UPGRADE NOW!


    Website Find
    Reply
    X
    Thanks to hovatek



    You're adding reputation because of this user's post, which is linked in their profile. A comment isn't needed, but if you want to leave one, please enter it below.


    tyli
    tyli
    Junior Member

    Posts: 25
    Threads: 2
    Joined: Dec 2017
    Thanks 0
    #5
    12-08-2017, 04:29 PM
    None of the solutions worked for me
    Find
    Reply
    X
    Thanks to tyli



    You're adding reputation because of this user's post, which is linked in their profile. A comment isn't needed, but if you want to leave one, please enter it below.


    hovatek
    hovatek
    Administrator

    Posts: 44,626
    Threads: 1,123
    Joined: Oct 2013
    Thanks 313
    #6
    12-08-2017, 06:27 PM
    (12-08-2017, 04:29 PM)tyli Wrote:  None of the solutions worked for me

    Are you using a VPN app?

    Need faster replies or urgent assistance?
    Try our Private Support for a one-on-one session with a Hovatek Rep. UPGRADE NOW!


    Website Find
    Reply
    X
    Thanks to hovatek



    You're adding reputation because of this user's post, which is linked in their profile. A comment isn't needed, but if you want to leave one, please enter it below.


    tyli
    tyli
    Junior Member

    Posts: 25
    Threads: 2
    Joined: Dec 2017
    Thanks 0
    #7
    12-09-2017, 07:12 AM
    No I'm not
    Find
    Reply
    X
    Thanks to tyli



    You're adding reputation because of this user's post, which is linked in their profile. A comment isn't needed, but if you want to leave one, please enter it below.


    hovatek
    hovatek
    Administrator

    Posts: 44,626
    Threads: 1,123
    Joined: Oct 2013
    Thanks 313
    #8
    12-09-2017, 03:05 PM
    (12-09-2017, 07:12 AM)tyli Wrote:  No I'm not

    Do they resume working once you unroot and how did you root?

    Need faster replies or urgent assistance?
    Try our Private Support for a one-on-one session with a Hovatek Rep. UPGRADE NOW!


    Website Find
    Reply
    X
    Thanks to hovatek



    You're adding reputation because of this user's post, which is linked in their profile. A comment isn't needed, but if you want to leave one, please enter it below.


    tyli
    tyli
    Junior Member

    Posts: 25
    Threads: 2
    Joined: Dec 2017
    Thanks 0
    #9
    12-14-2017, 12:46 AM
    (12-09-2017, 03:05 PM)hovatek Wrote:  
    (12-09-2017, 07:12 AM)tyli Wrote:  No I'm not

    Do they resume working once you unroot and how did you root?
    Find
    Reply
    X
    Thanks to tyli



    You're adding reputation because of this user's post, which is linked in their profile. A comment isn't needed, but if you want to leave one, please enter it below.


    tyli
    tyli
    Junior Member

    Posts: 25
    Threads: 2
    Joined: Dec 2017
    Thanks 0
    #10
    12-14-2017, 12:47 AM
    I rooted via kingo root i haven't tried to unroot it. Let me give it a try
    Find
    Reply
    X
    Thanks to tyli



    You're adding reputation because of this user's post, which is linked in their profile. A comment isn't needed, but if you want to leave one, please enter it below.


    « Next Oldest | Next Newest »
    Pages (2): 1 2 Next »




    • View a Printable Version
    • Subscribe to this thread


    Users browsing this thread: 1 Guest(s)

    About

    The Hovatek Forum is a free Tech. Support Forum. We provide solutions to all your device related problems and questions. We'll love to have you participate in discussions here whether you're a Newbie or Experienced.

    Follow us

           

    Popular Links

    • Free T-shirts
    • Mobile app
    • VenFinder

    Reach Us

    Contact Us  Meet Our team

    Powered By MyBB. Crafted by EreeCorp.
    Linear Mode
    Threaded Mode