[Q] about backup,CWM restore=titanium restore? - Nexus S Q&A, Help & Troubleshooting

The question is :
restoring "USER APP" from a backup made with clockworkmod,is the same thing than restoring from titatanium backup?
I'm talking about user app and not system app, and i know that titanium let you choose what you need.
Thanks!!!

CWM only lets you restore everything in the "Simple" mode (that is, format all main partitions and replace with the backup). If you click on advanced restore you can do the same for a particular partition, such as just /data which would essentially do what you just said.
Now i've not tried doing this via CWM, but i can easily see this leading to problems. I would use NANDROIDs only to do full backups or advanced restore only if you are using the exact same ROM as the backup. Otherwise, probably best to save the trouble and stick with Titanium.

Usually i flash cm9 kang every day,so i assume that restoring from cwm advanced restore should works without problem.

It most likely would work perfectly fine in that case. Though you can probably just wipe everything besides the /data partition to begin with and just flash the new ROM. Why wipe /data just to flash the same /data?

Harbb said:
It most likely would work perfectly fine in that case. Though you can probably just wipe everything besides the /data partition to begin with and just flash the new ROM. Why wipe /data just to flash the same /data?
Click to expand...
Click to collapse
i'M AN IDIOT...YOU'RE RIGHT
But the doubt is inside me and sometime i like to try different rom...how can i open "data.img" from cwm backup?
i would like to see what exactly is inside.

I believe it is a yaffs image file. I've not tried to open it but maybe have a look around for unyaffs. Might be easiest to do it in a linux environment, i think there are some native tools available.
However, it is likely just an exact copy of all the files in the /data partition, you're not missing out on anything root explorer doesn't already show you. This means the dalvik cache is in there too, so it might be best to wipe that separately every flash, especially if you decide to restore data via CWM afterward.

Harbb said:
However, it is likely just an exact copy of all the files in the /data partition, you're not missing out on anything root explorer doesn't already show you. This means the dalvik cache is in there too, so it might be best to wipe that separately every flash, especially if you decide to restore data via CWM afterward.
Click to expand...
Click to collapse
I had a look inside root explorer...i wanna try
I think it's the best way,if something goes wrong i'll still have my nand bkp

i tried and seems everything works fine:
start with cm9kang
-nandroid backup
-wiped all
-installed "codename 1.4.0"
-restored from kwm advanced only data
-wiped dalvik
-installed gapps
some settings have been restored,other no ,and all app works
I'm wondering now if codename is cm9 based rom

+1
albedebbi said:
i tried and seems everything works fine:
start with cm9kang
-nandroid backup
-wiped all
-installed "codename 1.4.0"
-restored from kwm advanced only data
-wiped dalvik
-installed gapps
some settings have been restored,other no ,and all app works
I'm wondering now if codename is cm9 based rom
Click to expand...
Click to collapse
sent from my so icey ns4G

Related

[Q] upgrading roms

i'm using a htc desire running on cm6.
when there are newer versions of cm and i would like to update to it.
what is the best way of achieving this without having to wipe the data/settings/etc?
if there is no such way, what can i do to backup settings/data/apps so that once i update to a newer cm , i can just restore my stuff?
what about Rom Manager Premium, theres an option to check for rom updates, would Rom Manager update your rom for you?(and keep all settings/data/etc?)
Yup.
it does everyting. buy it. seriously.
vision
seriously?
i use titanium backup and it works fine for me..
another option to back up your apps & system data is the nandroid backup on the recovery menu..
titanium backup requires busybox and for that to work i need to be nand unlocked.(which im not).
i always thought that nandroid backup will backup everythign to a state, so if i were to upgrade roms, and then use restore, wont it just revert me back to the previous state(not updated)?
edwinlee90 said:
titanium backup requires busybox and for that to work i need to be nand unlocked.(which im not).
i always thought that nandroid backup will backup everythign to a state, so if i were to upgrade roms, and then use restore, wont it just revert me back to the previous state(not updated)?
Click to expand...
Click to collapse
You are correct. A nandroid restore will undo your update.
If you're upgrading to a newer release of CM6, you should be able to do it without wiping your data. Wipe dalvik and cache, flash the rom, and reboot. You'll have new featuers but all your old apps and data in tact.
Nandroid backup first for good measure though
oh okay, so wiping dalvik and cache would just wipe all settings(including home screen layout, widget placements, folders etc?)
some tutorials that i've read about updating roms, is that i dont even need to wipe dalvik and cache, anythign bad about that?
edwinlee90 said:
oh okay, so wiping dalvik and cache would just wipe all settings(including home screen layout, widget placements, folders etc?)
some tutorials that i've read about updating roms, is that i dont even need to wipe dalvik and cache, anythign bad about that?
Click to expand...
Click to collapse
Nope, dalvik and cache wouldn't even affect your settings.
The cache is the temporary cache used by the Android operating system, and the Dalvik-cache is the cache used by the Dalvik Virtual Machine. The only thing about wiping them is that the first boot will take longer as they rebuild their indexes and such.
Nine times out of ten, you'll be fine without wiping these. It's just generally considered "better" if you do.
Again, nandroid backup and try it out. If it doesn't work without wiping, restore back and wipe the caches.

