How to Integrate Enhanced Jailbreak and Root Detection Without Coding

Jailbreak and Root detection are advanced capabilities many application developers would like to implement. When running an app on a jailbroken/rooted device, the app is compromised and should protect itself better, or not allow it to run.

This Knowledge Base article provides extensive detail on how Appdome’s enhanced jailbreak and root detection functionality works.

Integrate Enhanced Jailbreak and Root Detection Without Coding

Building an app with Appdome’s Enhanced Jailbreak and Root Detection on Appdome will allow the app to detect if it was installed on a dangerous Jailbroken or Rooted device. If a rooted or jailbroken device was found, the application will send out a security event (as detailed in In-App Event Handler), if the app is not configured to handle the event, the app will exit after notifying the user.

Appdome secured apps are not susceptible to the Magisk root (and root hiding) rooting methods. Currently, among the most popular rooting methods are Magisk and MagiskHide. These include access to /sbin/su, and SELinux policy modifications. These methods are hard to detect with standard root detection protections. Appdome can detect if the device has been rooted in these methods.

Appdome is a mobile integration platform as a service (iPaaS) that allows users to add a wide variety of features, SDKs, and APIs to Android and iOS apps. Using a simple ‘click to add’ user interface. Appdome allows anyone to easily add Enhanced Jailbreak and Root Detection to any mobile app – instantly, no code or coding required.

Using Appdome, there are no development or coding prerequisites. For example, there is no Appdome SDK, libraries, or plug-ins to implement. Likewise, there is no requirement to implement advanced techniques or keep up with the latest known jailbreaks and how to detect them for developing Enhanced Jailbreak and Root Detection capabilities for Android or iOS apps. Using Appdome, mobile apps will have Enhanced Jailbreak and Root Detection capabilities as if they were natively coded into the app.

Prerequisites for Using Jailbreak and Root Detection

In order to use Appdome’s no code implementation of Jailbreak and Root Detection you’ll need:

How to Implement Enhanced Jailbreak and Root Detection Without Coding

Follow these step-by-step instructions to add Enhanced Jailbreak and Root Detection to Any Mobile App:

Upload a Mobile App to Your Account

Please follow these steps to add a mobile app to your Appdome account.
If you don’t have an Appdome account, click here to create an account.

Add Enhanced Jailbreak and Root Detection to a managed app

Select the Build Tab. Note: a blue underline will appear showing the step is active
Beneath the Build Tab, you will find several service options. Select ManagementNote: a blue highlight will appear showing the category is active.

  1. Click on the toggle to enable EMM Services
  2. Open the Service Selection Scheme drop-down list and choose your desired EMM service and configure it
  3. Open the Appdome Mobility Suite Scheme drop-down list
  4. For an Android app:
    1. Click the toggle next to Root Prevention by Appdome to enable the feature
    2. Click the toggle next to Detect SELinux Enforcement to enable the feature and treat non-SELinux enforced devices as rooted
    3. Customize the message given to the user when a rooted device is detected under App Compromise Notification
  5. For an iOS app:
    1. Click the toggle next to Jailbreak Prevention by Appdome to enable the feature
    2. Customize the message given to the user when a rooted device is detected under App Compromise Notification
  6. Click Build My App

Add Enhanced Jailbreak and Root Detection to a Non-Managed App

Select the Build Tab. Note: a blue underline will appear showing the step is active
Beneath the Build Tab, you will find several service options. Select SecurityNote: a blue highlight will appear showing the category is active.

  1. Open the OS Integrity Scheme drop-down list
  2. For an Android app:
    1. Click the toggle next to Root Prevention to enable the feature
    2. Click the toggle next to Detect SELinux Enforcement to enable the feature and treat non-SELinux enforced devices as rooted
    3. Customize the message given to the user when a rooted device is detected under App Compromise Notification
  3. For an iOS app:
    1. Click the toggle next to Jailbreak Prevention to enable the feature
    2. Customize the message given to the user when a rooted device is detected under App Compromise Notification
  4. Click Build My App

The technology behind Build My App has two major elements – (1) a microservice architecture filled with 1000s of code sets needed for mobile integrations, and (2) an adaptive code generation engine that can recognize the development environment, frameworks and methods in each app and match the app to the relevant code-sets needed. For example, Fusing allows the integration of EMM SDKs and Root/Jailbreak detection to the mobile app in seconds. Work that ordinarily a developer would need to do.

Congratulations! You now have a mobile app fully integrated with Enhanced Jailbreak and Root Detection.

After Adding Enhanced Jailbreak and Root Detection to a Mobile App on Appdome

After you have added Enhanced Jailbreak and Root Detection to any Mobile App on Appdome, there are a few additional steps needed to complete your mobile integration project.

Add Context™ to the Appdome Built App

Appdome full-featured mobile integration platform. Within Context™, Appdome users can brand the app, including adding a favicon to denote the new service added to the app.
For more information on the range of options available in Context™, please read this knowledge base article.

Sign the Jailbreak and Root Detecting Appdome Built App (Required)

In order to deploy an Appdome Built app, it must be signed. Signing iOS apps and Signing Android apps are easy using Appdome. Alternatively, you can use Private Signing, download your unsigned app and sign locally using your own signing methods.

Deploy the Appdome Built App to a Mobile Device

Once you have signed your Appdome Built app, you can download to deploy it using your distribution method of choice. For more information on deploying your Appdome Built apps, please read this knowledge base.

That is it – Enjoy  Appdome’s Jailbreak and Root detection in your app!

How Do I Learn More?

Check out Appdome for SSO+ blog or request a demo at any time. 

If you have any questions, please send them our way at support@appdome.com or via the chat window on the Appdome platform.

Thank you!

Thanks for visiting Appdome! Our mission is to make mobile integration easy. We hope we’re living up to the mission with your project. If you don’t already have an account, you can sign up for free.  

Paul Levasseur

Have a question?

Ask an expert