Hi all, I just need to check something about how cwm restores work. If I do a nandroid backup from a ROM that formats and mounts ext4, and then I do a full data system and cache wipe in cwm and then restore, i'll actually be restoring the files to ext3? As in, a cwm wipe formats as ext3 and the restore has no knowledge of the original file system?
TIA
m
Sent from my Desire HD using XDA App
AFAICT the default is ext2. And it does not matter which of the extX filesystems is there when restoring as long as it is supported by kernel.
Thanks. So, a cwm wipe formats as ext3 and the restore has no knowledge of the original file system - it just restores to whatever it finds?
mossywell said:
Thanks. So, a cwm wipe formats as ext3 and the restore has no knowledge of the original file system - it just restores to whatever it finds?
Click to expand...
Click to collapse
Answered my own question: yes it does.
And it is ext3, not 2
Related
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
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
Can you please tell me... if i restore the settings to default in stock ics... will i loose all .zip mods that i flashed or the touch recovery ? Thank you .
Sent from my Nexus S
Recovery will not be affected if you restore your system to factory
What zip file did you installed? Superuser zip will not be deleted if you restore it to factory but dome system apps might be deleted. But all your pictures and video should still be intact.
Sent from my Nexus S using XDA
I am talking about some zips i flashed with a gps fix, a recent apps button in the nktification...and some blue ics mod and tsome others
Sent from my A70S using xda premium
It effects nothing in the /system partition. Its a user data wipe/caches
Restore factory default will do format /data and format /cache (and format /sdcard if you choose to erase sd card)...So anything in /system and in /boot would be left as is ....
Good morning, I'm here to do some questions about the nandroid backup.
Fist of all I'm using rashed's cm10.1.5 with halo and I have s2e installed and all running smoothly. I also have Clockwork 5.Now the questions.
1- Can I do a nandroid backup from my clockwork? Do I have to install something? Or something like that? What is the easy way to make a backup of my data?
2- In case I decide to change the rom, can I get my app back with my nandroid backup? How?
3- Will my ext partition in the sd work like before? I mean if the nandroid backup will restore my s2e, my app in the ext partition and the script or it will show an error because the appdata will take more space than the free space in the phone. For example I have my ext part with 400mb occupied. So I do a nandroid backup. When I'm going to restore it, it will restore to te ext, or to the phone?
3- I think this is not number free but number 6534532, and it's a noob (very nooooob) question. I always have trouble when a zip says "flash it from recovery" or "Install it from recovery" and all that options. How I know when I have to choose "Install ZIP from sd card" or "Install UPDATE from sd card"? what is the difference? -because I think that I have half bricked (bootloops, stuck in logo) a lot of times because from this. Thanks from now.
And please forgive my english, my noobing and the big number of questions.
1. Yes you can do a nandroid backup from CWM
2. As CWM backups all the data i.e settings,Google accounts but AFAIK you may lose the apps which were on SDcard
If all apps are on internal memory then you will not lose them (If you want, you can backup all your apps with MyBackup Root)
3. SDext partition has been a hit-and-miss for me on CWM
It did not restore my sdext backup sometimes and when it did, the ROM boot looped
TWRP is the best for wiping/backup/restoring SDext backup
6534532. Choose Install ZIP from SD card.
Install update from SD card means it flashes /sdcard/update.zip from SD card if it exists
Always use 'Install zip'
akiratoriyama said:
1. Yes you can do a nandroid backup from CWM
2. As CWM backups all the data i.e settings,Google accounts but AFAIK you may lose the apps which were on SDcard
If all apps are on internal memory then you will not lose them (If you want, you can backup all your apps with MyBackup Root)
3. SDext partition has been a hit-and-miss for me on CWM
It did not restore my sdext backup sometimes and when it did, the ROM boot looped
TWRP is the best for wiping/backup/restoring SDext backup
6534532. Choose Install ZIP from SD card.
Install update from SD card means it flashes /sdcard/update.zip from SD card if it exists
Always use 'Install zip'
Click to expand...
Click to collapse
mmm The bakcup save the app in the phone. But how about the symlinks that are created in the phone that directs to the ext? It will backup the app anyway in the ext or only will backup the "Link"?
Another question. The Dalvik cache is important? Because I can move all the app to the phone, but if I move the app, the app data and the dalvik cache all that get bigger than my internal memory, but if I move only the app and the app data it fits perfectly. So can i backup the app and the data only and wipe the dalvikcache?
Dalvik cache is not important while backing up
AFAIK SDext backup saves the links only
But I have limited knowledge on SDext backups
Asking @ibub @Junior Einstein and @shinobisoft
Sent from my GT-I9082 using xda premium
I think I'll move all the app and the appdata to internal memory and then do the backup. So all the app and the data will be saved. And after flashing rom y will put it. But the dalvik cache i'll leave in the sdext. So it will be erased, but i was thinking it doens't matter, but I wanted an expert opinion, to aovid getting bootloops or have to reflash the rom 2 or 3 times or whatever problem can be found. Thanks a lot.
akiratoriyama said:
Dalvik cache is not important while backing up
AFAIK SDext backup saves the links only
But I have limited knowledge on SDext backups
Asking @ibub @Junior Einstein and @shinobisoft
Sent from my GT-I9082 using xda premium
Click to expand...
Click to collapse
The backups, for any partition, besides cache and dalvik cache, are exact duplicate images of the partition(s). Comparable to that of an ISO image for the PC.
akiratoriyama said:
Dalvik cache is not important while backing up
AFAIK SDext backup saves the links only
But I have limited knowledge on SDext backups
Asking @ibub @Junior Einstein and @shinobisoft
Sent from my GT-I9082 using xda premium
Click to expand...
Click to collapse
If you choose to backup both sd-ext and the data then the apps symlinked to the sd-ext will be restored on restoring from the clockwork recovery...
Hit thanks if i helped you.. !
I made a twrp backup with phone/rom that used ext4 for data/cache, though rom was compatible with either ext4 or f2fs.
I've now switched my file system to f2fs with a new rom.
If restoring the old rom backup, will it work on my current f2fs?