Easy Samsung Galaxy S22 Root Tutorial with Magisk

Explaining Android
6 Apr 202214:30

Summary

TLDRThis video tutorial guides viewers through the process of rooting the Samsung Galaxy S22 series, including the base model, S22 Plus, S22 Ultra, and the upcoming S22 FE, using Magisk. It emphasizes the prerequisite of having an unlocked bootloader, a step detailed in a previously released video linked in the description. The tutorial covers downloading and installing Magisk via GitHub, using Odin and the necessary firmware files from samfw.com, and the step-by-step process of patching the firmware file with Magisk. The video concludes with testing root access using a root checker app, ensuring viewers can successfully root their Galaxy S22 devices.

Takeaways

  • 📱 The tutorial demonstrates rooting the Samsung Galaxy S22 series, including the base model, S22 Plus, S22 Ultra, and S22 FE, using Magisk.
  • 🔒 Before rooting, the bootloader must be unlocked, and a separate tutorial for unlocking the bootloader is mentioned.
  • 🕹️ Magisk is required to be downloaded from GitHub for the rooting process.
  • 💻 Odin software is necessary on the PC to proceed with the rooting process.
  • 📄 Downloading and extracting the phone's firmware to the PC is a crucial step, with samfw.com recommended for downloading the firmware.
  • 📂 The extracted firmware includes five key files: AP, BL, CP, CSC, and HOME_CSC.
  • 📥 The AP file needs to be copied to the Galaxy S22 and then patched using the Magisk app to create a 'magisk_patched' file.
  • 🛠️ The phone must be booted into download mode to flash the modified firmware using Odin.
  • 💾 Specific firmware files (BL, CP, CSC, and the Magisk patched file) are loaded into Odin for the rooting process.
  • 🔧 After the flashing process, the phone automatically reboots, requiring a final setup to fully install and activate Magisk.
  • ✔️ Root access is verified using a root checker app, confirming the success of the rooting process.

Q & A

  • What is the primary goal of the video tutorial mentioned in the transcript?

    -The primary goal is to show how to root the Samsung Galaxy S22 series smartphones using Magisk.

  • What is the first requirement before proceeding with the rooting process in the video?

    -The bootloader of the smartphone must be unlocked before proceeding with the rooting process.

  • What models of the Galaxy S22 series are covered in the rooting tutorial?

    -The tutorial covers the base model of the Galaxy S22, Galaxy S22 Plus, Galaxy S22 Ultra, and the upcoming Galaxy S22 FE.

  • Where can Magisk be downloaded according to the video?

    -Magisk can be downloaded from its GitHub page.

  • What software is required on the PC to proceed with the rooting process?

    -Odin software is required to be installed on the PC for the rooting process.

  • Where does the video suggest to download the firmware needed for the Galaxy S22?

    -The firmware can be downloaded from the website samfw.com.

  • What files are obtained after extracting the downloaded firmware?

    -After extracting, you get five files: AP, BL, CP, CSC, and Home CSC.

  • What is the next step after patching the AP file with Magisk?

    -After patching, the modified AP file (now a Magisk_patched tar file) should be copied back to the PC.

  • How can you confirm that Odin has detected the connected Galaxy S22 in download mode?

    -Odin confirms the connection by filling one of its boxes with blue and indicating the COM port number.

  • What indicates the completion of the rooting process in Odin?

    -The completion is indicated by a green 'PASS' message in Odin and the Galaxy S22 automatically rebooting.

Outlines

00:00

📱 Rooting Samsung Galaxy S22 Series with Magisk

This video tutorial guides viewers through the process of rooting the Samsung Galaxy S22 series, including the base model, S22 Plus, S22 Ultra, and the upcoming S22 FE, using Magisk. It begins with prerequisites like unlocking the bootloader, for which a separate tutorial is linked. Viewers are instructed to download Magisk from GitHub, Odin for PC, and the specific firmware for their phone model, with resources and links provided in the video description. The process involves downloading and extracting the phone's firmware, copying the AP file to the phone, using Magisk to patch this file, and then transferring the patched file back to the PC for flashing.

05:00

🔧 Flashing Rooted Firmware Using Odin

The second part of the tutorial explains how to prepare the Samsung Galaxy S22 for rooting by entering Download Mode, a step detailed in a previous video. With the phone in Download Mode and connected to the PC, Odin is used to load and flash the modified firmware, including the BL, CP, CSC (not HOME_CSC for first-time root), and the Magisk-patched AP file. The tutorial emphasizes the importance of not interrupting the flashing process and notes that the phone will automatically reboot once Odin successfully completes the flashing, signified by a green 'PASS' message.

10:10

🌐 Finalizing Root with Magisk

