[Q]Backup/Restore with Data2SD - Desire Q&A, Help & Troubleshooting

I can't find this anywhere, but maybe because it is a stupid question...
Is there a difference with backup/restore procedure of a ROM if you have applied Data2SD?
I have made some backups through clockworkmod recovery but I haven't tried any restore.
I am thinking that a backup might involve, except the normal procedure, removing the sd and creating an image of the ext4 partition in my computer. Is this necessary?
P.S. I have installed the latest Oxygen with Data2SD in my friends Desire bravo and it is working fine.

CWMR, or at least older versions of it don't preserve ext type and would change ext4 to ext3, which is an issue. Newer recoveries like 4ext, rmd, and even cwmr have checks to preserve the type. Other than this, no differences in backing up, just nandroid backup and restore
Swyped on my Htc Desire running on Supernova Extreme - Gingerbread goodness with 2 GB of Internal memory

Thanks Droidzone

Related

[Q] upgrading a custom rom with a2sd+

hi all,
i am running opendesire with a2sd+ and an ext3 partition on my sd card. quite a few apps installed.
thinking of trying one of the new gingerbread roms but i am not clear on whether i need to do anything with the ext3 partition.
as i understand it, much of the data for my installed apps is on the ext3 partition, so, when i change rom there will be a load of orphan data.
must i wipe this partition? is there any tool in clockworkmod or similar to help me do that? or do i need to pop the sd card into a linux machine and wipe it myself? or does it not need wiping at all?
thanks
slip
I use Amon RA recovery and there is an option like wipe -> ext partition.
I am pretty sure there is a similar option in Clockworkmod as well.
Sent from my HTC Desire using XDA App

[Q] Q(s) does cwm 3.0.0.5 restore/backup sd-ext

Hi,
I searched various forums but cant find an answer to this.
Does cwm 3.0.0.5 backup and produce an sd-ext.img?
I recently got a replacement sd card, so I did a nandroid backup after I flashed cwm 3.0.0.5.
I copied this to my laptop, and g parted my new sd to have 2 partitions fat 32 first and the last 2 gb as ext3, as per the requirement for modaco no sense kitchen rom (a2sd+ version).
New sd in desire, I copied the whole clockworkmod folder onto the new fat32 partition.
Wiped everything I could using recovery (clockworkmod folder still remains present).
Tried to restore but got a message at the end that "sd-ext.img not found. Skipping restore of /sd-ext. Restore complete."
When I boot the desire gets past initial alpharev s-off replacement image I have (I have s-off), then presents a blank screen. This does eventually boot. However all apps are not installed. I assume that the original dalvik cache was not transferred and was reconstructed by the restore with what it had.
Is this a known problem with 3.0.0.5?
Is there another version I can flash which doesnt have this problem?
Just to provide all possible info require (I think). My desire is PVT4.
Thanks in advance.
I used CWM 2.5.0.7 from the alpharev release.
In my backup folder, I have sd-ext.img present.
I created this sd-ext with CWM itself. (I did a backup of the sd and formatted it)
So no doubt that CWM 3.0.0.5 did the same.
First, check if you actually have the sd-ext.img file.
Second, you might want to try to update to CWM 3, since the alpharev release is 2.5.1.8.
Well CWM will create the sd-ext.img backup if it detects that the partition is there. If out doesn't detect it then it will skip it like it did. There is nothing wrong with cwm at all and out works. You could upgrade your recovery to 3.2.0.1 but it won't make a difference really. Only way around it is to use titanium backup as it will restore straight to sd-ext
Swyped...
Meaple said:
Well CWM will create the sd-ext.img backup if it detects that the partition is there. If out doesn't detect it then it will skip it like it did. There is nothing wrong with cwm at all and out works. You could upgrade your recovery to 3.2.0.1 but it won't make a difference really. Only way around it is to use titanium backup as it will restore straight to sd-ext
Swyped...
Click to expand...
Click to collapse
Hi,
I used gparted to firstly create a fat 32 partition then secondly a ext3 partition (for apps) on a new sd card. I cant see a sd-ext.img file in the nandroid backup file produced by cwm 3.0.0.5 so I assume that it cannot detect the ext3 partition.
Do you have any idea as to why this is? Can I have done anything to help cwm "see" the partition.
I'll update to 3.2.0.1 to try if the same problem occurs in that release.
I take your point that I could use titanium backup to achieve the same. I dont really want to do this as as I find it a pain to re-install the large number of apps I like to carry about on my desire. The problem is that I know what runs well on a ext-3 partition and what only runs on int or system space. I only allow apps into system or int if I really them to be there so this means thatyou have to manually install each one of them to the relevant space. Also I use ext3 for dalvik cache (seems to improve performance).
I cant see a reason why 3.0.0.5 didnt see the ext3 partition and ideally I would like a nandroid recovery solution that could auto detect all partitions if present (as I guess many others would).
I'll update this thread when I have run through the update to 3.2.0.1 and done some more testing.
I think CWM doesn't backup ext-partition if there's no data
try the old CWM.. the one comes while you root with unrevoked3 .. coz I have old CWM and it does backup sd-ext.

