• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[GUIDE] How to root OnePlus Nord

Search This thread

luckana

Senior Member
Apr 30, 2012
752
180
24
Burgas
OnePlus Nord
i flashed the latest 1.3 kernel on the latest OxygenOS11 EU build for the Nord and i observe rather weird behaviour in terms of regulation of frequency spikes, general cpu consumption and scheduling... for example even when i turn my screen off, Spotify's current played audio starts chopping as hell, sometimes even fully dissapearing for up to 10 seconds. That's while playing through the one plus buds z with hd audio on. Is that abnormality related to the idle freq only
 

didykong

Member
May 3, 2012
11
9
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
 

ememeh

Senior Member
Jan 14, 2012
90
8
OnePlus Nord
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
Thanks for posting how it worked for you. This is my normal process. Except for your step 8 I normally do the getvar command to find whether to flash to boot_a or ..._b. Did you not have to do that this time?

I'm still worried about bootloops and don't have a solid backup solution without a proper TWRP.
 

didykong

Member
May 3, 2012
11
9
Thanks for posting how it worked for you. This is my normal process. Except for your step 8 I normally do the getvar command to find whether to flash to boot_a or ..._b. Did you not have to do that this time?

I'm still worried about bootloops and don't have a solid backup solution without a proper TWRP.
I have never did the getvar step. Neither the first time I rooted the phone and the last time. The command fastboot flash boot magisk_patched.img automatically choose the right slot.
 

Danielci58

Member
Nov 12, 2015
10
1
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

Not working for 11.1.1.3 after flashing it will load forever. The only solution its to flash again the original 11.1.1.3 boot.img

Any solution for this ?
 

n0j0e

Senior Member
@didykong
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
mhh, if an update comes on the Oxygen Updater i download it within to sdcard root. Then flashing via OxygenOS in-build updater (select the local option). If successful I start Magisk and patch boot with the direct method on the inactive slot. Reboot and fine..

Maybe disable auto updating in in-build updater to prevent problems!
 
Last edited:

Fyrlow

Member
May 18, 2010
12
0
OnePlus Nord
[SOLVED]

Hello,

I have issues rooting my phone with magisk. Couldn't find the answer here (or anywhere else ...)
What I think is I am patching the wrong boot.img file.
Shall I extract boot.img from my custom rom ? How ? If not, how can I find the right boot.img file for my phone ?

Thanks for your help!
 
Last edited:

Fyrlow

Member
May 18, 2010
12
0
OnePlus Nord
Hello,

I have issues rooting my phone with magisk. Couldn't find the answer here (or anywhere else ...)
What I think is I am patching the wrong boot.img file.
Shall I extract boot.img from my custom rom ? How ? If not, how can I find the right boot.img file for my phone ?

Thanks for your help!
Solved it :)
In case anyone is wondering how : using payload dumper, I managed to extract "boot.img" from the custom rom (to use payload dumper, you need to unzip the custom rom into "payload_input" folder).
 

lockac

Member
May 13, 2011
6
0
Good morning guys I managed to accidentally factory reset my one plus nord. Now Id like to try and get back some data from which does'nt seem to have been being backed up since i got my phone in feb. looking at all the recovery programs do do a proper scan of the phones disk can only be done when the phone is rooted.

I'm not after adding custom roms etc just want to root try a scan and then put it back if it doesn't work. I'm on os 11.1.5.5,AC01BA. I've tried a couple of rooting options kingaroot & dr.fone root. Both failed. to be to be honest i rooted my old one plus 3 years ago and then had nothing but problems later on down the line with getting ota updates. To be honest if this had not happend i would not be rooting it. certainly not after customer roms etc any more.

I have a couple of questions: -
  1. I can i root my phone with out using TWRP.
  2. Does magisk require the boot image copied to the device ( as I don't want to over right any further pars of the disk until I've scanned it)
  3. Once rooted my phone is it easy enough to unroot. So that nothing wont install work because it feels its been rooted.
Not sure if ive posted in the right place or not.
 

anly11

Senior Member
Jan 25, 2011
61
0
Did somebody try flash magisk.zip directly from recovery using adb sideload? Maybe it works and would be easier method :)
 

filigi

Member
Feb 21, 2011
18
0
Hi !
I have root, and I am used, when an update is there, to first restore image with Magisk app, before updating.
Some times ago, I did a factory reset and now, with the 11.1.6.6 update, Magisk says : "stock backup doesn't exist".
I guess that the stock "image.boot" has been deleted from data when I did the factory reset.
Can you explain what I should do to update safely end keep root.
Thanks
 

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.