This guide should work on following models:
Nokia 6.1 or Nokia 6 (2018)
Nokia X6 (2018)
Nokia 7 Plus
Nokia 8 Sirocco
Step 1: Unlock the bootloader
Original unlock thread closed
Step 2: Install Magisk Manager
You can download it from here:
中国用户可从酷安下载 Magisk Manager
Chinese users can download it from Coolapk instead
Skip this step if you have already patched boot image.
You should know how to patch by reading Magisk Official Release Notes.
Step 4: Load specific patched boot from fastboot mode
For Nokia 6.1/6 (2018), X6, 7, 7 Plus and Sharp Aquos S2:
Android 7.1: C1N-0430-boot-patched.img
Android 8.0: C1N-134E-boot-patched.img
Android 8.1: B2N-222A-boot-patched.img
Android Pie: B2N-322C-boot-patched.img
In fact the kernel between these models are compatible to each other.
For Nokia 8:
Android 7.1: NB1-303A-boot-patched.img
Android 8.0: NB1-435J-boot-patched.img
Android 8.1: NB1-484A-boot-patched.img
Take the Nokia 7 Plus with B2N-222A-boot-patched.img for example.
Enter fastboot/download mode, you should be familiar with it if you've unlocked the bootloader.
Type following commands with your own fastboot:
fastboot reboot-bootloader fastboot boot D:\B2N-222A-boot-patched.img
WARNING: DO NOT FLASH boot or this will overwrite the stock boot and may not recoverable.
After that, your phone will boot and have root privileges temporarily.
You can check if Magisk Manager indicates "√ Installed Version: 16.0".
Step 5: Reinstall Magisk as module
Your phone may not be able to connect to Wi-Fi, which is normal.
Copy the latest Magisk zip to the phone, I recommend you to copy it to "Download" directory.
Then add the Magisk zip as module. The phone will patch the boot image with Magisk.
Reboot your phone when finished.
After that, your phone will be rooted perfectly.
If you want to install Xposed Framework, you must use this version (Including Framework and Installer) unless you want to break OTA:
Android 7.1 - sdk25
Android 8.0 - sdk26
Android 8.1 - sdk27
Android P - sdk28 but unreleased yet
Step 6: Install OTA Update (Optional)
If you want to install latest OTA update, you must restore the boot image.
Open Magisk Manager, tap "Uninstall" - "Restore Stock Boot". After the phone displays "Successfully restored", you should be able to install OTA update with no problem.
After OTA update installed, do Step 4 and 5 again.
Patched boot image mentioned in this topic can be downloaded here:
@topjohnwu for Magisk
@blackpanther0582 for providing stock rom