Up to Android 7 and early Android 8 with 2018 security patch
Connect it to PC and install drivers (Install HiSuite software for drivers). Then put phone in manufacture mode. On dialpad type *#*#2846579#*#*, select “Project Menu”, “Background settings”, “USB ports settings”, “Manufacture mode”.
- Press “Read phone info” button and wait until phone is fully detected
2. Select “Repair UMTS” tab (if phone has MEID select “Repair CDMA”)
3. Read warning message. If you agree with terms and want to continue press “OK” if you do not wish to continue press “Cancel”
4. Put a check mark next to Model, Vendor and Country fields. Enter valid data matching your customization file.
— Customization file usually contains this data in it’s name, example:
5. Press “Repair” button and wait for process to finish, Phone will restart and reset afterwards