So Huawei for stills is a great story of singular focus. Prior to the Nexus 6P, no one took their hardware or cameras seriously in the high end. From the 6P to the Mate 8, they did solid work. But from the P9, they buckled down in partnering with Leica. P9, Mate 9 (gen one) P10 and Mate 10 (gen 2) were great foundation layers, and from the Mate RS/P20 Pro onwards they've been consistently top 3 in Android stills, top 4 overall.
They did this with an outside partnership. Sony in comparison from 2012-2018 pushed out new hardware every 6 months. They in house had Alpha but due to pig headedness never leveraged that tech until 2019(!). Because of their aggressive cycle, Sony still could have slept walked through 2016 and used 2017 to start to add Alpha influences. On that track, the 2020 phones would be akin to that Mate RS/P20 pro performance gains.
Point is, they've screwed the pooch. I don't think they can recover full, but can still be a solid niche player. They need to show some pricing restraint as if Samsung is offering better for the same price to a wider audience, that's an automatic L.