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.
Install / Use
/learn @ravindu644/ScamsungREADME
Samsung Firmware Extractor 3.0 - (aka Scamsung)
A simple way to root your Samsung device without wasting data and time... ❤️ <br>
<img src="https://github.com/ravindu644/Scamsung/assets/126038496/17cf89f4-5304-4991-b711-448be2be34e2" width=75% align="center">Quick Links 😌
- Features
- How to run
- How to run the script on a VPS or locally (if you are rich 🗿)
- How to root your Samsung device with the help of my Script? [NO TWRP!] 😉 <hr>
<i> - Features ⚡️ - </i>
✅ 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)
- Based on - Patch-Recovery
✅ 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... <hr>
How to run...? 🏃♂️
01. Open the Script in Google Colab: 
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. <img src="https://github.com/ravindu644/Scamsung/assets/126038496/c2b26615-bfcb-4e5a-b207-96b84b7f17d5" width=55%>
- 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:
<img src="https://github.com/ravindu644/Scamsung/assets/126038496/cd54a4a7-e041-4a47-af47-912b200c2fa7" width=75% align="center">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"
