The only way to un-root the phone would be to restore the phone to
stock, which would reinstall all the bloatware you’ve removed.