@tsarstepan,
I'll start with the last; I prefer android to iOS. But I'm a tinkerer, and like to be able to manipulate files, and move them on and off of the device without the need for the ridiculous iTunes handcuff. I root my phones to setup custom navigation and shortcuts, improve large screen reachability, and circumvent the bs toy-like qualities that tend to accompany the average smartphone. If I had to guess, I'd say that android device resale will always be paltry, especially compared to iPhone.
Currently I have the 1st gen Pixel, still running android N – on purpose (if I had my way, I'd go back to Kitkat). I bought it outright from google, as buying direct from a manufacturer eliminates carrier junk apps. Google's phones have an added bonus, like the iPhone, of working with all carriers, unlike most others which are either cdma or gsm.
Like most higher end phones available, the camera is about as good as the amount of light available. The old Samsung S5 seemed a bit better in comparison, but camera and storage aren't a big deal to me. I mainly am looking at processor speed vs the smallest screen I can find.