Skip to content

How to root your Samsung device with help of my Script? [ NO TWRP ! ]

Ravindu Deshan edited this page Dec 15, 2023 · 6 revisions

Requirements: PC, USB Cable, 🧠

Patching Process

  1. First, download the "required files for Magisk" using my script. (Located in your Google drive > output)
  2. Extract the ZIP and copy the TAR to your desktop.
  3. Copy the extracted TAR to your phone's internal storage.
  4. Download and Install the Latest Magisk APK from here.
  5. Open Magisk and check your "Ramdisk" status.
    • If it is yes, then no need to worry. If it is "no," we need some additional steps to do, so I'll mention them at the end of the script. Just follow the below steps respectively.
  6. Press the first "Install" button at the top of Magisk > Select and Patch a file.
    • If your device doesn't have a ramdisk, you will see an option called "recovery mode" and don't worry about it. all are fine.
  7. Now choose the TAR file in your storage and Magisk will patch the TAR for the root.
  8. The Patched file is located in the "Downloads" folder in your storage. So, Kindly copy that "Magisk_patched_xxxx.tar" to your PC.

Bootloader Unlocking Process - Old phones like J and Old A series.

  1. Open settings > about phone > software information and tap the build number for 7 times.
  2. Once developer options are enabled, simply go to the developer options and Tick "OEM Unlocking" and "USB Debugging".

Notes for Old phones: Some users reported there is a message called "custom binary blocked by FRP." So, After flashing the magisk tar, you have to reset your device (mentioned in notes above), so after your device booted, you must connect to the internet and setup the phone normally. then take a look at the "oem unlocking" toggle in developer options, if it is disabled, you must enable it again. else brick 🧱

💥 Download mode key combinations.

  1. Phones with a Bixby button:

    • Power off the phone.
    • Press and hold both volume down and Bixby key > plug into your pc while holding the keys.
  2. Phones with a home button

    • Turn off the phone.
    • Press and hold Volume Down + Home + Power button together for a few seconds.
  3. Normal phones 😌.

    • Turn off the phone.
    • Press and hold both volume keys while connecting to the pc.

Bootloader Unlocking Process - New Devices.

  1. Make sure OEM Unlock and USB debugging is ON in developer settings.
  2. Turn off the phone.
  3. Enter the Download mode.
  4. Long press vol up, then confirm you want to unlock bootloader (this is needed one time only)
  • Please be aware all your data will be erased including internal storage and phone will reboot!!
  1. Let the phone boot normally, you must connect to the internet > pass the setup and turn on developer options and make sure OEM Unlock is enabled and greyed out in order to unlock RMM ;)

  2. Enable USB debugging again and put the device into the download mode > press the "volume up key" to enter the download mode.

  3. Once you entered the download mode, you will see a logo called "Downloading".

Flashing/Rooting Process.

  1. Download > extract > and install the necessary files for flashing: Link 1 , Mirror, Or download "Odin" and "Samsung USB drivers" from google.
  2. After installing USB driver, Open ODIN.
  3. Click the "AP" slot in Odin > Choose the magisk_patched_XXXX.tar.
  4. Make sure "Auto reboot" is enabled in ODIN's options.
  5. Start the Flashing process and the device will reboot.
  6. If you saw a message like "Unable to start android" in android recovery, the only thing needed to do is "Wipe data/ factory reset" via recovery.
  7. Once your system is booted, you must connect to the internet and setup the device normally.
  8. Then, install the Magisk app and you will see, your device is rooted.

Debugging process.

  1. If the system is boot looping, do a "Wipe data/ factory reset" via recovery.
  2. If you see a blue message like "unable to verify vbmeta", use this tool to get rid of it or flash stock vbmeta.img from my "Base files zip". (extract only the vbmeta.img > make a tar using 7zip > flash in ap block).
  3. If Nothing worked, flash the Base files.tar" and setup your phone, try to patch the tar using another Magisk fork like Magisk delta).

⚠️ Escaping from VBMETA error message :

  1. Search in google "How to enter download mode in your_device_name," and note down the key combinations.
  2. Connect your phone to pc.
  3. Press and hold vol down and power buttons for 7 secs.
  4. Once the screen went black, press keys to enter the download mode immediately within 1ms 😅

The device should reboot into the download mode without any red warns. Then you can flash whatever you want.

Written by @SamsungTweaks