Smartphone Rooting (Samsung Galaxy with Android OS)

Please notice! Rooting and Security Setup are complicated processes. If you do the next actions by yourself you do it on your own risk. 

If you are not sure please contact our support for assistance.

The manual is relevant example for Samsung Galaxy Smartphones with Android Operating System (OS). If you have another Smartphone with Android OS please contact our support and we will assist.

Pre-requirements

1. At least 90% charged battery

2. Backup of Smartphone information

3. Windows PC or Laptop and USB cable

* Notice that Botloader Unlocking and Rooting removes all information from Smartphone!!!

If you rely on security that supply the vendors of Smartphone probably you don't need ROOTING and HARDENING. If have any doubts please contact our support team

After ROOTING of Smartphone you end with the next notice.Read it carefully.If you understand and agree with the notice you can continue with a process of ROOTING

If you've researched anything about Android on the internet, you've probably seen and read about "Rooting" . Because every Android phone is running Linux kernel and middle-ware very similar to Linux distribution you would install on a computer, rooting them is a way to allow us to try and configure them our own way. Rooting is how you get complete access over everything in the operating system, and those permissions allow you to change it all.

Next is example of sudoers file in Linux

 Linux file where stored sudoers

Rooting Smartphone Operating System(OS) is actually is adding a standard Linux function that was removed in a default Android OS.Root, at least the way we're talking about it here, is the superuser. Your Android phone uses Linux permissions and file-system ownership. You are a user when you sign in, and you are allowed to do certain things based on your user permissions. Apps you install are also given a type of user ID, and they all have permissions to do certain things — you see those when you install them on  Android, or you are prompted to allow them permissions in the certain folders with certain files. Root is also a user. The difference is that a Root user (superuser) has permission to do anything to any file anywhere. This includes things we want to do, like uninstall application forced on us, or things we don't want to do that can put your Android in an unusable state. When you're doing things with superuser permissions, you have the power to do anything.

Before you do any preparation to Root your phone, you need to remember that it changes everything about the inherent security from Google and the company that built it. Plenty of us don't like it, but being able to access an account with admin permissions was not included in release versions of Android on purpose. As soon as you add this capability, you are responsible for the security and integrity of the operating system and every application on it. For some, this is more responsibility than they want or need.If you are not sure in something please contact our support and we will help and give you a direction.

Rooting isn't the answer for everyone. If you're not sure about the ways you can break things by doing them as root, you should contact our support before you start. It's OK to not know things and to try and learn, but not knowing and doing them anyway can turn a very expensive Android into a paperweight. You also need to know that for many Android models, rooting means your warranty is null and void. Good news that a default warranty for most Smartphones is 1 year.After this period your Smartphone has no warranty anyway. Services (including apps as well as network access from your carrier) can be denied to you because of the security risk when you're rooted. The risk is real because so many users go into it all blind without a professional help and they let security lapse. Not doing that is your responsibility — take it seriously! We strongly advise to contact our support before you start with Rooting process.Next are the steps for Rooting. We will do the Rooting with Samsung Galaxy that one of the widespread Smartphones.

1. Bootloader Unlocking.

It's a mandatory step before Android ROOTING. Bootloader is a software that do pretty much what its name says. The Bootloader boots OS and OS's modules into RAM memory in the first moments when Smartphone starts to work. On the way Bootloader initializes and tests the hardware components.Unlocking Bootloader on any Galaxy device allow to download and to install a custom software such as installing a custom ROM, Rooting a device, installing firmware and so on.

  •      * Power Button Setup Before to go on we recommend to setup Power Button with the settings that allow to power off a Smartphone by long press on the Power Button. Please follow next link for assistance

      1.1  Before Boodloader Unlocking we need to enable Developer Options, OEM Unlocking and USB debugging

  •           - Find an icon called "Settings" in Android Desktop
  •           - Tap on it and enter the 'Settings' menu
  •           - Then  go to a last option in the menu of the 'Settings' that called 'About phone'
  •           - Tap on 'About phone' option.Then look for a topic called 'Software information'
  •           - Tap on it and then look for the topic called 'Build number'
  •           - Tap on the option 'Build number' at least 7 times until you see notice 'Developer mode has been enabled'
  •           - Then go back to upper menu 'About phone' and go back again to "Settings" menu
  •           - Then while in the 'Settings menu' scroll down until bottom of the menu
  •           - You suppose to see a new option called 'Developer options' under the menu 'About phone'
  •           - Go to 'Developer options' and enable OEM Unlocking and USB debugging
  •           - See the next video for assistance
  •           - Review the next images for assistance

       

