Rooting doesn’t necessarily wipe your phone’s user data entirely. It doesn’t tamper with the internal storage either. However, sometimes you might experience a boot loop that can cause this problem. So, it’s better to make sure that all your data is backed up to the cloud or PC.