lebigmac
Member
BRAND NEW DIY TUTORIAL BY LEBIGMAC ! How to ROOT your boot.img with Magisk (for Samsung Galaxy S23 Ultra & more)
NOTE: For Android 13. Your bootloader needs to be unlocked for this procedure to work!
1) Download your device's firmware from the internet (check your firmware version in 'About phone' > 'Software version')
Extract and unlz4 boot.img and init_boot.img files from your official stock firmware
unlz4 boot.img.lz4 boot.img
repeat this step for the other file as well
I have attached my original S23 Ultra boot files for your convenience
2) Install the latest official Magisk on your phone. The one I included for your convenience is deprecated already and doesn't work properly! To make it kind of work you can go into Magisk settings and set toasts to 'none' and the prompt to 'grant'
Code:
adb install Magisk-v25.2.apk
3) Patch both boot.img and init_boot.img inside Magisk app (click 'install' > 'select and patch file')
4) Rename both files to boot.img and init_boot.img respectively (the larger file should be your boot.img)
Code:
adb shell "cd /sdcard/Download/; mv magisk_patched_*.img boot.img"
adb shell "cd /sdcard/Download/; mv magisk_patched_*.img init_boot.img"
5) Tar both files with this command:
Code:
adb shell "cd /sdcard/Download/; tar cvf boot_patched.tar boot.img init_boot.img"
6) Pull the patched tar file from your device to your computer
Code:
adb pull /sdcard/Download/boot_patched.tar
7) Reboot phone into Download mode:
Code:
adb reboot download
8) Execute Odin as administrator in Windows and select your new boot_patched.tar in the AP slot
9) Flash it
10) Enjoy your rooted device
If you like my hard work please consider donating at the link below
Thank you very much for your support!
Forever yours,
lebigmac
DOWNLOAD ATTACHMENT HERE
Last edited: