[Q] Nandroid backup using CMW - Samsung Galaxy 5 I5500

So, I used ODIN to flash CWM and got to the recovery menu. The first thing I notice is that it can't access certain stuff (system partition, for one), but I still kept going.
The only thing I tried was to do a backup with CWM, and it start as it does a boot and recovery .img backup, but once it tries to do a system backup it gets to the same problem about not being able to mount it. Is this normal or am I doing something bad?
Because of this, I stopped my effort of installing a new ROM because, if I don't have a safe and full backup of my Stock ROM, I don't want to risk it using another one.

Its bcuz different file systems: cwm only supports ext2/3/4 and stock is rfs
Sent from my GT-S5660 using xda premium

Related

Flashing stock ROM and the going back to Cyanogen

Hello, I always find the people on this corner of xda very helpful. As usual, I think I know what I'm doing, but I'd like to check that I am proceeding in the right direction.
I've been using Mik's Cyanogen ROMs on my Optimus One. That's going well. But I need to SIM unlock my phone and I need to go back to a stock ROM to input the codes (please let me know if this is incorrect).
Before installing Mik's ROM, I performed a Nand backup. I have boot, cache, data, recovery and system img files. I think I can flash these through recovery and I should be back to stock.
Do I lose my apps and settings by doing this? Do I need to clear any caches?
What about returning to Cyanogen after I unlock my phone... Do I have to root my phone again or will I still be able to flash using recovery?
Using Clockwork, I just backed up my current ROM. I assume I will be able to restore from this later.
Is there anything else I should be aware of?
Thanks for answering my questions / clearing up my confusion.
Hello, I always find the people on this corner of xda very helpful. As usual, I think I know what I'm doing, but I'd like to check that I am proceeding in the right direction.
I've been using Mik's Cyanogen ROMs on my Optimus One. That's going well. But I need to SIM unlock my phone and I need to go back to a stock ROM to input the codes (please let me know if this is incorrect).
this is correct
Before installing Mik's ROM, I performed a Nand backup. I have boot, cache, data, recovery and system img files. I think I can flash these through recovery and I should be back to stock.
Do I lose my apps and settings by doing this? Do I need to clear any caches?
to revert back to stock, you must wipe data/factory reset, cache, and dalvik cache. you will lose your settings. as for your apps, you can back them up with titanium backup and restore them after you have restored your backup.
What about returning to Cyanogen after I unlock my phone... Do I have to root my phone again or will I still be able to flash using recovery?
when you restore your backup of the stock rom, you will still have root. i dont think unlocking your phone will cause you to lose root. your root access and custom recovery will still be intact
Using Clockwork, I just backed up my current ROM. I assume I will be able to restore from this later.
yes this is true
Is there anything else I should be aware of?
just to be on the safe side, please list the steps you are going to follow
Thanks for answering my questions / clearing up my confusion.
Thanks for the quick answer...
I on my sd card, I have a /clockwork directory with two subdirs. One is my original backup that I made before first installing Cyanogen. The other is the one I just made. Both contain boot, cache, data, recovery and system img files. The difference is that with my new backup the image files have an extra yaffs2 suffix: cache.img (stock) but cache.yaffs2.img (Cyanogen). Any problem here?
1. boot into recovery
2. restore stock from my sdcard using nandroid and wipe caches as you indicated
3. reboot, enter unlock code
4. reboot into recovery
5. restore current ROM from my sdcard using nandroid and again wipe the same caches
6. reinstall / restore apps (I'm not using Titanium, instead I backed up the list of installed apps)
Will I need to find and reinstall the GoogleApps (Market, etc) or will they come with the backup of my current ROM?
Pretty simple really. This make sense?
Thanks for the quick answer...
I on my sd card, I have a /clockwork directory with two subdirs. One is my original backup that I made before first installing Cyanogen. The other is the one I just made. Both contain boot, cache, data, recovery and system img files. The difference is that with my new backup the image files have an extra yaffs2 suffix: cache.img (stock) but cache.yaffs2.img (Cyanogen). Any problem here?
there might be a problem. what clockworkmod version did you use to make the backup of the stock rom? if i remember correctly, using cwm 3.x.x.x backs up a certain way (and also does not have the yaffs2 suffix) and using cwm 5.x.x.x backs up a different way (with the yaffs2 suffix) so backups may not be "inter"compatible (more info on that here). however, you can just flash back cwm 3.x.x.x right now (you can do it using rom manager), restore your stock rom backup, do the following steps, flash back cwm 5.x.x.x, then restore your backup
1. boot into recovery
2. restore stock from my sdcard using nandroid and wipe caches as you indicated (i recommend wipe first then restore)
3. reboot, enter unlock code
4. reboot into recovery
5. restore current ROM from my sdcard using nandroid and again wipe the same caches
(same here again, wipe first then restore)
6. reinstall / restore apps (I'm not using Titanium, instead I backed up the list of installed apps)
Will I need to find and reinstall the GoogleApps (Market, etc) or will they come with the backup of my current ROM?
i think you will have to flash gapps again
Pretty simple really. This make sense?
looks good (how sure am i? id say 80-90%. it definitely makes sense, but i have never done this before)
Good good. It's getting late so I'll tackle this tomorrow. Thanks for the detailed help... I'm glad I asked before going at it.
sweetnsour said:
looks good (how sure am i? id say 80-90%. it definitely makes sense, but i have never done this before)
Click to expand...
Click to collapse
I followed your instructions (I downgraded Clockwork before starting) and the 10-20% chance of you being wrong came true... but in a good way
Restoring from the backup brings everything back: apps, settings, contacts, SMSs etc. So it was actually even easier than you suggested since I didn't have to use my backups at all.
Thanks again for the tips!
bosth said:
I followed your instructions (I downgraded Clockwork before starting) and the 10-20% chance of you being wrong came true... but in a good way
Restoring from the backup brings everything back: apps, settings, contacts, SMSs etc. So it was actually even easier than you suggested since I didn't have to use my backups at all.
Thanks again for the tips!
Click to expand...
Click to collapse
glad it worked out for you i am assuming your phone is now unlocked right?
sweetnsour said:
glad it worked out for you i am assuming your phone is now unlocked right?
Click to expand...
Click to collapse
Yes... when I was back in stock I could access the unlock menu by entering 2945*#500# on my keypad. The SIM unlock code that I have worked fine. I haven't actually tested with another SIM card but the phone claimed to have been unlocked, so I should be good to go.

[Q]Boot problem after recovery - ICS & CWM

I've encountered weird problem: The phone doesn't boot (got stuck on bootanimation) after nandroid recovery from CWM. I've tried recoverying it over fresh install of same ROM or over formated partitions, but neither of it works. I'm using CWM v5.0.2.0 and trying to recover hephappys PRE4.
Is this caused by some incompatibility of CWM and ICS?
No, cwm 5.0.2.0 is working with ICS, using it currently (haven't tried using backup/restore, but it shouldn't cause any problems imo).
So, what exactly are you doing? Trying to restore an earlier cm9 backup? Try wiping all, including system and boot, before restoring.
Sent from my LG-P500 using XDA
Yes, I've made backup before messing with my ROM and it just fails to recover. I've already tried to wipe everything.
Is there any tool for viewing backup files on Windows? I guess that the file is somehow broken.
Is there any way how to get calls and sms from this raw data?
Here is boot logcat: https://gist.github.com/2603614
Jirrick said:
I've encountered weird problem: The phone doesn't boot (got stuck on bootanimation) after nandroid recovery from CWM. I've tried recoverying it over fresh install of same ROM or over formated partitions, but neither of it works. I'm using CWM v5.0.2.0 and trying to recover hephappys PRE4.
Is this caused by some incompatibility of CWM and ICS?
Click to expand...
Click to collapse
have the same issue with cwm...
recommand u to use amonra...gwtting best with it
When I was on cm9 and restored my cm7 backup=same thing(yes, I wiped everything)
Well, that backup image is somehow corrupted as it cant be correctly deployed. At least I've managed to extract SMS, the rest is not so important for me.
CWM is pretty much useless when it creates backups which can't be used for recovery...
I don't think that there is a specific problem with CWM and ICS- I have been making backups and recovering quite often ICS builds (including hephappy's pre4) in the last weeks, no problems so far (knock on wood ).
Do you have other/older backups that you can try to recover and see if you get stuck at bootloop?
What about reinstalling the build from scratch- just to see that everything boots? You can later try either restoring your original backup (the one causing you problems), or using TiB or similar applications that can extract applications+data from nand backups.
Could the backup file got corrupted somehow? I don't remember CWM having some inherent checking of md5 before restoring backups (I could be mistaken, as I have never had a bad nandbackup with the P500 phone so never noticed anything weird). For example, I used to have an HTC MT4G with 4ext touch recovery which would always check md5sum and let the user know if backup was corrupted, and I did got a corrupted backup file once.
Back to topic- If anything else fails and you can't recover, maybe try to copy the backup to a different sdcard? Perhaps it's a shot in the dark but worth trying, just in case the problem is in sdcard?
Older backups are only CM7 and they are working flawlessly. I don't know what happened, but it wasn't byte-level error as MD5 check passed on that image. It's more likely the recovery "forgot"/wasn't able to recover some files in /data partition.
Later I've tried to install some fresh ICS, did some changes (configuration + apps), backuped, wiped partitions, then restored and everything worked , so it's definitely not a general CWM problem. It's probably a bad luck, when you really need the backup, it just corrupt itself to annoy you...
As I wrote, I've managed to retrive my SMS and that's enough for me. I don't trust that image so I will install fresh apps via Appbrain and do the new setting by myself (I wanted to make some chcnges to phone configuration, this is just the right moment) .
I have never had much luck with the CWM recovery system. It's really buggy and sometimes only restores select partitions. Or if it couldn't mount the drive at the time of backing up, sometimes it just refuses to tell you or tells you but you have to start the backup over..
Like said above, I would try Amonra. It's a far better recovery and it has almost no bugs to speak of
Cheers mate.

Backups: Explain it to a nub.

TWRP/CWM recovery vs. Titanium Back Up....whats the difference?
arminyack said:
TWRP/CWM recovery vs. Titanium Back Up....whats the difference?
Click to expand...
Click to collapse
TWRP/CWM are both recoveries. They replace the stock recovery on your phone so you can flash aftermarket ROM's and a bunch of other stuff. You access the recovery typically through the bootloader before your phone boots into android.
Titanium Back up is an app that runs once the phone is booted into android. It saves all your apps and all your app data so when you flash a new ROM you don't have to reinstall all your apps again from the market, and you don't lose your angry birds progress. You need root to use it.
With recovery you can backup the whole data partition, and restore it once you install a custom Rom. But not advised as it creates unnecessary confusion to Rom developers as they won't be able to tell if the restore caused the issue.
Sent from my HTC One X+ using Tapatalk 2

[Q] Nandroid backup of Gingerbread on Samsung Galaxy Proclaim

Hey Everyone. Sorry if I posted in the wrong spot, but I've watched the "noob" video, and I couldn't find anything about my phone on here. So, I've become interested in custom roms, and I'm thinking about learning how to make some. I currently own a Galaxy Proclaim, and I havent been able to create a nandroid backup. I've successfully set up the adb on my Lubuntu Netbook, and I ran adb backup, and apparently that only works for ICS. So, that leaves me with a few questions. How do I make a nandroid backup of gingerbread? What does ROM Manager, from googleplay, back up? And Is there a way I could make a backup manually? I know how to backup the files on my system, but how would I backup the bootloader and everything else? Sorry about all the questions, I'm just curious and determined to make a custom ICS rom, or compile a ROM from source, but I'm afraid to try anything because I don't want to brick my phone.
Buddy do it via cwm.download compatible cwm for ur cell to sd card to root and go stock recovery m0d install zip from sd card and select cwm then select backup restore and in that option just select backup and wait until its done.u need root for flashing cwm in recovery.
Sending from SgY via TT2
Rom:JellyBlast v3.0.4
Kernel:Kuro
my first custom kernel & rom
waiting 4 Nemisis One
adil.sgy said:
Buddy do it via cwm.download compatible cwm for ur cell to sd card to root and go stock recovery m0d install zip from sd card and select cwm then select backup restore and in that option just select backup and wait until its done.u need root for flashing cwm in recovery.
Sending from SgY via TT2
Rom:JellyBlast v3.0.4
Kernel:Kuro
my first custom kernel & rom
waiting 4 Nemisis One
Click to expand...
Click to collapse
Clockwork Manager doesn't support my phone. The phones model number is SCH-S720C. I've tried other backup apps and they back up my apps/media just fine, but I need a full nandroid backup in case I mess up the boot loader or flash the wrong .pit file. I'm not taking any huge risks this time since I bricked my last one. Is there anyway I could make a backup manually? I currently run Lubuntu 12.10, and I've compiled adb and it works right on my computer.
Bump
Sent from my SCH-S720C using xda app-developers app
I never hear U'r device, but the important point is You have CWM for U'r device
Sent from my HS-E910 using Tapatalk 2
I wasn't aware that there was a custom ROM. When i rooted my device, i flashed it back to the stock ROM lol
Sent from my SCH-S720C using xda app-developers app

[Q] Dual Boot - ROM backup

I'm using GoogyMax (have also used Siyah) and running Purelook HD Rom along with Slimbean as 2nd ROM. Right now I have my phone exactly how I like it but I also like trying new versions. It gets confusing doing Nandroid in each ROM and running backups from both using TB (Titanium) or MBR (My Backup Root) and recently I managed to stuff things up and had to rebuild from scratch.
Is there a way to do a Nandroid and get the entire package backed up? I am presuming in Slimbean backup I get only that ROM (it's around 1.1GB) and the same for Purelook (it's around 2.17GB) It would be good if I could simply boot to recovery and run one Restore and be back to my full setup.
Or am I mistaken in the idea Purelook, based on 4.1.2 stock, would be 2 times the size of Slimbean?
Shouldn't nandroid in CWM backup both Roms as the second is a kind of subset of the first regarding folder structure?
Sent from my GT-I9300 using xda app-developers app
chrismast said:
Shouldn't nandroid in CWM backup both Roms as the second is a kind of subset of the first regarding folder structure?
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
No, 2nd ROM is:
/sdcard/.secondrom
This is why it's best to use Siyah recovery to manage nandroid backups for 2nd ROM. However, since /sdcard/.secondrom should contain all the ROM stuff (including data) IIRC, shouldn't you just be able to rename that to /sdcard/.secondrom_OLD and reformat a new /sdcard/.secondrom?
Thanks for the replies.
I am unable to locate the /secondrom using ES File Explorer. Going to / and searching for 'secondrom' gives me no result. secondrom is deinitely there though - I just booted into it. Either it's a setting in ES that I need to change so I can see it (I'm using ES File in the 1st ROM) or I am not understanding how the folder set up works with dual boot. (or possibly, at all )
I guess, unless there is something more specific to find on here, I will have to backup everything then try a restore of each nandroid and see what it gives me.
Its .secondrom, meaning hidden file. Have you enabled hidden files?
On 4.1, /sdcard is /data/media but on 4.2, its /data/media/0 so you'll need to use root explorer permissions to browse and check /data/media if you're on 4.2 as it may appear "missing" as per link in my signature
Sent from my GT-I9300 using Tapatalk 2

Categories

Resources