that's why manufacturers started to come out with plenty of streaming dap's. the cheapest is probably the fiio m6, and for the price of a midrange phone, you can get something that will last you for years, and will sound much, much better than any phone. to replace my ipod 5g that recently died (served me since 2005, rip), i'm eyeing an ibasso dx160:
https://headfonics.com/2019/12/ibasso-dx160-review/ runs android, has a large screen, can be used as an usb dac, can do tidal/spotify offline, and sounds way better than phones. there are plenty of other similar products too.