img1 Find an icon called "Settings" in Android Desktop

img2 Tap on it and enter the 'Settings' menu  and tap on 'About phone' option

img3 Then look for a topic called 'Software information'

img4 Tap on it and then look for the topic called 'Build number'

img5 Tap on the option 'Build number' at least 7 times until you see notice 'Developer mode has been enabled'

img6 Keep to tap until see notice 'Developer mode has been enabled'

img7 Go to 'Developer options'

img8 Check that "Developer options" is ON and enable "OEM unlocking"

img9 Enable "USB debugging"

1.2 Now after completing with the earlier preparation we are ready to start with Bootloader Unlocking. Before to start we remind again that you need to backup your Smartphone because Unlocking Bootloader will remove ALL  information from Smartphone!!! If you have any questions please do not hesitate to contact our support before you begin with the changes.

After Bootloader unlocking Smartphone get reinstalled with an initial setup like a new device and this process removes all of the information from Smartphone. Next is instruction how to Unlock Bootloader on Samsung Galaxy S24 The process pretty similar on other Samsung Galaxy Smartphones that runs Android OS(Operating System)

  •           - Switch off your Galaxy and connect to the PC/Laptop via the original USB cable
  •           - Now hold down the Volume UP + Volume Down until you see the warning screen
  •           - Then press a long press on the Volume Up button to go to Unlocking Bootloader screen
  •           - Now the unlock Bootloader process will start and it will erase all information on the Smartphone
  •           - Finally, your Smartphone will reboot into the system. Now you need to do an initial setup similar to a setup for new Smartphone
  •           - See the next video for assistance
  •           - Review the next images for assistance

img10 Switch off your Galaxy and connect to the PC via the original USB cable. Hold down the Volume UP + Volume Down until you see the warning screen

img11 When see next warring screen press a long press on the Volume Up button to go to a screen of Unlock Bootloader 

img12 Press on Volume UP for run the process of Bootloader unlocking 

img13 After completing unlock of Bootlader you will see the next message on boot screen

 

2. Rooting of Smartphone (In our example Rooting of Samsung Galaxy S24)

      2.1 Advantage of Rooting

  •             - Full control over Smartphone
  •             - Customize and make a hardening of security for Smartphone
  •             - Flash Custom Rom
  •             - Install 3rd party software

      2.2 Disadvantage of Rooting

  •             - If Smartphone has warranty you can lost it. If not extended a warranty of the Smartphones usually lasts for 1 year
  •             - We advise to check if your Smartphone has a warranty and act accordingly
  •             - If apply any wrong steps this can irreversibly damage Smartphone and turn it to not working. If not sure contact our support team before Rooting   

      2.3 Download a compatible Firmware.In our example this is a file of Firmware for Samsung Galaxy S24 Smartphone

  •              * Important to select a correct image for Rooting. Selecting a wrong image can damage Smartphone and turn it to not working
  •              If have any questions please contact our support team before to continue
  •            - Check a model of Smartphone. Next video shows how to check the model  of Samsung Galaxy Smartphone that runs Android OS
  •            - In Android desktop go to the Settings->About phone->Model name  Write a side the model name
  •            - In our case a model of Samsung Galaxy S24 is SM-S921B
  •            - Browse site https://samfw.com and type Smartphone model in a search bar
  •            - Open user account on the site
  •            - Select a Firmware according to the CSC (Country Specific Code)
  •            - Download a compatible Firmware to your PC/Laptop (this cannot be done on Smartphone) from the site https://samfw.com
  •            - In our example we will select UK country code EVR
  •            - Review the next images and video for assistance 
  •            

img14 Search for Firmware
                               

img15 Select Firmware by Country Specific Code - CSC In our example we use UK EVR firmware

       

img16 Click on Version you want to download  

img17 Select "Download on Browser"

                          

img18 Wait until the image of Firmware get downloaded. This can take from 10-15 minutes up to few hours and this depends from the Internet speed

img19 Complete with the download

 2.4 Extract the downloaded Samsung Firmware file

  •      - Extract (UNZIP) downloaded Firmware file on PC/Laptop
  •      - After extract ZIP file there are should be 6 files
  •      - Permanent prefixes in names of the files are AP, BL, CP, CSC_OXM, HOME_CSC_OXM Rest of files name depends form a downloaded version
  •      - Review the next images for assistance

