It would be a week before al-Hina'i and al-Kharousi were let out on bail (the prosecutor's office would later quietly drop the charge of inciting public disorder leveled against them), but al-Muqbali spent the next three months in prison, eventually receiving an 18 month jail sentence, thanks in no small part to the contents of his mobile phone. The consequences of the arrest, and the seizure of al-Muqbali's iPhone, would ripple throughout the activist community in Oman over the coming weeks and months.
More:Insulting the Sultan in Oman - By Peter Salisbury | The Middle East Channel
thanks in means what? I would be beyond gratitude If you could paraphrase the underlined part. I didn't find thanks in in dictionaries for which I couldn't understand the whole underlined part.
The contents of his mobile phone were used as evidence against him. This evidence was not small, it was big. Given this, we say, "in no small part" meaning a big part. I grew up liking fish, thanks in no small part to the fact that I lived along a large river - I like fish because fish was a major part of my diet when I was a child.