[GUIDE] How to root your AB partition scheme based Nokia Android Devices

Search This thread

hikari_calyx

Senior Member
[GUIDE] How to root your AB partition scheme based Nokia Android Devices

This guide should work on following models:

Nokia 6.1 or Nokia 6 (2018)
Nokia X6 (2018)
Nokia 7
Nokia 7 Plus
Nokia 8
Nokia 8 Sirocco

Step 1: Unlock the bootloader
Original unlock thread closed

Step 2: Install Magisk Manager
You can download it from here:
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

中国用户可从酷安下载 Magisk Manager
Chinese users can download it from Coolapk instead

Step 3: Patch stock boot from current or close version

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:

Code:
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.

If you're using these commands in OST LA installation directory, use "fastboot-android" instead of "fastboot".

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:
https://forum.xda-developers.com/xposed/unofficial-systemless-xposed-t3388268

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:
https://drive.google.com/open?id=1ISPiwruAxY0gVp3kil9YTAfIR8xBxHjf

Special thanks:
@topjohnwu for Magisk
@blackpanther0582 for providing stock rom
 
Last edited:

Bat-Maniac

Senior Member
Jul 2, 2014
106
164
Germany
There have to be another method than to buy the possibilty to unlock your bootloader.
This is really making me angry....

Don't get me wrong... I don't criticize your post! It is even very important to post and share everything about the 7+, especially in relation to unlocking the bootloader and rooting your devive, so that custom development can begin finally.

To pay for unlocking your bootloader (and that even so awkward) is absolutely wrong in my opinion and I will definitely not support it... no matter how much I wish to unlock the bootloader.

But many thanks for sharing and explaining. I hope HMD will offer an official way for unlocking the bootloader very soon, or someone will find a more user-friendly way to do that.




Sent from my Nokia 7 plus using XDA Labs
 

hikari_calyx

Senior Member
There have to be another method than to buy the possibilty to unlock your bootloader.
This is really making me angry....

Don't get me wrong... I don't criticize your post! It is even very important to post and share everything about the 7+, especially in relation to unlocking the bootloader and rooting your devive, so that custom development can begin finally.

To pay for unlocking your bootloader (and that even so awkward) is absolutely wrong in my opinion and I will definitely not support it... no matter how much I wish to unlock the bootloader.

But many thanks for sharing and explaining. I hope HMD will offer an official way for unlocking the bootloader very soon, or someone will find a more user-friendly way to do that.

I can understand your feeling.
What I'm doing is making as much pressure as we can to HMD Global in order to make the phone unlockable officially.

Once I achieved that, you needn't to pay for unlock key.
 

poczynek

Senior Member
Jul 10, 2012
1,892
787
Sydney
Working up until i try to reboot in Step 5 and then hangs on android one screen and then eventually gets to NOKIA splash screen but hangs forever (at least 10 mins and nothing).

Thoughts?
 

dark_lord

Senior Member
Jun 1, 2015
162
50
Planet Sayin
There have to be another method than to buy the possibilty to unlock your bootloader.
This is really making me angry....

Don't get me wrong... I don't criticize your post! It is even very important to post and share everything about the 7+, especially in relation to unlocking the bootloader and rooting your devive, so that custom development can begin finally.

To pay for unlocking your bootloader (and that even so awkward) is absolutely wrong in my opinion and I will definitely not support it... no matter how much I wish to unlock the bootloader.

But many thanks for sharing and explaining. I hope HMD will offer an official way for unlocking the bootloader very soon, or someone will find a more user-friendly way to do that.




Sent from my Nokia 7 plus using XDA Labs
Isnt Android one's prime moto is to being as close as pixel device then why did hmd locked the bootloader :rolleyes::rolleyes::rolleyes::rolleyes:
 

poczynek

Senior Member
Jul 10, 2012
1,892
787
Sydney
Tried lots of times and every time i get to Step 5 and installing Magisk as a module it just hangs on Nokia screen when it reboots.

Only way back into phone is to get to download mode and 'fastboot boot D:\B2N-222A-boot-patched.img' and then it gets me back.

Help!
 

Bat-Maniac

