file, you are essentially "flashing" the device's firmware to bypass a forgotten PIN, pattern, or password. This process typically involves using Sony Flashtool
Flashing the official firmware is the most reliable way to bypass a forgotten lock when you cannot access the settings. : h4311 lock remove ftf