Restoring User Data - Desire Q&A, Help & Troubleshooting

I have made a backup using CWM of a rom which use to work and my data is or should be still present. The backup was made within CWM after android recovery. This CWM backup will not boot (for some strange reason the phone turned on while charging without sd card and messed things up)
I am now in the process of flashing a new ROM but would like all my user data back from the faulty CWM (the same rom). I was thinking flash the new rom, let it boot then after its booted restore using CWM the data from the backup
would this work or not as the CWM backup would not boot if i was to restore everything

Depends if the reason it doesn't boot is because of /data. It's likely that is the case but you won't know until you try
Sent from my HTC Desire using XDA App

Ok figured it out open CWM backup files and just copy over the required data across instead of using the manager to restore all.

Unyaffs is the way forward.

Related

[Q] Restoring Nandroid backups

Hi,
I'm having some problems flashing Google App and A2SD+ scripts on my CMv7 ROM. After flashing the scripts, the phone keeps hanging on the bootup screen, and I have to wipe my phone and reflash CM before it boots up again, which makes me lose all my configuration settings and app installations.
I'd like to know, if I do a Nandroid backup with CWM Recovery after I setup my phone to my liking and something goes wrong when applying a script, will restoring the Nandroid backup bring my phone back to the state right before script application?
Thanks.
goister said:
Hi,
I'm having some problems flashing Google App and A2SD+ scripts on my CMv7 ROM. After flashing the scripts, the phone keeps hanging on the bootup screen, and I have to wipe my phone and reflash CM before it boots up again, which makes me lose all my configuration settings and app installations.
I'd like to know, if I do a Nandroid backup with CWM Recovery after I setup my phone to my liking and something goes wrong when applying a script, will restoring the Nandroid backup bring my phone back to the state right before script application?
Thanks.
Click to expand...
Click to collapse
Yes. Restoring a nandroid returns your phone to the exact state it is when the nandroid is made.
Sent from my HTC Original Desire using Tapatalk

Help, google boot loop, can't flash any roms

Just flashed the new AOKP milestone 2 yesterday. It was working fine until this morning when it spontaneously went into the google logo boot loop. Went into CMR and deleted data/cache, tried to reflash any roms. Starts to flash the rom but quits after giving an "offset xxxxx" error. Reboot gets the boot loop again. Please help.
Hey
Search on here for roms to flash using Odin or adb/fastboot.
Your phone is grand you just need to flash a stock rom using one of the above methods. Then you can re-root and apply your roms again
Good luck!
Yes. As above you need to find stock images and flash in fast boot.
Sent from my Galaxy Nexus using xda premium
Yeah, I just flashed the stock rom using fastboot yesterday. Can't do that on my computer at work. Another thing is that the restore using CWM doesn't seem to work for me. Backs up fine but I get an error at the end of the restore process(forget the exact error right now).
Not looking forward to restoring all my data and apps again for the third time in the past two days. I hate how it's difficult to using Titanium Backup to restore since the internal SD card is erased. I did back up to dropbox, but the restore only restored 6 apps from there. Ugh. Any way to transfer my backup files off the phone in CWM to my computer? Thanks
I use appmanager (team android) for backup. It lets you back up all apps, then you can copy the backup folder onto your computer. Then once you rebuild your phone, install appmanager again and copy over the backup folder. Some roms have the auto restore feature which installs all your apps once you sign into your Google account on the phone. I hate when these things happen, restoring apps is always a pain. Best of luck anyway.

HELP NEEDED with CWM "error while restoring /data!"