Change partition size on SD card

I have had a look on the forums and I cannot find how to do what I want, sorry if it is a noobish question.
I've a GSM HTC desire on orange (UK), running cyanogenMod 6.1.1. The recovery is clockworkmod 2.5.0.7 and the bootloader is HBOOT-0.93.0001 (alpharev)
I am trying to install RCMix S v2.0 Evolutionary Sense. It seems it requires s-off to do this easily and I also need to have my SD card (16Gig) partitioned with 1Gig of ext3. The current size of the ext3 partition is 0.75Gig (I know it's a silly size I chose originally). Once this is done I should be able to load the correct bootloader for the Rom and then flash the Rom itself.
I have just flashed my phone using alpharev 1.8 to load a bootloader that gives me s-off.
I wanted to resize my ext3 partition to 1Gig, I tried using minitool partition wizard (which I used the first time) but it won't let me resize the ext partition even after making room by shrinking the fat32 partition.
I am wondering if there is a way to do this without formatting the SD card. My worry is if my phone won't boot if I format the card to resize the partition because as I understand it some system data is on the SD card. Am I worrying about nothing?
Backup your sd card then use rom manager to create your ext partition size. No matter what when resizing you have to format.
Swyped...
GParted will also do it.
Might as well convert to Ext4 while you are at it.
I also couldnt find a way to resize the ext3 partition in windows.
So i made a full nandroid backup (incl SD-EXT) in recovery, deleted old ext3 partition and created a bigger new one. Then just restored the SD-EXT backup from recovery.
Worked well and no data lost
Edit: Is there an advantage from ext3 to ext4? I´m using Insertcoin A2SD V49
I think I will do a nandroid back up and just reformat the card how I did the first time.
777ace My desire is PVT-1 S-off. Also you've got the rom I am trying to install. So I think I'll flash the 0.93/CM7 Hboot that you have.
What are the advantages to using Ext4 rather than Ext3. I assume Ext4 is what you use? Did you need to flash a new radio or did you just do it by choice?
Ext4 is just the evolution of Ext3, and is supposedly more reliable and performs better. I upgraded to 4, because I read alot of people recommending this for many of the new ROMs coming out...a bit of research and the move made sense.
You should already have 0.93 HBoot, if you want to use RCMix (or most of the more recent ROMs). After that, pushing the CM7.img thru something like Android Flasher is easy as.
I flashed the radio back when I was on LeeDroid 2.3f and have kept it since. If you want to upgrade, you can also push the radio.img with Android Flasher.
This http://gavinroy.com/initial-ext3-vs-ext4-results should put things into perspective.

[Q] Which recovery should I install? (current: 2.5.0.7) - Problems Restoring Backup

Hello,
I want you to recommend me a stable, problem-causing--free clockworkmod recovery.
I had 2.5.0.7 and then upgraded to 5.0.2.0 but when took a nandroid backup, I had noticed that the ext-4 partition was saved as .tar not .img.
Also, if I recall correctly I had created a new partition with ext-3 partition, NOT ext-4.
I flashed CM7-225 and then tried restoring.
I cannot restore my backup
Everytime it restores sd-ext or I get an error ("Error restoring sd-ext") and when tried "format sd-ext" recovery would freeze.
(It's possible that my transcend 8GB 6class SD got corrupted -> As I reflashed CM7-stable, and installed simple2ext at the top right corner I got "SD-EXT:--" and I had created an ext-3 partition via Recovery).
I tried flashing the stock rooted rom 2.29.405.5 found here but I got a problem installing it due to amend scripting not used in newer versions of recoveries ( after version 3) so I reflashed the old recovery 2.5.0.7 to be able to flash the aforementioned rom.
So what I have now is a:
Rom: Stock-Rooted 2.29.405.5 (I really like sense)
NOT ext partition and ONLY 55MB --have to change that :/
A probably corrupted 8GB 6class Transcend microSD :/
Now using the samsung 4GB microSD that was included in the box
The device is S-OFF, rooted
I am thinking of buying this microSD card (maybe tomorrow).
So what I need is:
1)Which recovery do you recommend? Will I be able to flash stock rooted 2.29.405.5 rom?
2)Are the app2sd and alike scripts causing problems to the microsd cards?
3)If I buy the samsung microsd and create a 1GB ext partition via gparted live cd(I have never done it before but I hear that it is really good) would I be able to restore the nandroid backup I have?
4)What if I cannot restore the nandroid backup, if I prepare the new samsung microSD with an ext3 partition, and flash a script for apps2sd will it transfer the apps installed at the device's memory to the partition?
Thank you for your help!
Sorry for the big thread
pspuser007 said:
Hello,
I want you to recommend me a stable, problem-causing--free clockworkmod recovery.
I had 2.5.0.7 and then upgraded to 5.0.2.0 but when took a nandroid backup, I had noticed that the ext-4 partition was saved as .tar not .img.
Also, if I recall correctly I had created a new partition with ext-3 partition, NOT ext-4.
I flashed CM7-225 and then tried restoring.
I cannot restore my backup
Everytime it restores sd-ext or I get an error ("Error restoring sd-ext") and when tried "format sd-ext" recovery would freeze.
(It's possible that my transcend 8GB 6class SD got corrupted -> As I reflashed CM7-stable, and installed simple2ext at the top right corner I got "SD-EXT:--" and I had created an ext-3 partition via Recovery).
I tried flashing the stock rooted rom 2.29.405.5 found here but I got a problem installing it due to amend scripting not used in newer versions of recoveries ( after version 3) so I reflashed the old recovery 2.5.0.7 to be able to flash the aforementioned rom.
So what I have now is a:
Rom: Stock-Rooted 2.29.405.5 (I really like sense)
NOT ext partition and ONLY 55MB --have to change that :/
A probably corrupted 8GB 6class Transcend microSD :/
Now using the samsung 4GB microSD that was included in the box
The device is S-OFF, rooted
I am thinking of buying this microSD card (maybe tomorrow).
So what I need is:
1)Which recovery do you recommend? Will I be able to flash stock rooted 2.29.405.5 rom?
2)Are the app2sd and alike scripts causing problems to the microsd cards?
3)If I buy the samsung microsd and create a 1GB ext partition via gparted live cd(I have never done it before but I hear that it is really good) would I be able to restore the nandroid backup I have?
4)What if I cannot restore the nandroid backup, if I prepare the new samsung microSD with an ext3 partition, and flash a script for apps2sd will it transfer the apps installed at the device's memory to the partition?
Thank you for your help!
Sorry for the big thread
Click to expand...
Click to collapse
1) I use 2.5.0.7 personally as its the latest official (stable) version. Although given all these issues maybe try AmonRA 2.0.1
2) probably due to dodgy partition
3) not with AmonRA. Cwm and amon are not compatible. Probably best to forget that backup for now
4) yes
Thank you for the reply!
1.So, I will stick with 2.5.0.7! This was the one that I was using, but I saw a thread about a new version and that's why I flashed the new one.
2.What do you mean whit "dodgy"?
3.So with the CWM recovery I would not be able to restore it, right? :/
I have already created a new installation and will buy the new microSD..
Is there any way to be sure that my transcend microSD is corrupted?
Is this samsung microSD a good one?

