/Scamsung

Yet another Samsung device firmware extractor. Copies output files to Google Drive, getting necessary files to root with Magisk, and provides essential device files for developers.

Primary LanguagePythonMIT LicenseMIT

Samsung Firmware Extractor 3.0 - (aka Scamsung)

A simple way to root your Samsung device without wasting data and time... ❤️

Quick Links 😌

  1. Features
  2. How to run
  3. How to run the script on a VPS or locally (if you are rich 🗿)
  4. How to root your Samsung device with the help of my Script? [NO TWRP!] 😉

- Features ⚡️ -

✅ 01. Extracting only the required files for Magisk root > Saving in your GDrive.

  • No need to download the whole firmware package, just get files around 100MB.

✅ 02. Patch the stock recovery image to get fastbootd back...! (Might not work on every device)

✅ 03. Downloading the images inside the AP and CSC without super/system images.

✅ 04. Unpacking the system, vendor, product, and odm images from super.img and Compressing the firmware package using extreme xz compression.

More features are coming soon...

How to run...? 🏃‍♂️

01. Open the Script in Google Colab: Colab for images

02. Press all the play buttons (▶️).

03. The script will ask you a firmware link. You must put a direct link for the full firmware package. I prefer samfw.com for this.

  • Open samfw.com.
  • Type your model number > choose your current region (CSC).
  • Go to your phone's settings > about phone > software information > find the last digits of your build number.
  • Find the exact firmware version that matches your build number.
  • Click "Download on Samfw server" > once the download started, cancel it and go to the download page by pressing "ctrl + j".
  • Right-click on the canceled firmware file and choose "copy link"
  • Then give the link to the script.

04. Once my script downloaded the firmware of your device, it will ask for "What you want to do...?" like this:

05. If you want to dump only the files for root, just press 1, and the script will do the task for you.

  • Jump to the wiki to know how to use my script to root your device.

How to run the script on a VPS or locally (if you are rich 🗿)

Paste this in the terminal > Press enter :

export setup_dir=$(pwd); curl -LSs https://raw.githubusercontent.com/ravindu644/Scamsung/Samsung/setup.sh | bash && bash "${setup_dir}/Scamsung/scamsung.sh"

Yet another project by @Ravindu_Deshan for @SamsungTweaks ❤️

Made with ❤️ in Sri Lanka 🇱🇰