Galaxy S25 Ultra, S25, S25 Plus rooting guide

Rooting instructions are now available for the Samsung Galaxy S25, S25+ and S25 Ultra.

Galaxy S25 Ultra, S25, S25 Plus root

First, unlock S25 bootloader and install TWRP custom recovery. Use either samfirm.jsFrija, or Samloader to download the latest S25 firmware zip of your device directly from Samsung servers.
Unzip the firmware and copy the 1.AP tar file 2.BL tar file to your PC. It is normally named as AP_[device_model_sw_ver].tar.md5 and BL_[device_model_sw_ver].tar.md5
Open above extracted APtar.md5 as archive (you can use 7zip) – Right click over AP file and with 7-zip select open archive. You will see a file init_boot.img.lz4 – Drag it to PC Open above extracted BLtar.md5 as archive – Right click over BL file and with 7-zip select open archive.
You will see a file vbmeta.img.lz4 – Drag it to PC
Now Select both extracted files (init_boot.img.lz4 & vbmeta.img.lz4) – Right click – select 7zip – add to archive – Select archive format to “tar”. In archive tab, you can change the name Name_You_want.tar and select OK. Now you will have Name_You_want.tar file. Copy this file to your device.
Download and Install latest Magisk apk (Get Latest Magisk apk from here)
Press the Install button in the Magisk card
Choose Select and Patch a File in method, and select the Name_You_want.tar file you copied.
When done, copy patched file to PC
Reboot to download mode. Open Odin on your PC, and flash magisk_patched.tar as AP, together with BL, CP, and CSC (NOT HOME_CSC because we want to wipe data) from the original firmware.
Your device should reboot automatically once Odin finished flashing. Agree to do a factory reset if asked.
Install the Magisk app you’ve already downloaded above and launch the app. It should show a dialog asking for additional setup.
Let the app do its job and automatically reboot the device.