• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[08.01.19][Guide] ROOT S9+(Exynos)Magisk + OEM fix + EFS Backup Tool

Search This thread

Clayman_32

Senior Member
Sep 24, 2015
76
18
Samsung Galaxy S9
You could try deleting all accounts on your phone ie: google etc then reboot phone and check accounts are deleted.
You can check in download mode the status of frp lock ( should be off )
I try all of that and no luck, the problem is Family link, in phone that is under monitoring the app switch OEM unlocking to off and this lead to FRP lock error. For now I reflashed the original firmware in phone because I need Family link.
 

strikez

New member
Oct 20, 2018
1
0
Can anyone write solution step by step for android 10 for s9+ exynos? and what kind of benefits give me 1 and 2 method ? im out of date heh.
 

sosimple

Senior Member
Aug 20, 2017
2,174
27
47
Greece
www.youtube.com
Two methods. Both require oem unlocked, kg status is in checking state ( and FRP turn off ).

1. Using Magisk app patch the boot.img file ( or AP file ) then flash (all) files in odin. ( Device is still encrypted )
2 Flash TWRP then Magisk and Disable_Dm-Verity_ForceEncrypt. ( Device is un-encrypted )
Hi to all. Has anything changed in 2021?
-Twrp 3.4.0, I read somewhere only this version work?
- Disable_Dm-Verity_ForceEncrypt is this file for s9+, Android 10?

Is there anything else we should flash, any other file? (exept magisk).

Thanks,
 

spawnlives

Senior Member
Jan 27, 2018
1,114
417
Samsung Galaxy S8
Samsung Galaxy S9
Hi to all. Has anything changed in 2021?
-Twrp 3.4.0, I read somewhere only this version work?
- Disable_Dm-Verity_ForceEncrypt is this file for s9+, Android 10?

Is there anything else we should flash, any other file? (exept magisk).

Thanks,
No
If your on later version of android 9 and 10 then the use of RMM bypass zip is not necessary.
Install twrp - latest version works fine for me. If needed you can change version within twrp or odin.
Optional - magisk - magisk can be installed at any time.
Install no-verity zip - may have to add quota to the file name.
The old guides are still relavent wnen installing twrp but the files needed may have changed or upgraded.
 
Last edited:
  • Like
Reactions: sosimple

chestervn

Member
May 31, 2021
8
0
Hello there, I've done GG search and quite confused with this part, hopefully got clarified.
I rooted my S9 with Magisk using Odin. I'm happy with my phone now, and I want to do a Backup, so if something happens, I could return to the current stage of the phone. My question is:
(1) I can do a full backup? Meaning to say, i can backup the current rom with everything in it. All I need to do is to restore, then everything is back to this current stage?
Or, (2) I can only backup Apps and Data. I would need to restart the rooting process, install Magisk and then restore my apps and data later?
thank you so much,
 

ElbekHoqir

New member
Nov 4, 2021
1
0
He
Hello there, I've done GG search and quite confused with this part, hopefully got clarified.
I rooted my S9 with Magisk using Odin. I'm happy with my phone now, and I want to do a Backup, so if something happens, I could return to the current stage of the phone. My question is:
(1) I can do a full backup? Meaning to say, i can backup the current rom with everything in it. All I need to do is to restore, then everything is back to this current stage?
Or, (2) I can only backup Apps and Data. I would need to restart the rooting process, install Magisk and then restore my apps and data later?
thank you so much,
Hello bro I am gettin only official released binaries are allowed to flash messgae while trying to flash twrp
 

tommy_der

Member
Dec 4, 2021
7
1
No
If your on later version of android 9 and 10 then the use of RMM bypass zip is not necessary.
Install twrp - latest version works fine for me. If needed you can change version within twrp or odin.
Optional - magisk - magisk can be installed at any time.
Install no-verity zip - may have to add quota to the file name.
The old guides are still relavent wnen installing twrp but the files needed may have changed or upgraded.
Hello
I found this thread because I was looking for a GalaxyPhone that can still be rooted relatively easily.
Subsequently, I bought a refurbished S9+ DUOS. Unfortunately, this already has AndroidQ.
Can I simply reset the Android version by flashing a stock Oreo or Pie?
Is this variant for rooting still current and runs the phone stable with it?
It should be installed a /e/OS, does anyone of you have experience with this?

Thank you and many greetings
Tommy
 
  • Like
Reactions: mgzavala

spawnlives

