I think removing the applications installed during the rooting process (and flashing back the original boot.img if the kernel was upgraded) will revert the phone to its original state. If i'm wrong, then getting a full image of a new phone, then flashing it to yours will surely work.
[ Szerkesztve ]
https://www.ratingraph.com/