[GUIDE] How to root OnePlus Nord

Search This thread

Ferri64

Senior Member
Mar 16, 2012
77
28
Alpicat
OnePlus Nord
I've upgraded to the open beta (EU version) and I've been able to keep root without issues.
When the update finished, before rebooting, I've taken the option to install in the inactive slot from Magisk app, and after reboot everything works, including root.
 
  • Like
Reactions: Bobby_Turboto

ulipo

Senior Member
Dec 31, 2012
87
48
ulisse.wordpress.com
Hey :)

Did you already have a Magisk installed on Android 10 & updated to Android 11 afterwards or did you only install Magisk when you installed Android 11?

Thanks :)
I had Android 10 rooted with Magisk, but I used Magisk stable and it wasn't able to successfully install root in the inactive slot, as suggested by Ferri64 here, so I had to redo all the process again from the beginning. Not a big deal anyway.
 

Facebooook

Senior Member
Dec 24, 2009
275
25
Katni
I am on 10.5.9 with rooted and update came so I updated via local update and forget to patch boot.img and rebooted phone and after open beta came and again I updated via local update so right now I am on open beta 1 not rooted.
So now I am trying to root and follow the instructions but when I flash patched boot.img my phone got boot loop and when flash stock boot.img my started normally.
I tried both methods
1 patch with magisk beta/canary build and flash patch boot.img thrue fastboot command. But phone goes on boot loop.
2 I tried with twrp but no luck.
So any one upload patch boot.img for indian version.
 
  • Like
Reactions: Bobby_Turboto

Bobby_Turboto

New member
Feb 1, 2021
3
1
Is there a boot image for AC01BA Europe 10.5.10 ?
I found one, but I don't know if the site is legit:

Edit: nvm the guide worked without the need of this link sometimes you just need to reload a few times in order to find a mirror to download from
If you can't just use mine:
 

Attachments

  • boot.img
    96 MB · Views: 37
Last edited:
  • Like
Reactions: secosan

Godlydevils

Senior Member
Jan 19, 2015
193
19
A better rooting guide:

We unlock bootloader and back up imp files first.

take backup of all your data, contacts, settings, sync everything.
ensure you have prequisites, (TWRP, Platform tools)
Install official drivers from Device > MTP
Obtain Platform tools from https://developer.android.com/studio/releases/platform-tools
enable dev settings in phone,
enable oem unlock, usb debug and advance boot from dev settings
open cmd to where you have extracted platform tools(Shift+Right click in the directory > open powershell or cmd, from powershell, type cmd and color 4 or whatever your pref.)
type adb devices, your phone will ask for fingerprint, tick always trust and allow.
type adb devices again, you should see your device's serial number.
reboot to fastboot by volup+poweroff combo and select fastboot. (you can also do adb boot but I prefer this)
Connect cable, open device manager(Run > devmgmt.msc)
If you see android device, or if device is not identified, then right click on that unknown android device and update drivers, windows 10 update provides the same thing, just that the source is more trusted.
if that does not work, or if you have automatic driver update disabled, go to windows update > optional update > drivers > install the android adb interface driver.
no reboot is necessary.

type fastboot devices
you should see serial number.
type fastboot oem unlock
confirm in mobile, it will reset.
I prefer doing manual reset again here, it's just my pref, not necessary, so power off device, voldown+powerbutton hold, release power button when screen turns on, keep holding voldown until you see fastboot. and boot to recovery wipe everything, cache data system userdata.
reboot to device, skip in setup, enable dev settings, and enable usb debug + advanced boot
connect to pc, confirm fingerprint + always allow, reboot to fastboot

rename the twrp file that you downloaded and place in same platform tools folder to twrp.img

type fastboot boot twrp.img

then run following commands one by one. you can copy paste in powershell, note, one of the boot_a or boot_b command may fail, not to worry.
adb shell
dd if=/dev/block/bootdevice/by-name/boot_a of=/tmp/boot_a.img
dd if=/dev/block/bootdevice/by-name/boot_b of=/tmp/boot_b.img
dd if=/dev/block/bootdevice/by-name/persist of=/tmp/persist.img
dd if=/dev/block/sdf2 of=/tmp/modemst1.bin
dd if=/dev/block/sdf3 of=/tmp/modemst2.bin
exit
adb pull /tmp/boot_a.img boot_a.img
adb pull /tmp/boot_b.img boot_b.img
adb pull /tmp/persist.img persist.img
adb pull /tmp/modemst1.bin modemst1.bin
adb pull /tmp/modemst2.bin modemst2.bin