After the phone auto-reboots post-flashing, the tutorial guides users through the final steps to establish root access. This includes bypassing the initial activation screens to reach the home screen, locating the Magisk stub app (or reinstalling Magisk from GitHub if necessary), and upgrading to the full Magisk version. The process concludes with a reboot for setup completion and verification of root access using the Magisk app and a root checker application. The tutorial ensures viewers can achieve root access on their Galaxy S22, including the Plus and Ultra models, provided the bootloader is unlocked.

Mindmap

Keywords

💡Samsung Galaxy S22

The Samsung Galaxy S22 is a smartphone model from Samsung's Galaxy S series. In the script, it represents the primary device for which the rooting process using Magisk is explained. The series includes different variants like the base model, Galaxy S22 Plus, Galaxy S22 Ultra, and the upcoming Galaxy S22 FE. The video specifically focuses on rooting these variants, illustrating the device's relevance as a popular choice for users interested in customizing their Android experience.

💡Rooting

Rooting is the process of gaining root access to a smartphone, allowing users to override or modify the device's software at the deepest level. In the context of the video, rooting the Samsung Galaxy S22 series with Magisk provides users with the ability to customize and enhance their phone beyond what is possible with stock settings. This includes installing unsupported apps, changing system settings, and more.

💡Magisk

Magisk is a tool used for rooting Android devices that allows users to modify the software without altering the system partition. It's mentioned throughout the script as the primary method for rooting the Galaxy S22. Magisk is preferred for its systemless approach, enabling users to pass SafetyNet checks, and allowing for easy unrooting. The video describes downloading Magisk from GitHub, using it to patch firmware files, and finally verifying root access with it.

💡Bootloader Unlocking

The bootloader is a program that starts up the operating system when you turn on your device. Unlocking the bootloader is a prerequisite for rooting because it allows the user to modify the firmware. The video mentions that the Galaxy S22 must have its bootloader unlocked before proceeding with the root process, highlighting a tutorial on unlocking the bootloader as a necessary step before rooting can begin.

💡Odin

Odin is a utility software used for flashing firmware to Samsung devices through a PC. It is crucial in the rooting process described in the video, where it is used to flash the modified firmware containing Magisk to the Galaxy S22. Odin interfaces with the device when it's in download mode, allowing for the selection and flashing of firmware files (BL, AP, CP, CSC).

💡Firmware

Firmware is the software programmed into a device that provides the necessary instructions for how the device communicates with its hardware. In the rooting context of the video, downloading and extracting the firmware for the Galaxy S22 is a step that precedes the modification of the AP file with Magisk. The script details how to download the correct firmware version from samfw.com and prepare it for the rooting process.

💡AP File

The AP file is part of the firmware for Samsung devices, containing the system and recovery images. In the rooting process described, the AP file is patched with Magisk to include root access and then flashed back to the device using Odin. This method allows for system modifications without affecting the core system, ensuring that root can be achieved while maintaining device integrity.

💡Download Mode

Download Mode is a special boot mode for Samsung devices used for flashing firmware. It's essential for the rooting process as described in the video, where the Galaxy S22 must be booted into Download Mode to allow Odin to flash the modified firmware. This mode facilitates a direct connection between the device's hardware and the flashing software, enabling deep-level modifications.

💡CSC File

The CSC (Consumer Software Customization) file is a component of Samsung firmware that contains specific regional and carrier settings. In the video, it's mentioned that when flashing the modified firmware via Odin, users should select the regular CSC file if it's their first time rooting the device. This ensures that all carrier-specific features and settings are properly configured during the rooting process.

💡Root Checker App

The Root Checker app is a third-party application used to verify whether a device has root access. In the script, after completing the rooting process, the video demonstrates using the Root Checker app to confirm that the Galaxy S22 has been successfully rooted. This app serves as a simple tool for users to ensure that their rooting efforts have been effective, providing clear feedback on the root status of the device.

Highlights

Introduction to rooting the Samsung Galaxy S22 series using Magisk without root access initially.

Requirement of unlocking the bootloader before rooting, with a reference to a previous tutorial.

Tutorial applicable for Galaxy S22 base model, S22 Plus, S22 Ultra, and the upcoming S22 FE, emphasizing the unlocked bootloader necessity.

Introduction to necessary tools for rooting: Magisk (via GitHub), Odin, and the device's firmware.

Using samfw.com to download firmware for the Galaxy S22.

Extracting firmware to obtain AP, BL, CP, CSC, and HOME_CSC files.

Copying and patching the AP file using Magisk.

Creating a Magisk_patched tar file and preparing it for flashing.

Booting the Galaxy S22 into download mode.

Using Odin to flash the modified firmware, including selecting the correct CSC file.

Flashing process with Odin and observing progress bars on both Odin and the device.

Automatic reboot of the device after successful flashing.

Completing device setup post-rooting to access the home screen.

Finding and upgrading Magisk stub to full Magisk after rooting.