Hey guys,
I have kind of a serious issue right now. I used Touch Recovery 5.8.0.2 and made a full backup today of my whole ROM (2.5GB) before trying out some mods which eventually didn't work. So I decided to wipe and restore the backup I made. No matter what I do I cannot get it to restore my data partition properly. I keep getting "Error while restoring /data!" message, however it does the boot image and system fine but doesn't continue to cache and sd-ext because of the failed data. Whenever I boot it up, some of my apps are missing from the home screen and practically all of them are not working when I launch them (force close). I also get boot up error of Google+ force close, among a bunch of other issues. This is happening even when I try to restore an older backup as well. My device is not working state right now and although I can just restore the stock images to get it working again, it is urgent that I restore my data ASAP! I tried wiping several times and even using the non-touch 5.5.0.4 recovery to restore and same thing keeps happening.
Any help would be highly appreciated!
Please don't tell me my backup is corrupt
Update 1: Eventually I gave up and started from scratch but I have confirmed already this happened on a fresh backup as well, at this time we are trying to figure out what is causing this so I can go back to safely backing up and restoring backups.
Update 2: We have test builds of TWRP Recovery that may have resolved this issue! We need testers!
Please see this post: Link Here
Update 3: We have test builds of ClockworkMod Recovery 6 that may have resolved this issue as well! We need testers!
Please see this post: Link Here
***Always see last few posts on the thread for updates on what we discovered just in case I don't update the OP***
Unfortunately I also have the same error today!
Please help us out.
JayantSparda said:
Unfortunately I also have the same error today!
Please help us out.
Click to expand...
Click to collapse
is your phone encrypted?
are you running stock recovery?
are you running a stock Rom?
have you done a factory reset yet?
Hi Spectre85,
My phone did fine yesterday, I was running AOPK Milestone 3 with FAUX123 kernel.
But when I woke up, my phone looked like it's battery was emtpy.
- When I plugged the phone with the charger, I started the phone again.
- Unfortunately my phone keep looping at the Google screen over and over.
So I pulled the battery and put the battery back again in the phone.
- I went to the bootloader and went to CWM recovery.
Deleted Data, Cache and Dalvike cache.
- Tried to retrieve my backup rom, but keep getting this "Error while restoring /data!" message.
I've tried to install other roms as well, but I still keep getting the bootloop at the Google screen.
Have you guys have any advice for me?
spectre85 said:
is your phone encrypted?
are you running stock recovery?
are you running a stock Rom?
have you done a factory reset yet?
Click to expand...
Click to collapse
For me, no, no (CWM Touch 5.8.0.2), yes (stock rooted 4.0.4), no but my goal is to restore my data not erase it.
I had this happen to me before, what I did was flash a factory image through fast boot and it was fine after.
Sent from my Galaxy Nexus using xda premium
Thanks guys..I flashed the factory image through Fastboot mode and the phone works perfectly again! Too bad I lost all my data, but I'm happier that I have my phone fully functional again
You can't access your backup right? There's no way you can copy the file to your desktop?
mohitrocks said:
You can't access your backup right? There's no way you can copy the file to your desktop?
Click to expand...
Click to collapse
I did copy it. I have full access to the file. Also, just fyi my goal here is not just to get to working state (I'm aware of the stock images) but to actually recover my data. My phone is currently on stock images completely blank and working now.
Fast boot flash the nand images just like u did the stock ones.
Sent from my Galaxy Nexus
bwcorvus said:
Fast boot flash the nand images just like u did the stock ones.
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Nanadroid files can be flashed in fastboot? Are you sure? First time I'm hearing this. Doesn't fastboot need .img files? These are .tar files.
Open it up and see if its image...sorry all my recoveries use images.
Sent from my Galaxy Nexus
bwcorvus said:
Open it up and see if its image...sorry all my recoveries use images.
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
I guess it depends on the recovery version you use. I remember older versions actually had .img files. However 5.5.0.4 and Touch 5.8.0.2 both have ext4.tar files.
Which version of recovery do you use?
If you have root, you can restore your data partition using Titanium Backup. Use "Export from Nandroid Backup" within TB, select the nandroid backup and then select all apps that you want to restore
Immix said:
If you have root, you can restore your data partition using Titanium Backup. Use "Export from Nandroid Backup" within TB, select the nandroid backup and then select all apps that you want to restore
Click to expand...
Click to collapse
Interesting...will this include settings as well like my home screen icon/widget layout, wallpaper, etc?
open1your1eyes0 said:
Interesting...will this include settings as well like my home screen icon/widget layout, wallpaper, etc?
Click to expand...
Click to collapse
Yes. Titanium Backup can restore all your system apps as well as downloaded apps from a nandroid backup. Not as clean as a nandroid restore from CWM but essentially the same thing. But try to see if Titanium Backup can extract your nandroid backup. It all depends on what exactly went wrong with your nandroid backup to begin with. I don't think it restores cache. So not sure about wallpaper.
Immix said:
Yes. Titanium Backup can restore all your system apps as well as downloaded apps from a nandroid backup. Not as clean as a nandroid restore from CWM but essentially the same thing. But try to see if Titanium Backup can extract your nandroid backup. It all depends on what exactly went wrong with your nandroid backup to begin with. I don't think it restores cache. So not sure about wallpaper.
Click to expand...
Click to collapse
You're right. This works great for restore data to select apps (got my notes and game saves back). I think the icon layout is held in the launcher settings, I'm about to try and restore the data to the launcher app and see what happens. I'm making a CWM backup of first of my current state (that's assuming this backup will actually work).
EDIT: Yes! That did it! Widgets position weren't saved but it's ok I only had a few so I manually put them back. Thank you! I never knew TB had the ability to work with nandroid backups.
I guess this now just leaves me figuring out what went wrong with the CWM backup. It happened twice (I have two backups from the same day that won't restore). Does anyone else use CWM Touch 5.8.0.2 and have successful backups? I would experiment to see if it works now but I don't want to end up with a corrupt backup and redo everything again.
Yes with me its the same thing my data its corrupt is even worse every time I do a nanobackup and restarted my phone the phone freezes on the boot logo and I have to go back to recovery trying to use my backups but I can't so I have to flash a new from again and start from the beginning again!!!! Anybody here has the same experience with that ???
So AGAIN, I'm having the same issue. This time on a recovery 5.5.0.4 that used to work for me when I originally got my phone. I think either my data partition might be too big or something but this really needs to fixed pronto. Anyone know how to contact Koush directly in regards to this matter?

[Q] Can't restore nandroid after flashing PARANOIDANDROID 2.99BETA3

I flashed PARANOIDANDROID 2.99 BETA3 from stock DLK4, 4.1.1. It worked but I was ready to revert back to the stock using the nandroid I made before flashing and realized that I did a factory reset when flashing pdroid and lost my nandroid backups. Fortunately I have older Nandroids from 12.12 on my pc. I placed it into the clockworkmod directory, sdcard\clockworkmod\backups, as I normally would but when I reboot into recovery I don't see the nandroid that I placed there. What do I do from here? I tried to do a factory reset from kies of DLK4 but afterwards I get stuck on the "Samsung" loading screen.
Any help would be appreciated. I spent the last 4 hours going through treads as I normally do when having problems but I created my first thread because I screwed up beyond what I can repair myself
edit: while in recovery, I made a backup of pdroid2.99 to see where it saved. When I opened the directly using my pc, I couldn't find that backup I just made. I put the nandroid onto my external sd card and that I could see it in recovery but I get the following error "Error while restoring /system!"
michaeln91 said:
I flashed PARANOIDANDROID 2.99 BETA3 from stock DLK4, 4.1.1. It worked but I was ready to revert back to the stock using the nandroid I made before flashing and realized that I did a factory reset when flashing pdroid and lost my nandroid backups. Fortunately I have older Nandroids from 12.12 on my pc. I placed it into the clockworkmod directory, sdcard\clockworkmod\backups, as I normally would but when I reboot into recovery I don't see the nandroid that I placed there. What do I do from here? I tried to do a factory reset from kies of DLK4 but afterwards I get stuck on the "Samsung" loading screen.
Any help would be appreciated. I spent the last 4 hours going through treads as I normally do when having problems but I created my first thread because I screwed up beyond what I can repair myself
edit: while in recovery, I made a backup of pdroid2.99 to see where it saved. When I opened the directly using my pc, I couldn't find that backup I just made. I put the nandroid onto my external sd card and that I could see it in recovery but I get the following error "Error while restoring /system!"
Click to expand...
Click to collapse
You flashed a 4.2 ROM with an out of date recovery by the sound of it. 4.2 modifies the directory structure of you're phone which is unsupported in old recoveries. I run TWRP myself and I just moved my backups to my new root folder which can be found in: /storage/emulated/0
CWM stores recoveries in blobs and I'm unsure if this method will work for you. Your only option if that doesn't work is to ODIN back to stock. Once you've performed an ODIN back, go into your recovery and factory reset, wipe cache and wipe dalvik.
Then update your recovery for future flashes. I recommend TWRP. Overall an easier recovery.
Sent from my SGH-I747 using xda app-developers app
I successfully flashed back to stock 4.1.1 using ODIN using the rom I got from samsung-updates. I've lost IMEI so I have to inject l that back later on. I'm using CWM 6.0.1.2 and when in recovery when I try to restore my backup and get to "error while restoring /system!"
I've been trying to find other threads, tried what they suggested but no luck
edit: I've found TWRP v2.3.3.1 and but I don't see /storage/emulated/0 instead I put my backup in /storagr/TWRP/BACKUPS/911de9 and tried to restore but it fails
What I did was make a nandroid on the ROM you have and just copy and paste the old one into the new directory and you can flash that old nandroid. Worked perfect for me
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
hednik said:
What I did was make a nandroid on the ROM you have and just copy and paste the old one into the new directory and you can flash that old nandroid. Worked perfect for me
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Click to expand...
Click to collapse
This is what I typically do but now I get "error while restoring /system!" when restoring any of my old nandroid backups!
Why I like twrp. Maybe most of it is just a placebo but it seems more stable and easier to navigate
Sent from my SAMSUNG-SGH-I747 using xda app-developers app

ROM Manager backup issue

I'm a bit confused. I backed up my CM10.0 ROM today using Rom manager. It saved to my ext sd/clockworkmod/backup. Attempting to install CM10.2, kept boot looping after install (darkside wipe, flash Rom, clear dalvik), read a few posts saying upgrade recovery and re flash should fix. Ended up flashing to twrp 2.6.3.1, re flashed cm10.2 and same boot loop. Regardless, I wanted to restore from my back up, but twrp wouldn't locate the restore (which I assume is because it was saved to cwm folder and twrp would look in twrp/backups. So I just re flashed cm10.0 and figured I would use ROM manager to restore from back up. The back up is in sdcard1/clockworkmod/backup and ROM Manager says no backups found. I copied it to the internal sdcard0/clockworkmod/backup folder, still says no backups found. I then copied it to the twrp/backups folder thinking maybe because ROM Manager recognizes I am using twrp that it might be looking there for my back up. So I have a back up, it's there, I just can't get it to show up in ROM Manager or in twrp recovery... I find it frustrating that I can't manually browse to it's location from either, given I know exactly where it is. Where does ROM Manager look for backups so I can move it there? Thanks in advance
Sent from my SAMSUNG-SGH-T989 using xda app-developers app
You can't restore an entire rom image with rom manager. Just apps and data. As far as I remember ...unless rom manager has changed.
The only way to backup and restore entire images is through twrp and cwm. One or the other.
You probably need to flash from scratch now.
Sent from my Moto X cellular telephone...
kj2112 said:
You can't restore an entire rom image with rom manager. Just apps and data. As far as I remember ...unless rom manager has changed.
The only way to backup and restore entire images is through twrp and cwm. One or the other.
You probably need to flash from scratch now.
Sent from my Moto X cellular telephone...
Click to expand...
Click to collapse
The only option is to "back up current ROM". And even if it does just back up apps and data, that's all I need. Obviously if you have ROM Manager running you're running a ROM. The problem is, whether it backed up the ROM, or just the apps and data, the back up it made does not show up in ROM Manager, but is definitely in the backup folder, viewable through any file manager
Sent from my SAMSUNG-SGH-T989 using xda app-developers app
Nandroid backups and titanium backup are what most use. Always seen mixed reviews about rom manager.
Sent from my Moto X cellular telephone...

Categories

Resources