After you change your device (such as when you get a new iPhone or Android device) your new device does not accept your gmail password. If you turn off the two factor authentication, the password is accepted.
If this happens, you need to go to GMail settings and re-assign the device specific password.
The long password that gets generated in the step below is what you type as the password on your phone.
How to generate an application-specific password
- Visit your Google Account settings page.
- On the left, click Security.
- Under the “2-step verification” topic, click Manage your application specific passwords.
- Under the Application-specific passwords section, enter a descriptive name for the application (label 1) you want to authorize, such as “AdWords Editor – Desktop,” then click “Generate application-specific password” (label 2).
You’ll then see the ASP you just created (3). You’ll also see the name you wrote in for the device (4) and a link toRevoke (5) — or cancel — the code.
Once you click Done, you’ll never see that application-specific code again. But don’t panic: You can generate a new one whenever you’re prompted for an ASP by a non-browser device or application — even a device or application you’ve authorized before.
- When you sign in to an application requiring an ASP, enter your ASP in the password field, and make sure you check the “Remember password” option if you want the application to remember the code.