DEV STUFF

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:

https://github.com/babeuf/jailbreak-detector

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:

JailbreakDetector.isJailbroken();

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:

JailbreakDetector.isRooted();

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

JailbreakDetector.isDeviceLegit();

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!

448 Comments on “Detecting Jailbreak / root with Adobe AIR

  1. Wow, fantastic blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your site is magnificent, as well as the content!

  2. Wow, marvelous weblog layout! How lengthy have you been blogging for? you made blogging glance easy. The overall look of your website is fantastic, as well as the content!

  3. Someone necessarily assist to make critically articles I would state. This is the very first time I frequented your website page and thus far? I amazed with the analysis you made to create this particular put up incredible. Great process!

  4. Hello my friend! I want to say that this article is amazing, nice written and include almost all important infos. I would like to look more posts like this .

  5. Thanks a lot for providing individuals with such a breathtaking chance to read articles and blog posts from here. It can be very kind and as well , packed with a great time for me and my office colleagues to visit your site no less than 3 times in 7 days to study the fresh guides you have. And lastly, I am also usually pleased considering the incredible ideas served by you. Some 4 tips in this post are rather the best I have had.

  6. I’m just commenting to make you be aware of of the notable discovery my girl encountered reading your blog. She noticed many issues, most notably what it’s like to possess a wonderful giving nature to let other folks quite simply fully grasp specific extremely tough subject areas. You really surpassed people’s desires. Thank you for showing such great, dependable, edifying and in addition cool thoughts on your topic to Julie.

  7. Needed to create you the bit of observation to finally thank you so much again on the great tactics you’ve discussed on this website. It has been quite particularly open-handed of you to supply without restraint exactly what most of us would’ve sold as an e-book to generate some dough for themselves, particularly given that you could have done it if you wanted. Those concepts additionally acted to become a fantastic way to recognize that other people have similar dream really like my personal own to understand somewhat more when it comes to this matter. I am sure there are several more pleasurable times in the future for individuals who read your blog.

  8. My husband and i have been absolutely contented when Edward managed to complete his investigations through your ideas he was given when using the site. It’s not at all simplistic just to choose to be giving out steps some people could have been making money from. And now we acknowledge we’ve got the website owner to give thanks to for this. The main illustrations you have made, the easy site navigation, the friendships you can make it easier to instill – it’s got many wonderful, and it is helping our son in addition to us believe that that theme is enjoyable, which is exceptionally fundamental. Thanks for everything!

  9. I’m just writing to make you be aware of what a awesome discovery our girl obtained browsing yuor web blog. She figured out too many details, not to mention how it is like to have an amazing teaching mood to make other individuals effortlessly have an understanding of specific very confusing topics. You undoubtedly exceeded my expectations. Thanks for presenting such practical, dependable, educational and unique guidance on the topic to Emily.

  10. I’m so happy to read this. This is the kind of manual that needs to be given and not the accidental misinformation that is at the other blogs. Appreciate your sharing this greatest doc.

  11. I do accept as true with all of the ideas you have offered for your post. They are very convincing and can certainly work. Still, the posts are too brief for novices. Could you please prolong them a little from next time? Thank you for the post.

  12. you are actually a good webmaster. The website loading velocity is amazing. It seems that you are doing any distinctive trick. In addition, The contents are masterpiece. you’ve done a excellent process on this subject!

  13. I’m so happy to read this. This is the kind of manual that needs to be given and not the accidental misinformation that is at the other blogs. Appreciate your sharing this greatest doc.

  14. I keep listening to the news update speak about getting free online grant applications so I have been looking around for the best site to get one. Could you advise me please, where could i acquire some?

  15. Undeniably believe that which you said. Your favorite justification appeared to be on the net the easiest thing to be aware of. I say to you, I definitely get annoyed while people consider worries that they just don’t know about. You managed to hit the nail upon the top and also defined out the whole thing without having side effect , people could take a signal. Will probably be back to get more. Thanks

  16. Normally I do not learn post on blogs, however I wish to say that this write-up very forced me to take a look at and do so! Your writing style has been amazed me. Thanks, quite great article.

  17. Thanks a bunch for sharing this with all folks you really understand what you’re speaking about! Bookmarked. Please also talk over with my web site =). We may have a link change arrangement between us!

  18. I’m so happy to read this. This is the kind of manual that needs to be given and not the accidental misinformation that is at the other blogs. Appreciate your sharing this greatest doc.

  19. Good article and right to the point. I don’t know if this is really the best place to ask but do you folks have any thoughts on where to employ some professional writers? Thanks in advance šŸ™‚

  20. I will immediately snatch your rss as I can not find your e-mail subscription hyperlink or newsletter service. Do you’ve any? Please permit me recognise in order that I may just subscribe. Thanks.

  21. I simply wanted to say thanks again. I’m not certain the things I would’ve carried out in the absence of these points provided by you regarding such field. It was before a real daunting difficulty in my view, nevertheless considering the very skilled style you treated the issue took me to jump with fulfillment. Extremely grateful for the advice and then expect you comprehend what a great job that you’re putting in training the rest all through your site. Most likely you’ve never met all of us.

  22. I just could not go away your site before suggesting that I actually enjoyed the standard info a person supply in your guests? Is going to be back continuously to investigate cross-check new posts

  23. Hey, you used to write fantastic, but the last several posts have been kinda boringĀ”K I miss your tremendous writings. Past several posts are just a little out of track! come on!

  24. same day payday loans no credit checks [url=http://myloanusa.com/]i loved this[/url] In our current economy, many individuals require money rapidly. There is so much that goes into a monetary situation, and lots of people look to payday advance loan for assistance. If you’re consider this type of choice, keep reading this short article for handy suggestions regarding this subject. why not try this out

  25. Thank you for all your work on this site. Gloria enjoys carrying out investigation and it’s really easy to understand why. All of us hear all about the lively mode you convey vital things through this website and cause response from others about this point then our own child is without a doubt learning a lot. Enjoy the remaining portion of the new year. You’re the one carrying out a powerful job.

  26. I have to get across my admiration for your generosity supporting persons who really want assistance with the area. Your very own dedication to getting the message all over has been extraordinarily functional and has in every case enabled ladies like me to reach their endeavors. Your new helpful publication signifies a great deal to me and far more to my colleagues. With thanks; from each one of us.

  27. I have read some just right stuff here. Certainly value bookmarking for revisiting. I surprise how much attempt you place to make this type of excellent informative website.

  28. Normally I do not learn post on blogs, however I wish to say that this write-up very forced me to take a look at and do so! Your writing style has been amazed me. Thanks, quite great article.

  29. I have been surfing online more than 3 hours today, yet I never found any interesting article like yours. It is pretty worth enough for me. In my opinion, if all web owners and bloggers made good content as you did, the internet will be much more useful than ever before.

  30. I think this is one of the most important info for me. And i’m glad reading your article. But should remark on few general things, The website style is great, the articles is really excellent : D. Good job, cheers

  31. Thank you for any other wonderful post. The place else may anybody get that type of information in such an ideal way of writing? I’ve a presentation next week, and I am at the look for such info.

  32. I like what you guys are up also. Such clever work and reporting! Keep up the superb works guys IĀ”Ā¦ve incorporated you guys to my blogroll. I think it’ll improve the value of my web site šŸ™‚

  33. you are actually a good webmaster. The website loading velocity is amazing. It seems that you are doing any distinctive trick. In addition, The contents are masterpiece. you’ve done a excellent process on this subject!

  34. Wonderful paintings! This is the kind of info that are meant to be shared around the web. Shame on the search engines for no longer positioning this submit upper! Come on over and discuss with my website . Thank you =)

  35. Very good written information. It will be valuable to anybody who employess it, as well as yours truly :). Keep up the good work – for sure i will check out more posts.

  36. I want to express my appreciation to the writer just for bailing me out of this type of setting. After looking through the world wide web and getting views that were not beneficial, I assumed my entire life was well over. Existing without the presence of solutions to the difficulties you have solved all through your entire write-up is a crucial case, and ones that might have negatively damaged my entire career if I hadn’t come across your blog. Your own personal mastery and kindness in dealing with all areas was tremendous. I don’t know what I would’ve done if I had not discovered such a step like this. I can now look forward to my future. Thanks for your time very much for this reliable and results-oriented help. I will not hesitate to refer your web site to anyone who requires assistance about this issue.

Leave a Reply

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