S
samloader

Complete Guide

From download to flash — step-by-step instructions for samloader on Windows, Linux, and macOS.

Before you start

  • • Know your exact model (e.g. SM-A705MN) and region/CSC (e.g. XSP)
  • • Backup important data — flashing can wipe the device
  • • Charge the phone to at least 50%
  • • Install Samsung USB Drivers on Windows
  • • Use a good quality data USB cable
1

1. Download the Binary

Get the latest prebuilt executable for your OS from the Download page. Place it in a folder you can access from the terminal.

Windows: use PowerShell or Command Prompt. Linux/macOS: use Terminal and run chmod +x samloader.

2

2. Open a Terminal as Admin (Windows)

samloader

Right-click PowerShell → Run as Administrator. Change directory to the folder containing samloader.

cd C:\path\to\samloader-folder
.\samloader.exe --help
3

3. Check Available Firmware

Check Update

Replace the model and region with your device values.

.\samloader.exe check-update --model SM-A705MN --region XSP

On Linux/macOS omit .\ and use ./samloader.

4

4. Download Firmware (Auto Decrypt)

Download Firmware

samloader downloads and decrypts on the fly. Large packages can take time; resume is supported if interrupted.

.\samloader.exe download --model SM-A705MN --region XSP --verbose
5

5. Verify MD5

Always verify the downloaded package before flashing.

.\samloader.exe verify-md5 path\to\firmware.tar.md5
6

6. Detect Device

Boot the phone into Download Mode and connect USB. Then run:

.\samloader.exe detect

Download Mode: power off → hold Vol Down + Power (or Vol Down + Vol Up + Power) while plugging USB → confirm with Vol Up.

7

7. Flash Firmware

Flash only the correct firmware for your model. Do not disconnect the cable during the process.

.\samloader.exe flash path\to\firmware.tar.md5 --usb-backend libusb

First boot after a full flash can take several minutes. Do not force-restart the device.

Tips

  • • Use --help on any command for options
  • • Region codes are CSC codes (e.g. XAA, XSP, BTU, INS)
  • • Prefer official/stock firmware matching your binary version
  • • If detect fails: try another cable, USB port, or reinstall drivers

Safety

  • Backup your data — flashing can wipe user data
  • Flash only the exact model + compatible binary
  • Wrong firmware or interrupted flash can brick the device
  • Use at your own risk on devices you own