First, I followed these instructions. https://3ds.guide/uninstall-cfw.html. But instead of plugging it into the computer (I didnt have a micro sd / sd card reader in my computer atm) I did it wirelessly to transfer the files. I didn't uninstall any of my apps or illegitimate games, and I reverted back to stock. Then I wanted to go to settings to do a system restore, but system settings crashed!Yeah. That would help.