Make sure you have an unlocked bootloader and make a backup before using this. There is a stock boot.img pulled from each release zip in my Gdrive folder if you forget to back yours up.
This is for Android 10 only. I've tested it multiple times and worked each time, Make sure you have updated fastboot from here before flashing.
Downloads: Android 10 Images.
1. Download the patched boot.img from the link above 2. Using CMD or Powershell flash the image with this command: fastboot flash boot magisk_patched.img 3. Reboot to OS and check Magisk Manger is there and Root installed correctly. 4. Install Magisk Manager APK after booting to OS if it's not there for you. 5. Profit? :cool: 6. (Optional) To flash TWRP grab the latest installer and flash it as a module in Magisk Manager reboot to recovery and install Magisk 19.4 zip. 7. To return to stock boot image "Non" rooted download the stock boot.img from the link above and run this command: fastboot flash boot boot.img
1. Download payload_dumper-win64.zip And extract/copy it to Desktop. 2. Extract your payload.bin from the stock rom zip and copy it into the payload_input folder. 3. Run the payload_dumper exe. 4. When it's finished open the payload_output folder and copy the Boot.img to Desktop keep it there as a backup. 5. Copy the same boot.img to your internal storage on your phone. 6. Install the magisk manager APK from here: Magisk Manager 7. Open Magisk Manager and go to settings and change Update Channel to Beta and go back to main screen and choose install and select "Select and Patch a file" 8. Navigate to where you copied your boot.img on the phone. 9. Once it's patched you'll have an magisk_patched.img on your phone in the the folder it says on the screen when done. 10. Copy that image to your fastboot folder on your PC and flash it with fastboot flash boot magisk_patched.img Done!
As always I'm not responsible for any issues your device might have or if your cat sets on fire.
topjohnwu for Magisk/Manger
geminids14 for payload_dumper-win64