VMware Workspace ONE Community
mjfiol1
Contributor
Contributor

How to uninstall old airwatch mdm from a device

Hi,

We are trying to enroll a device in our mdm with android enterprise and Intelligent Hub. This device was enroll with an old version of airwatch and we need to do a factory reset in order to install the new one. But in the recovery it's printed the error "MDM does not allow factory reset" even the device is erased from MDM. We don't know if problem is the airwatch app or the knox protections from samsung.

If we try to flash the ROM with Odin the device starts a not ending loop in the samsung initial screen.

Is there any other method to erase the old airwatch from the device in order to permit a factory reset?

Device is Samsung Galaxy tab active 2 with an official ROM SM-T395.

Thanks.

Labels (1)
0 Kudos
1 Reply
mjfiol1
Contributor
Contributor

Ok, we found the solution

Using ADB we can deactivate DeviceAdmin and disable the app and uninstall it.

These are the commands we have used:

adb pm list packages | grep airwatch
package:com.airwatch.androidagent
package:com.airwatch.admin.samsungelm

adb shell pm disable-user com.airwatch.androidagent
adb pm uninstall --user 0 com.airwatch.androidagent

adb shell pm disable-user com.airwatch.admin.samsungelm
adb pm uninstall --user 0 com.airwatch.admin.samsungelm

Now we can enroll our device to the new Intelligent hub for Android Enterprise.

Thanks.

0 Kudos