Unlock the bootloader if your device allows it
Install a custom recovery or use a supported rooting method for your device
Flash a trusted root solution such as Magisk
Reboot the device and verify root access with a root checker app
Grant root permissions only to apps you trust
Keep a full backup before making any changes
Update root tools carefully after checking device compatibility
Re-locking the bootloader may remove root and can wipe data
Rooting may void warranty, break OTA updates, and reduce device security
