Default How can I slim down a Rom for incredible lightness?

I don't use my one XL as a phone so I'd like to do everything I can to slim down either a stock or cm Rom and use it exclusively as a media player. Is there any way to take out all phone-related features out and it be stable?

Sent from my HTC One X using xda premium