Root N10 using Magisk

andreas__

Senior Member
Sep 18, 2011
1,763
635
143
Warning: I'm not responsible for any damage or bricked phones!

Downloads for Stock image (Mirror)

10.5.10.BE89BA
- Official download or OTA server md5: 4e8157a39473fcc44ada5aba1752ad0d
- extracted boot.img
- Magisk patched boot.img
- thanks to Some_Random_Username for OTA+boot.img

10.5.9.BE89BA
- Official download or OTA server md5: c4bc21ef759e4bc5c3a6dd36ed70d6a6
- extracted boot.img
- Magisk patched boot.img
- thanks to Some_Random_Username for OTA+boot.img

10.5.8.BE89BA
- OTA server md5: 1308964ac7b7a46487b94ae4292f07c8
- extracted boot.img
- Magisk patched boot.img
- thanks to Some_Random_Username for OTA+boot.img

10.5.7.BE89BA
- Official download md5: 03847a52e48eda122d6441759cd9750a
- extracted boot.img
- Magisk patched boot.img
10.5.11.BE86AA
- Official download md5: 983022da81745e1b2d44c4134de69929
- extracted boot.img
- Magisk patched boot.img

10.5.9.BE86AA
- Official download md5: cfc6ed60e16ba22e8af6b7d1cf3a8d7f
- extracted boot.img
- Magisk patched boot.img

10.5.8.BE86AA
- Download not available, extracted from my device after OTA
- extracted boot.img
- Magisk patched boot.img

10.5.7.BE86AA
- Download not available, extracted from my device after OTA
- extracted boot.img
- Magisk patched boot.img

General Info:
  • You need adb and fastboot installed and should know how to use it
  • You must do this process only once, afterwards you can follow the OTA survival steps
  • You can use the already magisk-patched images by me or reproduce it yourself if you want. My magisk-patched images already have some modules installed
Reproduction of rooted images:
  1. Get boot.img of your current ROM with one of the following steps
    • download stock image from above and unzip to boot.img
    • extract from official download with this script on your computer
    • backup boot_a/boot_b partition from an temporarily rooted phone e.g. with this app - check which is the active slot via fastboot getvar current-slot
    • copy backup from a Magisk patched phone from /data/root/magisk_*
  2. install MagiskManager apk
  3. Use Magisk > Install > patch a file > select boot.img
