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. “Merely wanna admit that this is handy , Thanks for taking your time to write this.”

  2. quem é melhor viagra tadalafil ou levitra
    cialis 20mg
    tadalafil veikimo laikas
    [url=http://cialisle.com/]cialisle.com[/url]

  3. Thank you for all your valuable effort on this blog. My mother enjoys doing internet research and it’s really obvious why. A lot of people hear all regarding the dynamic means you make good guidance via this blog and improve participation from the others on that article and our favorite child has been becoming educated a lot of things. Take advantage of the rest of the year. You are always doing a superb job.

  4. I must show thanks to you just for rescuing me from such a issue. Because of checking throughout the search engines and meeting ways which are not productive, I believed my entire life was done. Existing without the answers to the problems you have fixed through your entire guideline is a crucial case, as well as the kind that would have in a wrong way damaged my entire career if I had not encountered your web blog. Your main competence and kindness in dealing with the whole thing was very helpful. I don’t know what I would’ve done if I hadn’t discovered such a point like this. I can also at this point look ahead to my future. Thank you very much for the skilled and amazing guide. I will not be reluctant to endorse your blog post to any person who wants and needs tips on this subject.

  5. robber fed sildenafil for three days
    sildenafil
    how long before you should take sildenafil
    [url=http://viagrabs.com/]buy sildenafil[/url]

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

  7. Thank you so much for giving everyone an extraordinarily special opportunity to read critical reviews from this site. It’s always very enjoyable and jam-packed with amusement for me and my office colleagues to search your web site a minimum of thrice in a week to see the newest tips you have. And definitely, we are at all times amazed with all the wonderful tactics you give. Selected 1 areas in this post are particularly the finest we have all had.

  8. I as well as my guys were actually digesting the good ideas from your web site then at once I had a terrible feeling I never expressed respect to you for those secrets. The men ended up for that reason warmed to read them and have really been enjoying them. Appreciation for actually being quite kind as well as for making a decision on certain amazing subject matter most people are really wanting to be informed on. My sincere regret for not expressing gratitude to you earlier.

  9. Wonderful site. Lots of useful info here. I’m sending it to several pals ans additionally sharing in delicious. And obviously, thanks to your sweat!

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

  11. Howdy very cool site!! Man .. Excellent .. Wonderful .. I’ll bookmark your web site and take the feeds also¡KI am glad to search out numerous useful info here within the post, we want work out extra strategies on this regard, thanks for sharing. . . . . .

  12. Good ¡V I should certainly pronounce, impressed with your website. I had no trouble navigating through all the tabs as well as related information ended up being truly simple to do to access. I recently found what I hoped for before you know it in the least. Quite unusual. Is likely to appreciate it for those who add forums or anything, website theme . a tones way for your customer to communicate. Excellent task..

  13. Hi there, I found your site via Google at the same time as looking for a similar subject, your site came up, it appears great. I have bookmarked it in my google bookmarks.

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

  15. Thanks , I have recently been searching for info about this topic for ages and yours is the best I’ve found out till now. But, what concerning the bottom line? Are you sure about the source?

  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 loved as much as you’ll receive carried out right here. The sketch is tasteful, your authored material stylish. nonetheless, you command get bought an impatience over that you wish be delivering the following. unwell unquestionably come more formerly again since exactly the same nearly very often inside case you shield this increase.

  18. I and my guys were found to be looking at the excellent information and facts located on your web page and the sudden came up with a horrible feeling I had not expressed respect to the blog owner for them. All the guys became consequently happy to see them and have now quite simply been taking advantage of those things. We appreciate you simply being well accommodating and also for opting for some decent subject matter millions of individuals are really eager to be informed on. Our own honest regret for not saying thanks to sooner.

  19. what happens to a girl when she takes sildenafil
    viagra generico online
    off the shelf sildenafil alternatives
    [url=http://viagrarow.com]generic viagra[/url]

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

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

  22. Definitely, what a splendid blog and illuminating posts, I surely will bookmark your site.All the Best!

  23. Hi, Neat post. There is an issue with your website in web explorer, would test this¡K IE still is the market chief and a huge element of folks will pass over your great writing due to this problem.

  24. Wow! Thank you! I constantly wanted to write on my site something like that. Can I take a portion of your post to my website?

  25. I have been absent for a while, but now I remember why I used to love this web site. Thank you, I will try and check back more often. How frequently you update your web site?

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

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

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

  29. is sildenafil over the counter in the usa
    viagra generico in farmacia
    off the shelf sildenafil uk
    [url=http://viagrarow.com]viagra online prescription[/url]

  30. a payday loan [url=http://www.rentechinc.com/]Payday Loans[/url] In our existing economic situation, many people need cash money quickly. There is a lot that goes into a monetary circumstance, and lots of people want to payday advance for support. If you’re consider this sort of alternative, maintain reading this article for useful suggestions about this subject. payday loans

  31. Needed to compose you the very little observation in order to say thank you as before about the lovely suggestions you’ve discussed on this site. It is wonderfully generous with people like you to provide easily all a number of people could possibly have supplied for an electronic book to help make some cash for themselves, even more so seeing that you might well have tried it if you ever desired. Those pointers additionally served to be the fantastic way to recognize that other people online have similar eagerness like mine to realize a great deal more when it comes to this issue. I’m certain there are many more enjoyable instances in the future for individuals who browse through your site.

Leave a Reply

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