I'm using Nokia 4.2 does anyone know how to root?
You need to unlock the bootloader and then you should be able to root it.
Although Nokia does not officially allow unlocked bootloader, it was recently made available mistakenly for the Nokia 4.2. You can check if it still works for you.
To unlock the bootloader:
Once you have an unlocked bootloader, you can root by patching your boot image with Magisk and then booting/flashing it.
Nokia doesn't provide a way to unlock bootloader if you do find a way it will void your warranty and you might regret it later if the phone stops working I honestly don't recommend it and hey why would you wanna root when you have stock android
It looks like you're new here. If you want to get involved, click one of these buttons!