Steps to root your device:
  1. MAKE SURE YOU HAVE THE MATCHING STOCK IMAGE INSTALLED
  2. Enable bootloader unlocking and advanced reboot in developer options
  3. unlock bootloader using fastboot oem unlock
    • Remember: This will erase you userdata
  4. run patched kernel fastboot boot magisk_patched.img
    • This will only boot the image once! Make sure everything is working (e.g. WiFi doesn't work on wrong image)
    • In case the command is stuck at Sending 'boot.img' try another cable!
  5. install MagiskManager apk - You have now root access!
  6. For a permanent root access: fastboot flash boot magisk_patched.img
    • Caution: Incremental OTAs will fail if read-only partitions are altered!

How to survive OTA:
  1. Disable automatic update in developer options
  2. In Magisk Manager choose uninstall > restore image - DON'T REBOOT
  3. Now do the OTA update - DON'T REBOOT
  4. in Magisk Manager select install > to inactive slot
  5. reboot now! the stock image is backed up to /data/root/magisk*

Thanks to topjohnwu for Magisk
 

Attachments

Last edited:

andreas__

Senior Member
Sep 18, 2011
1,763
635
143
@andreas__
Can u upload new kernel 10.5.8 BE86AA
Hi, updated OP with 10.5.8 BE86AA.

For EU users: sorry, download not yet available. If you have received the update already, you can boot the 10.5.7 rooted kernel (most things should work) and extract the boot partition of your active fastboot slot (follow reproduction of rooted images in OP)

EDIT: i had issues with fastboot boot command - i had to use another USB cable (from a samsung) instead of the official oneplus one...

EDIT2: added AFH mirror
 
Last edited:

powergo

Senior Member
Sep 12, 2013
205
63
58
Al Muharraq
www.wael.name
Thx but my phone global ver and when i try
Code:
$ python payload.bin /tmp/
  File "payload.bin", line 1
SyntaxError: Non-ASCII character '\x80' in file payload.bin on line 2, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
 

andreas__

Senior Member
Sep 18, 2011
1,763
635
143
Thx but my phone global ver and when i try
Code:
$ python payload.bin /tmp/
  File "payload.bin", line 1
SyntaxError: Non-ASCII character '\x80' in file payload.bin on line 2, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
Try it with python3.

EDIT: @powergo Where did you download the OTA for global stock ROM (NA) ?
 
Last edited:
  • Like
Reactions: powergo
Apr 25, 2017
1,259
2,620
133
updated OP with 10.5.9 for BE86 (NA version) and OTA survival instructions.
Sorry for hijacking your thread, but do you have changelog by any chance? I run EU firmware and didn't receive it yet, however opening stock boot.img in HxD and searching for com.android.build.boot.security_patch tends to indicate security patch level has been bumped to 2021-01-05.
Capture d’écran 2021-01-14 142554.png
 

andreas__

Senior Member
Sep 18, 2011
1,763
635
143
Sorry for hijacking your thread, but do you have changelog by any chance? I run EU firmware and didn't receive it yet, however opening stock boot.img in HxD and searching for com.android.build.boot.security_patch tends to indicate security patch level has been bumped to 2021-01-05.
View attachment 5187139
No problem :D

I don't have it written down anywhere. But i remember the changelog on the OTA screen saying
- security patch update as you said
- something like improved power usage (no further explanation was given and i was wondering about that, that's why i remember)
 
Apr 25, 2017
1,259
2,620
133
My new Oneplus Nord N10 5G from Metro by T-Mobile in US/NA has Build 10.5.7.BE88CF is it safe to root using "NA (BE86) 10.5.7.BE86AA" ?
You may be able to fastboot boot it, but since it is a different software branch it may not work or you may have some functions like WiFi not working correctly. By the way, sorry if it sounds stupid, but were you really able to unlock bootloader of your unit without waiting for a SIM unlock from T-Mobile and an unlock token from OnePlus? That's how it was in the past for T-Mobile variants of OnePlus devices (albeit N10/N100 are first devices which are also sold by Metro by T-Mobile).

Also, could you please also share some getprop properties? Specifically ro.product.name, ro.product.model, ro.build.version.ota, ro.build.fingerprint, ro.build.version.security_patch, ro.boot.project_codename and ro.boot.project_name?
Idea here is to know how different this variant is compared to unlocked units (but also to "normal" T-Mobile variant).
 

android2021

New member
Jan 16, 2021
4
1
3
[ro.product.name]: [OnePlusN10METRO]
[ro.product.model]: [BE2025]
[ro.build.version.ota]: [OnePlusN10METROOxygen_14.O.07_GLO_007_2011261823]
[ro.build.fingerprint]: [OnePlus/OnePlusN10METRO/OnePlusN10METRO:10/QKQ1.200830.002/2011261742:user/release-keys]
[ro.build.version.security_patch]: [2020-11-05]
[ro.boot.project_codename]: [billie8t]
[ro.boot.project_name]: [20885]
 
Apr 25, 2017
1,259
2,620
133
[ro.product.name]: [OnePlusN10METRO]
[ro.product.model]: [BE2025]
[ro.build.version.ota]: [OnePlusN10METROOxygen_14.O.07_GLO_007_2011261823]
[ro.build.fingerprint]: [OnePlus/OnePlusN10METRO/OnePlusN10METRO:10/QKQ1.200830.002/2011261742:user/release-keys]
[ro.build.version.security_patch]: [2020-11-05]
[ro.boot.project_codename]: [billie8t]
[ro.boot.project_name]: [20885]
So software is clearly different but codename is same as "normal" T-Mobile, which is a bit odd. Try to fastboot boot rooted 10.5.7 BE86AA boot.img once you get your bootloader unlocked and to backup your stock boot.img using dd so that you can patch it using Magisk Manager.
 

JrkSoldierX

Member
Dec 6, 2012
30
7
28
Success! Oneplus Nord 10 5g NA Unlocked with magisk 21.2 and build 10.5.9.BE86AA. Thank you
andreas__. Not quite sure how i feel about this phone being a replacement for my one plus 6, but so far so good! Edit: Also no Wifi issues to report as of now, will report back if i find bugs.
 
Last edited:
  • Like
Reactions: horsecharles

andreas__

Senior Member
Sep 18, 2011
1,763
635
143
Just received 10.5.9 EU OTA, attached stock boot.img (MD5 EEFEF5EE72A6500D69C5473094BAA714) extracted from full zip https://otafsg1.h2os.com/patch/amaz....09_OTA_009_all_2101021731_4c2d90f6a3bc7d.zip
Thanks again :) updated OP with patched image for 10.5.9 EU .

About Metro TMO version BE88CF: I have no clue where to get a boot image for it, for everyone that has it, please follow this suggestion and extract the boot image yourself (the partition backup app works too, described in OP)