Clearly these charges are racist given Samata Ullah's name is suggestive of the Middle East
Metro Plod, along with the MI Mob, the Border Plod and the US' FBI and DEA have vivid imaginations. They can turn almost any scenario into a 'terrorist' related activity.
As a frequent intercontinental traveller I experience many types of Plod, or Cops, who seem to have one thing in common - ignorance.
Because of the UK 4 years jail or your password, and possession of various publications which are legal in many jurisdictions, I do a clean reload of my smartphone OS as well as the few Apps essential to the purpose of my journey. As new installs there is no history to reveal my activities. Oh, there is one particularly distasteful porn movie which I use to persuade parents of noisy kids on flights to stay well clear of me. Works well for those seat mates who try to see my screen, too.
Often I am asked to show my smartphone to border security, in the West, and the fact I have no social media Apps, or pictures, seems to give them cause for concern. It's amusing to see their high tech whiz score a maiden over and discover zip on my handset even though I have PGP, Signal, Telegram, Tor, Onion and other suggestive Apps. I even have a software coding program mounted.
The 'offences' with which Samata Ullah is charged could equally be applied to myself and other innocent people. In years past train spotting was common, these days the Plod 'investigates' such juveniles.
I have trained people in the use of encryption software; I have researched many subjects that should make the hairs of a security type's neck go erect; I also have websites that are adverse to some Western nations interests. I even design circuitry for munitions applications.
But this doesn't mean I support ISIS, Daesh, the NRA, etc. What it DOES mean is that I value my privacy.
Likewise, my several (legal) passports have most visas removed (acetone loosens any glue) and the multitude of immigration stamps are largely obliterated. This excites the Passport Agency, but it still doesn't make me a ''terrorist'. I favour 'loose' visas, the type that is stapled in to your passport rather than glued. The reason is that the price of a larger UK passport is excessive and 'loose' visas extend the average life of my passport from a couple of years to maybe even 8.
Travel from certain geographic areas automatically rates you as a drug dealer/runner. By using a different passport to enter a Western country that doesn't have a 'drug' country as your last destination gets you past Customs expeditiously.
So you are screwed if you do and you are screwed if you don't - just because of the twisted minds of 'security' types.