Senior Member
Jul 2, 2014
106
164
Germany
Isnt Android one's prime moto is to being as close as pixel device then why did hmd locked the bootloader :rolleyes::rolleyes::rolleyes::rolleyes:

Every phone's bootloader is locked from factory. Most manufacturers offer a possibility to unlock the bootloader, the methods vary.
At the moment, however, there seems to be several manufacturers who do not offer this possibility anymore (e.g. Huawei / Honor).
When I talked with Nokia Phones Support and asked why there's no official method to unlock the N7+ bootloader, they told me that's because of warrenty and security. But everyone who unlocks their bootloader knows about those risks, so the real reason is...

...a big secret that probably will never be revealed...

...or it's just a whim of the manufacturer.
 

poczynek

Senior Member
Jul 10, 2012
1,892
787
Sydney
[GUIDE] How to root your AB partition scheme based Nokia Android Devices

This guide should work on following models:

Nokia 6.1 or Nokia 6 (2018)
Nokia X6 (2018)
Nokia 7
Nokia 7 Plus
Nokia 8
Nokia 8 Sirocco

Step 1: Unlock the bootloader
Original unlock thread closed

Step 2: Install Magisk Manager
You can download it from here:
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445



Step 3: Patch stock boot from current or close version

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 P: B2N-3050-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:

Code:
fastboot reboot-bootloader
fastboot boot D:\B2N-222A-boot-patched.img



If you're using these commands in OST LA installation directory, use "fastboot-android" instead of "fastboot".

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:
https://forum.xda-developers.com/xposed/unofficial-systemless-xposed-t3388268

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:
https://drive.google.com/open?id=1ISPiwruAxY0gVp3kil9YTAfIR8xBxHjf

Special thanks:
@topjohnwu for Magisk
@blackpanther0582 for providing stock rom

Any chance of a patched boot image off the latest Android P Beta for Nokia 7 Plus? Thanks
 

Gravemind2015

Senior Member
Dec 1, 2015
1,847
861
To subscribers of this topic:
I uploaded patched DRG-229D boot image which is from Nokia X6. You can try to use it on your Nokia 7 plus and feel free to send feedback here ;)
Works fine on B2N TA-1046 on latest 8.1 June 2018 patch. Thank you very much, I just rooted my 7 plus. Screenshot_20180624-053230.jpeg

Broadcasted from Zeta Reticuli
 

izkyline

Member
Jan 10, 2013
9
0
Since official stock firmwares of Nokia X6 are not available yet, I cannot generate boot_patched.img with Magisk Manager.
Currently, I cannot root my Nokia X6, is it correct ?
 

eskamhl

Senior Member
Dec 20, 2008
664
732
Even after correctly restoring stock boot.img I'm unable to update to July patch ( I did the restore from magisk as written in the first post ).
Tried via normal update via OS but it's giving me "Couldn't update - Installation problem".
I took the zip from data and tried from recovery both via sideload and sdcard method. In this case the error is the one attached.
Tried to download it more than once too, no luck..
If someone would have any suggestion it would be helpful.428925935_229163.jpeg

