I am trying to restore my twrp backup(around 7 gb) but it is always failing around 55% giving error
I:extractTarFork() process ended with ERROR=255
When trying to restore another twrp backup(around 1.5 gb) it do just fine.
I have googled a lot but had no luck.
I have attached recovery log in the post.
Any help will be appreciated.:good:
Try fully wiping first, then reboot recovery and restore nandroid.
hossman said:
Try fully wiping first, then reboot recovery and restore nandroid.
Click to expand...
Click to collapse
Already tried.Still give same error.
I'm pretty certain that error is due to lack of space.
If wiping doesn't resolve you may be out of luck.
hossman said:
I'm pretty certain that error is due to lack of space.
If wiping doesn't resolve you may be out of luck.
Click to expand...
Click to collapse
Lack of space in data partition?
But how this is possible? I have taken a twrp backup of a running version of my phone, so how space can be insufficient?
P.S.
I was able to restore this twrp backup only once after that it started giving me this error.
What is this error 255 actually about ?
SuperSaket said:
Lack of space in data partition?
But how this is possible? I have taken a twrp backup of a running version of my phone, so how space can be insufficient?
P.S.
I was able to restore this twrp backup only once after that it started giving me this error.
What is this error 255 actually about ?
Click to expand...
Click to collapse
Error 255 is insufficient storage space...
Is your TWRP backup in internal storage or an SD card? If it is on internal space, move it to the SD card and try again.
acejavelin said:
Error 255 is insufficient storage space...
Is your TWRP backup in internal storage or an SD card? If it is on internal space, move it to the SD card and try again.
Click to expand...
Click to collapse
Tried putting TWRP on External SD card but still gives same error.
Tried using Nandroid Backup and Restore, Apps force closes.
Tried Using Titanium Backup but I don't it working or not can't say much about it.
P.S. The backup I want to restore was orignally a compressed backup which I decompressed using Nandroid Backup and Restore
Compressed Size: 4.52GB
Uncompressed Size: 7.45GB
Pic is attached.
SuperSaket said:
Tried putting TWRP on External SD card but still gives same error.
Tried using Nandroid Backup and Restore, Apps force closes.
Tried Using Titanium Backup but I don't it working or not can't say much about it.
P.S. The backup I want to restore was orignally a compressed backup which I decompressed using Nandroid Backup and Restore
Compressed Size: 4.52GB
Uncompressed Size: 7.45GB
Pic is attached.
Click to expand...
Click to collapse
Yeah... I am not sure why the error 255, I was always under the impression that is a space error, but the your backup is corrupt:
tar_extract_file(): failed to extract //data/app/org.videolan.vlc-1/base.apk !!!
I:Unable to extract tar archive '/external_sd/TWRP/BACKUPS/ZY2224PF42/2017-02-23--17-54-51/data.f2fs.win001'
Error during restore process.
I:Error extracting '/external_sd/TWRP/BACKUPS/ZY2224PF42/2017-02-23--17-54-51/data.f2fs.win001' in thread ID 0
I:Error extracting split archive.
Error during restore process.
Click to expand...
Click to collapse
The recovery.log pretty clearly shows a tar extraction error...
acejavelin said:
Yeah... I am not sure why the error 255, I was always under the impression that is a space error, but the your backup is corrupt:
The recovery.log pretty clearly shows a tar extraction error...
Click to expand...
Click to collapse
Any wayout to extract apps and apps data?
SuperSaket said:
Any wayout to extract apps and apps data?
Click to expand...
Click to collapse
TBH, I don't know... you would try to do some research in tar file repair.
Actually, if it was me I would just factory reset and start clean.
Problem Solved (well kind of..)
For me , the problem was kinda solved. As per the suggestion by @acejavelin , I reset my phone and was only able to restore apk from my 7 GB TWRP Backup.
Titanium Backup doesn't restore my backup as it force closes whenever I tried to restore.
Nandroid Backup restore appdata but it eventually leads to force closes.
For anyone who wants to extract TWRP backup can use Cygwin
(By @carl1961)
"____________________________
CYGWIN Unpacking TWRP Backup Files
Thanks @Optikmike for CYGWIN tip
here's what I did..
CYGWIN Unpacking TWRP Backup Files
rename:
data.ext4.win to data.ext4.win.tar
system.ext4.win000 system.ext4.win000.tar
system.ext4.win001 to system.ext4.win001.tar
Make a directory in your CYGWIN Home [Username]folder
Example: untar
Use Windows File Explorer go to your CYGWING Home
C:\cygwin\home\carl (your user name will be here)
make any folder you choose
Example:
C:\cygwin\home\carl\untar
and C:\cygwin\home\carl\untar\data ( for data files)
put your renamed data files in a folder named data
C:\cygwin\home\carl\untar\data (this is to keep files separate when unpacked)
While in Explorer put your renamed system files in untar folder
start CYGWIN ( Use the Cygwin Terminal and then you can copy and paste these commands)
cd to untar folder
example:
cd\untar
do these commands one at a time, it will extract to a folder named system
tar -xvf system.ext4.win000.tar
tar -xvf system.ext4.win001.tar
cd to data
do this command
tar -xvf data.ext4.win.tar
___________________"
SOURCE : https://forum.xda-developers.com/showthread.php?p=53913623#post53913623
For me problem is solved . Anyone interested can continue this thread.
Related
(sdcard/nandroid/openrecovery)
recovery boot
nandroid -restore- xtmiuioptimized-restore all
boot not backed up
bpsw not backed up
lbl not backed up
logo not backed up
devtree not backed up
system not backed up
data not backed up
cache not backed up
cust not backed up
cdrom not backed up
ext2 not backed up
restoring finished successfully
done
Why does this happen ... thanks
I'm using V2froyoXToptimized update v2 v3 update
sorry translation
did you unrar the file and then place it in sdcard/nandroid/openrecovery or just place the rar. you must first unrar khals rom down to just the folder with boot.img boot.md5 system.img and system.md5 in it then place the folder with those in the sdcard/nandroid/openrecovery folder
the procedure that you're saying I have performed and the result is that in post....
so inside the Xtmiuioptimized folder there is 4 items? boot.img boot.md5 system.img and system.md5? and in open recovery when you select xtmiuioptimized in the restore menu it should say only boot and system in the restore options.
yes..the files are 4
restore option for xtmiuioptimized
go back
restore all
restore selected
The directory structure on the sdcard should be...
Code:
/sdcard
/nandroid
/openrecovery
/xtmiuioptimized
boot.img
boot.md5
system.img
system.md5
if your folders match these I would try coping them from your pc again.
Çheck restore all and if that doesn't work your file might be corrupt so try tranfering the folder again.
is the path and just... 3rdstring...Thank you
easye420.. I had already tried I'll try again tomorrow...Thank you
did you try checking the boxs next to system and boot in the partitions sections of the restore menu in open recovery. try that and if that doesnt work and you say you already tried replacing the folder and that didnt work id say your download must have been corrupt id try to redownload it and try again. this happened to me before and if that doesnt work try try making a back up of your current phone and restoring that back up and see if that works. and if that doesnt work try reistalling Open recovery thru the system recovery app and try again. lot of trial and error unless anyone else has better ideas
The ROMs we're flashing only update boot and system. When nandroid restore says "not backed up" it just means it's skipping restore of a partition because there isn't a backup to restore. It's harmless.
Mioze7Ae said:
The ROMs we're flashing only update boot and system. When nandroid restore says "not backed up" it just means it's skipping restore of a partition because there isn't a backup to restore. It's harmless.
Click to expand...
Click to collapse
if you reed his first post its says all partitions are not back up boot and system included. so its like theres nothing in the folder to restore like restoring a empty folder.
exact is just so happens to me
solved
extract rar folder then take the (sub xtmiuioptimized folder) and put the SD card installed .... ok .......sorry
Hi,
I've been trying to return to a backup i made before flashing the latest build and cwm recovery keeps spitting out errors. My backup copy is under /emmc/clockwork/backup. It shows up under cwm recovery when i go to 'backup and restore' but it won't flash. i thought maybe because its on the internal drive its not flashing and tried to move it to the /mnt/sdcard. It won't move! Its my first flash so i need some help. it seems after flashing cm7, my old data is under /emmc and my current stuff is going to /mnt/sdcard. my understanding is that restoring the backup would overwrite everything and restore the phone to stock state (partitions, data everything)...is that right???? currently i have a 14gb internal and 2gb external partititions.
There is a fix somewhere to reroute the file path back from emmc back to internal SD . You ll need Script Manager from the market and a script called ''mountshd" . Someone posted a download with some good instructions a while back I would search the forum
OK, so I originally had CWM recovery on my tablet and I created a nandroid backup through there to my internal tablet memory which used up like 5.5gb of my 11.95gb of usable space. Shortly after making the backup I decided to flash twrp recovery instead...
Now, how can I delete the CWM backup without having to reflash CWM recovery??
Just deleted the file
rareza1995 said:
Just deleted the file
Click to expand...
Click to collapse
Thats just it, there is no file! The folder shows as being empty! I read somewhere that CWM now stores the backups as blobs or something like that and that you cannot see them using file explorers.
Edit: Nevermind. I finally found it! It was not in the normal internal sdcard folder like I expected... It was actually buried in the root of the device at /data/media/clockworkmod/backup
WHEN I'M GOING TO BACKUP TWRP GIVES ME ERROR :createTarFork() process ended with ERROR=255
aleksandar.d123 said:
WHEN I'M GOING TO BACKUP TWRP GIVES ME ERROR :createTarFork() process ended with ERROR=255
Click to expand...
Click to collapse
Try full wipe.
Hi
I've the same problem.
Make a full wipe ? Ok but how can I backup if the rom is wiped...?
newbie_or_not_newbie said:
Hi
I've the same problem.
Make a full wipe ? Ok but how can I backup if the rom is wiped...?
Click to expand...
Click to collapse
The reason why i get this ERROR is that At the moment your system is restored from a backup and you can't make Backup of backup....
Ah ok, I understand now !
So, if I want to make another backup, I should first go to a fresh install or full wipe ?
Another trouble: there's no way to install any custom rom. Do you think it's for the same reason ?
Alek Dev said:
The reason why i get this ERROR is that At the moment your system is restored from a backup and you can't make Backup of backup....
Click to expand...
Click to collapse
nonsense... if you restore a nandroid backup it just writes the data from the nandroid backup to the desired partitions, so if you make another backup after restore, you just make the same backup.
If you just wipe chache/dalvik/data you still have system parition to backup. But if you wipe also the system, there is nothing to backup
This error most probably occur while there is some corrupted files you want to backup.
You need to look at /tmp/recovery.log while in recovery (adb pull it). Look in it for the last file that it tried to read before it gave the error. Your options are either delete that file or pull it then delete it. However, the file is corrupt in some way and the backup will never finish.
most probably is it the fault of /system/addon.d
If TWRP is seeing it as a normal file instead of a directory, it's broken. Just delete it (if you can) and try you backup again. It won't hurt anything with that directory removed, and will just be recreated next time you flash a rom.
DallasCZ said:
nonsense... if you restore a nandroid backup it just writes the data from the nandroid backup to the desired partitions, so if you make another backup after restore, you just make the same backup.
If you just wipe chache/dalvik/data you still have system parition to backup. But if you wipe also the system, there is nothing to backup
This error most probably occur while there is some corrupted files you want to backup.
You need to look at /tmp/recovery.log while in recovery (adb pull it). Look in it for the last file that it tried to read before it gave the error. Your options are either delete that file or pull it then delete it. However, the file is corrupt in some way and the backup will never finish.
Click to expand...
Click to collapse
Try this
1.Make Backup
2.Wipe everything
3..Restore Your Backup
4.And then Try again to make another Backup and you will get the same Error
Ok, thanks for your answers.
I'll try as soon as I can.
Alek Dev said:
Try this
1.Make Backup
2.Wipe everything
3..Restore Your Backup
4.And then Try again to make another Backup and you will get the same Error
Click to expand...
Click to collapse
i just referenced to the error code 255. And what was mine solution back in the days of addon.d (which i stopped using)
Logicly if you restore a bcakup you can make backup again, but why would someone do that? You will end with the same backup as before.
And i dont use the IDOL3 anymore, gave it to my doughter to play with.
hello guys,
i have a problem with restoring my nandroid backup.
so the digitzer of my s3 mini is broken and does not work partially. e.g. i cant enter my pin to unlock screen lock and i cant use twrp. so i used cwm (i guess it was 6.0.2.8.) to backup everything to my ext sd card. i dont know exactly if the backup was successfull but i cant remember any error messages and my backup is about 3,5gb big and there r following files:
boot.img
cache.ext4.tar
cache.ext4.tar.a
data.ext4.tar
data.ext4.tar.a
data.ext4.tar.b
data.ext4.tar.c
data.ext4.tar.d
nandroid.md5
recovery.img
system.ext4.tar
system.ext4.tar.a
now i wanted to restore only data on a new device: moto g peregrine via cwm. i installed cm12.1 on my moto, the backup comes from cm12.1 too.
error: md5 checksum mismatch -> i cutted nandroid.md5 and created an empty file named nandroid.md5 and copied it into the backup folder. then cwm restored. well... it says it was restored. but when i start android no data is restored.
so i tried to restore it via tatanium backup. this app finds my backup, but only system apps r listed. no user apps. (i just tried it again, no apps at all)
then i tried to open/browse the tar archives with a shell extension in windows. they are empty.
then i wanted to extract them with appextractor but it doesnt find a backup to extract.
then i tried nandroid manager. it finds the backup, it says, its 3,44gb big. when i browse the data.ext4.tar its empty. then i click on restore nandroid backup. it boots into recovery but then it says:
sd card marker not found
.....
E: unknown volume for path [/mnt/sdcard1/clockworkmod/backup/2012-01-01.00.00.35]
cant mount backup path
im using cwm 6.0.4.8
so can sum1 plz help how to restore it? or is it broken? is everything gone?
and another question: twrp has adb sideload-support. i could make a twrp backup via the openrecovery adb script but my internal storage has not enough space. if i could tell twrp to backup on the ext sd card perhaps it works
greetz
daemonicvs said:
hello guys,
i have a problem with restoring my nandroid backup.
so the digitzer of my s3 mini is broken and does not work partially. e.g. i cant enter my pin to unlock screen lock and i cant use twrp. so i used cwm (i guess it was 6.0.2.8.) to backup everything to my ext sd card. i dont know exactly if the backup was successfull but i cant remember any error messages and my backup is about 3,5gb big and there r following files:
boot.img
cache.ext4.tar
cache.ext4.tar.a
data.ext4.tar
data.ext4.tar.a
data.ext4.tar.b
data.ext4.tar.c
data.ext4.tar.d
nandroid.md5
recovery.img
system.ext4.tar
system.ext4.tar.a
now i wanted to restore only data on a new device: moto g peregrine via cwm. i installed cm12.1 on my moto, the backup comes from cm12.1 too.
error: md5 checksum mismatch -> i cutted nandroid.md5 and created an empty file named nandroid.md5 and copied it into the backup folder. then cwm restored. well... it says it was restored. but when i start android no data is restored.
so i tried to restore it via tatanium backup. this app finds my backup, but only system apps r listed. no user apps. (i just tried it again, no apps at all)
then i tried to open/browse the tar archives with a shell extension in windows. they are empty.
then i wanted to extract them with appextractor but it doesnt find a backup to extract.
then i tried nandroid manager. it finds the backup, it says, its 3,44gb big. when i browse the data.ext4.tar its empty. then i click on restore nandroid backup. it boots into recovery but then it says:
sd card marker not found
.....
E: unknown volume for path [/mnt/sdcard1/clockworkmod/backup/2012-01-01.00.00.35]
cant mount backup path
im using cwm 6.0.4.8
so can sum1 plz help how to restore it? or is it broken? is everything gone?
and another question: twrp has adb sideload-support. i could make a twrp backup via the openrecovery adb script but my internal storage has not enough space. if i could tell twrp to backup on the ext sd card perhaps it works
greetz
Click to expand...
Click to collapse
You can connect a USB mouse and keyboard to navigate and select whatever you need to select or do in CWM or TWRP, it will work with either recovery.
As for transferring user installed apps and their data, you can try backing them up to your google account and then restoring them from google on the new device. Or use the USB mouse/keyboard along with ES File Explorer to go to your /data/app folder and create copies of your installed apps, the backups will be in your backup/app folder on internal, copy them to PC then go your Android folder on the device and copy the app data for those apps to PC, then transfer the app copies to the internal on the new device and install them or use adb to sideload each of those apk files to the new device, then transfer the copied app data for those apps to the Android folder on the new device, then boot to recovery and wipe only cache, do not factory reset in recovery then reboot.
I DO NOT GIVE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
hi,
You can connect a USB mouse and keyboard to navigate and select whatever you need to select or do in CWM or TWRP, it will work with either recovery.
Click to expand...
Click to collapse
but for this i need a special otg adapter cause the s3 mini doesnt support otg originally. and dont i need to install an app or something on my device and confirm a message on my screen? like u wanna do an adb backup. havent tried it yet. i will do i i guess.
As for transferring user installed apps and their data, you can try backing them up to your google account and then restoring them from google on the new device. Or use the USB mouse/keyboard along with ES File Explorer to go to your /data/app folder and create copies of your installed apps, the backups will be in your backup/app folder on internal, copy them to PC then go your Android folder on the device and copy the app data for those apps to PC, then transfer the app copies to the internal on the new device and install them or use adb to sideload each of those apk files to the new device, then transfer the copied app data for those apps to the Android folder on the new device, then boot to recovery and wipe only cache, do not factory reset in recovery then reboot.
Click to expand...
Click to collapse
this presumes that i can unlock my lockscreen. doesnt it?
i will try to backup my data with cwm again. perhaps the backup is corrupted. and i will try to do an adb backup and control the phone via keyboard and mouse if i can unlock the screen and/or confirm a popup message.
can anyone say if i can make a twrp backup to my ext sd oder pc via adb shell? i know the command "twrp backup <options> <foldername>" but can i change the path where the backup will be stored?
thx for your reply
daemonicvs said:
hi,
but for this i need a special otg adapter cause the s3 mini doesnt support otg originally. and dont i need to install an app or something on my device and confirm a message on my screen? like u wanna do an adb backup. havent tried it yet. i will do i i guess.
this presumes that i can unlock my lockscreen. doesnt it?
i will try to backup my data with cwm again. perhaps the backup is corrupted. and i will try to do an adb backup and control the phone via keyboard and mouse if i can unlock the screen and/or confirm a popup message.
can anyone say if i can make a twrp backup to my ext sd oder pc via adb shell? i know the command "twrp backup " but can i change the path where the backup will be stored?
thx for your reply
Click to expand...
Click to collapse
You can use adb to remove lockscreen. There's a couple different ways using adb, research them.
As for OTG capability, you can try adb side loading an app called Stickmount by Chainfire if you can find a way to enable it after installing it.
Sent from my SCH-I535 using Tapatalk
ok thx.
i wanna use the openrecovery script with "adb shell twrp backup DO" but it says not enough space. so i want to store the backup on my ext sd. but how can i change the backup location to my ext sd? i only can specify a foldername within the backup path. but noch path :/
like here
http://www.pocketables.com/2014/10/using-twrps-new-adb-interface.html
hope sum1 can help me