Clockworkmod: Error while restoring /data - Motorola Photon 4G

Every time i try restoring my backup i get this error.
I only get this on my larger backups with ALL apps installed (~3.5gb). on the smaller backups (~1gb) it works fine.
It restores the system image, system partition, half of the data partition then gives error and stops.
Is there any solution to it.
Searched on the entire forum only definitive solution to it was to run "DARKSIDE's super wipe" but that wont run on this phone.

kurtcocaine said:
Every time i try restoring my backup i get this error.
I only get this on my larger backups with ALL apps installed (~3.5gb). on the smaller backups (~1gb) it works fine.
It restores the system image, system partition, half of the data partition then gives error and stops.
Is there any solution to it.
Searched on the entire forum only definitive solution to it was to run "DARKSIDE's super wipe" but that wont run on this phone.
Click to expand...
Click to collapse
Try a manual restore. Extract all of the data from the backup file and manually restore from root explorer or something. It would be a pain yes. But 3.5gb is insane. How'd you possibly use that much??
Sent from my SGH-I777 using XDA

Related

[Q] CWM fails to restore backup

Hello all.
I had Litening ROM 4.2 installed on my SGS2, then I wanted to try Cyanogen Mod, and first made backup with CWM. Now when I try to restore backup, it restores it, but when I boot phone, everything is messed up, apps that I installed dont work, etc... It even shows me that first-time screen, to set up connections, time etc. Can anyone give me some hints what am I doing wrong please ? Thanks.
I even tried to install Litening ROM from scratch, deleted cache & davlik cache, and installed it with Odin, but when I try to install any application, after install it works fine for couple seconds then it shows me error and that "force close" dialog... And it happens with every app I try to install.
I have also tried to install Frankesteins Stock ROM that I found here, then install Litening ROM, but got same errors again...
Same problem here. After a restore, I get the first time screen. No apps, no data, default settings. Please help!
This just happened to me as well.....
Version of can? There's deffo something odd with some of the cwm versions going about. Also I notice that v5 doesn't like yo restore v4 backups. And vice versa
Sent from my GT-I9100 using Tapatalk
Backup created with ver 4.x.
Both ver 5.x & 4.x failed to restore system data. Tried installing ROM and wiping everything, reflashing CWM, but still the same problem.....
CWM4 and CWM5 use different formats for the backups. That's why backups of those are not interchangable, you have to restore with the CWM you made the backup with.
Also, don't change the dir names of the backups, I did it once and the backup woudln't restore anymore, changed name back to original one and it worked again.
The OP also sounds like only the /system partition was restored for some reason.
Try a clean format of /system, /data and /cache before the restore.
Were apps installed to sdcard?
Just to be sure, you can try advanced restore, and restore *.img one by one.
Just posting to point out that it seems to have affected me too. I made a backup, but restoring just restores the ROM without my data.
HellcatDroid said:
Also, don't change the dir names of the backups, I did it once and the backup woudln't restore anymore, changed name back to original one and it worked again.
Click to expand...
Click to collapse
thanx man thats my problem
CWM is great for restoring the actual rom. But I have found with a large app load (I have 3-400 at any given point) it struggles.
Reconfiguring is common place, personally I use CWM for roms and titanium for apps these days.
You can coax CWM by restoring bits at a time rebooting then doing the next piece.
Sent from my GT-I9100 using XDA App

[Q] Recover Data From a Boot Loop Backup?

Hi guys,
Firstly I'll say that the boot loop isn't directly the issue. All I had to do was reset the user data and it fired straight up, but I don't want to lose my data so I'll explain what has happened and hopefully you can help me.
The boot loop was actually triggered by simply selecting a theme in MIUI, and because of this I had not backed up in CWM. I didn't think something I'd done so many times before would actually do this, and it caught me off guard.
After trying a few other things like clearing cache etc., it became clear that a user data reset was my only option. However, I decided to do a backup in CWM before performing this, on the possibility that I may be able to retrieve this data somehow afterwards.
So what I have now is a working phone and broken backup that when restored results in a boot loop. What I would like to know is if there is anything I can do with this backup to restore my settings, texts, app data etc. or if it's simply taking up space.
I have ADB installed and working, and out of interest I used shell to find out what was running whilst the system was caught in the boot loop. I forget the name now, but I recall there was a process that was using most of CPU. Killing it did nothing unfortunately and it fired straight up again. I must warn you that this is pretty much the extent of my knowledge with shell aside from navigating the file system.
With Titanium Backup Pro (paid version) you can restore your apps using an option in that to extract from CWM backup...
If you are back to the same version of the MIUI rom you can try restoring system apps too one by one monitoring the issue....
Wow, thanks for that; very useful to know! I do actually have the paid version of Titanium Backup so I'll give it a go.
Flash the rom same rom that the nandroid has and advanced restore nandroids data
Sent from my sgs2 running cm9
Makrilli said:
Flash the rom same rom that the nandroid has and advanced restore nandroids data
Sent from my sgs2 running cm9
Click to expand...
Click to collapse
I like the sound of that, unfortunately when I try "Advanced Restore" it tells me no files are found.
cds80 said:
I like the sound of that, unfortunately when I try "Advanced Restore" it tells me no files are found.
Click to expand...
Click to collapse
that means your CWM backup was unsuccessfull,
did you watch the process, it reach the end till creating MD5 checksum? and completed successfully?
ZACQ8 said:
that means your CWM backup was unsuccessfull,
did you watch the process, it reach the end till creating MD5 checksum? and completed successfully?
Click to expand...
Click to collapse
I did, yes. I also have many other backups in there that restore correctly but do not show up under "Advanced Restore" for some reason.
then try Titanium backup, you may sometimes need to copy the backup to externel SD clockworkmode folder to detect from TB...
goodluck

