/sboot_dump

SUC - A tool to dump RAM using Samsung S-Boot Upload Mode

Primary LanguagePythonMIT LicenseMIT

SUC - Samsung Upload Client v1.0

(c) B. Kerler 2018-2022, licensed under MIT License

A tool to dump RAM using S-Boot Upload Mode (in python)

Thx to Nitay Artenstein's code at https://github.com/nitayart/sboot_dump, ported to python and added full support based on reversing sboot

Supported

  • Samsung QC (Tested with S7)
  • Samsung MTK (Tested with A419F)
  • Samsung Unisoc/Spreadtrum (Tested with Galaxy Prime)

Install

  • Python 3.8 or higher pip install pyusb pyserial

Show partition table on the device

python3 samupload.py

For dumping all memory areas:

python3 samupload.py all

For dumping a specfic memory range:

python3 samupload.py range 0x0 0xffffffff

For dumping a full memory range:

python3 samupload.py full

For dumping individual areas (Index 0):

python3 samupload.py partition 0

Windows install

  • Install usbdk and make sure to remove old libusb dlls from windows/system32 folder. Get the usbdk installer (.msi) from here and install it
  • Install normal Samsung Serial Port driver (or use default Windows COM Port one, make sure no exclamation is seen)

Linux install

sudo apt purge ModemManager
sudo usermod -aG plugdev $USER
sudo usermod -aG dialout $USER
sudo cp Drivers/*.rules /etc/udev/rules.d
sudo udevadm control -R
  • Log in and out user
sudo pip3 install -r requirements.txt

Enjoy !