As Salam alaykum Sidi,
Can you go to bathroom with your smartphone that contains Quran and Salawat and photos of Mawlana? Can you help us, Sidi? Thank.
Audible dhikr/adhan/salawat sound should be disabled inside latrines including phone ringer if it consists in any of that, as any and all of that is makruh in that space. The rest is OK since the data is inside the device and not exposed, just like the tawiz one may be wearing.
And Allah knows best.
Hajj Gibril Haddad