Senior Member
Jan 27, 2018
1,114
417
Samsung Galaxy S8
Samsung Galaxy S9
Hello
I found this thread because I was looking for a GalaxyPhone that can still be rooted relatively easily.
Subsequently, I bought a refurbished S9+ DUOS. Unfortunately, this already has AndroidQ.
Can I simply reset the Android version by flashing a stock Oreo or Pie?
Is this variant for rooting still current and runs the phone stable with it?
It should be installed a /e/OS, does anyone of you have experience with this?

Thank you and many greetings
Tommy
Can not downgrade versions due to binary ( bootloader ) version numbers.
Same method to root/twrp your phone as previous methods.
Custom ROMs check In relevant guides. At the moment on my S9 running lineage 18.1 ( A11 )
 

tommy_der

Member
Dec 4, 2021
7
1
Hi and thank you.

Can not downgrade versions due to binary ( bootloader ) version numbers.
Same method to root/twrp your phone as previous methods.

Summarized for me once again:
I flash TWRP via Odin, then in recovery Magisk and /e/ OS.
Then I take this file: "Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip" and rename it to: "Disable_Dm-Verity_ForceEncrypt_quota.zip" and flash it last.
Is this correct?
If I flash anything in the following time, e.g. an update of the OS, I always flash at the end the "Disable_Dm-Verity_ForceEncrypt_quota.zip"?

Thanks and bye, Tommy.
 

spawnlives

Senior Member
Jan 27, 2018
1,114
417
Samsung Galaxy S8
Samsung Galaxy S9
Hi and thank you.



Summarized for me once again:
I flash TWRP via Odin, then in recovery Magisk and /e/ OS.
Then I take this file: "Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip" and rename it to: "Disable_Dm-Verity_ForceEncrypt_quota.zip" and flash it last.
Is this correct?
If I flash anything in the following time, e.g. an update of the OS, I always flash at the end the "Disable_Dm-Verity_ForceEncrypt_quota.zip"?

Thanks and bye, Tommy.
Basically yes. See your relevant guide for installation.
I would install you OS first then magisk
No-verity zip needs to be install once unless you flash stock ROM again and start all over again.
 
  • Like
Reactions: tommy_der

tommy_der

