How to Unlock Your Phone If You Forgot the Password?

How to Unlock Your Phone If You Forgot the Password?

How to Unlock Your Phone If You Forgot the Password?

In this article, learn step by step what to do if you forgot your phone’s password, pattern, or PIN code, and what solutions are available for both Android and iPhone devices.

Introduction: Why is this issue so relevant?

Modern smartphones have become a part of our daily lives – we store photos, personal data, bank logins, social media accounts, and other services on them. However, forgetting a password or another lock can lead to a very unpleasant situation – we lose access to all our digital resources.
A forgotten password is not just an inconvenience but also a risk of losing important data. Therefore, it is essential to know how to effectively and safely regain access to the device without losing data or violating the manufacturer’s security mechanisms. Below are reliable, manufacturer-recommended, and practically proven methods.

Types of Phone Locks and Their Operating Principles

Every phone uses one or more locking methods. Below we will discuss the main types and their key features:

PIN Code

A simple numeric code (usually 4–6 digits) designed for quick protection. Convenient, but weak combinations (e.g., 0000, 1234, 2580) are easily guessed. It is recommended to choose at least 6 digits and avoid repetitions.

Unlock Pattern

Drawing a pattern over a 9-point grid is popular on Android devices. Intuitive, but simple patterns (L, Z, U) and visible fingerprints on the screen reduce security. It is recommended to use a longer, non-linear pattern.

Password

Among the basic methods – the safest. Allows the use of letters, numbers, and symbols. The longer and more varied, the more reliable, but it is easier to forget – always have a backup login method and enable backups.

Fingerprint

Widely used biometric authentication. Works quickly, but after rebooting the device, the system will still ask for a PIN or password. Ensure that the sensor is clean and that the device has several different fingerprints (e.g., both thumbs).

Face Recognition

The iPhone uses 3D face scanning (Face ID), while some Android devices use 2D versions. Convenient, but not all Android models have the same level of security. As with fingerprints, a PIN/password will be required after rebooting.

Official Unlocking Methods Recommended by Manufacturers

Manufacturers have implemented special tools for users who have lost access to their phones. These are the safest and primarily recommended methods.

Android: Google Find My Device

If the phone is connected to a Google account, you can find it, lock it with a message and contact, or erase it remotely (“Erase”). Remote unlocking without deletion via Find My Device is not provided.

  • Visit: google.com/android/find
  • Log in with the same Google account.
  • Select the phone from the list.
  • Use “Secure Device” (lock with a message) or “Erase Device” (completely erases data and removes the screen lock).

Note: the method requires the phone to be powered on and have an internet connection.

Samsung: SmartThings Find and Unlock

The Find My Mobile features are integrated into SmartThings Find. In newer versions, many regions offer finding, calling, locking, and erasing. In some models or regions, the previous “Unlock” (remote unlocking) may no longer be offered.

  • Visit: smartthingsfind.samsung.com
  • Log in with the Samsung account linked to the phone.
  • Select the available action: “Lock” or “Erase”. If you see “Unlock”, it may only apply to certain devices/regions.

Advantage: data can be protected (by locking or erasing), showing the contact who found it. Requirements: active internet and a linked Samsung account.

Factory Reset

When there are no other options, the phone can be returned to factory settings. This completely erases data and removes the screen lock.

  • Hold the power and volume buttons together (the combination may vary by model).
  • Once in Recovery Mode, select “Wipe data/factory reset”.
  • Confirm the action and reboot the device.

Attention: after the reset, FRP (“Factory Reset Protection”) or “Activation Lock” will activate if a Google or Apple account was connected to the device.

Smart Lock (Android only)

If you had Smart Lock enabled, the phone may be unlocked under certain conditions:

  • Connected to a familiar Bluetooth device (e.g., car, headphones).
  • In a recognized location (e.g., at home).
  • The device was recently unlocked – briefly allowing access to settings.

Older Android Models

In very old models (Android 4.4 and earlier), there was a “Forget Pattern” feature, but it is no longer applicable in modern devices.

iPhone: iCloud, iTunes, Recovery Mode

iPhone unlocking (more accurately – restoring) methods are official and effective:

  • iCloud: log in to icloud.com/find and select “Erase iPhone”.
  • Windows: use the Apple Devices app (or in older systems – iTunes), enable Recovery Mode, and select “Restore”.
  • macOS (Catalina and newer): use Finder instead of iTunes.

Important: if “Find My iPhone” was enabled, after the restore, you will need to log in with your Apple ID (activating “Activation Lock”).

Contacting Apple Support

If you do not have an Apple ID or forgot the password, contact official Apple support. You will need purchase documents proving ownership. Apple can assist in removing “Activation Lock” only if you are the rightful owner.

Alternative Unlocking Methods

If official methods do not work or you want to maximize data preservation, some users opt for alternative – often unofficial – solutions. Use them cautiously: they may void warranties, compromise security, or lead to data loss.

Third-Party Apps: Dr.Fone, Tenorshare, iMyFone, and others

There are various applications for Windows or macOS computers that can help remove the screen lock via USB.

  • Wondershare Dr.Fone – Screen Unlock: supports Android and iOS; when removing locks, data is often deleted.
  • Tenorshare 4uKey: focused on iOS; helps remove the screen lock, but the device is wiped.
  • iMyFone LockWiper: a similar tool, data loss is common.

Advantage: simple interface, no deep technical knowledge required. Disadvantage: usually all data is lost, some features are paid.

ADB (Android Debug Bridge): Command Unlock via USB

A technical method, possible only if USB debugging was enabled in advance. Then, in some old models, key files can be removed:

adb shell rm /data/system/gesture.key

After rebooting, the phone may be unlocked, but this method does not work on new models with FRP.

Root Access and Special Custom Recovery Methods

Rooting or using Custom Recovery (e.g., TWRP) devices allows applying ZIP scripts or terminal commands (e.g., “Pattern Password Disable” ZIP), but this is risky.
Warning: you can damage the system, cause a bootloop, or lose data.

Professional Tools Used by Services (Flash Boxes)

Specialized repair centers use tools (e.g., “Z3X Box”, “Octoplus”, “Infinity Box”, “Chimera Tool”, etc.) that can remove screen locks, FRP, or rewrite firmware.

  • Often works where consumer tools fail.
  • Additionally, data preservation may be offered if technical conditions allow.

Disadvantage: services are paid and usually require physically presenting the device.

Anti-Theft Mechanisms: FRP and Activation Lock

To protect user data and reduce the scale of theft, Google and Apple implement anti-theft mechanisms that block the device after a factory reset if the account was not disconnected beforehand.

Android: Factory Reset Protection (FRP)

FRP was introduced with Android 5.1 and applies to most manufacturers (Samsung, Xiaomi, Huawei, OnePlus, etc.).
How it works: after restoring the device without disconnecting the Google account, the system will ask to log in with the same account after rebooting.
If you do not remember the password or purchased a used phone with the remaining account, you will encounter the FRP lock.
How to remove FRP (legally):

  • Log in with the previously used Google account.
  • Use the Google account recovery page to recover your account.
  • If you purchased a used device, ask the previous owner to disconnect the account.

Technical Workarounds: some services use special tools (e.g., Chimera), but this may be legally restricted and not allowed if you are not the rightful owner.

iPhone: Activation Lock

“Find My iPhone” automatically enables “Activation Lock”. Even after restoring the device, activation will require the previous Apple ID login.
How it works: if the device is lost or stolen, it will remain unusable without the owner’s account.
How to legally remove “Activation Lock”:

  • Log in with the same Apple ID.
  • If you forgot the password – use iforgot.apple.com.
  • If the phone was purchased used – the previous owner must disconnect the device via icloud.com.

Warning: third-party “iCloud removal” offers are often unreliable or illegal.
What to do if the device has no documents? The manufacturer may refuse to help. Purchase documents (invoice, receipt with IMEI) are critically important.

Data Protection: Can Loss Be Avoided?

One of the biggest problems when forgetting a password is the potential loss of all phone data. Therefore, it is important to know where and how your information can be recovered.

What does “Factory Reset” mean?

A factory reset erases all user data (photos, videos, contacts, messages, app data) and returns the device to its original state. However, some information may remain in the cloud if synchronization or backups were enabled.

On Android Phones:

  • With Google Backup enabled, most data (contacts, calendars, app settings) can be restored by logging into the account.
  • Google Photos – with active synchronization, photos are stored in the cloud.
  • WhatsApp – with a “Google Drive” backup, chats can be restored upon reinstallation.

On iPhone Phones:

  • iCloud Backup – if enabled, after the reset, most data returns upon logging into the account.
  • iTunes/Apple Devices/Finder Backup – if a computer backup was made beforehand, it can be restored locally.
  • Photos, Contacts, Notes, Calendars – synchronized via iCloud.

What to do before any unlocking action?

  • Check if cloud backups are enabled.
  • Ensure you have access to accounts (Google, Apple ID).
  • If the device is unlocked biometrically and still works – immediately transfer data to a computer or cloud.
  • Use Smart Switch (Samsung) or Move to iOS for data transfer.

Data Recovery After Deletion: Is It Possible?

If the data was not in the cloud and the phone was deleted, recovery is significantly complicated:

  • Specialized software (e.g., DiskDigger, PhoneRescue) sometimes recovers recently deleted files if they have not been overwritten.
  • Root access (Android) or knowledge of full system recovery modes (iOS) is required, so success is limited and not guaranteed.

Used Phone with an Active Account: Risks and Consequences

Purchasing a used smartphone seems economically attractive, but if it has the previous owner’s account remaining – you will encounter problems.

Why is this a problem?

If the phone has:

  • Google Account (Android) – after a factory reset, FRP activates and requires the previous account login.
  • Apple ID (iPhone) – Activation Lock is activated, and the device cannot be used without the password.

Conclusion: the device becomes “locked” and essentially unusable.

Legal Aspects

In Lithuania and many other countries, such phones are considered of unproven origin. Without documents, there may be risks:

  • The device may be stolen – there are risks of suspicion of illegal acquisition of property.
  • Manufacturers or services may refuse to service.
  • No warranty applies.

The Importance of Documents

If you purchased the phone:

  • From a private seller – request a purchase-sale agreement/receipt.
  • From a store – ask for an invoice with the IMEI number.

Without these documents: the manufacturer (Google/Apple) will generally not assist.

How to Check Account Status Before Buying?

  • Request to reset the device in your presence. If it does not ask for an account after rebooting – it’s fine.
  • iPhone: check if “Find My iPhone” is disabled:
    Settings → [Username] → Find My → Disabled.
  • Android: Settings → Accounts – there should be no connected Google accounts.
  • Check IMEI: dial *#06# and compare with documents.

What to do if you already purchased a locked device?

  • Contact the seller – request a refund or account release.
  • If unsuccessful – gather evidence (photos, correspondence, transfers) and contact the police or consumer rights protection.
  • If you have documents – try contacting the manufacturer for account removal.

Summary: How to Avoid Traps?

  • Always request documents.
  • Do not buy phones with an active account or enabled lock.
  • Check functionality before payment.
  • Refuse the transaction if the seller avoids resetting in your presence.

Practical Tip: buy only from reliable sellers or certified services.

Contacting a Service – When is it Worth It and What You Need to Know?

If you were unable to unlock the phone on your own, a reliable service may be the best solution. Choose only those service providers who comply with laws and data protection requirements.

How do services help unlock phones?

  • Official methods: in cooperation with manufacturer representatives and with purchase documents.
  • Technical methods: “boxes”, “dongles”, and software designed to remove screen locks, FRP, etc.
  • Data protection: responsible services clearly state the risks and, if possible, offer solutions that allow data not to be deleted.

What data will be needed?