Nandroid backup HELP!! :(

I'm freaking out. I was running Leedroid and switched to Coredroid. I did a nandroid backup like I always do and now I'm trying to restore back to Leedroid and it doesn't do a full restore. Pretty much everything is gone. PLEEEEEEEEASE someone help me. I can't even download stuff from the market. I'm so frustrated!
I would try restoring my phone to stock and then attempt to restore leedroid..
also do you make sure you restore phone back to factory and wipe dalvik cache?
Sent from my Inspire 4G using XDA Premium App
ThEiiNoCeNT said:
I would try restoring my phone to stock and then attempt to restore leedroid..
also do you make sure you restore phone back to factory and wipe dalvik cache?
Sent from my Inspire 4G using XDA Premium App
Click to expand...
Click to collapse
will do thanks
Or u could try reset data/cache (factory reset) in CWM console, and clear out dalvik cache, and then restoring ur backup.
diablo009 said:
Or u could try reset data/cache (factory reset) in CWM console, and clear out dalvik cache, and then restoring ur backup.
Click to expand...
Click to collapse
I went and got a new phone today. I was able to "unroot" it and get a new one. I'm rooting it as I type using the Simple One Click method. I should be able to just use my nandroid back up then to get back the the Leedroid rom right? I think what may have happened is I didn't do a ext4 whipe when I went from Leedroid 2.x to 3.x so when I went to switch back from Coredroid which uses ext4 it got messed up. Maybe?
Focustom said:
I went and got a new phone today. I was able to "unroot" it and get a new one. I'm rooting it as I type using the Simple One Click method. I should be able to just use my nandroid back up then to get back the the Leedroid rom right? I think what may have happened is I didn't do a ext4 whipe when I went from Leedroid 2.x to 3.x so when I went to switch back from Coredroid which uses ext4 it got messed up. Maybe?
Click to expand...
Click to collapse
As far as I know, not all ROMs support EXT4. So be careful when flashing a ROM that does not support EXT4 on ur phone if ur /data is etx4 formatted.
diablo009 said:
As far as I know, not all ROMs support EXT4. So be careful when flashing a ROM that does not support EXT4 on ur phone if ur /data is etx4 formatted.
Click to expand...
Click to collapse
Oh yeah for sure I understand that. How do you switch between ext4 and ext3? Does using titanium backup work between the two? As in I flashed an ext3 rom backed up my apps using TB and then flashed an ext4 rom. Would I be able to use the Titanium backup at that point?
Focustom said:
Oh yeah for sure I understand that. How do you switch between ext4 and ext3? Does using titanium backup work between the two? As in I flashed an ext3 rom backed up my apps using TB and then flashed an ext4 rom. Would I be able to use the Titanium backup at that point?
Click to expand...
Click to collapse
TiBu:
Since Tibu backs up apps and data, and not any file system related info, you should be able to backup and restore using it. It worked for me when moving between ROMs since I got my Inspire, and I didnt' format my /data to EXT4 on my early ROMs.
But nandroid might not work. I tried I think when I got my phone a couple weeks back to restore data and it came back with MD5 check failed.
EXT4:
1. Going into CWM and resetting to factory formats data and cache partitions. This should be getting it into the default file system (I think this should be RFS, but not sure, and definitely not EXT4).
2. I have a script that can be used to format data partition into EXT4 (got it from Android Revolution 5.1.x ROM thread). I run it when I know the ROM supports EXT4, but does not do it when installing ROM.
E.g., Android Revolution 5.1.x supports data as EXT4, but does not do it.
Gingerbeast 2.1.x supports EXT4, and auto converts too.
I am attaching the script to this post. Copy it onto ur SD, and run the steps in sequence mentioned below.
1. Get into recovery
2. Factory reset (formats /data and /cache)
3. Wipe dalvik cache (under advanced menu)
4. Run the script attached to this post (optional, and needed only if ROM does not auto convert)
5. Install ROM of ur choice
6. Reboot
diablo009 said:
TiBu:
Since Tibu backs up apps and data, and not any file system related info, you should be able to backup and restore using it. It worked for me when moving between ROMs since I got my Inspire, and I didnt' format my /data to EXT4 on my early ROMs.
But nandroid might not work. I tried I think when I got my phone a couple weeks back to restore data and it came back with MD5 check failed.
EXT4:
1. Going into CWM and resetting to factory formats data and cache partitions. This should be getting it into the default file system (I think this should be RFS, but not sure, and definitely not EXT4).
2. I have a script that can be used to format data partition into EXT4 (got it from Android Revolution 5.1.x ROM thread). I run it when I know the ROM supports EXT4, but does not do it when installing ROM.
E.g., Android Revolution 5.1.x supports data as EXT4, but does not do it.
Gingerbeast 2.1.x supports EXT4, and auto converts too.
I am attaching the script to this post. Copy it onto ur SD, and run the steps in sequence mentioned below.
1. Get into recovery
2. Factory reset (formats /data and /cache)
3. Wipe dalvik cache (under advanced menu)
4. Run the script attached to this post (optional, and needed only if ROM does not auto convert)
5. Install ROM of ur choice
6. Reboot
Click to expand...
Click to collapse
Ok great so it must have messed up the phone while doing the nandroid restore then. When I did the TB I do remember it coming back with errors for a lot of things. Could that be because it was running Sense 3.0 vs 2.3 (the backup was done on 2.3)?
Focustom said:
Ok great so it must have messed up the phone while doing the nandroid restore then. When I did the TB I do remember it coming back with errors for a lot of things. Could that be because it was running Sense 3.0 vs 2.3 (the backup was done on 2.3)?
Click to expand...
Click to collapse
The way I see it, Sense is an optional set of components over base android, and has nothing to do with TiBu. The ROM I have on now doesn't have any traces of Sense
diablo009 said:
The way I see it, Sense is an optional set of components over base android, and has nothing to do with TiBu. The ROM I have on now doesn't have any traces of Sense
Click to expand...
Click to collapse
Hmm and it backs up/restores just fine?
Ok so I just rooted my new inspire and the boot logo is something completely different when I restored from my nandroid backup. Can these back ups become currupt? The only thing I want from this back are my texts and one of my apps everything else is fine without.
Focustom said:
Hmm and it backs up/restores just fine?
Click to expand...
Click to collapse
Yes
10 char

installing rom question

Do you have to backup to stock rom or can you just install a rom on top on another without backing or w/e?
rasdabess said:
Do you have to backup to stock rom or can you just install a rom on top on another without backing or w/e?
Click to expand...
Click to collapse
You should backup your rom before flashing, this way if anything goes wrong you can go back.
You should always wipe, wipe, wipe.
Wipe data/factory reset
Wipe cache partition
Go to Advanced and wipe Dalvik Cache
After the wipe go back and Install zip from sdcard. After install I do another wipe on the Dalvik Cache then fix permissions. Remember Wipe, Wipe, Wipe.
so as long as I do that then I can install a rom over another and delete the previous one while doing so?
rasdabess said:
Do you have to backup to stock rom or can you just install a rom on top on another without backing or w/e?
Click to expand...
Click to collapse
I recommend making several backups.
First, make sure you have Clockworkmod installed via nvflash. Then make a backup. Download the backup to your pc for safe keeping (just in case things go wrong).
Use Titanium Backup (free version works, but buy the full one if you like it). Use the batch feature to back up all user apps. Do not back up system apps.
When installing a new rom, especially roms that use different versions of android, you should wipe everything you can except the external sd card (where you keep your backups). Wiping "system" is important.
If you need help, shout out.
http://forum.xda-developers.com/showthread.php?t=1056847

[Q] Bootloop after restoring Nandroid Backup

So I recently flashed Paranoid Android based on Lollipop 5.1. Everything was working perfectly but I decided I wanted to flash Xperience kernel. I did a nandroid backup first. I flashed Xperience. After going into a bootloop I went back to TWRP to restore and retry to see what I did wrong. After restoring I am cought in a bootloop again. What should I do?
Try wiping cache and dalvik cache.
bhatt095 said:
Try wiping cache and dalvik cache.
Click to expand...
Click to collapse
Already tried that. I already got it to boot but I lost all my apps and stuff so that sucks. I am still trying to make the restore work because I am lazy about downloading everything again configuring and personalizing my device again.
ekuhlmann said:
Already tried that. I already got it to boot but I lost all my apps and stuff so that sucks. I am still trying to make the restore work because I am lazy about downloading everything again configuring and personalizing my device again.
Click to expand...
Click to collapse
have you backupd all the stuff (/data /system /boot ) ??? thats really all that need. wiping cache means no real data loss. if yes, then wipe the phone complety( format /sytsem /data /cache /dalvik /internal storage) (maybe copy internl storeage on pc 1st) to make sure all is fine from phons side. after that restore your backup completly but without restoring cache & try to boot.
bejunk said:
have you backupd all the stuff (/data /system /boot ) ??? thats really all that need. wiping cache means no real data loss. if yes, then wipe the phone complety( format /sytsem /data /cache /dalvik /internal storage) (maybe copy internl storeage on pc 1st) to make sure all is fine from phons side. after that restore your backup completly but without restoring cache & try to boot.
Click to expand...
Click to collapse
I did not backup everything. I only backed up what was checked by default on TWRP so that is probably it. Thanks.
ekuhlmann said:
I did not backup everything. I only backed up what was checked by default on TWRP so that is probably it. Thanks.
Click to expand...
Click to collapse
i think TWRP atleast backups /system , /data & /boot maybe u check it? (you can tap on cutom restore or look in the backup folder to know whats bacupd)
bejunk said:
i think TWRP atleast backups /system , /data & /boot maybe u check it? (you can tap on cutom restore or look in the backup folder to know whats bacupd)
Click to expand...
Click to collapse
Damm I am so stupid. Apparently I accidentally unchecked boot so it wasnt backed up. That is most likely the reason why I am not booting.
ekuhlmann said:
Damm I am so stupid. Apparently I accidentally unchecked boot so it wasnt backed up. That is most likely the reason why I am not booting.
Click to expand...
Click to collapse
Ok then its easy. Wipe the Device, install only the Rom which has the needed kernel, Boot it once, then back to recovery & restore System + Data. Done =) good luck
Btw /Boot is the kernel. So you never restored your old kernel and spirit bootlooped like you say...
bejunk said:
Ok then its easy. Wipe the Device, install only the Rom which has the needed kernel, Boot it once, then back to recovery & restore System + Data. Done =) good luck
Btw /Boot is the kernel. So you never restored your old kernel and spirit bootlooped like you say...
Click to expand...
Click to collapse
Still bootloop. I am giving up. Starting over.

