Tip: typing a long Google password into a new Android device

I use a password manager and create very long passwords where possible, including for my Google account. The problem? when setting up a new Android phone, I can’t download the password manager app until I’ve logged into my Google account, which is nearly impossible without the password manager app.

The workaround? Enable USB debugging on the phone, and use ADB to enter the password:


./adb shell input text "LONG COMPLICATED PASSWORD"

Is it safe enough? Probably not. Use at your own risk 🙂

3 thoughts on “Tip: typing a long Google password into a new Android device

  1. If you use symbols in your password, you might get an error. The solution is to put a \ right before the character preceding the string in the error message. E.g. if the password is “jagh3hx;afypola” and you get an error message with the string “afypola” change the password text to “jagh3hx\;afypola”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s