Tap on Factory Data Reset .
Open the Settings app on your MEIZU M5.
A hard reset will erase on your phone, including contacts, photos, apps, and settings, restoring it to its original out-of-the-box state. Before proceeding, back up your important data if the phone is still accessible. Warning: If you are performing this to bypass a forgotten Flyme account password or screen lock, a hard reset will not remove Factory Reset Protection (FRP). You will still need the original Google or Flyme account credentials. Method 1: Hard Reset via Settings (If Phone is Functional) This is the easiest method if you can still navigate the phone’s menu. How to Hard Reset MEIZU M5
Scroll down and tap on Backup & Reset (may be listed under "Personal" or "System"). Tap on Factory Data Reset