So I have an old Moto G 5G 2024 edition phone updated to the latest android update. But I got a Samsung Galaxy Note 24, which runs far better. So I was thinking of trying to uninstall Android to install a more customizable, open ended, secure OS to use my Moto as a second phone. I just want something that I can use to do more with that Android doesn't allow, and so I can break free of the old Verizon code, and also just have a more lightweight OS that doesn't slow the phone down.
I looked into what it would take to unlock the bootloader, but supposedly you can't unlock the UEFI bootloader the phone has since Verizon and TracFone both hardware perma-lock the bootloaders of the phones they sell. I was with verizon before I switched to spectrum with the Galaxy Note 24 (I had to go with verizon cause it was more simple to partner with them and I needed a phone for work purposes and contacting people, mostly). I did a bit more digging, and found out that it is possible to entirely wipe a phone and it's underlying code.
So, here is my question: How do I safely wipe everything off of my Moto while keeping everything on the cloud and everything on my Note 24? Does wiping the whole Moto clean even effect my Note 24 and cloud info at all? What would be the best way to wipe the Moto to start with a clean slate?
Additional info: The Moto is not connected to Verizon services anymore since I deleted my Verizon account and the phone was disconnected from Verizon, but still with the factory Verizon codes. If it is illegal, which I don't think it would be in this case, then please let me know. I'm not about to get fined for something when I can barely afford anything right now. I looked it up, and given I don't have a plan with them for the phone, it should be legal, also according to the CCPA. I might need to call them to take it off of their MDM so there is no interference with wiping the phone and installing a different OS.