Use the root management app’s built-in unroot option
Open the root app and choose full unroot
Reboot the device after unrooting
If needed, flash the stock firmware for your device model
Restore the stock boot image if it was modified
Remove custom recovery by flashing the stock recovery image
Factory reset the device after returning to stock
Relock the bootloader if it was unlocked
Verify root access is removed with a root checker app
Update the device normally through official system updates
