Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

HTC One M9 Lock Screen Password Reset

· 8 min read · Home Tech

In this article
  1. Background: How HTC One M9 Lock Screen Security Works
  2. Method 1: Use Google Find My Device (If You Have Internet and Remember Your Google Account)
  3. Method 2: Factory Reset from Recovery Mode (Works Even Without Google Account)
  4. How to Choose the Right Method
  5. Common Problems and What to Do If the First Fix Fails
  6. Safety and Data Considerations
  7. Alternatives: What About Third-Party Unlock Tools?
  8. Frequently Asked Questions

If you are locked out of your HTC One M9 because you forgot the lock screen password, PIN, or pattern, the direct answer is that there is no official one-click unlock method that preserves your data. Your two practical options are to use Google’s Find My Device (if your phone is connected to the internet and you remember your Google account) to remotely erase the lock, or to perform a factory reset from Recovery Mode, which wipes all data and removes the password. This article explains both methods in detail, along with what to do if they fail, and answers common questions about the process.

Background: How HTC One M9 Lock Screen Security Works

The HTC One M9, released in 2015, runs Android 5.0 (Lollipop) and is upgradeable to Android 7.0 (Nougat). Like all Android devices, it uses a lock screen to prevent unauthorized access. You can set a PIN, password, pattern, or use Smart Lock (e.g., trusted places or devices) to keep the phone unlocked in certain situations. The lock screen credential is stored in a system file that is encrypted and tied to your Google account. When you enter the wrong credential too many times, the phone locks you out temporarily, and after several failed attempts, it may require you to wait 30 seconds or more before trying again.

There is no built-in “forgot password” link on the lock screen itself. Instead, Google’s security model assumes you can either remember the password, use your Google account to reset it, or, as a last resort, wipe the device. This is a deliberate design choice: it prevents someone who finds your phone from bypassing the lock without your Google credentials.

Method 1: Use Google Find My Device (If You Have Internet and Remember Your Google Account)

This is the only method that can remove the lock screen without losing your data, but it requires that your phone is turned on, connected to Wi-Fi or mobile data, and that you are signed in to the Google account that was set up on the phone. Here are the steps:

  1. On a computer or another device, go to google.com/android/find and sign in with the same Google account that is on the locked HTC One M9.
  2. If the phone is online, it will appear in the list of devices. Select it.
  3. Click Erase Device. This will remotely factory reset the phone, which removes the lock screen password.
  4. After the erase, the phone will restart and show the setup wizard. You will need to sign in with your Google account to use the phone again.

Important: This method wipes all data on the phone, not just the lock screen. If you have a recent backup, you can restore your data after the reset. If the phone is offline, Find My Device will not work, and you will need to use the factory reset method below.

Method 2: Factory Reset from Recovery Mode (Works Even Without Google Account)

If you cannot use Find My Device (e.g., no internet, or you don’t remember the Google account), you can perform a factory reset directly on the phone. This will erase the lock screen password, but it also deletes all personal data, including photos, messages, and apps. Here is how to do it on the HTC One M9:

  1. Turn off the phone completely. If it is stuck on the lock screen, press and hold the power button and select “Power off.”
  2. Press and hold the Volume Down button, then press and hold the Power button simultaneously.
  3. Keep holding both buttons until the phone vibrates and enters bootloader mode. This may take about 10 seconds.
  4. Use the volume buttons to navigate to Factory Reset (or “Recovery” if you see that option). Press the Power button to select.
  5. If you chose Recovery, you will see an Android robot with an exclamation mark. Press and hold Volume Up and then press the Power button to bring up the recovery menu.
  6. Use the volume keys to select Wipe data/factory reset, then press Power to confirm.
  7. Select Yes to confirm the reset.
  8. After the reset completes, select Reboot system now.

The phone will restart and boot to the setup screen. You can set a new lock screen password after setup. Note that on some HTC One M9 units, the exact button combination may vary slightly, but the Volume Down + Power method is the standard one.

How to Choose the Right Method

Deciding between the two methods depends on your situation:

  • Use Find My Device if you need to keep your data (e.g., photos, contacts) and you have internet access and remember your Google account. It is the only way to remove the lock without a full wipe.
  • Use Factory Reset if you don’t care about data loss, or if Find My Device is not an option (e.g., no internet, forgotten Google account, or the phone is not synced).

If you have a backup (e.g., Google Photos, Google Drive, or an HTC backup), the factory reset is less painful. If you don’t have a backup, you will lose everything on the phone.

Common Problems and What to Do If the First Fix Fails

Here are some issues you might encounter and how to handle them:

  • Find My Device says “No devices found” or the phone is offline: The phone must be connected to the internet. If it’s offline, you cannot use this method. You’ll have to do a factory reset.
  • You forgot your Google account password too: If you can’t sign in to Find My Device, you’ll need to use the factory reset method. After the reset, the phone will ask for the Google account that was previously synced (Factory Reset Protection, or FRP). If you don’t remember that account, you will be stuck at the setup screen. In that case, you may need to contact HTC support or your carrier for further help, but note that bypassing FRP is not officially supported.
  • The factory reset doesn’t remove the password: This is rare, but if the reset fails (e.g., the phone reboots back to the lock screen), try the reset again, or make sure you are using the correct button combination. If it still fails, the phone’s software may be corrupted, and you might need to reinstall the stock firmware using HTC’s RUU (ROM Update Utility) tool, which is a more advanced procedure.
  • The phone is stuck in a boot loop after reset: This can happen if the reset was interrupted. Try performing the factory reset again from Recovery Mode. If that doesn’t work, you may need to flash the stock ROM.

Safety and Data Considerations

Before you do anything, understand that both methods will erase your data. There is no way to recover data after a factory reset unless you have a backup. So, if you have important files, check if they are backed up to Google Photos, Google Drive, or an SD card (if you have one). Also, note that after a factory reset, the HTC One M9 will be protected by Factory Reset Protection (FRP). This means you will need to enter the Google account credentials that were previously on the phone. If you don’t have them, you will not be able to use the phone, even after resetting. This is a security feature to deter theft.

If you are resetting a phone that you bought second-hand and the previous owner’s Google account is still on it, you will need to ask that person to remove the account from the device, or you will be locked out after the reset.

Alternatives: What About Third-Party Unlock Tools?

You may see online ads for third-party software that claims to unlock your HTC One M9 without a reset. Some of these tools work by exploiting older Android vulnerabilities, but they are not reliable, and they often require you to pay money or install suspicious software on your computer. In most cases, they either don’t work or they can harm your phone. The safest and most reliable methods are the two described above. If you are not comfortable with technical steps, your best bet is to contact HTC support or a professional phone repair service, but be prepared to prove that you own the phone.

Frequently Asked Questions

Will a factory reset remove the lock screen password?

Yes. A factory reset wipes the device’s data, including the lock screen credential. After the reset, the phone boots to the setup screen, and you can set a new password. However, if Factory Reset Protection (FRP) is enabled, you will need to enter the Google account that was previously on the phone to proceed.

Can I unlock my HTC One M9 without losing data?

Only if you use Google’s Find My Device to remotely erase the lock screen. This method does not require a physical factory reset, but it still wipes all data. There is no official way to remove the lock screen password without erasing data. If you have a backup, you can restore after the erase.

How many attempts do I have before my HTC One M9 locks me out?

After 5 failed attempts, the phone will temporarily lock you out for 30 seconds. After more failed attempts, the lockout time increases (e.g., 1 minute, 5 minutes, etc.). After 10 failed attempts, the phone may require you to wait a longer period or, in some cases, it may offer a “Forgot pattern” option that asks for your Google account credentials. This option is not always available, depending on the Android version.

What is Factory Reset Protection (FRP) and will it affect me?

FRP is a Google security feature that requires you to sign in with the Google account that was previously synced on the phone after a factory reset. If you are the original owner and remember your Google account, you can proceed. If you bought the phone used and the previous owner’s account is still on it, you will be stuck at the setup screen unless that person removes the account remotely or you contact the seller.

Can I use my HTC account to reset the lock screen?

No. HTC’s account system does not offer a lock screen reset feature. Your Google account is the only account that can be used to remotely erase the device via Find My Device. HTC’s own “HTC Account” is mainly for cloud services and does not control lock screen security.

Is there a way to bypass the lock screen using ADB (Android Debug Bridge)?

If you had previously enabled USB debugging on the phone, you might be able to use ADB to remove the lock screen file (e.g., locksettings.db), but this is an advanced procedure that requires the phone to be unlocked at least once to allow ADB access. In most lockout situations, USB debugging is not enabled, so this method is not practical. Also, it may not work on newer Android versions due to security changes.