[Q] Extracting CWM6 Backups

Hello, while I was using my phone it rebooted and aparrently someting from my /data got corupted disabling my Rom from booting ever again.
So I created a nandroid via CWM6, installed a new rom and I'm now scratching my head on how to extract certain apps from that backup. Using CWM5 I could do this via the use of Titanium Backup, but now it's more complex than that CWM6 nandroids are unreadable from anything that exists out there. The only app which could analyze the backup correctly was the latest beta of "app extractor" but even that could not extract the apks *with* their data.
Basically my apps' data is precious and I wish to restore it at all costs, I have a nandroid of them, but the format is so unspeakably complex that it is basically useless. So the other "solution" was restore the nandroid and pull the whole /data partition in my PC via ADB, but I'm not sure what I can do with it.
So as it stands I now have two copies of my apps, one in a nandroid format another as it was pulled from the phone but I'm not sure how I can go on and restore them in a new rom. As I have found out CWM6 was quite a downgrade for/to those who backup/recover frequently, it's sad that I have found about it in such a disastrous way

Difference between dirty flash and full Titanium Backup restore?

The ROM that I use on my phone pretty much discourages dirty flashing updates [CM10.1 based]. So for the last 10 or so updates, I have clean wiped my HTC Rezound, then restored from a TitaniumBackup.
Except I do it a little different than most people, I think.
First I disabled compression of backups.
Then to restore I go to /sdcard/TitaniumBackup/
and run a bash command:
# for i in *.apk; do pm install "$i"; done
Then I go to TitaniumBackup, and every app is installed but doesn't have my data. So then I batch restore my data for my apps [Pretty much only user apps, except a few system things like SMS, WiFi networks]. But the problem is, recently, TitaniumBackup will quit halfway through a batch restore of "Data only." So I've been manually restoring data 1 by 1 for the apps that I need data to be saved across rom updates.
But then I thought, "Hey, why can't I just backup my /data/data/ folder?" but then I also thought that would probably be like a dirty flash, and I am just wondering if anyone can shed some light on this subject.
Thanks.
mvmacd said:
But then I thought, "Hey, why can't I just backup my /data/data/ folder?" but then I also thought that would probably be like a dirty flash, and I am just wondering if anyone can shed some light on this subject.
Thanks.
Click to expand...
Click to collapse
+1
VERY EAGER to learn this as a flash-a-holic.
sigh well I tried restoring the /data/data/ folder from a tar backup, and the apps didn't have my data. [Both my launcher and 1 random game did not have my data, even after rebooting.]
Then I went to install TitaniumBackup from Play to restore my apps the way I do it usually, and then it had an error. It wouldn't install. So I tried wiping data in recovery, and then the setup wizard kept crashing after I completed it. It wouldn't let me launch anything, even Settings would crash.
So now I'm starting all over again. Currently doing a clean flash in recovery. Ugh.
I think the problem might be file permissions.
sifat3d said:
I think the problem might be file permissions.
Click to expand...
Click to collapse
Well I checked and they seemed to be 751. I checked the other folders in /data and it looked the same.
Swiped from my Nexus 10 using xda-developers app
Restoring those setting from system apps will lead to issues. This is due to the way those settings are restored when changes are made to the programs for those settings.
Restoring with titianium backup is only advised for user apps and data
Wayne Tech Nexus

"extractTarFork error 255" when restoring data partition from nandroid backup (TWRP)

"extractTarFork error 255" when restoring data partition from nandroid backup (TWRP)
I've just wiped my phone to get rid of a problem I was having. My first plan was to take a relatively recent full nandroid backup, wipe and restore to that point. Second plan was the wipe and flash my ROM again, and then restore /data.
My problem lies only with restoring the data partition of my nandroid backup. It gets some of the way through before producing the following error:
Code:
extractTarFork() process ended with ERROR: 255
I've tried using the built-in repair/resize partition tools, and using adb shell to e2fsck the relevant partitions (But I'm not sure if this made any difference). The problem persists when restoring the data partition with any backup, not just recent ones.
What should I do?
Thanks!
Latest TWRP
Latest stable CM13
S5 G900F
Bump? I've looked at responses to other people having these issues, but they're either not quite applicable, or don't appear to work for me.
Judging by how busy this sub-forum is, I'm guessing my post it too complex (or something) for it. I'll give it one more shot before finding another place on XDA and hoping it's more appropriate :/
This looks to be the most appropriate subforum. Bump.

Categories

Resources