[edit] typos, added one safeguard step to TWRP
[edit2] personally not using OOS so corrected TWRP section, credit to Lossyx
Do you use OOS 10.0.10? Can you send me your patched boot.img file? I'll try to boot from it
Did you
just boot from patched boot.img or you booted from already flashed boot.img?
a). If you just booted, restart the phone, you will have original kernel back. Install Magisk Manager APK and take it from there.
b). If you flashed someone's else patched boot.img, it is your problem. You should flash only yours patched boot.img from your version of OOS or LOS or anything. If you have used yours, this begs the question, how did you patched your kernel, if you don't have Magisk Manager installed on your phone.
It has been mentioned multiple times in this thread (thanks go to respective ppl) that there are 3 ways to do it, from easiest to the most reliable one:
EASY WAY - Does not work on OOS as advised by Lossyx
1. Place latest Magisk-v20.4.zip on your phone
2. Boot to TWRP 3.4.0-2 (temporarily only, do not flash it on your phone!) and flash the Magisk zip via TWRP Install method
3. Reboot to System
4. [added] Open Magisk Manager and click to Install it (even though it might say is install already) and execute Direct Install. Advised by folks, won't hurt.
5. Restart.
6. Done. Your phone should be rooted and Magisk Manager APK should be also installed.
MODERATE WAY
1. Install latest Magisk Manager APK on your phone (7.5.1)
2. Extract your
own boot image and place it on your phone (guides in this thread)
Alternatively on
your PC, download
exact OOS version .zip that is present on your phone from official website, extract it, navigate to payload.bin and take your boot.img from there using payload dumper. Video linked in this
post.
3. Patch it with Magisk Manager (guides in this thread) and upload to your computer (say as
magisk_patched_boot.img)
4. Enter fastboot
d
5. Flash your patched kernel:
fastboot flash boot magisk_patched_boot.img
6. Reboot your phone. You should be rooted.
7. [added] Open Magisk Manager and click to Install it (even though it might say is install already) and execute Direct Install. Advised by video guide, won't hurt I guess.
8. Restart
STABLE WAY
Same as moderate way, but you skip point 5. You do not flash the patched-boot.img (for whatever reason) but boot your phone temporarily with this rooted kernel you have prepared.
5. Boot with patched kernel:
fastboot boot magisk_patched_boot.img
6. Open Magisk Manager on your phone
7. Execute Direct Flash (guide in this thread) to patch your current untouched kernel
8. Reboot
According to the info in this thread, stable way does not produce wifi/network problems - but those are usually due to people mixing the process or making way too much errors in the process while rooting (like using someone's else OOS 10.0.9 kernel and they expect it work on their OOS 10.0.10)