Step 1: Turn on the device and you will be taken to the welcome screen, now press the Get Started button.
Step 2: Now you will need to choose your region, accept all terms and conditions and then you will be asked to provide a SIM card just skip it and you will be taken to the connect to a network screen, where you will have to connect to a wireless network (WIFI).
Step 3: Now connect to a wireless network and after connecting press the next button and wait for it to load.
Step 4: After loading you will be taken to Google verify your account screen, now press the back button until you are taken to the welcome screen again.
Step 5: Now press the Emergency call button and dial “*#*#1357946#*#*” after press the star key you will see a little toast message at the button of the screen.
Step 6: Now dial “112” Press the call button and then quickly press number 4 as fast as you can.
Step 7: You may see a message, if you don’t see any message try the process again and after you see any message now press and hold the power button and shut down the phone.
Step 8: Now after the phone has shut now wait for 3 minutes and now you need to press and hold the power button and the volume up button at the same time.
Step 9: Immediately the phone power on, you need to release the power button and keep pressing the volume up button until you see the EMUI factory reset screen.
Step 10: Now you will see few options, choose wipe/data factory reset and wipe the phone, the process may take 1 to 2 minutes you just need to wait for it to reach 100%.
Step 11: After the wipe the process is complete, you will need to choose “safe mode” and the phone will reboot into safe mode, the booting process may take longer because you just wiped the phone.
Step 12: After the phone boot up you will Safe mode watermark at the bottom left corner of the phone. Now press the phone setting and scroll down and you will see System, press it and inside the system you will see reset, press it and inside reset you will see few options.
Step 13: Now you just need to choose reset all settings and press the reset all settings button and you will be asked again to verify that you want to reset all settings, press the Reset all settings again and wait for it to load.
Step 14: After loading you will be taken back to the home screen, now open settings again and scroll down to the system, and inside the system you will see About press it and inside about you will see build number, press the build number 7 times and you will be shown a message saying you are now a developer.
Step 15: Now press the back button and go back to the home screen and now press and hold the power button to restart the phone. And after the phone has restarted the phone will boot up without a lock.
Thanks for reading and please if you have any issues please drop a comment or send mail to firstname.lastname@example.org.