How To Guide TUTORIAL TWRP AND ROOT NORD 2 OXYGEN OS 11 ( Links updated!)

Search This thread

vincebay

Senior Member

E-Chan42

Senior Member
Nov 25, 2010
103
4
Ok, I'm in TWRP. Now my goals are to install Magisk and have TWRP persist between reboots.

Every time I select and install magisk's zip file TWRP restarts.
Every time I reboot the phone TWRP needs to be fastbooted back...

Any ideas on how to tackle this?

UPDATE: magisk 24 was linked in the OP magisk 23 worked fine. Any reason to update?
 
Last edited:

pankspoo

Senior Member
Jun 27, 2013
1,876
989
in front of ENCHILADA
Ok, I'm in TWRP. Now my goals are to install Magisk and have TWRP persist between reboots.

Every time I select and install magisk's zip file TWRP restarts.
Every time I reboot the phone TWRP needs to be fastbooted back...

Any ideas on how to tackle this?

UPDATE: magisk 24 was linked in the OP magisk 23 worked fine. Any reason to update?
Download and rename this file as .zip https://github.com/topjohnwu/Magisk/releases/download/v25.0/Magisk-v25.0.apk
Then flash it via twrp reboot and rename it again to apk and install
 

Audoghast

Member
Jun 13, 2022
11
0
Good evening.



I just tried to root a Oneplus Nord 2 5G (EU Edition) and got as far as:



fastboot flash recovery twrp.img



It always returns “error flashing partition” “volume full”



Unfortunately, the phone was upgraded to Android 12. Could that be the problem?

If so, how can I get back to Android 11 (bootloader is unlocked).

I do not want to fiddle too much with it, not to make things worse.



Thanks a lot for your help.



Audoghast
 

pankspoo

Senior Member
Jun 27, 2013
1,876
989
in front of ENCHILADA
Good evening.



I just tried to root a Oneplus Nord 2 5G (EU Edition) and got as far as:



fastboot flash recovery twrp.img



It always returns “error flashing partition” “volume full”



Unfortunately, the phone was upgraded to Android 12. Could that be the problem?

If so, how can I get back to Android 11 (bootloader is unlocked).

I do not want to fiddle too much with it, not to make things worse.



Thanks a lot for your help.



Audoghast
On Android 12 OnePlus removed fastbootmode so no unlocking nothing.
But how did u booted in fastbootmode on oos 12 i can't understand
 

Audoghast

Member
Jun 13, 2022
11
0
Hello again.

Thanks for the quick reply.

Since I only flashed one phone more than 10 years ago, I followed everything by the letter.
The video clearly asked to update the system software (at the time to version 10). There was no mention of the disappearance of fastboot on version 12.
I cannot remember to which version I updated. I may still have version 11.

In any case fastboot works and adb commands are being accepted. It can also be put in fastboot via VOL UP, DN & POWER.
The last successful step was flashing the vbmeta image.

TWRP flashing results in “error flashing partition” “volume full”.

What shall I do now? Is there any test to run?

I am seriously at a loss here since I am sitting in front of a bricked phone.

There should also be a warning out not to update to version 12.

I would really appreciate your help and do not want to try out thousands of ideas from other websites.

Thank you again.

Audoghast
 

lolahuop

New member
Jun 19, 2022
4
0
SO finally I successfully rooted with TWRP and root access.thanks to all developers @Eastw1ng @TheMalachite

Following are all download links combined in one post Also there are two threads like unlocking boot loader and twrp but there are some steps are not mentioned which we must need to understand so see the video tutorial at the end of thread.
If you have issues please post comment I will try to solve at my best

NOTE: REMOVE ALL PASSWORD AND PINS ON PHONE BEFORE FLASHING TWRP
All data will be erased so keep backup

Download:
TWRP IMAGE:

Vbmeta image:


Mediatek USB VCom drivers:




ADB AND FASTBOOT DRIVERS(WHEN FASTBOOT NOT DETECTING ONLY)


magisk v24 zip:


magisk 23 apk:


CMD COMMNADS HIT ENTER:


1)detect adb devices:


adb devices


2)Reboot to bootloader mode:
adb reboot bootloader


3)To detect FASTBOOT devices:


fastboot devices


4)To OEM unlock:
fastboot flashing unlock


5)To flash Vbmeta image:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img


6) flash twrp image:
fastboot flash recovery recoveryname.img


7)Reboot from FASTBOOT mode to recovery:
fastboot reboot recovery


If you have any issue follow this tutorial correctly
i am on the oxygen os 12.1 rightnow after i use the command adb reboot bootloader the device switches off and it says in small text ''the serial not match and fastboot verify fail'' let me know how to fix it asap
 

pankspoo

Senior Member
Jun 27, 2013
1,876
989
in front of ENCHILADA
i am on the oxygen os 12.1 rightnow after i use the command adb reboot bootloader the device switches off and it says in small text ''the serial not match and fastboot verify fail'' let me know how to fix it asap
No solution for that you need to revert back to oos11
 

pankspoo

Senior Member
Jun 27, 2013
1,876
989
in front of ENCHILADA
Hi, I successfully followed this procedure but had bootloop problem with twrp+root a few months ago and decided to stay unrooted for some times, I found that root may be stable if I followed these steps : https://gist.github.com/Giovix92/c7e69123dbc51adf3f3a26f9c3c0208e#rooting. Can someone confirm that root is stable (no bootoloop) with this procedure ?
Patched boot image flashing replace u r stock boot imge and this twrp fashing of magisk also patches the stock boot image.
Nothing different
 

gawain.j

Senior Member
Aug 11, 2010
59
12
Thanks for your answer, so custom rom is the only way if you want to have stable root I guess!
 

eternalstudent

New member
Jun 24, 2022
1
0
Hi, thanks for the guide and help here. I followed the steps, and was able to unlock bootloader, flash vbmeta, but flashing recovery and then booting into it is failing because of error : "unknown reboot target recovery"







fastboot: usage: unknown reboot target recovery

Before that,

0. My goals are just rooting, and preferably passing safety net. TWRP is not necessary, but I used it because it was in the guide.
1. I have Indian version
2. Android 11
3. Build DN2101_11_A.11
4. When downloading TWRP from here, version twrp-3.6.0_11-0-UNOFFICIAL-denniz.img cannot find any mirrors, so I had to download version twrp-3.5.2_11-0-UNOFFICIAL-denniz.img
5. I am using Linux , and ubuntu provided android-tools-adb / android-tools-fastboot packages for ADB and fastboot
6. Error when rebooting into recovery
Bash:
# fastboot flash recovery twrp.img
target reported max download size of 134217728 bytes
sending 'recovery' (131072 KB)...
OKAY [  4.148s]
writing 'recovery'...
OKAY [  0.274s]
finished. total time: 4.422s
# fastboot reboot recovery
fastboot: usage: unknown reboot target recovery

7. Error when booting into downloaded image is
Bash:
# fastboot boot twrp.img
downloading 'boot.img'...
OKAY [  4.198s]
booting...
FAILED (status read failed (No such device))
finished. total time: 16.388s


Mr Vag had also posted similar error "unknown reboot target recovery" in this thread, but I didn't find any reply to it.

Any help would be appreciated greatly.
 

pankspoo

Senior Member
Jun 27, 2013
1,876
989
in front of ENCHILADA
Hi, thanks for the guide and help here. I followed the steps, and was able to unlock bootloader, flash vbmeta, but flashing recovery and then booting into it is failing because of error : "unknown reboot target recovery"







fastboot: usage: unknown reboot target recovery

Before that,

0. My goals are just rooting, and preferably passing safety net. TWRP is not necessary, but I used it because it was in the guide.
1. I have Indian version
2. Android 11
3. Build DN2101_11_A.11
4. When downloading TWRP from here, version twrp-3.6.0_11-0-UNOFFICIAL-denniz.img cannot find any mirrors, so I had to download version twrp-3.5.2_11-0-UNOFFICIAL-denniz.img
5. I am using Linux , and ubuntu provided android-tools-adb / android-tools-fastboot packages for ADB and fastboot
6. Error when rebooting into recovery
Bash:
# fastboot flash recovery twrp.img
target reported max download size of 134217728 bytes
sending 'recovery' (131072 KB)...
OKAY [  4.148s]
writing 'recovery'...
OKAY [  0.274s]
finished. total time: 4.422s
# fastboot reboot recovery
fastboot: usage: unknown reboot target recovery

7. Error when booting into downloaded image is
Bash:
# fastboot boot twrp.img
downloading 'boot.img'...
OKAY [  4.198s]
booting...
FAILED (status read failed (No such device))
finished. total time: 16.388s


Mr Vag had also posted similar error "unknown reboot target recovery" in this thread, but I didn't find any reply to it.

Any help would be appreciated greatly.
U r fastboot drivers are not updated
 
  • Like
Reactions: eternalstudent

lolahuop

New member
Jun 19, 2022
4
0
SO finally I successfully rooted with TWRP and root access.thanks to all developers @Eastw1ng @TheMalachite

