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. Thanks a lot for giving everyone remarkably nice chance to discover important secrets from this website. It is usually very superb plus jam-packed with a great time for me and my office acquaintances to search your website at a minimum three times in 7 days to read the fresh guidance you have got. Not to mention, I’m so certainly satisfied with the striking suggestions served by you. Some 4 areas in this post are particularly the most impressive I have ever had.

  2. I wish to voice my appreciation for your kind-heartedness giving support to folks that should have help on this particular content. Your very own commitment to passing the solution all through came to be remarkably important and have really allowed some individuals much like me to reach their aims. This invaluable guideline indicates a whole lot a person like me and even further to my office colleagues. Thank you; from all of us.

  3. It’s perfect time to make some plans for the longer term and it is time
    to be happy. I’ve learn this post and if I could I wish to counsel you few interesting things or suggestions.
    Perhaps you could write subsequent articles regarding this article.

    I wish to learn more issues approximately it!

  4. Hello, I log on to your new stuff like every week.
    Your writing style is witty, keep doing what you’re doing!

  5. I together with my guys were actually looking through the excellent helpful tips located on your web site then all of the sudden I got a horrible suspicion I had not thanked you for those techniques. These young men had been absolutely happy to learn all of them and have in effect very much been using those things. Many thanks for simply being so thoughtful and then for considering these kinds of important information millions of individuals are really eager to understand about. My personal honest regret for not saying thanks to you earlier.

  6. Wow! This blog looks exactly like my old one!
    It’s on a completely different subject but it has pretty much the same layout and design. Excellent
    choice of colors!

  7. I’m writing to let you know of the helpful experience my child obtained studying your webblog. She picked up a lot of issues, including what it’s like to possess a wonderful giving heart to make most people smoothly grasp selected grueling issues. You really did more than readers’ expected results. Thanks for providing the precious, dependable, edifying not to mention easy tips on the topic to Julie.

  8. Howdy, i read your blog from time to time and i own a similar one and i was just curious if you get a lot of
    spam feedback? If so how do you prevent it, any plugin or anything you can recommend?
    I get so much lately it’s driving me crazy so any support is very much appreciated.

  9. Hey I know this is off topic but I was wondering if you knew of any widgets I
    could add to my blog that automatically tweet my newest twitter updates.
    I’ve been looking for a plug-in like this for quite some
    time and was hoping maybe you would have some experience with something like this.

    Please let me know if you run into anything. I truly enjoy reading your blog and
    I look forward to your new updates.

  10. I want to get across my gratitude for your kind-heartedness in support of men and women who should have help on in this theme. Your very own commitment to getting the message all around turned out to be certainly insightful and have always made others just like me to achieve their pursuits. Your own informative key points indicates a great deal a person like me and especially to my office colleagues. With thanks; from all of us.

  11. I’ve been surfing online more than three hours today, yet I never found any interesting article like yours.

    It’s pretty worth enough for me. In my view, if all webmasters and bloggers made good content as you did, the internet will be much more useful than ever before.

  12. Incredible! This blog looks just like my old one! It’s on a completely different topic but
    it has pretty much the same layout and design. Excellent
    choice of colors!

  13. My husband and i got really fortunate Chris could finish up his basic research from the precious recommendations he grabbed in your weblog. It’s not at all simplistic just to happen to be giving for free procedures which often many people could have been trying to sell. Therefore we figure out we have the writer to give thanks to for this. All the explanations you made, the straightforward site menu, the relationships you will help to promote – it’s mostly terrific, and it’s helping our son and our family understand this issue is brilliant, and that’s really important. Thanks for everything!

  14. I enjoy you because of each of your labor on this site. My mom loves engaging in research and it’s really obvious why. A lot of people learn all about the dynamic method you present valuable tips and tricks on your web blog and in addition increase contribution from visitors on that issue while our child is understanding a lot of things. Have fun with the rest of the year. You have been carrying out a terrific job.

Leave a Reply

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