How to create a TWRP backup? - OnePlus 7 Pro Questions & Answers

Hi, i am trying to create a backup of my phone but it says error backup error code 255. Any ideas?

https://forum.xda-developers.com/oneplus-6/how-to/255-error-twrp-backup-restore-999-t3801632/amp/

Related

[Q] error during nandroid

Hey guys,
I'm unable to create a nandroid as it errors during backup Of data. I will attach log file If someone can inform me how...hopefully it provides you with any knowledge. Thanks

[Q] MD5 Mismatch error even AFTER clearing nandroid.md5?

So I had the md5 mismatch error and the easiest solution was to use a text editor and delete the contents of the nandroid.md5 file under Clockworkmod/Backup/(NameofBackup).
Well I did that but now when I try to restore I get the md5 mismatch error INSTANTLY, so I'm assuming that just made things worse. How can I fix this?
elite_newb said:
So I had the md5 mismatch error and the easiest solution was to use a text editor and delete the contents of the nandroid.md5 file under Clockworkmod/Backup/(NameofBackup).
Well I did that but now when I try to restore I get the md5 mismatch error INSTANTLY, so I'm assuming that just made things worse. How can I fix this?
Click to expand...
Click to collapse
What were you attempting to do when you received the error message? Flashing from CWM recovery?

twrp error

Got twrp-3.0.3-0-berlin installed, everything works except when i do a full backup it fails with the following error createTarFork() process ended with ERROR=255
I pulled the recovery log (mentioned in the nexus forum) the backup process is failing at a file that relates to the stock gps function of andriod.
Last entries from the recovery.log
I:Error adding file '/data/gnss/suplstalepos.dat' to '/external_sd/TWRP/BACKUPS/HSMDU17110000532/2017-02-23--19-27-40/data.f2fs.win004'
Error creating backup.
I:ERROR tarList for thread ID 0
Error creating backup.
I:InfoManager saving '/external_sd/TWRP/BACKUPS/HSMDU17110000532/2017-02-23--19-27-40/data.info'
createTarFork() process ended with ERROR: 255
Backup Failed. Cleaning Backup Folder.
I:Copying file /tmp/recovery.log to /external_sd/TWRP/BACKUPS/HSMDU17110000532/2017-02-23--19-27-40/recovery.log
Click to expand...
Click to collapse
https://forum.xda-developers.com/ho...p3-0-2-emui-4-1-one-click-root-built-t3532737
flash this recovery
Thanks kdark, but i already tried that. Both versions same error.
Did you find a solution to this?
No, however you can do a twrp backup of all but the data. That worked and I just backup my data with titanium backup.

Cannot get rid of TWRP 255 Error

Hello, i recently installed TWRP 3.1.1-1 as well as LineageOS, everything was working fine and i did a backup of the ROM (with root, xposed and all my settings and datas).
For some reasons i wanted to restore this backup but i cannot do that, the process stops at 54-55% while restoring datas :/ I get error 255 and when i look at the twrp log i see that "dataf2fs.win001" is the archive that cannot be extracted, when i delete it i can restore just fine but this is a 1,5 Gb file which contains important files.
Here is the end of the log:
extracting: //data/user_de/ (mode 40711, directory)
I:Unable to extract tar archive '/external_sd/TWRP/BACKUPS/73QDU16909001751/new lineage/data.f2fs.win001'
Error during restore process.
I:Error extracting '/external_sd/TWRP/BACKUPS/73QDU16909001751/new lineage/data.f2fs.win001' in thread ID 0
I:Error extracting split archive.
Error during restore process.
extractTarFork() process ended with ERROR: 255
Then i installed a clean EMUI version and i did a backup without any issue but I get the same error when i try to restore this backup and it comes from the same file.
i tried many things like mounting/unmounting datas, format datas, multiple reboots, factory reset before restoring...
I can restore the backup without the datas but the ROM isn't working properly...
Either TWRP is corrupted and cannot extract these files or the backups made are corrupted.
I installed a fresh version of LineageOS but i would like to restore my old backup which was fully customized and btw understand where this issue come from.
Thanks a lot for any help/advice :fingers-crossed:

Help with TWRP backup createTarFork() error 255

Hello,
I have Huawei Mediapad T5 tablet AGS2-W09 with Lineage 16.0 installed. I wanted to do backup in TWRP but I’m getting the error : createTarFork() process ended with ERROR : 255
I browsed to the backup location and found in the recovery.log that the problem is with the file :
/data/misc/bluedroid/pwxCDGSOXfhjCjV95kpJ7B
When I browse to /data/misc/bluedroid/ folder with Root Explorer, I see 3 files in it: bt_config.bak , bt_config.conf , macbt
When I browse to /data/misc/bluedroid/ folder with TWRP file explorer, I see again 3 files but names are completely changed, files are : pwxCDGSOXfhjCjV95kpJ7B , Fxe1ZW1HOXwv5qJD9v2MGD , yoVsIPDhhbKzaMIWc7rggD
I tried to delete this file through adb, but I get a message : permission denied. I tried to delete the file with TWRP file manager, but it didn’t work (there is no error message while deleting but the file is still there). Now after trying to delete this file, another problem appeared: when I’m in TWRP and want to do backup, the size of my data partition is now shown as 6969766643856MB !!!. Obviously it doesn’t let me do the backup because there is no enough space on my storage.
Is it safe to remove these 3 files by Root Explorer ?
Or at least the file “macbt” (same as pwxCDGSOXfhjCjV95kpJ7B) which is causing the problem ?
Is it safe to remove complete bluedroid folder ?
Any idea how to solve this without formatting the tablet ?
Look inside here:
createTarFork() process ended with ERROR=255
OOS 5 Oreo, non rooted, stock kernel, TWRP 3.2.1 blue_spark 8.61 every time i try to make a nandroid backup i get this error: createTarFork() process ended with ERROR=255 and backup fails any ideas?
forum.xda-developers.com
jwoegerbauer said:
Look inside here:
createTarFork() process ended with ERROR=255
OOS 5 Oreo, non rooted, stock kernel, TWRP 3.2.1 blue_spark 8.61 every time i try to make a nandroid backup i get this error: createTarFork() process ended with ERROR=255 and backup fails any ideas?
forum.xda-developers.com
Click to expand...
Click to collapse
Yes, I saw this before. It is a problem related to multiple users, I do not have them.
I checked many threads and I couldn’t find similar one. My problem is related to files in the folders /data/misc/bluedroid/ which are maybe corrupted.
Can I just delete this folder ? Or the files which are inside? What does bluedroid folder and files inside do ?
having the exactly same problem as you, could not backup data in twrp because it errors out
I:Error adding file '/data/misc/bluedroid/8h7VnJk1nlucU5cHQERctB' to '/external_sd/TWRP/BACKUPS/8UE5T18301007382/2021-10-03--10-27-53/data.f2fs.win000'
Did you find a solution. I've the same problem on the same device.

Categories

Resources