How To Disable DEFEX Security To Root Samsung Galaxy Phones [Oreo]

Disable DEFEX Security To Root Samsung Galaxy Phones [Oreo]

If you are a Samsung Galaxy android phone user and it’s working on latest android Oreo Update then this post may help you to remove or bypass DEFEX security feature. Basically “DEFEX Security feature” is an advanced security feature to prevent Samsung devices from rooting and customization. In short, if you are involved in Rooting and have Oreo version based Samsung device then don’t skip this post. It’s must to know the impact of Samsung DEFEX Security feature and it’s solution.

As we all know many Smartphone brands like Xiaomi support the rooting and customization for modification but it’s not same for all companies like Samsung. Samsung don’t allow you to root any Samsung devices officially. Users can root Samsung mobiles easily without official support. But problem is that recently Samsung implemented a new security feature known as DEFEX that prevent you from rooting your Samsung Galaxy phones running on android Oreo version.

Good news is that till now this DEFEX Security feature is only available in android Oreo based Samsung Galaxy devices like Samsung Note 9, A8/A8+, J7 Pro, and J5 etc [Only latest Oreo]. So if you have any Oreo version based Samsung Galaxy device then read the post carefully and learn how to Disable DEFEX security to root Samsung galaxy phones?

On many forums, users reported that they are unable to root Samsung galaxy phones which are working on latest Oreo Update. Although, flashing Magisk/SuperSU would work, but the apps that required root permissions would fail rigorously.

In starting of September, a XDA user posted a thread explaining the cause to this problem and put Samsung’s new security feature ‘DEFEX’ at fault. According to that user, Samsung injected a latest DEFEX Security feature in some Galaxy devices to avoid rooting process. Samsung released the source code for Galaxy A8 2018, Galaxy Note 9 SM-N960F and SM-J701F but we can defeat the security with one simple patched file.

In simple word, you can root the device using regular SuperSu and Magisk root package but many root required app/apk may be not work for you. So continue next setp and learn how to remove DEFEX security on Samsung Galaxy Phones/devices before root?

PLEASE NOTE: Till now this DEFEX security feature already injected into following Samsung Galaxy devices. It’s must to know that DEFEX security is directly related with latest Oreo version only.

  • Galaxy A8 / A8+ 2018 – 8.x.x – (SM-A530F / SM-A730F) – Tested
  • Galaxy J7 Core – 8.x.x – (SM-J701F) – Not Tested
  • Galaxy Note 9 – 8.x.x – (SM-N960F – Base: RH & RI) – Tested
  • Galaxy J7 Pro – 8.x.x – (SM-J730*) – Tested
  • Galaxy J5 Pro – 8.x.x – (SM-J530*) – Not Tested

Guide To Disable DEFEX Security To Root Samsung Galaxy Phones [Oreo]

After getting this issue, many developers tried hard to ride on this problem and finally another XDA forum member AndroidDef came up with solution. Now we will show you the complete steps with all necessary screenshots. Simply follow the instructions as shown below and fix DEFEX security on Samsung Galaxy devices easily.

After their own research, the forum member found a HEX patch that when injected into the Magisk/SuperSU boot patching process disables the new security feature. Finally, he compiled the new modified root packages for the users to root any oreo Samsung phones to disable DEFEX Security.

Steps To Disable DEFEX security in Samsung Galaxy Phones

  • Make sure you have installed TWRP recovery on your Samsung device.
  • Now download Patched Magisk/SuperSU zip package: SuperSu & Magisk

SuperSU_2.82_SR5_for_defex .zip

Magisk_2018-10-08_for_defex .zip

  • Connect the device with pc and transfer the downloaded Superssu or magisk [Patched] to phone storage from above download section. [Use only one from SuperSu and Magisk file]
  • Next, boot Samsung device into TWRP recovery by using hardware keys.
Power Off > Press & Hold volume Up key + Home Key + Power key together at the same time
  • Once you are into TWRP menu, click on “Install” option, browse the “82_SR5_for_defex .zip” or “Magisk_2018-10-08_for_defex .zip” from phone storage and confirm to flash from next screen.

flash DEFEX

  • After flashing the “DEFEX” file, just go to “Reboot System” option and click on it to reboot the device into normal mode.
  • Done!!!

This is all about how to disable Samsung’s DEFEX security feature to get full root access on android Oreo mobiles? If your device is updated with latest OREO version then you may find this “DEFEX” security to prevent rooting on your own device.

Just try the regular rooting method but in case you are facing the same issue during the rooting, we suggest you to try patched SuperSu and Magsik file.

I hope this guide will help you to disable DEFEX feature on android OREO Samsung Galaxy devices.

Jagmohan Singh Negi

I am Jagmohan Singh Negi A Tech Enthusiastic Person. I always want to explore something new and experiment on Android Smartphones, here on i share solutions of Latest Android Bugs and Their Fixes, Latest Android launches, and How-to-Type Solutions for All Android Smartphones.

Leave a Reply

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