Confirming root access with Magisk version 24.3 installed and testing with root checker app.

Transcripts

play00:01

i have the samsung galaxy s 22 right

play00:04

here and in today's video i'll be

play00:07

showing you how to root the entire

play00:09

series of this smartphone

play00:12

using magisk

play00:15

you can see we do not have root access

play00:18

right now

play00:21

but before we can begin there are some

play00:23

things that we need to have done ahead

play00:25

of time

play00:27

for example we cannot root this phone

play00:30

until we unlock the bootloader first

play00:33

now i have done a tutorial already

play00:36

showing you how i unlocked the

play00:38

bootloader for this exact phone

play00:40

so instead of repeating myself here i'll

play00:43

be linking to that video

play00:45

in the video description below for

play00:47

anyone who needs to be caught up

play00:52

now this tutorial will work for the base

play00:54

model of the galaxy s22 like i have

play00:57

right here

play00:58

as well as the larger galaxy s 22 plus

play01:02

variant

play01:03

the massive galaxy s 22 ultra

play01:07

and the upcoming galaxy s 22 f

play01:10

e the main requirement here is that you

play01:14

must have the bootloader unlocked first

play01:18

and i know that all variants do not

play01:20

support that

play01:22

this should be something that you are

play01:24

aware of for the unit you currently own

play01:30

now we also need to install magisk on

play01:33

our phone

play01:34

which can be downloaded via github

play01:38

we need to have odin installed on our pc

play01:42

and then we need to download a copy of

play01:44

the firmware we are currently running on

play01:48

this phone

play01:49

that needs to be downloaded to the pc so

play01:52

it can be extracted

play01:55

and again for anybody who is not

play01:57

familiar with any of this like maybe you

play01:59

do not know where the github page is for

play02:02

magisk or maybe you do not know where to

play02:04

download odin

play02:06

i will be including download links

play02:09

and

play02:10

other links

play02:11

for all of these requirements in the

play02:14

video description below

play02:17

number of ways a number of places

play02:20

programs and websites that you can

play02:22

download the firmware for your samsung

play02:25

galaxy s 22 phone

play02:28

i use the website

play02:31

samfw.com

play02:32

as shown here

play02:34

to download the firmware

play02:37

for the model

play02:38

of the galaxy s22 that i currently own

play02:47

i have taken that firmware download and

play02:49

i have extracted the contents of this

play02:52

file

play02:54

which gave me

play02:56

these

play02:56

five files an ap file

play03:00

a bl file

play03:02

a cp file a csc file

play03:07

and lastly a home

play03:09

csc file

play03:13

once you have downloaded the firmware

play03:15

and extracted it

play03:16

you're going to need to take the ap file

play03:19

here

play03:20

and we're going to copy that to our

play03:22

galaxy s22

play03:27

now that we have the ap file

play03:30

copied to our galaxy s22

play03:33

we're going to open up the magisk

play03:35

application

play03:37

look for the install button in the top

play03:40

magisk section

play03:42

and tap it

play03:44

then we're going to choose the select

play03:47

and patch a file option

play03:50

and then we're going to browse and

play03:52

select the ap file that we put on this

play03:55

phone

play03:58

once that has been selected you should

play04:01

see this let's go button right here

play04:03

we're going to go ahead and tap that

play04:06

and we're going to let magisk work its

play04:08

magic

play04:09

magisk is going to take that ap file

play04:12

extract the boot image from it

play04:15

copy some files

play04:17

patch some files

play04:20

write these files back into

play04:23

our original

play04:25

compressed file

play04:28

and then give us a new file right here

play04:31

so instead of having an ap file we have

play04:33

replaced it with a magisk underscore

play04:36

patched tar file

play04:39

that for me is going to be in the

play04:41

downloads folder

play04:43

so we need to connect the phone back to

play04:45

the pc so that we can copy this magisk

play04:48

patched file

play04:50

to our pc

play04:53

now before we can actually flash this

play04:56

modified

play04:58

firmware file to the phone

play05:00

we need to boot the galaxy s22 into

play05:03

download mode

play05:05

this is another one of those things that

play05:07

i've previously shown you how to do

play05:09

in a separate video so instead of going

play05:12

through the step-by-step instructions of

play05:14

how to do that

play05:15

i'm just going to link to that previous

play05:18

tutorial so that you can get caught up

play05:21

get your phone into download mode and

play05:24

then come back and finish this tutorial

play05:29

so here i have opened up odin

play05:32

and remember i have the galaxy s22

play05:34

connected to the pc with that usb cable

play05:37

while it is in download mode

play05:40

and we should be told that odin is

play05:43

detecting that phone

play05:45

by having this or one of these boxes

play05:48

filled in with blue

play05:50

and telling us which com port it is

play05:52

connected so for me it is connected to

play05:55

com5 right now

play05:56