When contacting a serious service, you may need:

  • IMEI (dial *#06# or check the box).
  • Purchase documents (invoice, receipt, contract).
  • Identity document for identification.
  • Information about the account (if you still have partial access).

Warning: services that do not pay attention to the device’s origin and promise “universal unlocking services” may be operating illegally.

“iCloud removal” and “FRP bypass”: what to watch out for?

There are many promises online to “remove any lock”, but:

  • Often illegal methods are used (IMEI changing, “server bypass”, etc.).
  • No guarantees – the device may be locked or blocked again.
  • “Apple” and “Google” detect such attempts and apply blocks.

How to recognize an honest service?

  • Clearly states conditions and risks.
  • Requires documents and provides an invoice.
  • Complies with GDPR and ensures data confidentiality.

How much does phone unlocking cost at a service?

Prices depend on the model and type of lock:

  • PIN/pattern removal: ~20–50 €
  • FRP removal: ~30–80 €
  • Activation Lock: only with documents; from ~50 €, if at all possible

Note: unlocking the latest models without account data is often impossible by any legal means.

How to Avoid Losing Your Password: Prevention is the Best Protection

While forgetting passwords can happen to anyone, it is easy to avoid.

1. Use Password Managers

Secure storage of all logins in one place:

  • 1Password
  • Bitwarden (open source)
  • LastPass
  • NordPass

Managers generate complex passwords and reduce the risk of forgetting.

2. Enable Biometric Authentication

  • Android: fingerprint, face recognition, backup PIN.
  • iPhone: Face ID or Touch ID.

Benefit: you use it daily without entering a password, but the system remains protected.

3. Use Backup Systems

Always enable backups:

  • iPhone: iCloud or computer backup (“Apple Devices”/“iTunes”/“Finder”).
  • Android: Google Backup, Samsung Cloud, and other cloud solutions.

4. Use Two-Factor Authentication (2FA)

Enable 2FA on important accounts (Google, Apple ID, email, social networks). Even if someone learns the password, they will not be able to log in without an additional code.

5. Write Down Critical Passwords (Responsibly)

  • Write down and store main logins (Apple ID, Google, email).
  • Keep them in a secure physical location (e.g., safe).

Not Recommended: do not store passwords in phone notes or photos.

6. Do Not Leave Active Accounts When Transferring the Device

  • Before selling or gifting – disconnect all accounts.
  • iPhone: disable “Find My iPhone” and disconnect from Apple ID.
  • Android: remove the Google account from settings.

7. Use Reminders and Periodic Checks

  • Every 6 months, review passwords, 2FA, and backup status.
  • Confirm that you still have access to important accounts.

In Short: a few simple habits today will save you from big problems tomorrow.

Frequently Asked Questions (FAQ)

What to do if I forgot the PIN code on my phone?

In the case of Android – use “Find My Device” (for locking or erasing) or perform a factory reset. For iPhone – use “Find My iPhone” for erasure or “Recovery Mode” via “Apple Devices”/“iTunes” (Windows) or “Finder” (macOS).

Can I unlock my phone without losing data?

Most often – no. Exceptions are possible with professional tools or if biometric/Smart Lock was enabled in advance. Always have backups.

What does “Factory Reset Protection” (FRP) mean?

FRP is an Android security feature that requires the login of the previously used Google account after a factory reset. It protects against unauthorized use.

What to do if I bought a phone with an active Google or Apple account?

First, contact the seller and request account removal. If unsuccessful – contact law enforcement or consumer rights protection. The device may be stolen.

Is it possible to legally remove the iCloud lock?

Yes, but only with purchase documents and through official Apple channels. Third parties cannot legally perform this.

Conclusions

Forgetting your phone password is not the end of the world, but it requires thoughtful steps. The solution depends on the device, system, accounts, and backups. The best prevention is password managers, regular backups, and responsible account management. If you cannot resolve it on your own – contact reliable services.
Always protect your data and identity. Prevention is the best protection.

References (APA Style)

  • Apple Inc. (2025). If you forgot your iPhone passcode. https://support.apple.com/lt-lt/118430
  • Apple Inc. (2025). Set or change your iPhone passcode. https://support.apple.com/lt-lt/guide/iphone/iph14a867ae/ios
  • Google LLC. (2025). Find, secure, or erase a lost Android device. https://support.google.com/accounts/answer/6160491
  • Samsung Electronics. (2024). Use SmartThings Find to track, lock, or erase your devices. https://www.samsung.com/us/support/answer/ANS10002539/
  • BITĖ Profai. (2024). What to do if you forgot your Android phone unlocking code? https://www.bite.lt/profai/pamirsau-android-koda
  • BITĖ Profai. (2024). What to do if you forgot your iPhone unlocking code? https://www.bite.lt/profai/pamirstas-iphone-kodas
  • Tele2 Innovation Office. (2024). What to do if you forgot your phone password? https://tele2.lt/privatiems/inovaciju-biuras/patarimai/ka-daryti-jei-pamirsote-slaptazodi
  • Smart Master. (2023). Find My Phone feature: how and why to turn it off? https://smartmaster.lt/naudinga/find-my-phone-funkcija

Need help with your device?

If your phone, computer, or tablet is not working properly, bring it to Fixas. We perform quick diagnostics and usually complete repairs within 1–3 hours.

Book a repair