ADB commands aren't complex at all, if you know what they mean. You just need to enable OEM unlocking in developer settings, take a backup of your data and then put the phone in bootloader mode. Then, connect the phone to your computer, navigate to the folder where you have put your ADB files (if you don't have it, download it) type "fastboot devices". If you performed the above mentioned steps correctly, it should show your device name in a list. If you see it, then type "fastboot oem unlock", you should get a message on your phone, press the upper volume key and your bootloader is unlocked. This is half way through. Now, you must have the TWRP recovery file for your phone in the same folder as well. Next commands you need to your is " fastboot flash recovery (file name).img". This command will flash the recovery on your phone. After it's done, navigate on your phone with volume buttons till you see recovery mode option in red. When you see it, press the power button. That's it, you're done.
Hope it helps
Click to expand...