I was disagreeing with the statement "if you can't afford to have a roof over your head I'd argue the smartphone is irrelevant".
Contrary to that, if you do not have a home, a smartphone is extremely useful and valuable. In the hypothetical sitation that you find yourself homeless with nothing except clothes and $100, a cheap smartphone is absolutely the best possible use of that money.
Of course I 100% agree that a phone can be used to improve your situation, and I'm sure the OP agrees as well. But a phone isn't enough to be able to go find housing for most people. While it can help you find cheaper shelter, or maybe over time allow you to learn skills that lead to better paying job opportunities that allow you to afford housing, you wouldn't need any of that if housing was simply affordable in the first place.
Ultimately OP isn't saying phones suck and homeless people should sell their phones for a couple nights in a shelter. What they're saying is that phones being cheap does not make up for housing being expensive - no matter how useful the phone is, ultimately the end goal is to have shelter, and if you can't afford shelter then it doesn't matter how cheap anything else is.
I can't agree with that either. Housing is not everything. Even if you are homeless with no prospects of getting out of that situation, it still matters a lot how cheap many other things (food, clothes, access to showers, communication with friends and family, even entertainment) are. A phone with internet access is not just important as a tool to get out of homelessness, it also represents a significant improvement in your quality of life.
Admittedly, this may look somewhat different in climates where a lack of shelter can be fatal.