Dirty COW is a computer security vulnerability that affected all Linux-based operating systems, including Android devices, that used older versions of the Linux kernel created before 2018. If you have an Android device with a version up to 7 (in case it does not have a security patch installed), you can try to root your device using the Dirty cow exploit.
MOBILedit Forensic automatically detects what phones can be rooted so if your device does not show in this category then it cannot be exploited.
When selected Security Bypassing > Generic profile > Root using Dirty COW will be visible as the device will be detected later.
Dirty COW is a temporary root and will be gone once you will restart your device.
On the main screen, select “Security bypassing”.
Choose security bypassing approach.
Select the exact device model from the list and choose “Root using Dirty COW”. Follow on-screen instructions. If the device is not listed, try another approach.
On the home page click on "Security bypassing” and select "Generic profile".
2. Select “Root using Dirty COW”, click “Next” and follow on-screen instructions.