backup TWRP orange fox =255 - Xiaomi Redmi 8A Questions & Answers

createTarFork() process ended with ERROR=255
I've got this eror when I want to backup my data
I don't know how
Any idea?

This problem seems to only occur on GSI's.
I guess it has something to do with recovery not decrypting /data when you first boot to recovery .
Backing up works fine in Miui ROMs but on GSI we encounter the TarFork error .

Related

Cannot Flash Rom / Restore - Error 7, Error 1001, Cannot mount System

Hey everybody,
I was on LOS 15.1 for a rather long time and I wanted to try RR, so as usual I backed up my system and tried to flash the RR-rom.
It did not work at all and I got several errors among which error 7 and the unability to mount system partition were the most prominent.
The device got bricked several times but I got it back to life with MiFlashTool, running either MIUI 8.5 or MIUI 9.
The strange thing is that even after flashing the MIUI-img - and basically bringing the device back to its factory firmware - I could not flash a rom.
I tried several recoverys; the latest TWRP, the TWRP linked in the LOS15.1 thread and OrangeFoxRecovery. None of them would work. I wiped all partition, nothing worked. I got different errors shown, most of them were error 7 or not being ablke to mount system, as stated before.
Right now I am back to MIUI and rooted it, which worked from OrangeFox, but I actually would like tzo run a custom rom again.
Any idea what I could do?
Cheers!
Noone who has an idea why it would not work?
I thought that after flashing via Flashtool the phone would be as good as new and all prioir changes would be gone? Wha can I not flash anything via recovery and get erros?
Or are there different versions of Orange Fox Recovery? RR would be treble, so I would need a treble recovery.
Cheers!
Have you tried to format internal storage?
If not backup data in sdcard or pc and format it using recovery.
Are you using trble supported recoveries?
Did you encrypted your data while using Lineage OS?
Hey,
well, yes, I encrypted data but since reinstalling MIUI via Flashtool this is gone. And I thought that this should be enough and reflashing it via MiFlash is like a factory reset? Is there anything I did not consider?
After Flashtool did not do the trick, wiped everything but External memory in TWRP, no kelp either.
I also did the normal wipe (where you dont have to choose which partition), this did not help.
As I said, I am currently on the latest OrangeFox Recovery but I also tried the latest TWRP and the TWRP in the LOS 15.1-Thread, which did not help.
To my knowledge all of the are treble recoverys?
I also tried to restore a vackup of LOS which did not work...
I flashed
wurst_wasser said:
Hey,
well, yes, I encrypted data but since reinstalling MIUI via Flashtool this is gone. And I thought that this should be enough and reflashing it via MiFlash is like a factory reset? Is there anything I did not consider?
After Flashtool did not do the trick, wiped everything but External memory in TWRP, no kelp either.
I also did the normal wipe (where you dont have to choose which partition), this did not help.
As I said, I am currently on the latest OrangeFox Recovery but I also tried the latest TWRP and the TWRP in the LOS 15.1-Thread, which did not help.
To my knowledge all of the are treble recoverys?
I also tried to restore a vackup of LOS which did not work...
I flashed
Click to expand...
Click to collapse
When you reply quote, I didn't get notifications for your reply.
Your bootloader is unlocked and you installed Twrp recovery.
Try copying Rom zip to SD card and wipe system, data, cache, dalviks cache, internal storage (exclude sd card off course). Then install it.
It should work
As I said, I did all of this, yet it does not work.
After wiping I tried to flash RR rom...
I get "Patching system image unconditionally...
Then I get E1001: Failed to update system image. (in white)
Updater process ended with: ERROR 7 (in red)
Error installing zip file 'patch...' (in red)
Updating partition details (in white)
Failed to mount '/system' (Invalid Argument) (in red).
As I said, that happens with different recoverys and different roms (treble and non treble)
wurst_wasser said:
As I said, I did all of this, yet it does not work.
After wiping I tried to flash RR rom...
I get "Patching system image unconditionally...
Then I get E1001: Failed to update system image. (in white)
Updater process ended with: ERROR 7 (in red)
Error installing zip file 'patch...' (in red)
Updating partition details (in white)
Failed to mount '/system' (Invalid Argument) (in red).
As I said, that happens with different recoverys and different roms (treble and non treble)
Click to expand...
Click to collapse
Are you sure the Rom you installating is for your device because error 7 occured if the rom you are trying install is not for your device.
Yes, of course, it was the correct ROM. Before error 7 I got error 1001 and I guess this was the initial problem.
My guess it that the problem was the decrypted partition which I did not format in twrp in my first go. Every wipe and format afterwards somehow did not help...
Now after having flashed recovery and different roms 10 times and using miflash 10 times it worked and now I am on RR. Don't ask me what eventually did the trick.
wurst_wasser said:
Yes, of course, it was the correct ROM. Before error 7 I got error 1001 and I guess this was the initial problem.
My guess it that the problem was the decrypted partition which I did not format in twrp in my first go. Every wipe and format afterwards somehow did not help...
Now after having flashed recovery and different roms 10 times and using miflash 10 times it worked and now I am on RR. Don't ask me what eventually did the trick.
Click to expand...
Click to collapse
Great to know
I hated MIUI because of the bloatware and ads. Have fun using RR. If you want you can use Liquid Remix Pie its a great ROM.
Yes. I also did not like MIUI that much, that's why I was using Lineage before I wanted to try RR: Thanks for the advice for anothe rom.
i fix this issue by format data, not only wipe then restart the recovery and install the ROM, then finally it works !
Shojimeguro said:
i fix this issue by format data, not only wipe then restart the recovery and install the ROM, then finally it works !
Click to expand...
Click to collapse
How did you format? noob
Shojimeguro said:
i fix this issue by format data, not only wipe then restart the recovery and install the ROM, then finally it works !
Click to expand...
Click to collapse
If I format data, then I have to reboot into the recovery menu to be able to use data again. But this is impossible, because it gets stuck into the bootloop every time I try to reboot. Any other option to fix this error?
EDIT:
I could fix it myself:
1. MIUI latest version; flash with MiFlash.
2. flash TWRP with e.g. YUware
3. flash latest fw_vendor in TWRP
4. full update pixel expierence (NOT incremental) rom flash
5. Partitions/Data/Format
6. Reboot and ready to use

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