Backup and Restore

What do you guys typically do when you try out new ROMs and want to do a clean flash and get back up and running quickly?
1. Restore via Google
(Very slow to redownload everything, doesnt restore everything)
2. Sony Backup/Restore
(Sometimes Restore doesnt work)
3. Titanium Backup
(This is what I currently do, but can also be extremely slow)
4. Titanum Backup (creating update.zip for use in TWRP)
(Backup only seems to allow backup to internal storage so I run out of space)
5. Something Else
I use twrp recovery menu to backup my data, system and kernel
I usually backup to my internal storage since its faster than my mSD
From there i wipe and flash
Or to restore wipe and restore (since cache/art cache wasnt included in the backup)
Sent from my E6653 using XDA-Developers mobile app
Envious_Data said:
I use twrp recovery menu to backup my data, system and kernel
I usually backup to my internal storage since its faster than my mSD
From there i wipe and flash
Or to restore wipe and restore (since cache/art cache wasnt included in the backup)
Sent from my E6653 using XDA-Developers mobile app
Click to expand...
Click to collapse
If you wipe/restore from TWRP, then haven't you've just wiped your brand new ROM and returned back where you started?
My question is specifically for people who try custom ROMs do a backup and restore.
eng3 said:
If you wipe/restore from TWRP, then haven't you've just wiped your brand new ROM and returned back where you started?
My question is specifically for people who try custom ROMs do a backup and restore.
Click to expand...
Click to collapse
I think i made a bit of a typo there
when going to flash
- backup
- wipe
- flash rom
- flash gapps if needed
when going to restore
- wipe (cache, art cache)
- restore
I'm sorry, I still don't understand.
1. You backup (system, data, etc)
2. wipe
3. Flash rom (which writes new rom to system and data)
4. Then you restore your backup, which now overwrites system and data, thus erasing the new rom you just flashed
I need a way to restore apps and app data while keeping the new rom, otherwise it defeats the purpose

Categories

Resources