Looking for a replacement for Xperia XZ Premium that is more flexible
I currently have an Xperia XZ Premium international, and while I love the phone and it's abilities, I'm sick of not having the options to flash ROMs freely, to root, or to swap the battery. I'd really appreciate any suggestions regarding a phone that could meet or exceed the XZ Premium's specs while providing these options. I'd prefer that the device have a nice screen, but a 4K screen isn't absolutely necessary, as I rarely use 4K mode on my XZP. Support for external SD is a must, and so is a nice quality camera, as I use that function quite a bit. I also play a lot of emulated games on RetroArch and other platforms, so I like to have decent 3D acceleration and RAM.
One other issue I have with the XZP is intermittent problems with running my Android Studio code on it, while not having any issues with that on my girlfriend's phone. At this point, I just use virtualized Android exclusively. I'd like to have a phone that will lend itself well to customization, or in this respect, a simpler ROM that eliminates some of the preloaded system apps. I guess a phone that has the interests of the developers on XDA would probably be good for me.