you will have all files in platform tools folder
you would have obtained either boot a or boot b, just rename to boot.img
back up all 4 files. DO IT, VERY IMP!

So now you have backed up everything without using any payload dumper, no unnecessary python installs.

reboot to device

Now, if you want to root:
obtain official magisk manager stable apk from: https://github.com/topjohnwu/Magisk
copy the magisk apt and boot.img to your root of internal storage
Install magisk
run, tap on install next to magisk > tap on select and patch a file > select your boot.img, > let's go
it will show success, and save new boot file in downloads folder.
copy that file to your pc > platform tools folder( you must have already backed up the stock boot.img, so you can delete the existing one) and rename the new one to boot.img
reboot to fastboot.
fastboot flash boot boot.img
Press the power button on device, it will reboot.

Now, you have root on your stock rom.

Do not update OOS, without reverting to stock, because we may not know if tomorrow oneplus brings some security features to brick your devices.
You can update the magisk manager app, but Do not update magisk without following boot.img patch a file process with your stock boot.img, do not repatch the magisk_boot.img

You need to follow respected Rom's or Kernel's instruction for flashing of same.
 
  • Like
Reactions: onimorza
Jan 6, 2019
8
0
The method posted by OP doesn't work anymore for Oxygen OS 11.AC01BA.
I can flash the patched boot.img, but the device is stuck in an infinite loading screen.

When i flash the stock boot.img back, it works normally.
Any tips?
 

ememeh

Senior Member
Jan 14, 2012
97
8
OnePlus Nord
Try flashing OOS 11 on both the a and b partition (bascally install it twice via the local upgrade option). Then give it a go.
Is that likely to avoid causing a bootloop and/or avoid wiping the device?

I want to upgrade to 11, currently on the last 10 build, rooted with Magisk, but don't wanna risk anything going to 11. Especially since (afaik) there are no whole-device backup options atm (I always used to do TWRP backups/nandroids before big updates)
 

altabb

Member
Dec 27, 2017
8
1
I confirm the bootloop using this method on a "fresh" OnePlus Nord under OOS 11.
Can someone drop the OOS 11.1.11.AC01BA boot image, please ?
 
Last edited:
Hello Nord rooters! Some of my apps seems not to work when rooted, even with safetynet fixed, magiskhide & EdXposed hidden. (Paypal and amazon for example)

Shopify had the same problem but was fixed with previous techniques. Any tips to make it work ? Already searched in other forums how to make bank apps functional when rooted.

And if no solution, paypal is OK in browser so it is not a big flaw.

*edit* @altabb I had a bootloop when switching to 11 and I used the restore tool to flash 10.5.X back, then I have updated to beta normally without root
 
Last edited:

w0str5

New member
Apr 8, 2021
1
1
I try to have 11 rooted
I had the same problem. There were old fragments of modules of magisk on the phone.
Download a twrp-boot.img and boot it, don't flash it! (e.g. twrp-3.4.0-13-avicii-mauronofrio.img)
fastboot boot twrp-boot.img
Then choose advanced / filemanager in twrp and delete all file in /data/adb/modules.
Or open terminal and do
cd /data/adb/modules rm -rf *
Try to boot your magisk-boot.img to verify if it works.
fastboot boot magisk-boot.img
If it works you can flash it.
 
Last edited:
  • Like
Reactions: onimorza

