A technical analysis details how an HTC U11 Plus running older HTC Sense firmware on Android 8 or Android 9 can bypass Factory Reset Protection after a forgotten pattern lock, using only a working SIM card and no PC.
The author first documented numerous failed attempts that included muscle memory recovery, Google account unlinking via web, Find My Device, standard Hard Reset, bootloader unlocking through HTCdev, SIM PIN tricks, and attempts to reach hidden menus through the Help app or intent links. All standard paths remained blocked by the FRP-enforced setup wizard.
The working method begins by accessing the emergency contacts screen during initial setup language selection. A contact from the SIM is added, an email address is inserted into the contact, and the resulting mail icon is used to open the Gmail app. From there the user selects an Exchange account instead of Google, enters manual server settings, and reaches the Client Certificate option.
Selecting the certificate triggers a system prompt to set a screen lock. Choosing the combined fingerprint and PIN option bypasses the grayed-out single-method choices because the Biometric Framework runs in a higher-priority thread isolated from FRP checks. A simple PIN such as 1234 is set, the fingerprint step is skipped, and the device is restarted.
After reboot the new PIN satisfies the FRP check, allowing the Google account setup screen to display an active Skip button. The device can then be configured with a fresh account.
Technical root cause
The exploit succeeds because of three weaknesses in HTC Sense: context isolation that prevents direct calls to ChooseLockGeneric, higher architectural priority of Credential Storage requests over FRP flags, and separation of the biometric registration thread from setup-wizard restrictions. The technique is specific to older HTC firmware and demonstrates how legacy email and certificate subsystems can still be leveraged for lock bypass.