but as long as you're seeing your phone

play05:58

connected here

play06:00

then we can continue

play06:04

now when we look at the buttons here in

play06:06

odin you can see the familiar two

play06:09

letters that we saw in the firmware

play06:11

files here

play06:13

so we have a bl slot an ap slot

play06:17

a cp slot

play06:19

and then a csc slot

play06:22

so we're going to click the bl button

play06:25

we're going to find the bl firmware file

play06:29

and select it

play06:34

we're then going to select the cp file

play06:38

again find the cp

play06:41

the firmware file that begins with cp

play06:44

and select it

play06:48

then going to click the csc button

play06:52

and then pick the

play06:54

csc firmware file

play06:56

not the home csc firmware file if this

play07:00

is the first time you are rooting the

play07:02

phone

play07:03

going from an unrooted state to a rooted

play07:06

state

play07:07

we need to select the regular csc file

play07:14

and then lastly we're going to click the

play07:16

ap file

play07:18

but instead of selecting the firmware

play07:20

file that begins with ap

play07:23

because that is the unmodified firmware

play07:25

file

play07:26

we want to load in the modified firmware

play07:30

file

play07:31

which is the magisk underscore patched

play07:33

file

play07:36

so that's all we're doing to odin i'm

play07:39

not changing anything in the options tab

play07:43

we are just loading these firmware files

play07:46

as instructed

play07:48

and since we have everything set up we

play07:51

are now just going to click the start

play07:53

button right here

play07:59

and we can see two different progress

play08:01

bars we have a progress bar on the phone

play08:04

itself

play08:05

at the bottom of the download mode

play08:07

screen

play08:10

and we have the progress bar up here in

play08:12

odin

play08:14

which we can follow along with

play08:18

now it is important

play08:20

to leave the phone alone

play08:23

do not unplug the phone

play08:25

make sure that it maintains a secure usb

play08:28

connection

play08:36

and again we can follow along

play08:39

with the log file right here we can see

play08:42

all of the files that are being written

play08:45

to the phone

play08:49

some of these files are really large

play08:52

like this super dot img file

play08:59

so we are just going to wait patiently

play09:02

we are going to let odin flash all of

play09:04

these files to our galaxy s22

play09:12

and remember we have the

play09:14

auto reboot option

play09:16

automatically is selected

play09:18

so when everything is

play09:20

done we're going to get a

play09:23

green pass message up here

play09:26

and our galaxy s22 is going to reboot on

play09:30

its own

play09:39

so we can see this progress bar is

play09:41

getting close to the end

play09:44

the same progress bar again is being

play09:46

displayed on the phone

play09:48

so we are really close to this finishing

play09:51

up

play10:09

and as mentioned the galaxy s 22 has

play10:13

restarted on its own

play10:17

the phone has completed its boot cycle

play10:20

so we are just going to skim through

play10:23

the activation

play11:03

so that we can get to the home screen

play11:05

here

play11:10

so we have finished the activation part

play11:12

of android

play11:13

and we need to go into the application

play11:16

drawer

play11:17

you should see

play11:18

a stub of magisk which is going to look

play11:22

like magisk but it's not going to have

play11:24

that icon

play11:26

if you do not see this then go ahead and

play11:28

download magisk from the github web page

play11:32

again and install it

play11:35

but again if you've done everything

play11:36

correctly you should see this stub right

play11:38

here which we can tap on

play11:42

and then we need to connect to the

play11:44

internet so that we can upgrade to full

play11:46

magisk

play11:50

so with the phone booted back up and an

play11:52

internet connection

play11:54

maintained can come back

play11:57

check for that app stub

play12:00

open it

play12:02

and we're going to be asked if we want

play12:04

to upgrade to the full magisk

play12:06

of course we want to tap on ok

play12:08

we will need to allow that first

play12:12

and then we'll get that update prompt

play12:33

so now we have the actual full magisk

play12:36

app installed we can open it up

play12:40

again we see requires additional setup

play12:43

so we're going to tap on ok

play12:45

and it's going to reboot our phone with

play12:48

that additional setup done

play12:57

we can now open the full

play13:00

magisk application

play13:05

we can see right here

play13:08

that it does say

play13:10

magisk version 24.3

play13:12

is currently installed so that means we

play13:14

do have root access

play13:17

and we can test this

play13:21

you can test this in a number of

play13:22

different ways but for this video i can

play13:24

download this root checker app

play13:33

and once the application has been

play13:35

installed we can go ahead and open it up

play13:40

and perform our first

play13:42

route check

play13:52

so that wraps up this video showing you

play13:55

how to

play13:56

gain root access to the galaxy s 22

play14:00

the galaxy s22 plus

play14:03

and the galaxy s22 ultra

play14:06

using magisk

play14:09

we just have to make sure that we can

play14:11

unlock the bootloader first

play14:29

you