Top Liked Posts

  • There are no posts matching your filters.
  • 13
    Devices that started to be received today have Oxygen OS 10.5 out of the box.
    No flashable zip for that software release is publicly available, meaning its stock boot.img cannot be extracted.

    You then need to update to a newer build first. You can do so from my OxygenOS builds repo thread.

    Once done, enable developers options and enable OEM unlock.
    Reboot to fastboot (enable USB debugging in dev options and use adb reboot bootloader)
    Type fastboot oem unlock and accept to unlock bootloader (warning: as a safety measure Android will wipe your userdata)
    Go through OxygenOS setup
    Install Magisk Manager from https://github.com/topjohnwu/Magisk/releases/download/manager-v7.5.1/MagiskManager-v7.5.1.apk
    Move stock boot.img to your phone internal storage (please open spoiler)

    For your convenience, 10.5.2 stock boot.img for EU and India have been extracted
    EU download: https://drive.google.com/file/d/18aPqErEMbRqmN4BpdvHE4OKgizDcEbou/view?usp=sharing
    India download: https://drive.google.com/file/d/1ZIEYWH2PYkKyojq_S_i_onBstejHKDTJ/view?usp=sharing

    For future builds, you can use payload dumper (Windows) , (Linux ) to extract stock boot.img


    Click on Install
    Choose "Select and patch a file"
    Select your stock boot.img
    Wait until Magisk patches your boot.img, and once patched it can be found in the Downloads folder
    Copy that patched boot.img (which should be named magisk_patched.img) to your computer
    Boot into fastboot again
    Type fastboot getvar current-slot into your terminal window and press Enter.
    If the output is a , type fastboot flash boot_a magisk_patched.img into your terminal window and press Enter.
    If the output is b , type fastboot flash boot_b magisk_patched.img into your terminal window and press Enter.
    Reboot to OxygenOS

    Open Magisk Manager and your device should now be rooted.

    TIPS:
    - Ensure you got latest platform tools installed from https://developer.android.com/studio/releases/platform-tools
    - Backup your /persist once rooted (dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img) and save it somewhere on your cloud/computer, this might save you from a broken fingerprint sensor and an RMA in the future if it turns out this device has same issue as 8-series when it comes to crossflash regional builds of OOS.

    Credits:
    @topjohnwu for making Magisk
    /u/Jisifus for testing on his device and for screenshots
    5
    Rooting worked and I have a Nord 10.5.3 rooted and working very well.


    Steps:

    1. Enable Developers Options and Enable OEM Unlock.
    2. Reboot to fastboot (enable USB debugging in dev options and use adb reboot bootloader)
    3. Type fastboot oem unlock and accept to unlock bootloader (warning: as a safety measure Android will wipe your userdata)
    4. Go through OxygenOS setup
    5. Enable Developers Options
    6. Install Magisk Manager from https://github.com/topjohnwu/Magisk/...ger-v7.5.1.apk
    7. Move stock boot.img to your phone internal storage
    8. In Magisk Manager - Click on Install
    9. Choose "Select and patch a file"
    10. Select your stock boot.img
    11. Wait until Magisk patches your boot.img, and once patched it can be found in the Downloads folder
    12. Copy that patched boot.img (which should be named magisk_patched.img) to your computer
    13. Boot into fastboot again
    14. Type fastboot boot magisk_patched.img
    15. If all is fine,
    16. Boot into fastboot again
    17. Type fastboot getvar current-slot into your terminal window and press Enter.
    18. If the output is a , type fastboot flash boot_a magisk_patched.img into your terminal window and press Enter.
    If the output is b , type fastboot flash boot_b magisk_patched.img into your terminal window and press Enter.
    19. Reboot to OxygenOS
    20. Enable Developers Options
    4
    Just want to share my experience. My phone uploaded itself to android 11.1.1.2 so I lost root.
    I just followed op steps to regain root :

    1. Bootloader was already unlocked
    2. Downloaded 11.1.1.2 here
    3. Downloaded payload dumper to extract boot.img
    4. Copy boot.img to phone. Patch it with magisk app
    5. It gives me a new patched boot.img
    6. Copy it to pc
    7. Boot phone to fastboot
    8. Type the command fastboot flash boot magisk_patched.img
    9. Reboot phone
    3
    ...and after successful boot.img replacement and your device is rooted.
    At next OTA update, update, but do not reboot. Go to Magisk Manager ("Magisk is up to date"), choose Install and Install to Inactive Slot (After OTA), reboot.
    Doing this for every OTA ensures that you'll stay rooted.
    3
    hello what is the detailed method for updating, I can't find the procedure
    thank you

    OnePlus 3 @ Tapatalk

    If you are on 10.5.2 and rooted with Magisk:
    - Go to Settings and download 10.5.3 OTA
    - Let it install
    - After it has finished installing, DO NOT REBOOT!!
    - Go to Magisk, select upper Magisk 'Install' (Not Manager), click 'Install' again and then choose 'Install to Inactive Slot (After OTA)'
    - After patching, reboot

    This way phone kept root after OTA.