-
CW: long post, Final research about rooting samsungs phones
β:kanaDead:β Since I was struggling myself to find a safe, non-misleading guide, There are the simple steps:
# Getting TWRP & Unlocked vbmeta.img For TWRP: https://twrp.me/Devices/ For patched vbmeta.img: Ask the developer who developed TWRP for your device For Qualcomm & Snapdragon, there should be KVM support, but couldn't guarantee. If you don't find your phone in the list, check if OrangeFox recovery supports your phone or download the firmware of your phone from https://samfw.com , get TWRP base repository tree and thinker around with the vendor & product images, which are providing functionality to use the phone drivers. # Unlocking * WARNING: Knox Warranty may flip from 0x0 to 0x1, meaning no warranty, Samsung locked it down well * You can use Odin instead of heimdall if you want, but is up to you * Example usage for heimdall: `heimdall flash --vbmeta vbmeta.img` | `heimdall flash --<partition name> <image>` 1. Developer Options 2. OEM Unlock 4. poweroff 5. Hold VolUp + VolDown && plug USB into the phone 6. Will boot into Odin screen 7. Unlock bootloader 8. After restart, Developer Options & USB Debugging 9. From PC: adb reboot bootloader 10. Use heimdall on PC to upload twrp*.img and vbmeta.img, remember to add no-reboot option to heimdall 11. To upload both twrp*.img and vbmeta.img you may need to enter bootloader twice 12. Reboot manually in possibly both cases and quickly press VolUp + Power Button 13. Enter TWRP 14. Do Backup -> Boot + Super + Cache (SDCard needed, will use /sdcard/TWRP/BACKUPS) 15. Go to Terminal / Advanced -> Terminal and type: "multidisabler" or "multi_disabler" (TAB it if possible) 16. This will flash patch onto boot.img, after executing command go back to Backup -> Boot * System is now ready with TWRP 17. Go to Install -> Select Image and select your GSI OS of choice or some compatible one * Treble GSI should give you full phone firmware support * For rooting, Follow Magisk guide as it was the only one working at the time (2024/2025~) * Done # Locking 1. Developer options 2. OEM Unlock check + USB Debugging 3. From PC: adb reboot recovery 4. Wipe data && factory reset && all cache, Internal Storage etc., WITHOUT "Storage" + Restore first backup * You may want here to unplug the SDCard after restore 5. in TWRP: Reboot -> bootloader 6. Flash stock vbmeta.img found from samfw.com 7. Reboot manually 8. System should automatically restore recovery and boot up 9. Power off 10. Hold VolUp + VolDown && plug USB into the phone 11. Lock bootloader 12. System will reboot and erase pending data 13. In Stock Android: Developer option -> OEM Unlock: OFF * Possibly restart if said so 14. Wipe again in the Stock Android recovery * WARNING: Know Warranty is still voided even if you've got back the Strong Integrity * Done
Backup of the message can be found here.
#samsung #rooting #android
Linking patched vbmeta in-case you couldn't get one or develop out of stock one: