I'm not convinced it's a technology issue, rather a lack of will. We've got people who benefit from the lack of security (ivory trade, drugs etc), so the government is not incentivised to fight crime in general. What the government fails to realise is that petty crime finances larger crimes. Al Shabaab does not have an investment bank where they can get a convertible note to finance a terror attack, it can't really list on the NSE. They traffic drugs, ivory etc. The solution is a thorough crack down on crime which generally tends to provide the intelligence bodies with much needed intel. We can't eat our cake and have it too. The government seems to think that they can have lax security policy and still somehow secure the country.
We additionally need to look at who is in charge of security policy. It's absurd to have someone who thinks that a crack down on tint (an illegal crack down no less) is in charge of the police force. The individual charged with enforcing the law does not understand or respect the law. The internal security minister is, frankly, clueless. We've got no cohesive security policy.
Crime has always been an issue. You might have technology, but it's worth precious little if it takes the armed forces 4-5 hours to respond, or if they will try and shake down the terrorist for bribes. A lot of this technology was not there in the eighties, nineties and noughties.
At this point, there is a shortage of police because they are busy washing cars in the judiciary or guarding "VIP's". There is a shortage of police cars because every "VIP" gets a chase car to ensure that they are insulated from their policy failures (traffic, insecurity etc). The state at this point does not really care about the citizen and it's primary concern is extracting the citizen (corporate included) to finance rent seekers who have no economic value. Our taxes keep increasing and because the state has a monopoly on violence, we are not really allowed to question how the state mis-uses our taxes.
What we have is not a technology problem but rather general failure of an arm of government.