If you wanna help me
- BEFORE RUN MAKE SURE YOU HAVE USB DEBUG ENABLED AND YOU HAVE TRUSTED THE COMPUTER.
- Tested on ubuntu (20.04, 21.10, 22.04) and debian 11 64 bit.
wget https://raw.githubusercontent.com/daboynb/magisk_for_linux/main/magisk.sh && chmod +x magisk.sh && ./magisk.sh
-
When it ask for a device connect the phone
-
Drag & drop into the terminal the stock boot.img
-
Done, the patched boot.img will be inside the /home/$USER/Magisk/pc_magisk folder
Based on the things discovered by https://dev.sect0uch.world/SecT0uch/Magisk_boot_flasher#run-patch-boot-locally.