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

How To Guide [Magisk][US/CAN BL Unlock] Root for Galaxy S21 Series (B/N/0/U/U1/W)

Search This thread

JoJoLanny58

Member
Aug 4, 2014
6
0
I have a IS/CAN S21 Ultra with dev options enabled. OEM is not there. Any ideas as to getting it back. Sorry for the ignorance if threads alrwady exist for thos, I can only fond how to get back the OEM options for NON US/CAN devices. Thank you for any and all help.
 

afaneh92

Senior Member
Jul 31, 2012
2,779
4,512
I have a IS/CAN S21 Ultra with dev options enabled. OEM is not there. Any ideas as to getting it back. Sorry for the ignorance if threads alrwady exist for thos, I can only fond how to get back the OEM options for NON US/CAN devices. Thank you for any and all help.
No oem unlock for CAN devices. Only way to unlock is via paid service and only on v1 bootloader.
 
  • Like
Reactions: JoJoLanny58

HittinBottom

New member
Oct 22, 2021
1
0
Hello everyone,

I am struggling a little bit trying to get the bootloader unlocked on my new S21 Ultra SM-G998N in order to be able to root then rom my phone.

I have the OEM Unlock option turned on in Developer Options as well as Debugging turned on, But when I follow the instructions on the first page of this post (pic #1) which directs the user to boot into download mode, then long press the up button to unlock the bootloader. Nothing happens. What am I missing?

I have tried numerous times long-pressing the up button (for several minutes at times) and have also tried different combinations of buttons, but to no avail.

I have tried using ADB and Odin and neither works.

The next pics are of my system info (#2 & #3}.

I'm sort of a noob but then again I am not. In the past with the help of this forum I have successfully rooted?/rom'd US versions of Galaxy S3, S5 and S8. Yet this Korean version Exynos is eating my lunch.

Any help is truly appreciated.
 

Attachments

  • Screenshot_20211022-210823_Dolphin.jpg
    Screenshot_20211022-210823_Dolphin.jpg
    603 KB · Views: 51
  • 20211022_201714.jpg
    15.7 MB · Views: 47
  • 20211022_201706.jpg
    18.2 MB · Views: 48

mcn1970

Senior Member
Sep 1, 2015
938
127
Samsung Galaxy Note 20 Ultra
hope it's not a silly question but I don't have oem unlock in development settings.
my phone is with Exynos.
however I noticed that on download mode screen there is KG Status Active.
should I wait 7 days?
Any help is greatly appreciated.
 

afaneh92

Senior Member
Jul 31, 2012
2,779
4,512
hope it's not a silly question but I don't have oem unlock in development settings.
my phone is with Exynos.
however I noticed that on download mode screen there is KG Status Active.
should I wait 7 days?
Any help is greatly appreciated.
You cant unlock bootloader or flash custom files without paying off your device price or maybe its company or rented device.
 

Dopewaffles

Senior Member
Feb 2, 2020
53
7
OnePlus 7T Pro McLaren
This is awesome that you guys released this! Much appreciated @afaneh92 !
I have a question about it though, does this make you lose the ability to get future updates? I just got this brand new phone and I want to see all the great things that there going to send out for this phone in updates, however I've been rooting phones for as long as I can remember and I really want to do it, especially since I won't lose that much data since I haven't fully set it up.

Thanks again!!

 

saketh91

Senior Member
Sep 10, 2011
574
93
Denver
I recently updated it to Android 12 One UI 4.0. So I am guessing it is all over and no going back correct? Will there be a possibility in the future or it is just not happening? Can someone please confirm. I am ok to wait if it is eventually coming but if impossible, I am probably looking at a one plus 9 pro lol
 

afaneh92

Senior Member
Jul 31, 2012
2,779
4,512
This is awesome that you guys released this! Much appreciated @afaneh92 !
I have a question about it though, does this make you lose the ability to get future updates? I just got this brand new phone and I want to see all the great things that there going to send out for this phone in updates, however I've been rooting phones for as long as I can remember and I really want to do it, especially since I won't lose that much data since I haven't fully set it up.

Thanks again!!

yes root will block updates
 

afaneh92

Senior Member
Jul 31, 2012
2,779
4,512
I recently updated it to Android 12 One UI 4.0. So I am guessing it is all over and no going back correct? Will there be a possibility in the future or it is just not happening? Can someone please confirm. I am ok to wait if it is eventually coming but if impossible, I am probably looking at a one plus 9 pro lol
you cam back to 11 if you still on bootloader rev 3
 

saketh91

Senior Member
Sep 10, 2011
574
93
Denver
I read a 4 in the 5th position from right in the build number. So am I probably out of luck? I really feel stupid updating the OS now. Wish I had seen your post before :(
 

mac796

Senior Member
Aug 20, 2014
1,287
435
Long Beach
So I just ordered an s21 ultra used

SM-G998U1 will I be able to unlock this bootloader. Supposed to be a unlocked version straight from Samsung. I been out of the Samsung game for awhile. My last one was a s3. Hope I didn't make a mistake.​

 

elliwigy

Forum Moderator / Recognized Dev / Dev Relations
Staff member
XDA App Taskforce
So I just ordered an s21 ultra used

SM-G998U1 will I be able to unlock this bootloader. Supposed to be a unlocked version straight from Samsung. I been out of the Samsung game for awhile. My last one was a s3. Hope I didn't make a mistake.​

Depends on what firmware its on, if its updated beyond rev1 firmware (which is likely) then cant unlock the BL.. if you get lucky and it is then well, youre in luck! lol
 
  • Like
Reactions: mac796

Carloshz21

New member
Nov 29, 2021
2
0
afaneh92 hi this is my return to android since S5 just got S21 ultra 5G could you let me know if it's rootable I don't have OEM unlock option in developer and I understand I would have to pay but idk if I can do it with mine pls let me know if possible thanks
I attached the screenshot
 

Attachments

  • Screenshot_20211129-140744_Settings.jpg
    Screenshot_20211129-140744_Settings.jpg
    352 KB · Views: 14

afaneh92

Senior Member
Jul 31, 2012
2,779
4,512
afaneh92 hi this is my return to android since S5 just got S21 ultra 5G could you let me know if it's rootable I don't have OEM unlock option in developer and I understand I would have to pay but idk if I can do it with mine pls let me know if possible thanks
I attached the screenshot
Rev 4 can't be unlocked yet, only rev 1
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    So I just ordered an s21 ultra used

    SM-G998U1 will I be able to unlock this bootloader. Supposed to be a unlocked version straight from Samsung. I been out of the Samsung game for awhile. My last one was a s3. Hope I didn't make a mistake.​

    Depends on what firmware its on, if its updated beyond rev1 firmware (which is likely) then cant unlock the BL.. if you get lucky and it is then well, youre in luck! lol
  • 26
    Note: this guide copied from topjohnwu's. Original guide here

    US/Canada bootloader unlock thread:
    here


    Before Installing Magisk
    • Installing Magisk WILL trip KNOX
    • Unlocking bootloader for the first time will do a data wipe.
    Installation

    If you already have Magisk installed, it is strongly recommended to upgrade directly via Magisk Manager using the “Direct Install” method. The following tutorial is only for initial installation.

    Getting Started

    Before you start:
    • This tutorial assumes you understand how to use adb and fastboot
    • Your device’s bootloader has to be unlocked
    • Make sure to remove any “boot image mods” such as other root solutions before installing Magisk. The easiest way is to restore the boot image with factory images, or reflash a non-prerooted custom ROM
    • If you plan to also install custom kernels, install it after Magisk
    Download and install the latest Canary Magisk Manager (may have problems but the only one working for now.. We use the app to gather some information about your device. In the home screen, you should see this:


    device_info.png


    Pay special attention to the Ramdisk info. If the result is Yes, congratulations, your device is perfect for installing Magisk! However, if the result is No this means your device’s boot partition does NOT include ramdisk. This means you will have to go through some extra steps to make Magisk work properly.

    Unlocking Bootloader

    Unlocking BL on modern Samsung devices have some caveats, so I figure this would be helpful.
    • Allow bootloader unlocking in Developer options → OEM unlocking
    • Reboot to download mode: power off your device and press the download mode key combo for your device (Vol Down + Vol Up) while connected to usb.
    • Long press volume up to unlock the bootloader. This will wipe your data and automatically reboot.

    If you think the bootloader is fully unlocked, it is actually not! Samsung introduced VaultKeeper, meaning the bootloader will still reject any unofficial partitions before VaultKeeper explicitly allows it.
    • Go through the initial setup. Skip through all the steps since data will be wiped again later when we are installing Magisk. Connect the device to Internet during the setup.
    • Enable developer options, and confirm that the OEM unlocking option exists and is grayed out. This means the VaultKeeper service has unleashed the bootloader.
    • Your bootloader now accepts unofficial images in download mode.

    Patching Boot Image

    If your device has boot ramdisk, you need a copy of the boot.img

    Instructions
    • Use either Frija or Samloader to download the latest firmware zip of your device directly from Samsung servers.
    • Unzip the boot.img from AP and copy the file to your device.
    • Press the Install button in the Magisk card
    • Choose “Select and Patch a File” in method, and select the stock boot image
    • Magisk Manager will patch the image to [Internal Storage]/Download/magisk_patched.img.
    • Copy the patched image to your PC
    • Flash the patched boot image to your device.
      For most devices, reboot into fastboot mode and flash with command:
      fastboot flash boot /path/to/magisk_patched.img or
      Rename magisk_patched.img to boot.img and use 7zip to make flashable tar of your boot.img
      Reboot to download mode. Open Odin on your PC, and flash boot_patched.tar as AP.
    • Reboot and voila!

    Patching AP

    Instructions
    • Use either Frija or Samloader to download the latest firmware zip of your device directly from Samsung servers.
    • Unzip the firmware and copy the AP tar file to your device. It is normally named as AP_[device_model_sw_ver].tar.md5
    • Press the Install button in the Magisk card
    • Choose “Select and Patch a File” in method, and select the AP tar file
    • Magisk Manager will patch the whole firmware file to [Internal Storage]/Download/magisk_patched.tar
    • Copy the patched tar file to your PC with ADB:
      adb pull /sdcard/Download/magisk_patched.tar
      Do NOT use MTP as it is reported to corrupt files.
    • Reboot to download mode. Open Odin on your PC, and flash magisk_patched.tar as AP, together with BL, CP, and CSC (NOT HOME_CSC because we want to wipe data) from the original firmware. This may take some time (>10 mins).
    • After Odin is done, your device should reboot. You may continue with standard initial setup.
      If you are stuck in a bootloop, agree to do a factory reset if promted.
    • Although Magisk is installed, it still need some additional setup. Please connect to the Internet.
    • Install the latest Magisk Manager and open the app. It should show a dialog asking for additional setups. Let it do its job and the app will automatically reboot your device.
    • Voila! Enjoy Magisk 😃
    Thanks
    @topjohnwu for magisk and guide, If you appreciate his effort, show some love and support :)

    Donations
    https://www.patreon.com/topjohnwu
    https://www.paypal.me/topjohnwu
    4
    The latest Magisk Canary release (21409) contains the fix needed for the S21 devices, yes (but being a Canary release there are of course other bugs).

    But, @afaneh92, since you're just copying @topjohnwu's installation instructions exactly, word for word, wouldn't it just have been easier to link to those instructions and let people know that Magisk Canary releases now can root the S21 Ultra (and maybe also warn people that the Canaries can be buggy)?
    3
    US/Canada devices has no oem unlock toggle!
    Unlock service here

    How to get OEM Unlock option back for Non US/Canada device?
    1. Open the Settings app. Tap on General Management → Date and time.
    2. Use the toggle button to disable Automatic date and time.
    3. Set date option will be enabled now. Tap on it, and set the date to about 10-20 days earlier.
    4. Enable developer options.
    4.a Go to your device Settings.
    4.b Select ‘About phone’ » tap seven times on ‘Build number’.
    └ This will enable Developer options under Settings.
    4.c Go back to Settings » scroll down to the bottom and you’ll see Developer options menu.
    5. Open developer options (in the Settings app itself), and find the option called ‘Auto update system‘. Use the toggle button to disable it.
    6. Now, go back to the main screen of Setting, and then tap on Software update.
    7. Disable the option ‘Download updates automatically‘.
    8. Tap on ‘Download updates manually‘ option, but it will give you an error because of the wrong date, so it’s fine.
    9. Restart the device.
    10. Go to Settings > Developer options. The OEM unlock option should be enabled now.
    3
    Thanks, but that doesn't apply to the S21 :coffee:
    Use latest magisk canary, I have rooted my S21 Ultra.
    3
    I assume this will trip Knox right?
    Read the very first bullet, lol