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
- Samsung QC (Tested with S7)
- Samsung MTK (Tested with A419F)
- Samsung Unisoc/Spreadtrum (Tested with Galaxy Prime)
- Python 3.8 or higher
pip install pyusb pyserial
python3 samupload.py
python3 samupload.py all
python3 samupload.py range 0x0 0xffffffff
python3 samupload.py full
python3 samupload.py partition 0
- 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)
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 !