The simplest and most universal way to unroot Android devices is by reinstalling the device’s stock firmware. This will work regardless of the device, ROM, kernel, or recovery. Editor’s note: Any tinkering with your smartphone’s software may cause issues and possibly harm your handset.
Is Unrooting Android Easy?
Any Phone that has only been rooted: If all you’ve done is root your phone, and stuck with your phone’s default version of Android, unrooting should (hopefully) be easy. You can unroot your phone using an option in the SuperSU app, which will remove root and replace Android’s stock recovery.
Does factory reset remove root?
AW: Does factory resetting remove root? No. You have to flash the stock image.