Question Help with nandroid restore - or reflash stock firmware - OnePlus Nord 2 5G

I am on EU Nord 2 and was as firmware .A17 before trying out custom roms. I want to return to stock and I did make a nandroid backup with TWRP. When I try to restore the nandroid backup, it fails with: "extractTarFork() process ended with ERROR: 255" Does anyone know how to get around that?
Alternatively, how can I restore my phone to stock OOS?

You will get this error only when twrp tries to restore data partation so before restorating untick data partation and restore alll the other partation and it's done

jadajada said:
I am on EU Nord 2 and was as firmware .A17 before trying out custom roms. I want to return to stock and I did make a nandroid backup with TWRP. When I try to restore the nandroid backup, it fails with: "extractTarFork() process ended with ERROR: 255" Does anyone know how to get around that?
Alternatively, how can I restore my phone to stock OOS?
Click to expand...
Click to collapse
Try to flash before oxygen same version of nandroid into both slots, format data then boot to system without configuration, now return into twrp and restore nandroid.

There's no A/B slots on the Nord 2

Yes i'm new on Nord 2 and have 7 pro that is A/B partitions.

Related

Backing up stock firmware

How to backup stock firmware on twrp as i backup stock firmware on twrp n when i want to restore it gives error encryption failure need to reset your phone, am i doing anything wrong in backing up
no need to restore. if u install a custom rom over miui, the miui's firmware partition will not be removed/deleted. u only wipe system+data+cache+dalvik, firmware partition remains the same as before
Encrypt with flash oficial roms. Never use oficial roms.
To solve go to twrp, in wipes menu chose format data partition in ext4.
Use always xiaomi.eu roms.

Wiped the system files by mistake

I mistakenly wiped the system files in twrp mode and when I tried restoring the nandroid backup I previously made, it got stuck and only boot and data[excl storage] are getting restored. Now even the nandroid backup has no system files in it. After that, I tried almost every method I knew. I flashed the full fastboot rom via mi flash. After that, it is showing the message as "the system is destroyed".What should I do?
The twrp I am using is twrp -3.2.1-0-mido.img
krunch7520 said:
I mistakenly wiped the system files in twrp mode and when I tried restoring the nandroid backup I previously made, it got stuck and only boot and data[excl storage] are getting restored. Now even the nandroid backup has no system files in it. After that, I tried almost every method I knew. I flashed the full fastboot rom via mi flash. After that, it is showing the message as "the system is destroyed".What should I do?
The twrp I am using is twrp -3.2.1-0-mido.img
Click to expand...
Click to collapse
Did you try installing a custom rom?
krunch7520 said:
I mistakenly wiped the system files in twrp mode and when I tried restoring the nandroid backup I previously made, it got stuck and only boot and data[excl storage] are getting restored. Now even the nandroid backup has no system files in it. After that, I tried almost every method I knew. I flashed the full fastboot rom via mi flash. After that, it is showing the message as "the system is destroyed".What should I do?
The twrp I am using is twrp -3.2.1-0-mido.img
Click to expand...
Click to collapse
Flash the fastboot rom through ADB commands using this method it works https://forum.xda-developers.com/xiaomi-redmi-3s/help/to-flash-stock-rom-miflash-easy-mi-t3678148
This shouldn't happen...i always wipe system partition before flashing any rom...I even wiped system partition during the installation of xiaomi.eu rom once...and it didn't do any harm...

Can't fully restore TWRP backup vendor partition structure needs cleaning

Hi,
I tried to uninstall the security package in stock MIUI Rom, however I started getting bootloops after that. I made a TWRP backup just before trying this out, so I tried to restore it. However even after restore I'm still getting bootloops.
Then I tried to Wipe everything, however TWRP reports error can't mount vendor partition (structure needs cleaning). I can't mount Vendor either in Mounts. It could be restore operation is unable to bring back vendor partition that is why it is still failing ?
What can I do to fix it ? I still would want to restore my backup, don't want to flash another ROM right away..
I'm on stock MIUI 10.2 ROM with official TWRP and Magisk installed.
Apprantly I'm not the only one, it seems TWRP can't properly restore MIUI roms

Need help restoring backup with LRTWRP

Hello Everybody,
first of all thanks for reading my thread.
I have a problem...tried to flash a custom kernel 2 days ago, and it went wrong. So I had to flash official fw again to come back to Xiaomi.eu then.
Before I tried to flash the kernel, I made a backup with TWRP.
My problem now is, every time I try to restore this backup, TWRP gives me an ERROR 255 when it tries to restore data partition.
Error message says something with "error create fork" or similar.
Have tried different things, also for example to wipe data before, or to format data, but nothing helps.
Device is decrypted on start of TWRP. So that is not the problem, I guess.
Anyone eventually has a clue/a tipp what I can try or what may be the problem?
Or isn't LRTWRP generally not able to restore backups?
Would be grateful for any help... ?

Bootloop aftert restoring a TWRP backup

As the title says I always get a bootloop into recovery when the restore process finishes.
I tried everything, flashing the same rom as in the backup before restoring, however it never boots normally.
As I am on a stock MIUI 13 I flashed the stock image and then restored the backup, still a bootloop into recovery.
No matter what I do I am unable to restore my TWRP backup, so every time I want to try a new ROM I end up reinstalling everything from scratch.
Is it because my data is encrypted, or dynamic partitions? This never happened with any of my previous phones, is it possible to restore a backup on Mi10?
alfaholic said:
As the title says I always get a bootloop into recovery when the restore process finishes.
I tried everything, flashing the same rom as in the backup before restoring, however it never boots normally.
As I am on a stock MIUI 13 I flashed the stock image and then restored the backup, still a bootloop into recovery.
No matter what I do I am unable to restore my TWRP backup, so every time I want to try a new ROM I end up reinstalling everything from scratch.
Is it because my data is encrypted, or dynamic partitions? This never happened with any of my previous phones, is it possible to restore a backup on Mi10?
Click to expand...
Click to collapse
Backups and restore on the TWRP with some phone models does not work correctly either because it does not decrypt or is too old compared to the rom or you try to restore an older rom version on a more recent rom and sometimes the reverse also does not work (because of the system).
Try a more recent Twrp (just in case) but anyway the restoration will not be done with a more recent Twrp.
If you are on MIUI micloud works relatively well but obviously you can only restore the data not the system.
https://androidfilehost.com/?w=files&flid=318277
alfaholic said:
As the title says I always get a bootloop into recovery when the restore process finishes.
I tried everything, flashing the same rom as in the backup before restoring, however it never boots normally.
As I am on a stock MIUI 13 I flashed the stock image and then restored the backup, still a bootloop into recovery.
No matter what I do I am unable to restore my TWRP backup, so every time I want to try a new ROM I end up reinstalling everything from scratch.
Is it because my data is encrypted, or dynamic partitions? This never happened with any of my previous phones, is it possible to restore a backup on Mi10?
Click to expand...
Click to collapse
try flashing miui 12 rom first, then restore twrp back up (format data also before restoring)
and chose the latest version of twrp for android 11 or 12 (depends on your Rom)
maybe it will work

Categories

Resources