Remove All Ads from XDA

How to | Galaxy S9 (SM-G960F & F/DS) Root Android PIE

15 posts
Thanks Meter: 5
By xXSWagnemitEXx, Junior Member on 25th January 2019, 07:55 AM
Post Reply Email Thread
16th April 2019, 05:12 PM |#31  
Junior Member
Thanks Meter: 0
Originally Posted by menhammer


necessary files needed:
TWRP recovery for your Galaxy S9/S9+
ODIN program for Windows
Dr. Ketan OEM Issue Zip file

In this tutorial I will be showing you how to root the Samsung Galaxy S9/S9 Plus on latest Android 9.0 Pie firmware.

Step 1. Check Settings->About phone and check the model number of your Galaxy S9 or S9 Plus, it should be one of the listed below:

Galaxy S9 – SM-G960F, SM-G960F/DS, Korean SM-G960N, Chinese Qualcomm SM-G9600

Galaxy S9 Plus – SM-G965F, SM-G965F/DS, Korean SM-G965N, SM-G9650 Qualcomm

NOTE: U.S. models or any Qualcomm models ending in “U” cannot be rooted using this method as the bootloader is locked. My best suggestion is to sell it and buy an international model that has unlocked bootloader, any of model numbers above will work.

NOTE 2: For Chinese Qualcomm models SM-G9600 or SM-G9650, you can follow this tutorial step-by-step only thing different is the version of TWRP recovery, which is NOT provided in this tutorial(but simple Googling should help you find it).

Step 2. Tap on “Software information” and check that you have Android version “9”. Then also tap on the “Build number” about 5 times until you have enabled developer options.

Step 3. Tap the back button TWICE and scroll to the bottom of the menus, you should see a new menu option called “Developer options”. Tap on that.

Step 4. If it has been at least 7-days since you bought your Galaxy S9 or S9 Plus, you should see an option for “OEM unlocking”. If you can turn it on without wiping data, go ahead and do it. If it asks you to do a factory reset, make sure to read the instructions below and also watch my video tutorial that explains step-by-step.

IMPORTANT: If your Galaxy S9 or S9 Plus wants to do a factory reset, you can do it but DO NOT LET IT REBOOT! Then you won’t be able to flash TWRP recovery and wait 7-days MORE! This just happened to me on my new S9 so I have to wait 7-days AGAIN. How to fix? When your phone reboots after selecting factory reset, IMMEDIATELY HOLD DOWN Volume Down, Bixby, and Power buttons for about 5 seconds until you see a warning screen. Again, if you miss this new crucial step on phones that ask the user for factory reset, YOU WILL HAVE TO WAIT 7 MORE DAYS!

Step 5. Hold down Volume Down, Bixby, and Power button together for about 15 seconds until your phone resets into ODIN warning mode like shown below.

Step 6. Hit the Volume Up button then connect a USB cable from your phone to a Windows computer. (Samsung ODIN software only supports Windows so if you don’t have a Windows computer, just go borrow your friends for a few hours.)

Step 7. Download the necessary files needed:

Unzip the ODIN zip file into a folder and keep the reset of files in zip format.

Step 8. Run the ODIN program(after unzipping). If you see a random COM number highlighted in sky blue color like shown above, you already have drivers installed. If not(most people), run the Samsung USB driver program you downloaded earlier and it should install the drivers for you. Once installed, you should see it. If not, try unplugging/re-plugging your USB cable.

Next choose “AP” then choose the TWRP img.tar file you downloaded for your Galaxy S9 or S9+. Before hitting start button, read below!!!

IMPORTANT: As soon as you hit Start, it only takes 5 seconds for the ODIN program to finish flashing TWRP recovery on your Galaxy S9 or S9 Plus. As soon as your phone reboots(screen goes blank), YOU NEED TO HOLD DOWN VOLUME DOWN, BIXBY, AND POWER BUTTONS TOGETHER! If you mess up this step, YOU WILL HAVE TO REINSTALL STOCK FIRMWARE(unroot) AND HAVE TO WAIT 7 DAYS. If this is your first time, please watch the video tutorial and master the buttons before attempting!!!

Step 9. If you have successfully flashed TWRP and rebooted into TWRP, you should see a screen like above, tap on “Keep Read Only”.

Step 10. Grab some bepis and pat yourself on the back as you just finished the hardest part of the root. This is because Samsung has implemented new security measures where if the phone reboots into system, it won’t let you install TWRP recovery. We can bypass this simply by not letting the phone reboot into system rather into TWRP recovery like we did in Step 8.

Next we will wipe the device completely so tap on “Wipe”.

Step 11. Choose “Format Data” and type “yes” to wipe EVERYTHING on your Galaxy S9 or S9 Plus. This is required to wipe the device and also get rid of system encryption in order to root your Galaxy S9 or S9 Plus properly.

Step 12. IMPORTANT, go back to the home menu, choose “Reboot” menu then choose “Recovery” to reboot TWRP. This is VERY MUY IMPORTANTE because again if you reboot normally, you will have to re-install stock firmware and wait 7 days.

Step 13. Once rebooted into TWRP, choose “Keep Read Only” also.

Step 14. Connect your Galaxy S9 or S9 Plus to your computer and copy over the OEM Issue Devices ZIP file to your phone.

Step 15. Use the Install menu to install the OEM Issue ZIP file. For AROMA isntaller, choose ROM installer and make sure to check on “Patch for OEM issue”!!! Once installed, reboot system(finally!).