Twrp backup resotre without decreption issue

after a successfull backup of a custom rom via twrp when i am trying to resore from the backup and after full restoring when it finally boots up it is stuck in the bootlogo and a force reboot wont solve the problem i think its a decreption issue might be although i may be wrong,any one knows how to deal with that?is twrp supports backup restore for poco f1????there is also an another issue rebooting into twrp freeze twrp a couple of minutes and then its working!any one knows how to deal with that too?

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... ?

TWRP restore extracttarfork() process ended with error=255

So I created a full backup of my device using TWRP and now just tried to restore it and it's just completely messed up my device. I got an error saying extracttarfork() process ended with error=255. My device was a custom timurs rom which I dont remember how to go through the whole process again. From the videos I have seen apparently I need to reflash it. How do I do that? What files do I need? Can someone please help
So, although the message logs shows that it formatted and wiped the system, I just thought i would give it a restart and see if I get a bootloop. But it seems to have not done anything of such like deleting or wiping because the system is still the same. However, I did notice my bootanimation logo has gone back to the version before the backup. So I don't know what exactly has happened.
Is it possible on TWRP to do a clean fresh install and then flash the Timurs Kernel rom back on? My tablet is in fix mode and I don't really have access to the volume buttons to force TWRP easily. So I'm thinking I would like to do a clean android refresh and flash the kernel again.
It's definately messed something up because now when I try to transfer a file into the System partition using TWRP i get error saying Full SELinux support is present. This never happened before. Any ideas please on how I can just start fresh on this?

Categories

Resources