Edit: system and vendor partition were modified ( don't know how )
I update to july patch but nokia 6x patched boot is not booting anymore.
 
Last edited:

donjamal

Senior Member
Jan 25, 2010
1,852
477
okay, i tried both the drg and the b2n 8.1 boot images, none of them works. how on earth do i extract my own boot img? so that i can patch it with magisk? i get stuck on the nokia logo every time i try. i have to manually reboot the phone to get it working again. i'm on july security update and ta-1055 version.

---------- Post added at 08:51 PM ---------- Previous post was at 08:34 PM ----------

none of the above boot img's bring me joy. i'm stuck on the nokia logo every time. i guess we need july patched boot.img. anyone knows how to do it?
 

eskamhl

Senior Member
Dec 20, 2008
664
732
okay, i tried both the drg and the b2n 8.1 boot images, none of them works. how on earth do i extract my own boot img? so that i can patch it with magisk? i get stuck on the nokia logo every time i try. i have to manually reboot the phone to get it working again. i'm on july security update and ta-1055 version.

---------- Post added at 08:51 PM ---------- Previous post was at 08:34 PM ----------

none of the above boot img's bring me joy. i'm stuck on the nokia logo every time. i guess we need july patched boot.img. anyone knows how to do it?
Here a July patched boot.img, you can fastboot boot it ( I made it by flashing twrp on inactive slot ).
https://www.androidfilehost.com/?fid=5862345805528049361
 
  • Like
Reactions: donjamal

donjamal

Senior Member
Jan 25, 2010
1,852
477
Hi! first thanks for your work!

Second, is it possible to get this boot img for TA-1046? or this boot img works with TA-1046?
i'm on TA-1046 with the last july update.

try it. it won't hurt. if you can't boot it, simply press and hold volume up + power until phone reboots and you're back to original boot. you need to have unlocked bootloader and make sure you are just booting from the image and you are not flashing it!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    [GUIDE] How to root your AB partition scheme based Nokia Android Devices

    This guide should work on following models:

    Nokia 6.1 or Nokia 6 (2018)
    Nokia X6 (2018)
    Nokia 7
    Nokia 7 Plus
    Nokia 8
    Nokia 8 Sirocco

    Step 1: Unlock the bootloader
    Original unlock thread closed

    Step 2: Install Magisk Manager
    You can download it from here:
    https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

    中国用户可从酷安下载 Magisk Manager
    Chinese users can download it from Coolapk instead

    Step 3: Patch stock boot from current or close version

    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:

    Code:
    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.

    If you're using these commands in OST LA installation directory, use "fastboot-android" instead of "fastboot".

    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:
    https://forum.xda-developers.com/xposed/unofficial-systemless-xposed-t3388268

    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:
    https://drive.google.com/open?id=1ISPiwruAxY0gVp3kil9YTAfIR8xBxHjf

    Special thanks:
    @topjohnwu for Magisk
    @blackpanther0582 for providing stock rom
    10
    There have to be another method than to buy the possibilty to unlock your bootloader.
    This is really making me angry....

    Don't get me wrong... I don't criticize your post! It is even very important to post and share everything about the 7+, especially in relation to unlocking the bootloader and rooting your devive, so that custom development can begin finally.

    To pay for unlocking your bootloader (and that even so awkward) is absolutely wrong in my opinion and I will definitely not support it... no matter how much I wish to unlock the bootloader.

    But many thanks for sharing and explaining. I hope HMD will offer an official way for unlocking the bootloader very soon, or someone will find a more user-friendly way to do that.




    Sent from my Nokia 7 plus using XDA Labs
    3
    There have to be another method than to buy the possibilty to unlock your bootloader.
    This is really making me angry....

    Don't get me wrong... I don't criticize your post! It is even very important to post and share everything about the 7+, especially in relation to unlocking the bootloader and rooting your devive, so that custom development can begin finally.

    To pay for unlocking your bootloader (and that even so awkward) is absolutely wrong in my opinion and I will definitely not support it... no matter how much I wish to unlock the bootloader.

    But many thanks for sharing and explaining. I hope HMD will offer an official way for unlocking the bootloader very soon, or someone will find a more user-friendly way to do that.

    I can understand your feeling.
    What I'm doing is making as much pressure as we can to HMD Global in order to make the phone unlockable officially.

    Once I achieved that, you needn't to pay for unlock key.
    3
    btw: for Magisk install on DP4-Beta4 3150, on me TA-1046, i use this method:
    1. download Magisk-v17.1.zip from official release page

    2. put Magisk-v17.1.zip on USB-C Flash
    in this method is not readable Internal Storage)

    3. boot(NOT FLASH!!! repeat... NOT FLASH!!!) TWRP-3.2.1 based on Oreo boot from here
    Code:
    fastboot  boot Nokia7plusv3.2.1.0-noflash.img

    4. insert USB-C Flash to USB-C port

    5. in TWRP select Install, select Storage USB-OTG, select Magisk-v17.1.zip, install it, reboot...
    2
    To subscribers of this topic:
    I uploaded patched DRG-229D boot image which is from Nokia X6. You can try to use it on your Nokia 7 plus and feel free to send feedback here ;)
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone