6

Question - TWRP Installation gets overwritten | XDA Forums

 1 year ago
source link: https://forum.xda-developers.com/t/twrp-installation-gets-overwritten.4458919/#post-87039475
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Question TWRP Installation gets overwritten

Sanaway

New member
Jun 18, 2022
Hello,
I'm trying to get a (permanent) TWRP installation on my OnePlus Nord 2. But after flashing the (latest official) TWRP image via fastboot to recovery I can enter it once if I press Power+VolDown directly during the reboot to recovery. But after the next reboot Power+VolDown starts the fastboot mode, Power+VolUp just boots the normal system and trying "adb reboot recovery" brings me to the standard recovery mode. For me it looks like the twrp image gets overwritten with the next reboot (something I found happens if you don't press Vol+PowerDown on your first restart after the installation but I did that [multiple tries]).

And when I try to directly boot the twrp image (without flashing it) it manages to send the file but fails on booting with "FAILED (Status read failed (No such device)). Same if I try with sudo.

Does anyone know what I am doing wrong or if it's a known bug I simply didn't find anything about?

Sincerely,
Sanaway

Op_Flashpoint

Senior Member
May 2, 2017 Xiaomi Mi 10i
Hi, IIRC, right after flashing you have to boot into recovery using fastboot reboot recovery

Don't use the button combination, do it from the command line for the first boot (this should solve it if my memory serves me right)

Sanaway

New member
Jun 18, 2022
Hi, IIRC, right after flashing you have to boot into recovery using fastboot reboot recovery

Don't use the button combination, do it from the command line for the first boot (this should solve it if my memory serves me right)

It works for the first boot (and if I reboot to recovery from TWRP again, even mutiply times) but as soon as I power off once and reboot normally it is gone again.

Op_Flashpoint

Senior Member
May 2, 2017 Xiaomi Mi 10i
It works for the first boot (and if I reboot to recovery from TWRP again, even mutiply times) but as soon as I power off once and reboot normally it is gone again.

What exactly are you doing?

What you need to do is
1. Boot to fastboot
2. flash recovery fastboot flash recovery <recovery.img>
3. Once flashed, reboot to recovery, not system fastboot reboot recovery or fastboot boot <recovery.img>

I had this issue and if I boot to recovery it did not get overwritten

Sanaway

New member
Jun 18, 2022
What exactly are you doing?

What you need to do is
1. Boot to fastboot
2. flash recovery fastboot flash recovery <recovery.img>
3. Once flashed, reboot to recovery, not system fastboot reboot recovery

I had this issue and if I boot to recovery it did not get overwritten

I did exactly that.

Bildschirmfoto vom 2022-06-18 12-34-33.png
And it works so far that I can access TWRP once. But as soon as I power down from TWRP it's gone.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK