why not spend the money and get a streamer.
Your phone is not the ideal server nor a basis for an audiophile set up. It wont stream Tidal decently I've tried with mine, fine for low rez head phone work but not ideal for a home system.
You'd be better buying an older mac mini with an optical out.
Something like the oppo server an all in one item that checks all your box's and has an amp built in. also apple airplay and tidal. it will also act as a preamp so get some good powered speakers and/or and headphone amp and your set.
https://www.oppodigital.com/sonica-dac/
there are many others ranging in price also many that have more features.
Bluesound, etc.