Member
Dec 4, 2021
7
1
I read in this thread that TWRP can no longer be installed from a security patch level of 01.05.2021 onwards. My S9+ has a security patch level of 01.08.2021 :-(
So root is completely prevented, or am I seeing this wrong?
Thanks and by, Tommy.
 

spawnlives

Senior Member
Jan 27, 2018
1,114
417
Samsung Galaxy S8
Samsung Galaxy S9
I read in this thread that TWRP can no longer be installed from a security patch level of 01.05.2021 onwards. My S9+ has a security patch level of 01.08.2021 :-(
So root is completely prevented, or am I seeing this wrong?
Thanks and by, Tommy.
You can still modify your phone on the latest firmware ( depending on model number ).
The ability to unlock bootloader and have kg state ( and/or RMM state ) in checking ( normal ) mode is not firmware versions related.
Updating firmware means due to binary ( bootloader ) versions you can not downgrade to previous version. You can only flash the same or higher.
 
Last edited:

tommy_der

Member
Dec 4, 2021
7
1
Hello, my last rooted phone was a Galaxy S7 and that was comparatively easy.It has worked since 2016 and I haven't bothered with these things any further. Now that it's broken, I'm forced to root a new one and I'm starting to not understand the connections anymore (maybe it's my bad English, I'm a German native speaker).
In post 952 you wrote that a downgrade is not possible.
What do I have to check to see if it is possible? And with which firmware is it possible (I'm assuming Stock, right?).
Maybe you can give me a few more hints?
Thank you and regards, Tommy.
 

spawnlives

Senior Member
Jan 27, 2018
1,114
417
Samsung Galaxy S8
Samsung Galaxy S9
Under standing your firmware name. This is for another model but is the same for your model. Refers to samsung stock rom only.


As i have said i'm using lastest version on my S9 - G960FXXSHFUJ2 ( Android Q }. Bootloader vesrion is 5th letter/number from right of firmware name. Mine if F ( bootloader version 15 }. I can not downgrade my version to bootloader version to 14 or below only 15 or higher.

On my S9 at the moment i am running Lineage 18.1 ( android 11 ) on my phone.
See this post for conditions to modify phone


Also make sure FRP ( factory reset protection ) is OFF

Note on later version of android 9 and 10 ( Q ) you don't need to use the RMM bypass zip. Only have to worry about KG status.
 
Last edited:

mgzavala

Member
Jun 18, 2017
15
0
Hi, I have a Galaxy S9 SM-G960F, UK version, I was wondering if I can use this method to root the phone while it's in reset mode with frp lock. I've been trying different methods to bypass frp lock with no luck. I found a video saying that if I flash a different rom I can bypass frp using method on the video. Haven't been able to flash another stock rom so I was hoping that maybe if I root the phone it will let me flash a rom that will let me bypass frp.
 

tommy_der

Member
Dec 4, 2021
7
1
Hi, me again. The baseband version of my phone is the G965FXXUGFUG4.
If I can set the OEM unlock on the phone tomorrow, after the 7 day period is over I have to check afterwards in download mode if FRP = OFF and no other status is PRENORMAL. If that fits, I can flash TWRP via Odin. If not, I can try to install a newer software version, then have to wait 7 days to try again.
Is this correct?

Note on later version of android 9 and 10 ( Q ) you don't need to use the RMM bypass zip. Only have to worry about KG status.
How can I manipulate the KG status?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 51
    Here is script for Root + OEM Fix for S9+

    READ THIS BEFORE ROOTING DEVICE

    - Any of below said method to root will trip knox and void warranty forever.
    - Root process needs wipe data so make backup of important data (including Internal Device storage) before proceed.
    - As of now you will lose Samsung Pay and Secure folder forever if you root once, even unrooting won't help. (hope in future we can get it working on tripped knox device). Also you may not able to run some banking apps, but for that there are some workaround like Magisk Hide or SU hide, google it.
    - OTA likely won't work once you root device.
    - To unroot device completely, simply flash Samsung stock firmware, Remember, Unrooting won't revokes warranty nor you will be able to use Secure folder/Samsung Pay. Once rooted, these feature gone for you unless some magic happen in future and may find a way to use it.

    What is OEM fix?
    Since Note8 samsung have introduced OEM unlock control remotely and flashing any custom binary removes OEM unlock option and rebooting in this state it ends with custom binary error and have to flash stock firmware. OEM patch will retain OEM unlock option in spite of having custom recovery. If you are not sure your device have OEM issue then there is nothing wrong to use 'OEM patch' option.

    If you don't have OEM unlock option out of box then it may appear after 7 days, before this nothing can be done. Also this suggest, you have OEM affected device.

    How to Root device

    1.Enable Developer Option (settings - about phone - Software information - Tap 7 times on build number to activate developer option in settings menu)
    2.Enable OEM Unlock from developer option (Currently no workaround for those who doesn't have this option)
    3.Download and copy G96*_Root_for_OEM_issue_devices_V*.zip to Ext SD card (There is different files for Oreo & Pie according device)
    4.Download TWRP for S9+
    5.Switch Off device
    6.Press Vol down + Bixby + Power to reboot to download mode, press volume up when asked to continue to download mode
    7.Download Odin and open it, Disable 'Auto reboot' from option menu of Odin
    8.Select TWRP (tar image) with AP tab of Odin and Start
    9.Once Successfully flashed, you will see 'Passed' in Odin tab
    10.Disconnect device and hold Vol down + power till screen goes off, Now immediately press Vol Up + Bixby + Power to reboot to TWRP
    11.Select to allow modification
    12.From TWRP, Select WIPE menu - Then FORMAT DATA - You need to type 'yes' to perform wipe. WARNING : This will erase all data including Int SD storage from device
    13.Once format device completes, go back and select REBOOT' Menu and then - 'RECOVERY', This will reboot to TWRP again

    14A (If you are ion Pie).
    Now select Install and navigate path to Ext SD card - N965F_root_OEM_issue_devices.zip, you have copied earlier, select desired root method and select 'OEM Patch' option if your device have OEM issue. If you are not sure about this then better select 'OEM Patch', this will prevent losing OEM unlock option and so prevent 'custom binary error'
    OR
    14B (If you are on Q)

    Flash Latest magisk & then DM-VERITY, FORCED ENCRYPTION, AND DISC QUOTA DISABLER


    15.Once flash successfully finish, Reboot to System


    Important Note for Pie OS -
    1.You may find OEM option disabled after root by above method, Even if you enable and reboot, again it will be disabled. This is because of kernel is patched while rooting device to prevent binary errors. So ignore this OEM status as it is.
    2.Magisk app may not be there in drawer. Simply Download Magisk app for Pie attached here and Install as regular apk.


    Root device with Q

    Flash Latest magisk & then DM-VERITY, FORCED ENCRYPTION, AND DISC QUOTA DISABLER







    Credits and Thanks goes to BlackMesa123 for this post for OEM patch script. tkkg1994 for pre patched dm-variety stock kernel


    IMPORTANT :
    1.Magisk may appear after one reboot
    2.When you select OEM Patch + Root method in aroma, YOU DON'T NEED TO FLASH ANY EXTRA ZIP like dm-verity or RMM fix etc This tool have evrything in one go.





    Update (8Jan19)
    - Added support for S9+ Pie with Kernel patching for OEM Fix


    Update (25Oct18)
    Separate fies for S9 & S9+
    Kernel level patch for OEM Issue
    No more flashing kernel

    Update (05Aug18) :
    Script updated to V5
    Added support to root with magisk ,
    Update 24Sept18
    Fixed possible issue with RMM
    Magisk updated to 17.2
    Removed SuperSu support
    Universal with Note9



    EFS Backup

    Here Note 8 EFS backup tool is fully compatible with S9+





    6
    Nice.. you bringing a custom rom to S9+?
    Not decided yet. Never bought S series device since Note1. If I will buy S9+ then surely start development
    6
    V5 for Pie added
    ChangeLog :
    - Added support for S9+ (G965) PIE
    - Updated Magisk to latest stable V18
    - No more option for 'No root' as it won't serve any purpose and wrongly selected case it will cause bootloop.
    5
    Yes the zip above works.

    As for root - a version of Magisk 16.3 also works. I do not have the zip, as I flashed Soldier's ROM that has it as an Aroma option. Also that rom, like the DevBase, lock the 3 troubling Samsung s__t also.

    I ended up installing Soldier's excellent stock+ ROM in the end.

    I appear to have been very lucky with my particular S9+. Installing it has been much easier than anticipated, given the reading I had done prior to the device's arrival 2 days ago.

    OEM Unlock was available as soon as I enabled Developer Options after unpacking the device and turning it on. I toggled it, accepted the factory reset, and when I booted into download mode, both OEM Lock and FRP Lock were off, and there was no mention of RMM. (I've noted this before, but I'm just recapping, because I can finish the whole installation story now).

    I then installed TWRP according to the procedure outlined in the device's TWRP thread, i.e. including the no DM verity/no encryption patch.

    Then, I spent a full day researching which root method to use, because there's currently a lot of contradictory information circulating regarding which methods work and which don't. For every possible combination of phone state + stock/custom firmware + stock/custom kernel + various ZIP files to be flashed to aid rooting, there are people who claim that this particular combination worked for them, and others who say that it didn't, and in many cases landed them (back) in frustrating 7 day lock status. Usually, rooting is quite trivial, but there are a million variables in the case of the S9+.

    I usually run stock ROMs on my Samsung devices, rooted with SuperSU, but there were just too many reports of SuperSU behaving very erratically. In addition, SuperSU development has stagnated since Chainfire retired from the project, so I was already pondering the wisdom of continuing to use it.

    In the end, Soldier's ROM seemed like the simplest solution. It's very close to stock, but has all of the anti-Samsung sanity preservation patches built in. I went with the custom kernel installation option, and rooted with Magisk this time instead of SuperSU.

    The device is now working like a charm. TWRP + root (inc. passing SafetyNet) + no waiting for OEM Unlock to appear. I can't believe the misery I've been spared, compared to some others.

    It's taken me 2 days to root it, because I've ploughed through close to 100 pages of XDA threads today. If I hadn't had to do that, I could have been rooted within an hour of opening the box.

    I just don't understand why there is so much variation in how these devices behave out of the box. Some people have OEM Lock straight away, but others must wait a week. Some people can toggle the setting without a factory reset, but others can't. Some people who perform that reset are then faced with prenormal RMM status, while others aren't.

    One thing that might be significant in my case is that I never logged into a single account on the phone until the device was running Soldier's ROM and fully rooted. Nor did I install a SIM card in the device. In fact, it has still never had a SIM card in the tray even now. I'll move my SIM card over from my S8+ tomorrow, once I've got the phone fully configured and all of my apps restored from back-up.

    Anyway, I just wanted to share a concrete story of how painless the installation of this particular device can be. I just hope that mine doesn't now start to exhibit random weirdness in the coming days.
    4
    No mean to hurry but is there any ETA ?

    I uploaded V4 now which have option to flash RMM stat patched kernel for S9+ user
    Any S9+ users want to try this option, Download V4 (Link in OP) From TWRP flash V4 - select OEM patch + Select Patched kernel for S9+ + select magisk (must else device won't boot)

    Here some confusion there as there may not be OEM available because of kernel patch but should be safe to reboot. (No guarantee!)