img20 After extract Samsung Galaxy Firmware there are should be 6 files. 5 of the files have tar.md5 extension and 1 txt file

2.5. Alternative Download

  •      - Browse site https://samfrew.com for download Firmware
  •      - Open user account on the site
  •      - On the site there are a free and payed service of Firmware download
  •      - Type model of Smartphone in "Search"  box
  •      - Select in "Region" for CSC (Country Specific Code) and Version of Firmware
  •      - Download the Firmware
  •      - Review the next images for assistance

img21

 

2.6 Patch of AP_xxxxxxx file

  •      - Download and extract the latest Samsung Odin with Android ROM Flashing to PC/Laptop
  •      - Download Magisk App APK file to PC/Laptop
  •      - Connect Smartphone with USB cable to PC/Laptop
  •      - If promoted for allow access to Smartphone storage then tap 'Allow' 
  •      - Copy from PC/Laptop to Smartphone Magisk APK file and the file that starts with prefix AP_xxxxxxx
  •      - Install Magisk App on Smartphone
  •      - Open Magisk App then Tap Install → Select and Patch a File and select “AP” file
  •      - Review the next images for assistance

img22 Download Samsung Odin with Android ROM Flashing and Magisk App

img23 Connect Smartphone to PC/Laptop. After the connection there can appear a prompt with a notice to Allow access to the files on Smartphone. Allow the access.    

     

img24 If prompted then allow access to storage on Smartphone by tap "Allow"

 

img25 Look for Smartphone 'Internal storage' disk on PC/Laptop

img26 Copy to Smartphone (to Download folder) Magisk App APK file and file that starts with prefix AP_ (see img7)

img27 On Smartphone go to Downloads folder and check 2 files  copied 

img28 Tap on Magisk file and "Install" to run installation of Magisk

img29 Wait until Magisk get installed

 

img30 Magisk installed. Tap on "Open"

 img31 Tap on "Allow" for allow the notifications 

img32 Final screen of the installation and setup for Magisk 

  

img33 Tap on Install

img34 Select file that starts with prefix AP_

 

img35 Tap "LET'S GO' to start the patch

 

img36 Wait until Installation of the patch is completed and there is notice of "All done!" at the bottom 

img37 Go back to Downloads. There should be a new file that has prefix magisk_patch. This is actually a patched file of AP_

img38 Go to PC/Laptop folder Samsung Android->Internal storage->Download then select the file that starts with prefix magiks_patched

 

img39 Copy selected file to folder with the extracted file of Firmware.This can take about 10-15 minutes or even more  

2.7 Use Odin to flash the Firmware on Smartphone               

  • - Switch off Smartphone and connect to the PC via the original USB cable
  • - Now hold down the Volume UP + Volume Down until you see the warning screen
  • - Then press the Volume Up button to boot into download mode
  • - Double click on Odin exe file (downloaded in topic 2.6)
  • - Click BL button and select a file with prefix BL in a folder where located Firmware files
  • - Click AP button and select a patched AP file that has prefix magisk_patched
  • - Click CP button and select a file that has prefix CP
  • - Click CSC button and select a file that starts with prefix CSC_OXM
  • - Click Start button of Odin tool and wait until flashing is completed
  • - If everything gone well there appears a message PASS!
  • - After complete of flashing Smartphone automatically rebooted 
  • - After Android OS booted please do an initial setup as usually done for a new Smartphone  
  • - That's all. Smartphone is rooted now.
  • - Review the next images for assistance

img40 Switch off Smartphone

img41 Connect Smartphone to PC/Laptop via the original USB cable then hold down the Volume UP + Volume Down until you see the warning screen

img42 The warning screen

 

img43 Then press the Volume Up button to boot into download mode

img44 Double click on Odin exe file (downloaded in topic 2.6) while Smartphone is still connected to PC/Laptop

img45 Click on BL, AP, CP, CSC buttons and select the compatible files with the prefixes BL, AP, CP, CSC in a folder where is located Firmware

img46 Click Start and wait until flash of Firmware completed

img47 After complete there should be  "PASS!" notice in left upper corner. If see "PASS!" notice it means Smartphone was Rooted successfully 

2.8 Quality Assurance(QA) 

  •     - Download Root Checker APK to PC/Laptop
  •     - Copy the file to Smartphone
  •     - Install the file on Smartphone 
  •     - Run Root Checker APK to check if Smartphone was rooted correctly

img48 Run Root Checker APK

 img49 Tap "VERIFY ROOT"

img50 Next message confirms that Smartphone is ROOTED