Skip to content

ravindu644/samloader-actions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

samloader-actions ⚙️


samloader-actions is a GitHub CI script designed to download the required files for Magisk to root your Samsung device without downloading large firmware files.

Note

For Telegram uploads: Create a public Telegram channel and bot, add the bot as an admin, and set GitHub secrets TELEGRAM_BOT_TOKEN with your bot token and TELEGRAM_CHAT_ID with your channel ID.

Prerequisites 📋

Important Warnings ⚠️

  • Backup important data before proceeding as bootloader unlocking will factory reset your device

Rooting Process

🟢 Step 1: Unlock Bootloader

Choose the appropriate guide for your device:

🟢 Step 2: Download Required Files

🟠 Method 1: Using Provided Details (Recommended)


⚠️ Important Warnings when using this method:

  • Update your device to the latest software before unlocking bootloader to avoid boot failures
  • Correct IMEI is crucial - wrong IMEI will cause the script to fail


  1. Fork this repository and give it a star ⭐️

  2. Navigate to the "Actions" tab and select "Download Using Provided Details"

  3. Fill in all required information and press "Run workflow" ✅

    Note: Find your CSC in "Settings > About phone > Software information > Service provider software version"

  4. Wait 10-15 minutes for the download to complete

  5. Download the output files from your Telegram channel or Workflow artifacts

🟠 Method 2: Using a Direct Link

  • We don't need to update the device to the latest software version since we can specify which firmware package to use with this method :)
  1. Fork this repository and give it a star ⭐️

  2. Navigate to "Actions" tab and select "Download using a Direct Link"

  3. Enter your model number and direct firmware link, then press "Run workflow" ✅

    To get a direct firmware link:

    • Visit samfw.com
    • Search for your model and region (CSC)
    • Find the exact firmware version matching your build/baseband number
    • Click "Download on Samfw Server"
    • Cancel the download and go to downloads page (CTRL + J)
    • Right-click on the canceled file and copy the link
2.mp4
  1. Wait 5-10 minutes for processing to complete

  2. Download the output files from Telegram or artifacts

🟢 Step 3: Patching and Flashing

  1. Download and extract the artifact zip file

  2. Extract the "YOUR-MODEL-Magisk-files.tar" from the zip

  3. Copy the extracted TAR file to your phone's internal storage

  4. Download and install Magisk Manager

  5. Open Magisk Manager → Install → Select and Patch a File → Choose the TAR file → LET'S GO

1.mp4
  1. Copy the patched file from your Download folder to your PC

  2. Reboot your device to Download mode

  3. Open ODIN, click the "AP" button and select "magisk_patched-xxxx.tar"

  4. Press "Start" to flash the patched file

  5. Wait for your device to boot

    • If boot fails, perform a "wipe data/factory reset" using Android recovery
  6. Open Magisk Manager and accept the prompt to reboot

  7. Verify root access with a root checker app

🔴 Troubleshooting

If you encounter issues, refer to the common issues and fixes guide.

Credits

About

Github CI script for Downloading required files for Magisk to Root any Samsung device.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages