Flashing (reinstalling) firmware is the "nuclear option" for software troubleshooting. It is typically used to: Unbrick Devices: Fix a phone stuck on the "Hang Logo" or in a boot loop. Remove Locks: Bypass forgotten patterns or passwords when a hard reset System Performance:
: Official flash files are used to "unbrick" devices stuck in boot loops or to fix factory faults. You can find these at various repositories like Parker Pour House .