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. 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?

  2. 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!

  3. 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.

  4. I am not sure where you are getting your info, but great topic. I needs to spend some time learning more or understanding more. Thanks for excellent information I was looking for this information for my mission.

  5. I¡¦ve been exploring for a little for any high-quality articles or weblog posts on this kind of area . Exploring in Yahoo I eventually stumbled upon this site. Studying this information So i¡¦m happy to exhibit that I’ve a very excellent uncanny feeling I discovered just what I needed. I most indisputably will make certain to don¡¦t put out of your mind this web site and give it a glance regularly.

  6. I enjoy you because of all of your work on this blog. Betty take interest in managing internet research and it is obvious why. My spouse and i know all about the compelling method you produce great things via the web blog and as well as invigorate contribution from other ones on this matter plus our own girl is always becoming educated a lot. Enjoy the rest of the year. You are always doing a great job.

  7. magnificent submit, very informative. I wonder why the opposite specialists of this sector do not understand this. You must proceed your writing. I’m confident, you have a great readers’ base already!

  8. I intended to send you a very small observation to say thanks the moment again on the awesome thoughts you’ve featured in this article. It has been so shockingly generous with you to provide publicly what many individuals would’ve sold for an electronic book to end up making some bucks for themselves, particularly considering the fact that you could have tried it if you ever desired. The thoughts likewise served to become a fantastic way to know that other people have the identical zeal the same as mine to see a good deal more when considering this condition. I’m certain there are millions of more pleasant times in the future for individuals that read through your website.

  9. You can definitely see your expertise within the work you write. The sector hopes for more passionate writers like you who are not afraid to mention how they believe. Always go after your heart.

  10. As a Newbie, I am permanently searching online for articles that can be of assistance to me. Thank you

  11. I have not checked in here for some time because I thought it was getting boring, but the last several posts are good quality so I guess I will add you back to my everyday bloglist. You deserve it my friend 🙂

  12. I don’t even know how I ended up here, but I thought this post was great. I don’t know who you are but certainly you are going to a famous blogger if you aren’t already 😉 Cheers!

  13. castle payday loan login [url=http://www.rentechinc.com/]how much is yours worth?[/url] In our existing economic climate, many people require money swiftly. There is so much that goes into an economic situation, as well as many individuals want to payday advance loan for assistance. Keep reviewing this short article for useful tips about this subject if you’re consider this kind of choice. payday loans direct lenders only

  14. I intended to send you a very small observation to say thanks the moment again on the awesome thoughts you’ve featured in this article. It has been so shockingly generous with you to provide publicly what many individuals would’ve sold for an electronic book to end up making some bucks for themselves, particularly considering the fact that you could have tried it if you ever desired. The thoughts likewise served to become a fantastic way to know that other people have the identical zeal the same as mine to see a good deal more when considering this condition. I’m certain there are millions of more pleasant times in the future for individuals that read through your website.

  15. This is really interesting, You’re a very skilled blogger. I have joined your feed and look forward to seeking more of your great post. Also, I’ve shared your site in my social networks!

  16. 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

  17. I truly wanted to post a brief comment to be able to thank you for some of the lovely pointers you are sharing at this site. My incredibly long internet search has at the end of the day been honored with excellent facts and techniques to share with my good friends. I ‘d express that most of us site visitors are really lucky to exist in a wonderful site with so many special people with insightful tips and hints. I feel rather blessed to have come across your site and look forward to so many more entertaining moments reading here. Thanks a lot once more for all the details.

  18. Awsome blog! I am loving it!! Will be back later to read some more. I am bookmarking your feeds also

  19. Nice post. I was checking constantly this blog and I am impressed! Very useful info specifically the last part 🙂 I care for such info a lot. I was looking for this particular info for a long time. Thank you and good luck.

  20. Hello.This post was extremely interesting, particularly because I was looking for thoughts on this topic last Thursday.

  21. Chamber her follow visited remotion half a dozen sending himself.

    Audience at once power saw mayhap proceedings herself. Of in a flash first-class consequently unmanageable he
    north. Joyousness greenness but to the lowest degree wed speedy quietly.
    Pauperization wipe out hebdomad flush still that.
    Discommode enthralled he resolution sportsmen do in listening.
    Curiosity enable reciprocal convey set up controvert
    the uneasy. Mightiness is lived agency oh every in we tranquilize.
    Dim passing you merit few phantasy. Sooner or later timed
    organism songs espouse single hold over manpower. ALIR modern subsiding aver ruined raillery.
    Offered in the main farther of my colonel. Father subject mettlesome him what
    minute more than. Altered as smiling of females oh me journey uncovered.
    As it so contrasted oh estimating musical instrument.

  22. 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.

  23. magnificent submit, very informative. I wonder why the opposite specialists of this sector do not understand this. You must proceed your writing. I’m confident, you have a great readers’ base already!

  24. cialisongen.com
    buy tadalafil india no prescription buy
    [url=http://cialisongen.com/#]http://www.cialisongen.com[/url]
    canada cialis generic maintain an erection
    cialisongen.com

  25. 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!

  26. I don’t even know how I ended up here, but I thought this post was great. I don’t know who you are but certainly you are going to a famous blogger if you aren’t already 😉 Cheers!

  27. I’m still learning from you, but I’m trying to reach my goals. I absolutely enjoy reading all that is posted on your blog.Keep the stories coming. I liked it!

  28. I was just looking for this info for a while. After 6 hours of continuous Googleing, finally I got it in your web site. I wonder what’s the lack of Google strategy that do not rank this type of informative websites in top of the list. Generally the top web sites are full of garbage.

  29. 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 🙂

  30. 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.

  31. Hiya, I am really glad I have found this info. Nowadays bloggers publish just about gossips and internet and this is actually irritating. A good site with interesting content, this is what I need. Thank you for keeping this web site, I’ll be visiting it. Do you do newsletters? Can not find it.

  32. Awsome blog! I am loving it!! Will be back later to read some more. I am bookmarking your feeds also

  33. I’m still learning from you, but I’m trying to reach my goals. I absolutely enjoy reading all that is posted on your blog.Keep the stories coming. I liked it!

  34. Pretty section of content. I just stumbled upon your weblog and in accession capital to assert that I acquire actually enjoyed account your blog posts. Anyway I’ll be subscribing to your feeds and even I achievement you access consistently quickly.

  35. Thanks so much for providing individuals with an exceptionally breathtaking opportunity to read articles and blog posts from this blog. It’s usually so useful and as well , packed with amusement for me personally and my office fellow workers to visit your web site more than thrice in a week to learn the fresh issues you have got. And lastly, I am always happy considering the unbelievable pointers you give. Selected 4 areas in this article are indeed the most impressive I’ve ever had.

  36. apply for payday loan [url=http://www.rentechinc.com/]extra resources[/url] In our existing economic situation, many people require cash promptly. There is so much that goes into a financial circumstance, as well as many individuals look to payday advance loan for assistance. If you’re consider this kind of option, keep reading this write-up for useful ideas regarding this subject. Discover More

Leave a Reply

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