I feel like iPhones had a sweet spot between the 4 and the... I dunno. A few generations after that? Where jailbreaking was rampant and incredible, and the phones are basically like the 16 now.
Then Android had a 'sweet spot' after that. Their quality and UI fluidity really caught up, to the point where my old Razer Phone 2 (SD845) still feels faster than an iPhone 16.
After that... well, I dunno where to go :(. Feels like both platforms are locking down.