Damien Pegoraro

Detecting Jailbreak / root with Adobe AIR

Here’s a lightweight AIR tool that tells you if an iDevice is jailbroken or if an Android device is rooted:

This is not an ANE, there’s no native code involved here.

iDevices jailbreak comes with the installation of Cydia most of the time. This detection relies on that, looking for Cydia files on the drive. It’s not perfect but it works in many cases.

To check if an Apple device is jailbroken:


Android root of a phone is fully legal and does not necessarily involve app piracy.

This detection tries to locate su on specific folders on the drive.

To check if an Android device is rooted:


If you want to check both at once for a multiplatform app, call this:


Tested with success on a jailbroken iPad2, a legit iPad3, a rooted Nexus 5, and a legit Nexus 4.
Let me know about bugs and cool stuff to add, and feel free to improve!

222 Comments on “Detecting Jailbreak / root with Adobe AIR

  1. A lot of thanks for all of the hard work on this web page. My daughter really loves working on internet research and it is obvious why. We all learn all relating to the compelling means you deliver good tactics via your website and strongly encourage response from other ones on that topic plus my princess is actually studying a lot. Take advantage of the rest of the new year. You have been performing a really good job.

  2. Thank you a lot for giving everyone an extremely spectacular opportunity to discover important secrets from this web site. It is usually very terrific plus stuffed with fun for me and my office co-workers to visit your website minimum 3 times weekly to study the newest guides you have got. And of course, I’m so usually motivated with all the wonderful methods you give. Selected 4 areas in this posting are undoubtedly the most beneficial I have had.

  3. I and also my buddies were reading the best procedures from your website while all of a sudden developed an awful feeling I had not thanked you for those strategies. All of the young boys ended up as a result passionate to read through them and already have without a doubt been tapping into them. Thanks for getting really thoughtful and then for opting for this form of smart themes millions of individuals are really needing to learn about. My sincere apologies for not expressing appreciation to sooner.

  4. My husband and i ended up being very thrilled when Chris managed to finish up his analysis from your precious recommendations he had when using the web pages. It’s not at all simplistic just to happen to be giving freely concepts that many some others might have been selling. We really know we have you to thank for that. These explanations you’ve made, the simple site navigation, the friendships you can help promote – it’s mostly superb, and it’s leading our son in addition to us reckon that that topic is satisfying, and that’s tremendously fundamental. Thanks for all!

  5. Needed to draft you this tiny word in order to thank you so much over again for these magnificent advice you’ve discussed above. It has been certainly pretty generous with people like you to offer unhampered just what many of us could possibly have marketed as an ebook to end up making some profit on their own, primarily since you might well have done it if you ever wanted. These good tips as well acted like the easy way to comprehend other people online have the identical fervor really like my own to realize very much more related to this condition. Certainly there are thousands of more pleasurable times up front for people who discover your blog.

  6. My husband and i ended up being absolutely relieved when John managed to conclude his research from your ideas he came across from your own web page. It is now and again perplexing to simply continually be giving out ideas which usually most people might have been selling. And we keep in mind we now have the writer to appreciate for that. The specific explanations you’ve made, the simple blog navigation, the friendships you can aid to instill – it is many sensational, and it is facilitating our son in addition to our family imagine that that article is excellent, and that is wonderfully important. Thank you for all the pieces!

  7. I wish to express my appreciation to the writer for bailing me out of this setting. Right after checking through the internet and finding concepts which were not helpful, I assumed my entire life was well over. Being alive devoid of the solutions to the difficulties you have solved as a result of your post is a serious case, and those which could have adversely affected my entire career if I hadn’t discovered your web page. Your actual talents and kindness in maneuvering every part was crucial. I don’t know what I would have done if I hadn’t come upon such a point like this. I’m able to at this moment look forward to my future. Thank you so much for this professional and effective help. I will not think twice to suggest your web page to any person who would need assistance on this issue.

  8. My spouse and i ended up being really satisfied that Albert could complete his inquiry through the precious recommendations he had from your own site. It is now and again perplexing just to find yourself handing out guides which people might have been making money from. So we discover we need you to appreciate for that. The specific illustrations you’ve made, the straightforward site navigation, the friendships your site aid to create – it is everything fantastic, and it is letting our son and us do think the subject is amusing, and that is highly mandatory. Thanks for all the pieces!

  9. Thank you a lot for giving everyone an extremely special chance to read from this web site. It’s usually so kind and also jam-packed with amusement for me personally and my office acquaintances to search your website at a minimum three times in a week to see the latest things you have got. And indeed, I am also actually satisfied considering the impressive information served by you. Some 2 ideas on this page are without a doubt the most beneficial we have had.

Leave a Reply

Your email address will not be published. Required fields are marked *