[Android General] bhilgeman:
Disclaimer: This is for testing purposes only. I do not condone breaking company policy, or breaking any laws. I am not responsible for you getting fired as a result of you making these modifications. You should always read and abide by company policies and any laws pertaining to such modifications. Use of this tutorial is at your own risk.

Preface: I have tested the new method on multiple devices and it has been flawless so far.

UPDATE: I have found a new method that so far has been flawless across multiple devices so far for me. With this new method you won't even have MobileIron installed when you're done! I have tested this on my Galaxy Nexus, My Nexus 7 and my Galaxy Note II and believe it should work regardless of device. Your company may have different security policies than mine so it's possible this may not work for you.

The easiest way to do this is with one of mskip's toolkits, but it can also be done manually with adb (must have the latest sdk).

Toolkit Method

0. Make sure you have MobileIron and Touchdown installed, configured and syncing. Your phone does NOT have to be rooted to do this.

1. Download mskip's Toolkit Here and install.

2. Make sure you have the adb drivers for your phone installed on your computer and android debugging is turned on in the developer settings on your phone.

3. Open the toolkit and connect your phone to your computer

4. It shouldn't matter what model phone you choose for the purpose of what we're doing, and the options may be slightly different based on which toolkit you download

5. Choose the option backup and restore your device

6. Choose backup all installed apps

7. Choose do NOT include system apps in the backup

8. Choose backup apk's AND respective app data

9. Choose do NOT back up internal storage data in backup

10. Wake your phone and it will ask you to start the backup, choose to do so

Once it is finished you will need to wipe your phone. It may work without wiping and just uninstalling touchdown and Mobileiron before proceeding to the next section, but I haven't tested this.

11. Connect your phone to your computer and enable android debugging

12. Browse to C:\Galaxy Nexus Toolkit (or whatever the name of your toolkit is under c:\)

13. Open the folder backups and rename the backup file to backup.bak. (if you don't see the file extension just name it backup)

14. Open the toolkit and choose a model

15. Choose Backup and Restore

16. Choose Restore apps from a backup file

17. type backup.bak and press enter

18. Wake your phone and choose to begin the restore

19. When it's finished, uninstall mobileiron, open touchdown and see if it's syncs!

ADB Method

adb backup -all -system -shared -apk

recovery> backup, wipe, flash rom, flash gapps, reboot

adb restore backup.ab

Requirements For ICS:

1. Rooted Android Phone running ICS based ROM

2. Titanium Backup (app installed)

3. Hide my Root (app installed)

4. Mobileiron (app installed but never run)

5. Touchdown (app installed but never run)

Instructions for ICS:

0. Make a Nandroid backup

1. Open Hide my Root

2. Choose hide SU binary

3. Press home

4. Menu, settings, apps, all apps

5. Choose Superuser.apk

6. Choose disable

7. Now open mobileiron and configure the settings per your company's instruction.

8. Set up your email in the Touchdown application and let it sync everything.

9. Open Hide my Root and choose restore SU Binary

10. Go back to menu, settings, apps, superser.apk and choose enable. (Its at the bottom when disabled)

11. Open Titanium Backup

12. Choose backup/restore from the top

13. Scroll to Mobileiron and tap it and choose freeze.

14. Profit

Now restore your nandroid backup before you get in trouble. :D

**Update** for Jelly Bean

It seems the builds out there for Jelly Bean use a new version of SuperUser that as of yet isn't compatible with Hide My Root. I wrote the developer of Hide My Root and he is looking into this but currently doesn't have a device running Jelly Bean to test on, so I took it upon myself to figure this out once again. I tested this and it does work. Again this was tested on a VZW Galaxy Nexus only.

Instructions for Jelly Bean:

0. Make a Nandroid backup!

1. Download MobileIron (App installed but never run)

2. Download Touchdown (or any apps that depend on MobileIron and do not launch them)

3. Download Titanium Backup (You may need the premium version to freeze apps)

4. Download SuperSU flashable zip from HERE and place on your SDcard.

5. From the app drawer launch SuperSU (that app already installed, not the zip you just downloaded)

7. Swipe 2 screens to the right to Settings

8. Choose Full unroot.

9. Install and configure MobileIron and dependent apps and let them fully sync.

10. Enable Airplane Mode

11. Reboot to recovery and flash the SuperSU zip you downloaded

12. Boot into Android, open Titanium Backup and freeze MobileIron

13. Turn off Airplane Mode

14. Profit

Now restore your nandroid backup before you get in trouble. :D

After a reboot all of the lockscreen options will reappear allowing you to have an insecure lockscreen.