Step 16. You should see welcome screen, sign in.

Step 17. If you don’t see Magisk Manager app in the app drawer, download Magisk Manager APK on your phone and install it.

Step 18. If you see “Magisk is not installed”, re-install OEM Issue Devices ZIP file by re-booting into TWRP. If you don’t know how to do this, watch 11:25 of the video tutorial that shows you how step-by-step. If you see no errors like that skip to Step 19.

Step 19. If you see “update available” DO NOT INSTALL THE UPDATE! ONLY UPDATE Magisk Manager app(the one below it) as the Magisk used for rooting on Galaxy S9 or S9+ is different from official Magisk and it may brick your phone! But if you got to this point, you are fully rooted!

Step 20. Verify you have 100% full root by running any rooted apps such as Titanium Backup app on the Play Store and you should see a Superuser request window pop up like shown above.

Congratulations! You have fully rooted your Samsung Galaxy S9 or S9 Plus on latest Android 9.0 Pie!

Credits – Dr. Ketan on XDA for the OEM Issue Zip file and

Can't login to samsung account with this method, processing failed error
17th April 2019, 01:47 AM |#32  
leap_ahead's Avatar
Senior Member
Thanks Meter: 695
Anyone know how i can update firmware if i have twrp ?
17th April 2019, 05:50 PM |#33  
Senior Member
Thanks Meter: 190
Originally Posted by xXSWagnemitEXx

Exynos variants such as International (F), International Dual(Hybrid)-SIM (F/DS),

i am not responsible if anything goes wrong. You are still the one who tryed to flash the files. Even tough this should work as it worked for me and some friends.

Hello XDA

This is my first post (sorry if one already exists)

Today i am going to tell you how to root the Galaxy S9 International on android 9 Pie on stock touchwiz rom.

First of all download all these files;

Prince comsy odin:
Team win recovery
ElementalX Kernel
No verity encrypt:
Magisk 18.0

Now for the root

First you need to unlock OEM, you can do this in developer options,
If there is no developer options you need to enable this
you can do this in: Settings>About Phone > software information > click 5 times on build number.

When you unlock OEM everything on your phone gets wiped so make a backup!!

When the wiping is complete, turn off your phone and go to download mode (Vol down + Bixby + Power)

Then connect the phone to your pc and start odin

In odin go to options, and disable f.reset and auto reboot.

Then press the AP button and select the TWRP image you downloaded.

When TWRP is flashed, force reboot your phone (Vol down+ Power) when it is powered off quickly press Vol Up + Bixby + Power to get into recovery
Swipe to allow modifications. And format /data
Then reboot into recovery.

When rebooted mount USB Storage and connect the phone to the PC
Then you can click&Drag the other files (elemental, Magisk, No verity)

When the files are on the phone, go to install and search for the files you just put on the phone.

Install in this order:
Flash No-Verity-Encrypt
Then flash the custom kernel (ElementalX)
And as last flash Magisk.

When you did this, you want to Factory reset, Wipe cache and Dalvik.

Then you can reboot the phone, and install it.

(It is possible that you stay at the boot logo for a long time (Not the galaxy s9 one but the next one) What you need to do then is let it boot for 5 minutes, then force reboot (vol down+Power) and then the phone boots fine)

Again, just to make sure check if OEM is still unlocked (sometimes this get locked again)

Please note that when you do this, you lose secure folder and other functions, also is the knox tripped (0x1)
But the Fingerprint, Irisscanner and samsung account works.


Hope this helps.
If you do have any questions, please do the following first;
Note any errors that odin or your phone gives you. I want to help you, but i do need to know what is going wrong.

(Sorry for my bad english)

Hey , I am having an issue , I unlocked my bootloader and after a while I got an error and had to flash stock FW through Odin , since that day I can't unlock the bootloader , everytime I switch oem unlock option on it does factory reset and reboot the device but the oem unlock option stays off and the bootloader locked , I did wait 7 days and I tried your method but nothing works
23rd April 2019, 10:43 AM |#34  
NotATechnician's Avatar
Thanks Meter: 8
Originally Posted by Akhayev

Hey , I am having an issue , I unlocked my bootloader and after a while I got an error and had to flash stock FW through Odin , since that day I can't unlock the bootloader , everytime I switch oem unlock option on it does factory reset and reboot the device but the oem unlock option stays off and the bootloader locked , I did wait 7 days and I tried your method but nothing works

This video addresses how to deal with that issue..

Eventually, you may need to reflash stock with ODIN.
23rd April 2019, 12:33 PM |#35  
Senior Member
Thanks Meter: 190
Originally Posted by NotATechnician

This video addresses how to deal with that issue..

Eventually, you may need to reflash stock with ODIN. &t=155s

Thank you for replying, but my problem is something to do with RMM blocked or something like that so even if I wait 7 days and do what exactly he did in the video it doesn't work , cos I tried doing that before
31st May 2019, 09:02 AM |#36  
Thanks Meter: 19
When I was looking for rooting my phone the last time (~a year ago) I read, that it breaks camera features - is this still true? I think this drawback I'm remembering comes from custom roms because they are missing correct drivers as samsungs drivers are closed source, but I'm not sure anymore, so I just want to make sure...

I only loose knox, samsung pay and secure folder, but all camera features will continue to work and camera quality will be as good as on a non rooted device, correct?
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes