Islam cannot hold off the modern world forever. They will go out screaming and fighting. Like you say, they will adapt or they will die.
Many have adapted. When you talk about Islam, you’re talking about approximately a quarter of the world’s population. In light of more than a billion people, the acts of terror and riots are relatively small and usually linked to politics. I think that linkage is the problem.
Careful about the forms that adaptations take. The Japanese”modernized” but kept their “phraroh” until 1945.