Root Android 9 Magisk -

Reboot your phone into (usually by holding Power + Volume Down).

If your bootloader is locked and cannot be unlocked, you cannot root with Magisk. Stop here. root android 9 magisk

If you want both root and security, consider upgrading to a custom ROM based on Android 10–13, then applying the same Magisk method described here. Reboot your phone into (usually by holding Power

You need a way to communicate with your phone from your computer. root android 9 magisk

You cannot root Android 9 with Magisk without an unlocked bootloader. Here is how to do it for major brands: