I recently received a new Samsung phone from my parents, which was purchased in China. To my surprise, the phone came with the Magisk app pre-installed, which I had not installed myself. I decided to remove the app completely, and following the uninstallation process, the phone started experiencing a boot loop issue. Every time I tried to turn on the device, it would display the Samsung logo, glitch for a moment, and then reboot only to repeat the cycle. This made it challenging for me to access the phone or perform any tasks.

My phone's specifications include:
- Device: Samsung
- Android version: Android 10
- Magisk version: Unknown (as it was pre-installed)
- Magisk version code: Unknown

I would like to seek assistance on resolving this issue, as I'm not sure how to fix the boot loop problem caused by the uninstallation of the pre-installed Magisk app. Can someone provide steps or guidance on how to troubleshoot and resolve this issue, without losing any data on the device?