[Q] Cannot restore my nandroid backup after resizing SD-EXT

Hi all,
I have been using Leedroid 3.3.3R5 on my Desire. Yesterday I wanted to give a try to another Custom ROM (RevolutionROM 3.0 xmas edition). I was supposed to S-OFF my phone and then increase the size of my SD-EXT partition to 1024MB in order to install it. So I did it. I first S-OFFed using the Revolutionary tool. During the process, the Revolutionary tool also asked if I want to update Clockworkmod Recovery. It didn't sound like a bad idea, so I made the CWM update too. (it was "Clockworkmod 2.5.0.7" before the update, now it is "Revolutionary CWM v4.0.1.4").
After S-OFF and CWM update, I resized my SD-EXT directly from CWM (Advanced > Partition SD Card) to 1024MB. Of course I had already copied everything on my SD card including my nandroid backup to my PC. After CWM increased the size of SD-EXT partition, I copied everything back to my SD card.
So I was ready to restore my nandroid backup. First I formatted each partition in "mounts and storage" menu of CWM. Then I restored my backup. However, it goes into a bootloop now. I tried this several times: format > restart > restore, but it didn't help.
Do you think I did too many changes at once, so that my nandroid backup is not compatible anymore?
Ercan
i may be wrong here:
if you partitioned originally with cwm 2.5.0.7, it will be an ext3 partition
with cwm 4.1.0.4 i think it creates ext4, which is why it might be incompatible.
i would recommend switching to 4EXT recovery, flash it through fastboot as you're now S-OFF and you can't boot into a ROM.
i think there is an option to force nandroid restore to ext4, not tried this before.
if this doesn't work 4EXT can convert the partition back to ext3, then try restoring it.
and if this doens't work, format and repartition the card from scratch using gparted, creating an ext3 partition. then try restoring...
you've done the smart thing and copied your backup to PC, so this is easily recoverable
Looks to me like you did most things right. I think I read somewhere that partitioning thru CWM can be unstable though...
I would also suggest you try Gparted, which is the most common, and reliable, method of partitioning. All you do is download the ISO and burn (not copy, burn!) to a CD, then boot your computer from this disc.
Making sure to backup your SD again before you start, use Gparted to format the SD, so you have a clean slate to work with. When you load gparted, a series of code will scroll on screen for a few minutes (don't freak out like I did, all is well ) Once started, you need to find your SD card from the drop down menu's. You should recognise it by it's size...be careful not to select your PC hard drive!
Now it's just a matter of formatting then using the sliding bar to set your partitions. You will want to make one the Ext4 and the remaining FAT32, labelling both as primary. Don't stress about meg or two of uncommitted. You can play around a little if you need, before having to commit to any actions, so just click here and there until you are sure you've got it all right. If you have a spare card, practice with that, otherwise, you can always format again and start over... When done, reload SD and restore your nandroid.
Also, ditch CWM and install 4Ext Recovery control from the Market
E: I should have mentioned. All this is much easier if you use a card reader, rather than leaving the SD in your phone....
I found THIS
It says to use 512meg Ext3, but no one has used that size since, like...2011, or something, so just go with 1024meg.
Also, steps 1, 2 and 3 don't matter if you have a card reader.
This is the tute I used when I first partitioned with gparted and imo, pretty easy to follow.
You trying to restore a backup made with CWM 2.5.0.7 with Revolutionary 4.0 now by any chance?
Sent from my HTC Desire using Tapatalk
erklat said:
You trying to restore a backup made with CWM 2.5.0.7 with Revolutionary 4.0 now by any chance?
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
Yes, that's what I'm trying to do.

Categories

Resources