Try to come up with a realistic scenario that kills the last 100m humans. I've never seen one. You'd become at least internet famous if you could do it.
But also as the world collapses a thousand motivated people could and would relocate a basic computer fab to a safe location. Guaranteed.
I strongly doubt that. Electronics are not designed to last that long; components age. Also, planned obsolescence is king these days.
Our technology stack is like a house of cards. Smartphones are at the top. There's no way they will be of any use in the event that the foundation and the walls collapse.
To preserve knowledge you need it to be usable and accessible as the high edifice of our technological society crumbles. That would mean quality paper, vellum or some other durable material. We know it can last for hundreds to thousands of years if properly cared for. And I suspect that with the essentials of our knowledge base preserved and disseminated in such a way, we could quickly re-master the missing advanced stuff in a handful of decades. But if we relied on smartphones to save us, we'd quickly become savage and starving cavemen!
One of the more dangerous tendencies of modern times is that precision manufacturing techniques are often undocumented and are learned skills which require passing on from masters to trainees. There's plenty of technology from WW2 and earlier which we already can't recreate even though we know exactly what they look like. The people who knew retired and died. The drawings and documentation are useless without full training--we'd have to rediscover and refine the processes from scratch. Just last week I was reading about the restoration of a German WW2 fighter plane. They had to replace the entire engine because they couldn't manufacture a replacement part for the (repairable) original, because the machines to make the parts no longer exist and the expertise was lost. We'd have to make the machines to make the machines that make the part. Our technology base is built upon a house of cards. It's not a new phenomenon, but what is new is our utter reliance upon technology we have little control over to feed us and run our lives, making its loss quite disastrous.