Following are all download links combined in one post Also there are two threads like unlocking boot loader and twrp but there are some steps are not mentioned which we must need to understand so see the video tutorial at the end of thread.
If you have issues please post comment I will try to solve at my best

NOTE: REMOVE ALL PASSWORD AND PINS ON PHONE BEFORE FLASHING TWRP
All data will be erased so keep backup

Download:
TWRP IMAGE:

Vbmeta image:


Mediatek USB VCom drivers:




ADB AND FASTBOOT DRIVERS(WHEN FASTBOOT NOT DETECTING ONLY)


magisk v24 zip:


magisk 23 apk:


CMD COMMNADS HIT ENTER:


1)detect adb devices:


adb devices


2)Reboot to bootloader mode:
adb reboot bootloader


3)To detect FASTBOOT devices:


fastboot devices


4)To OEM unlock:
fastboot flashing unlock


5)To flash Vbmeta image:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img


6) flash twrp image:
fastboot flash recovery recoveryname.img


7)Reboot from FASTBOOT mode to recovery:
fastboot reboot recovery


If you have any issue follow this tutorial correctly
I Have a Non Rooted Nord 2 And Have Stock recovery Installed. And Have Bootloader Unlocked How Do I Relock It Again? Please Help Me!
 

Audoghast

Member
Jun 13, 2022
11
0
Hello again.

Thanks for the quick reply.

Since I only flashed one phone more than 10 years ago, I followed everything by the letter.
The video clearly asked to update the system software (at the time to version 10). There was no mention of the disappearance of fastboot on version 12.
I cannot remember to which version I updated. I may still have version 11.

In any case fastboot works and adb commands are being accepted. It can also be put in fastboot via VOL UP, DN & POWER.
The last successful step was flashing the vbmeta image.

TWRP flashing results in “error flashing partition” “volume full”.

What shall I do now? Is there any test to run?

I am seriously at a loss here since I am sitting in front of a bricked phone.

There should also be a warning out not to update to version 12.

I would really appreciate your help and do not want to try out thousands of ideas from other websites.

Thank you again.

Audoghast
Hello everyone.

I had the „volume full“ error before and have now found the reason why which was quite embarrassing: my phone is a Oneplus Nord CE 5G and this is the wrong forum.
I do not know how I could overlook that but I did and I am sorry if anyone put in too much thought into my problem.
The TWRP.img file was wrong and hence the “volume full” message which appears in such cases.
The volume was not really full.

I will now move to the right forum here.

Thanks and goodbye.

Audoghast
 

Zombnombs

Senior Member
I Have a Non Rooted Nord 2 And Have Stock recovery Installed. And Have Bootloader Unlocked How Do I Relock It Again? Please Help Me!
you wil need to reflash your stock recovery image, stock boot image for your current version, and a stock vbmeta.img again. Preferably via MTKclient you can check the thread below for instructions.

 

Giovix92

Recognized Developer
Oct 22, 2015
1,722
1,769
21
Catanzaro, Italy
Patched boot image flashing replace u r stock boot imge and this twrp fashing of magisk also patches the stock boot image.
Nothing different
Just a little correction: it is, in fact, different.
By patching the boot.img, you'll avoid (as expected) flashing the magisk zip, that avoids permanent TWRP and other patches applied to the system directly. It's not only a boot.img matter, it's a general OS matter. Also, reduces the risk of boot failing since recovery stays fully stock at every reboot*. One thing less to care about.

Since it is kown that oplus likes to stop booting whenever root is available (hey there OPLUS_ROOT_CHECK), patched boot.img is the only safest way to root it, as of now. No bootloops, no problems.

* Note: this happens because, if the recovery is different and there isn't any patch for stopping this process, it'll get overwritten at boot with the stock recovery present into /system. Magisk tends to patch this process in order to NOT overwrite it.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Hi Tomasz,

    Like you I stay on OOS 11 A_20, because I like it and don't have time to test new ROMs although I see few good ones. There is a GCam builds which work well, too. I cannot compare since I'm not heavy photo user.

    Yes, stock recovery and patched with magisk boot.img will keep root without bootloop.

    I share the excellent link to @Giovix92 notes about Nord 2 5G.


    Hope helped. Cheers.
    1
    Hi Tomasz,

    Like you I stay on OOS 11 A_20, because I like it and don't have time to test new ROMs although I see few good ones. There is a GCam builds which work well, too. I cannot compare since I'm not heavy photo user.

    Yes, stock recovery and patched with magisk boot.img will keep root without bootloop.

    I share the excellent link to @Giovix92 notes about Nord 2 5G.


    Hope helped. Cheers.
    I don't even know how to thank you for this information that the behavior of stock recovery and magisk no longer causes a bootloop :) because the mass memory has already been unmounted (reason) Thank you for the link, I will definitely read it and look at it, and now I did it so that having root, I simply flashed stock recovery_a20 from the system position through the flashify application and I hope that I will not catch the bootloop as you said and with this information you saved me a lot of stress and nerves related to it. I understand that you are also on a20 with stock recovery and magisk for a long time and have not had this unpleasant case of bootloop even once? It's probably the case that during one of the bootups, the phone recognizes twrp custom and not stock, so it doesn't move, am I right?
    Postscript after later attempts. In fact :) I ran it 9 times on stock recovery, actually zero bootloop🙂. Thank you my friend for your reply with information. All the best 🙂
  • 16
    SO finally I successfully rooted with TWRP and root access.thanks to all developers @Eastw1ng @TheMalachite

    Following are all download links combined in one post Also there are two threads like unlocking boot loader and twrp but there are some steps are not mentioned which we must need to understand so see the video tutorial at the end of thread.
    If you have issues please post comment I will try to solve at my best

    NOTE: REMOVE ALL PASSWORD AND PINS ON PHONE BEFORE FLASHING TWRP
    All data will be erased so keep backup

    Download:
    Latest new twrp 3.7 official:

    Vbmeta image:


    Mediatek USB VCom drivers:




    ADB AND FASTBOOT DRIVERS(WHEN FASTBOOT NOT DETECTING ONLY)


    magisk v24 zip:


    magisk 23 apk:


    CMD COMMNADS HIT ENTER:


    1)detect adb devices:


    adb devices


    2)Reboot to bootloader mode:
    adb reboot bootloader


    3)To detect FASTBOOT devices:


    fastboot devices


    4)To OEM unlock:
    fastboot flashing unlock


    5)To flash Vbmeta image:
    fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img


    6) flash twrp image:
    fastboot flash recovery recoveryname.img


    7)Reboot from FASTBOOT mode to recovery:
    fastboot reboot recovery


    If you have any issue follow this tutorial correctly
    4
    Patched boot image flashing replace u r stock boot imge and this twrp fashing of magisk also patches the stock boot image.
    Nothing different
    Just a little correction: it is, in fact, different.
    By patching the boot.img, you'll avoid (as expected) flashing the magisk zip, that avoids permanent TWRP and other patches applied to the system directly. It's not only a boot.img matter, it's a general OS matter. Also, reduces the risk of boot failing since recovery stays fully stock at every reboot*. One thing less to care about.

    Since it is kown that oplus likes to stop booting whenever root is available (hey there OPLUS_ROOT_CHECK), patched boot.img is the only safest way to root it, as of now. No bootloops, no problems.

    * Note: this happens because, if the recovery is different and there isn't any patch for stopping this process, it'll get overwritten at boot with the stock recovery present into /system. Magisk tends to patch this process in order to NOT overwrite it.
    2
    This worked great! Only problem I had was unlocking the bootloader and flashing TWRP without booting up caused the stock recovery to overwrite it again for some reason. After repeating the steps after unlocking it worked. Also, if you have the same problem as me with Magisk being unable to bypass the safety net, try this:

    I wish I found this before I sunk hours into learning what build prop editing is :p
    1
    Worked like a charm on a DN2103 OxygenOS v11.3 phone.

    Thank you.
    1
    Hi Tomasz,

    Like you I stay on OOS 11 A_20, because I like it and don't have time to test new ROMs although I see few good ones. There is a GCam builds which work well, too. I cannot compare since I'm not heavy photo user.

    Yes, stock recovery and patched with magisk boot.img will keep root without bootloop.

    I share the excellent link to @Giovix92 notes about Nord 2 5G.


    Hope helped. Cheers.
    I don't even know how to thank you for this information that the behavior of stock recovery and magisk no longer causes a bootloop :) because the mass memory has already been unmounted (reason) Thank you for the link, I will definitely read it and look at it, and now I did it so that having root, I simply flashed stock recovery_a20 from the system position through the flashify application and I hope that I will not catch the bootloop as you said and with this information you saved me a lot of stress and nerves related to it. I understand that you are also on a20 with stock recovery and magisk for a long time and have not had this unpleasant case of bootloop even once? It's probably the case that during one of the bootups, the phone recognizes twrp custom and not stock, so it doesn't move, am I right?
    Postscript after later attempts. In fact :) I ran it 9 times on stock recovery, actually zero bootloop🙂. Thank you my friend for your reply with information. All the best 🙂