FORUMS
Remove All Ads from XDA

[TEST] [ROOT] [Work-In-Progress] Disable DEFEX security on new Samsung devices

70 posts
Thanks Meter: 74
 
By AndroDef, Member on 7th October 2018, 11:17 PM
Post Reply Email Thread
IT IS NOT ALLOW TO SHARE ANYTHING FROM THIS THREAD WITHOUT MY PERMISSION (LINK TO THIS THREAD INSTEAD)
Thread will be updated continuously on each new Upgrade or new Device from Samsung.
Magisk / SuperSU patch defex test

Greetings for all,
In the explanation Here for new samsung security (Thanks for @defexer for that)

After some research i found an *EXACT* hex patch code to disable the defex security completely,
with using one hex code.

I rebuild Magisk from the source with injecting that hex patch code into boot patch process
and also added it to SuperSU patch script.

SAMSUNG Models that have the protection:
- Galaxy J6+ - 8.x.x - (SM-J610) - Temporarily solution
- Galaxy A9 2018 - 8.x.x - (SM-A920) - Tested
- Galaxy J7 2016 - 8.x.x - (SM-J710) - Tested
- Galaxy A7 2018 - 8.x.x - (SM-A750) - Tested
- Galaxy A9 Pro 2016 - 8.x.x - (SM-A910) - Tested
- Galaxy A8 / A8+ 2018 - 8.x.x - (SM-A530 / SM-A730) - Tested
- Galaxy J5 Prime - 8.x.x - (SM-G570) - Tested
- Galaxy J5 Pro - 8.x.x - (SM-J530) - Tested
- Galaxy J7 Core - 8.x.x - (SM-J701) - Tested
- Galaxy J7 Prime - 8.x.x - (SM-G610) - Tested
- Galaxy J7 Prime 2 - 8.x.x - (SM-G611) - Tested
- Galaxy J7 Pro - 8.x.x - (SM-J730) - Tested
- Galaxy Note 9 - 8.x.x - (SM-N960 - Base: RH & RI) - Tested

UPDATE: The patch was added to the official Magisk releases, Thanks for all testers
The Following 25 Users Say Thank You to AndroDef For This Useful Post: [ View ] Gift AndroDef Ad-Free
 
 
8th October 2018, 06:38 AM |#2  
Albe96's Avatar
Senior Member
Flag /home/albe96
Thanks Meter: 4,086
 
Donate to Me
More
Nice Idea To Patch Code Into Magisk!
8th October 2018, 12:02 PM |#3  
Junior Member
Thanks Meter: 2
 
More
DEFEX question and RMM
Quote:
Originally Posted by AndroDef

IT IS NOT ALLOW TO SHARE ANYTHING FROM THIS THREAD WITHOUT MY PERMISSION (LINK TO THIS THREAD INSTEAD)
Magisk / SuperSU patch defex test

Greetings for all,
In the explanation Here for new samsung security (Thanks for @defexer for that)

After some research i found an *EXACT* hex patch code to disable the defex security completely,
with using one hex code.

I rebuild Magisk from the source with injecting that hex patch code into boot patch process
and also added it to SuperSU patch script.

Waiting for any confirmation for the Not tested models.
Thanks in advance.

Hi Defexer,
In one reply to me you mentioned "... and disable the RMM state after it allows you to flashing custom binaries". I didn't understand what you meant. Could you pls explain? I am not very solid in flashing ROMs. So I need some help

OR

Now that you have done changes is that RMM part still necessary?

Hope hearing soon from you
Thanks
The Following 2 Users Say Thank You to meAlways For This Useful Post: [ View ] Gift meAlways Ad-Free
8th October 2018, 02:25 PM |#4  
OP Member
Flag Damascus
Thanks Meter: 74
 
Donate to Me
More
Quote:
Originally Posted by meAlways

Hi Defexer,
In one reply to me you mentioned "... and disable the RMM state after it allows you to flashing custom binaries". I didn't understand what you meant. Could you pls explain? I am not very solid in flashing ROMs. So I need some help

OR

Now that you have done changes is that RMM part still necessary?

Hope hearing soon from you
Thanks

First i'm not defexer.
The RMM state needs to be disabled in custom recovery after or before flash the root to avoid block again,
there is a RMM-Fix zip file on XDA flash it then remove this file
Code:
/system/bin/vaultkeeperd
The Following User Says Thank You to AndroDef For This Useful Post: [ View ] Gift AndroDef Ad-Free
9th October 2018, 05:42 AM |#5  
Junior Member
Thanks Meter: 3
 
More
Twrp have a problem with setting menu after install twrp with Odin Disintegrate setting menu plz rebuild magisk or su with .tar tnx
10th October 2018, 06:57 PM |#6  
OP Member
Flag Damascus
Thanks Meter: 74
 
Donate to Me
More
Quote:
Originally Posted by turkal111

Twrp have a problem with setting menu after install twrp with Odin Disintegrate setting menu plz rebuild magisk or su with .tar tnx

What is your device model ?
10th October 2018, 07:07 PM |#7  
dr.ketan's Avatar
Recognized Developer / Recognized Contributor
Flag Gujarat
Thanks Meter: 63,560
 
Donate to Me
More
@AndroDef
Perfect on N9 👍
10th October 2018, 07:10 PM |#8  
OP Member
Flag Damascus
Thanks Meter: 74
 
Donate to Me
More
Quote:
Originally Posted by dr.ketan

@AndroDef
Perfect on N9

Ok Thanks to test
10th October 2018, 07:13 PM |#9  
dr.ketan's Avatar
Recognized Developer / Recognized Contributor
Flag Gujarat
Thanks Meter: 63,560
 
Donate to Me
More
Quote:
Originally Posted by AndroDef

Ok Thanks to test

Is it fine to share on forum?
10th October 2018, 07:21 PM |#10  
OP Member
Flag Damascus
Thanks Meter: 74
 
Donate to Me
More
Quote:
Originally Posted by dr.ketan

Is it fine to share on forum?

Sure
The Following User Says Thank You to AndroDef For This Useful Post: [ View ] Gift AndroDef Ad-Free
10th October 2018, 07:57 PM |#11  
madmack's Avatar
Senior Member
Flag Boston, MA
Thanks Meter: 4,799
 
Donate to Me
More
Hey there guys. The URLs for Magisk aren't working in OP. Can you please share the love once more? or at least show us the github commit or hex patch you used.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes