http://svoboda7s2yird3p643lzbl7d6yc3rcciowopcxclqw6fsq26vmqruyd.onion/blog/root-newer-samsung-devices
First, let’s find out the right partition: heimdall detect
heimdall print-pit You’ll see a list of entries. Search for ‘Partition Name: BOOT ’ or ‘Partition Name: boot ’. Make a note of letter case. You ran your only command, so now reboot again: adb reboot bootloader Now flash your patched boot image using Heimdall, but replace –boot with –BOOT if PIT entry was uppercase: heimdall detect
heimdall flash --boot magisk_patched/boot.img --no-reboot Wait for the “boot upload successful”...