Check whether your device model and Android version can be rooted
Back up all important data
Charge the phone battery
Enable Developer Options
Turn on USB Debugging
Unlock the bootloader if required
Install the correct USB drivers on your computer
Download the official firmware for your device
Patch the boot image with a rooting tool such as Magisk
Transfer the patched boot image to your computer
Boot the phone into fastboot or bootloader mode
Flash the patched boot image to the device
Reboot the phone
Install the rooting app if needed
Verify root access with a root checker app
Re-lock the bootloader only if your rooting method requires it and root remains functional
