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

Search This thread

Max128

Senior Member
Apr 16, 2011
1,145
298
103
Canada
Unless you want a really expensive paperweight, i wouldnt attempt this. The B-N-O applies to Exynos variants of the S21 Ultra.

DO NOT ATTEMPT THIS IF YOU HAVE A US SNAPDRAGON MODEL!!!

Lol transform the phone in paperweight when you are trying the root? This is impossible! ( is not the same thing like 10 years ago.) The worst things can be happening is a soft brick in boot loop and is easy fixable , only need the reflash the full rom ( including the firmware)..

The B-N-O applies to Exynos variants of the S21 Ultra. ≤--------- Not exactly true, the 0 variant ( SM-G9980 ) is a snapdragon 888 and the bootloader is perfectly unlockable and working with this method.
 

Clarkie_955i

Senior Member
Sep 26, 2014
249
66
58
Melbourne
HTC Butterfly
HTC One Max
Lol transform the phone in paperweight when you are trying the root? This is impossible! ( is not the same thing like 10 years ago.) The worst things can be happening is a soft brick in boot loop and is easy fixable , only need the reflash the full rom ( including the firmware)..

The B-N-O applies to Exynos variants of the S21 Ultra. ≤--------- Not exactly true, the 0 variant ( SM-G9980 ) is a snapdragon 888 and the bootloader is perfectly unlockable and working with this method.

Hi

Seriously thinking on getting this model SM-G9980. But really want it unlocked and rooted. What is the procedure for unlocking the bootloader on this? Is straight forward as going to developer options and flicking the switch.

Thanks
 

Max128

Senior Member
Apr 16, 2011
1,145
298
103
Canada
Hi

Seriously thinking on getting this model SM-G9980. But really want it unlocked and rooted. What is the procedure for unlocking the bootloader on this? Is straight forward as going to developer options and flicking the switch.

Thanks

Yes is easy like that, enable the unlock OEM in the developer options after this you can unlock
 
  • Like
Reactions: Clarkie_955i

SeanGold

Member
Feb 24, 2017
18
0
1
I had a question I hope someone could answer. I'm a photographer and would really like to have RAW access to all the cameras, front, tele, wide and main. Is there currently a way to do that if the phone is rooted or is RAW access hardware locked or something like that? If so, I wouldn't root at this time as that is the only real thing I'd be looking for. Thanks in advance.
P.S - How annoying that Samsung locked RAW access to the cameras. Android is supposed to be open, even Apple gives raw access, what nonsense.
 

pisaman2

Member
Jan 6, 2013
8
2
23
I've successfully followed this guide, and all appears well so far with the exception of the fingerprint sensor in apps, such as my banking one. It does however work for simply unlocking the phone

I seem to get an error when trying to set fingerprint reading up in these apps. Is this due to knox being triggered, or does it sound like anything else?

Also, has anyone else experienced this?

Edit:

I seem to have fixed the issue. I traced it down to being related to the safety-net magisk module I had flashed. It turns out there seem to be known issues with it, and have been resolved in a test release (version 2.0 I believe)
 
Last edited:

Bec07

Senior Member
Aug 13, 2010
724
93
58
In Magisk, flash this! Credit goes to @afaneh92


This does work in Magisk only, not the Play store and breaks fingerprint authentication in apps.

try this instead:


credit goes to kdrag0n
 

Attachments

  • safetynet-fix-v2.0.0-test2 (1).zip
    84.8 KB · Views: 24
  • Like
Reactions: chame93 and Enddo

Arobase40

Senior Member
Nov 22, 2010
1,391
245
83
I think I'll wait until their is a reason to root. Having no custom ROMs, no installable apps that take advantage of root privilages. The only things we have are Magisk modules - and while that's all well and good, it's not a justifiable reason to trigger Knox just yet.

Thanks for the work though @topjohnwu lol

I don't really understand your post as if you want to use Magisk modules you have to install Magisk which automatically root your device and thus trigger Knox... or I missed something...

The other and main reasons to install Magisk is to install AFWall+ and Xprivacy-Lua through EdXposed and EdXposed Manager if you want a better protection on your data leaks with all common and system apps... ^^

Adblocking is also another justification to root your device plus many other possibilities I can't describe as there are so many...
 
  • Like
Reactions: babyboy3265

Arobase40

Senior Member
Nov 22, 2010
1,391
245
83
Does rooting also remove the ability of getting official OTA updates?

YES !

Unless you have a custom ROM which does the job you'll have to download the official Samsung firmware through Sammobile or Frija or some other alternative and repatch it again...

Very easy on Galaxy Note 9 (Exynos) but tougher with Galaxy Tab S6 (Snapdragon).
 

Arobase40

Senior Member
Nov 22, 2010
1,391
245
83
Out of all those suggestions, Viper4Android would be the only reason for me.

CSC doesnt really do anything for me, i can can call, text and use data....my phone works.
Gesture control...meh, the stock Android 11 gestures work just fine.
Custom GBoard themes....meh
Custom fonts....meh
Custom themes....meh, just another thing the phone has to load, thus decreasing performance.
iOS emojis.....just buy an iPhone if that's what you want....


"CSC doesnt really do anything for me, i can can call, text and use data....my phone works."

But you can't recorder your phone call which could be useful in some cases and for many reasons.
BTW, no need to change your CSC if you install Firefds Kit with edXposed module and edXposed manager.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Totally agree with you! AFWall is a life saver!! I had not heard of Xprivacy until i read your post! One more big reason for root indeed! Now I just have to figure how to use the xprivacy app with its hooks and restrictions.. Those seem hard to understand from the descriptions in the official page :/

    Well it's not that hard to understand as if you check an app on the right of your display it turns red and that means all restrictions apply to this app. If we want to know which restriction applies you just have to press once the app name and the list of restrictions appears. If an app really need a permission then you can selectively uncheck it (it then turns white color).

    As an example : if you have both Amazon Shop app, with Amazon Music, Amazon Kindle and Prime Video if you connect to one of this app with you ID and your password, all of your Amazon apps will know your ID and your password, but potentially also any other apps...

    But if you apply all restrictions to these apps except the network option (they really need it) then you will have to connect to every Amazon apps independently and separately.

    And if you see the list of all the permissions it's frightening to see what the apps could do and to which permission they can access....
    1
    Why is this so difficult to make happen?!!.....
    This method is the same method I keep finding, and I've been looking all over the net for the last 24 or so hours, and it does NOT work for my SM-G998U and NO I will not be paying anyone to do it for me. That has got to be the biggest load of crap I've ever seen. Does no one know how to do this or what, besides the people "selling" their services.
    Because its not free, if I can get it for free then you can use it for free. If you dont need it then dont use it.
    1
    thanks - its working
  • 20
    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
    3
    Thanks, but that doesn't apply to the S21 :coffee:
    Use latest magisk canary, I have rooted my S21 Ultra.
    3
    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)?
    2
    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.
    2
    I assume this will trip Knox right?
    Read the very first bullet, lol
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone