I feel like this thread is as good a place as any to gush about Sony's hardware design. I opened up my Z5 Compact recently to replace the camera flash and audio jack, and was pleasantly surprised at how easy it was to disassemble. Remove the glass back and there are just 10 standard Phillips screws holding everything in place. Remove those and the main board just pops out. Most of the components attach via ribbon cable, and are super modular. Easy to find inexpensive replacement parts on AliExpress. Of course, all this reparability isn't doing great things for Sony's bottom line.
In this era repairability doesn't do well because hardware performance obsolete fast, while os and software need higher spec each year. It's easier to buy newer, higher spec phone than repair it.