how to swap SD card and duplicate contents and partitions (A2SD+)? - Desire General

Hi,
In the next few days, I will receive a new 8GB SD for my HTC Desire. But sice I'm using A2SD+, I'm wondering how I could migrate all the data + partitions to the news card? I'm aware I have to partition my new card first, but how is it possible to duplicate and copy the contents to my new card? I'm mainly concerned about the data on the 2nd partition, where all my apps are installed...

1.Do a nandroid backup of the existing rom with old card
2.Partition the new sdcard
3.Restore nandroid with the new sdcard
Nandroid will backup and restore the sd-ext partition also.

I would use gparted.
plug both sdcards in your PC
delete the partition on your new sdcard
copy both partitions over from your old sdcard
resize fat partition to fill the free space if your new sdcard is bigger
this way is quicker and easier in my opinion.
gparted is included in the ubuntu livecd if you've got one lying round. if not you can get a gparted live cd com the internets.

mercianary said:
I would use gparted.
plug both sdcards in your PC
delete the partition on your new sdcard
copy both partitions over from your old sdcard
resize fat partition to fill the free space if your new sdcard is bigger
this way is quicker and easier in my opinion.
gparted is included in the ubuntu livecd if you've got one lying round. if not you can get a gparted live cd com the internets.
Click to expand...
Click to collapse
imo its easer just to do a nandroid, put the new sd card in and use the advanced restore to restore the ext

thanks for the replies. So to partition, should I use the recovery to partition or can I use my computer (mac os x), since it's a linux partition that I need.
I didn't know that nandroid backup also backups my apps on the 2nd partition?
Is it also possible to use Titanium backup?

AndroHero said:
imo its easer just to do a nandroid, put the new sd card in and use the advanced restore to restore the ext
Click to expand...
Click to collapse
probably is, but i use linux on my desktop so its no hassle for me...
last time i did a nandroid of my ext partition i lost everything else on the partition (I use it for extra sdcard space and i've got debian installed there also.) the apps were saved but it didnt backup anything else on the ext partition, but i suppose this isnt a problem for most people.

Related

Copying EXT3 partitions across SD cards??

Can anybody tell me if there is any way of co-copying the EXT3 partition from one SD Card to another using a PC?
I currently have a 16G card and use a cooked rom with A2SD but wish to use a 32G card and want to copy all my A2SD installed apps across so changing the card is seamless.
Also one other question, if a format the card in FAT32 using a PC, will that remove the EXT partition?
Thanks in advance for any help.
Cheers
Jason
eazy mode, create a nandroid backup + ext. copy it to your pc put in bigger SD copy nandroid on it and do a nandroid restore.
Done
Qliratu said:
eazy mode, create a nandroid backup + ext. copy it to your pc put in bigger SD copy nandroid on it and do a nandroid restore.
Done
Click to expand...
Click to collapse
thanks for the advice, that should come handy sooner or later
Or if you have a Linux Live CD lying around then you can just mount your sd card in Linux and it will mount FAT32 and also EXT partition so you can just copy the contents.
You have a choice of methods although Nandroid is the most obvious choice. Nandroid. Copy sd fat32 part contents to pc then copy to new card. Nandroid restore.
Install clockwork recovery and make a backup, then insert your new SD , create a Ext3 partition using clockwork recovery. Copy your backup from the old to the new card and then Use unrevoked recovery to restore the Ext3 partition.
Sent from my HTC Desire using XDA App
Thanks for all the advice, haven’t used nandroid backup yet but have ClockworkMod Recovery flashed so will give it a go!
unecaseenmoins said:
Install clockwork recovery and make a backup, then insert your new SD , create a Ext3 partition using clockwork recovery. Copy your backup from the old to the new card and then Use unrevoked recovery to restore the Ext3 partition.
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
How can i make a Ext3 partition with clockwork? I have the partition menu but i can't make a Ext3 partition...
Help!
dabegi said:
How can i make a Ext3 partition with clockwork? I have the partition menu but i can't make a Ext3 partition...
Help!
Click to expand...
Click to collapse
Use ROM manager and select partition sd card.
Easiest way imo ;D
Sent from my HTC Desire using Tapatalk
unecaseenmoins said:
Install clockwork recovery and make a backup, then insert your new SD , create a Ext3 partition using clockwork recovery. Copy your backup from the old to the new card and then Use unrevoked recovery to restore the Ext3 partition.
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
This does not work. I did what you said, but when I do a nandriod restore it gets to the bit of restoring the ext3 partition and then states that the partition does not exist and so skips it.
I think I would be able to use titanium back up to restore my apps but I can’t create an ext3 partition on my new card. The custom rom I am using http://forum.xda-developers.com/showthread.php?t=741663 wont boot with out an ext3 partition and the only way I know of creating an ext3 partition is though rom manager which requires the phone to be booted
So I am stuck?
You will likely have to create the ext partition first in linux. Try parted magic live cd, clockwork puts it at the end of the card, not sure why but best to stick with that just in case.
Sent from my HTC Desire using XDA App
hey everyone... i partitioned my SD card using rom manager.. it worked with no problems at all.. i have got a HTC Hero now... and now i dont want to use ext anymore... im having clockwork recovery.. how to partition the SD card using clockwork.. i want to make ext 0mb...
rom manager gives me a minimum option of 128mb...
your help would be highly appreciated,
Best Regards.
jab1972 said:
This does not work. I did what you said, but when I do a nandriod restore it gets to the bit of restoring the ext3 partition and then states that the partition does not exist and so skips it.
I think I would be able to use titanium back up to restore my apps but I can’t create an ext3 partition on my new card. The custom rom I am using http://forum.xda-developers.com/showthread.php?t=741663 wont boot with out an ext3 partition and the only way I know of creating an ext3 partition is though rom manager which requires the phone to be booted
So I am stuck?
Click to expand...
Click to collapse
Install any other rom just to partition your sd card then restore the backup!
ephumuris said:
Or if you have a Linux Live CD lying around then you can just mount your sd card in Linux and it will mount FAT32 and also EXT partition so you can just copy the contents.
Click to expand...
Click to collapse
I can never get this to work, it always says I need root privlidges to write to the new cards ext partition, and it's anyones guess to what the root password is with these Live CD's.
unl0rd said:
I can never get this to work, it always says I need root privlidges to write to the new cards ext partition, and it's anyones guess to what the root password is with these Live CD's.
Click to expand...
Click to collapse
generally there isnt one, and if there is it would probably be "toor" (root backwards).
if you want root privelages in the file explorer what i usually do is type "sudo nautilus" from terminal (on ubuntu).
but i would just use gparted to copy both ext and fat partitions to the new sd, then expand the fat partition if the sdcard is bigger.
Sarsippius said:
You will likely have to create the ext partition first in linux. Try parted magic live cd, clockwork puts it at the end of the card, not sure why but best to stick with that just in case.
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Fat partition has to be first, otherwise windows can't read the card. It is confused by ext which it doesn't understand.
Guess how I know ;-)

Migrating to a new (bigger) SD Card

I know this must sound like a super-noob question, but there's a simple reason for that : it is from one.
I have run out of space on my 8 GB card so I am thinking of upgrading to a bigger card. Here are my questions:
1) If App2SD+ is there on the ROM, does the phone ask you where to install the app or it goes automagically into EXT partition?
2) I want to make a bigger partition in a bigger card and will do it via ROM Manager. Do I just copy the contents of the older card and paste it onto newer and everything will work fine?
Please answer, my life depends on it.
talhamid said:
I know this must sound like a super-noob question, but there's a simple reason for that : it is from one.
I have run out of space on my 8 GB card so I am thinking of upgrading to a bigger card. Here are my questions:
1) If App2SD+ is there on the ROM, does the phone ask you where to install the app or it goes automagically into EXT partition?
2) I want to make a bigger partition in a bigger card and will do it via ROM Manager. Do I just copy the contents of the older card and paste it onto newer and everything will work fine?
Please answer, my life depends on it.
Click to expand...
Click to collapse
I just upgraded from 8 to 16 myself. 1 : automatically, 2: yes that worked for me
best thing is to pre partition the card before putting it in your phone, do a nandroid backup with your old card in, put the new one in and restore, if im not mistaken this deals with the ext partition files and then just copy all the files onto the fat32 partition from your old card
not worked for me ,I was copy to PC old cadr,have nandroid but I have A2SD+ ext part
& problems ..stock with HTC white logo ,after that I make full wipe/factory reset
& after that instal the LeeDroid rom /put again ROM manager & make ext 3 partition/
after that Titanium backup & Desire functionality was back again
hi there i have auraxtsense rom and and i have an old sd card with app2sd i bought a new card for my desire 8gb class6, and my phone stuck on htc logo screen when i put new card inside
As said above you must re-partition your new card first!
I have just done this yesterday so this is what I did:
1. Nandroid backup
2. Create EXT partition on new card with G-parted Live
3. Copy contents of old SD card to the new one (just the FAT partition visible in windows etc)
4. Put the new SD card in the phone and boot into recovery
5. Restore nandroid backup (copies all the apps back onto the EXT partition)
6. Reboot!
I can't see how you could have any problems by doing what I did. The phone will not have any problems as all the old files are exactly as they were.
Phil
how to create ext partition with gparted?
You must first resize the FAT partition and then create a new EXT partition in the newly created space.
This may be helpful as there are some pictures:
http://www.howtoforge.com/partitioning_with_gparted
Hope that helps.
Phil
philje123 said:
As said above you must re-partition your new card first!
I have just done this yesterday so this is what I did:
1. Nandroid backup
2. Create EXT partition on new card with G-parted Live
3. Copy contents of old SD card to the new one (just the FAT partition visible in windows etc)
4. Put the new SD card in the phone and boot into recovery
5. Restore nandroid backup (copies all the apps back onto the EXT partition)
6. Reboot!
I can't see how you could have any problems by doing what I did. The phone will not have any problems as all the old files are exactly as they were.
Phil
Click to expand...
Click to collapse
So the Nandroid backup is not saved on to the SD Card?
EDIT: Ignore this. Wanted to know if it was on the FAT or ext3. I'm guessing on the FAT so nandroid backups would be included in the transfer.
What is the best tool for copy the entire contents of a memory card? I know Windows is a bit funny, stops the whole process if it finds an error, for example
Yes if you copy the files over before the nandroid then the nandroid backup is included.
TBH I just used windows to copy them all and had no problems.
Phil
One question - can the ext partitions have different sizes when restoring with nandroid?
Example - I have 1 GB ext on old card and now I'd like to have 2 GB?
KotDroid said:
One question - can the ext partitions have different sizes when restoring with nandroid?
Example - I have 1 GB ext on old card and now I'd like to have 2 GB?
Click to expand...
Click to collapse
Don't go larger then 1.5GB on a ext partition. Nandroid restore doesn't mind if the partition size changed, until the restored size is smaller then the new capacity.
KotDroid said:
One question - can the ext partitions have different sizes when restoring with nandroid?
Example - I have 1 GB ext on old card and now I'd like to have 2 GB?
Click to expand...
Click to collapse
You sure can, I just did it today, old ext2 w/ 512MB on 2GB card, now 2GB ext3 on 8GB card. Working just fine
mistake37 said:
You sure can, I just did it today, old ext2 w/ 512MB on 2GB card, now 2GB ext3 on 8GB card. Working just fine
Click to expand...
Click to collapse
I didn't say you can't, I stated that it's not recommended by the community to go more then 1.5GB. It was in all a2sd how-to's I've seen, has to be something about errors with the Market and app installing.
From what I understand the only advantages to APP2SD+ is that you can plug you can mount your card via USB and use your apps, and widgets can be installed on the SD.
Source
This doesn't seem worth it for all the work reformatting another partition. If your card is upgraded to a bigger size why not use the normal method of installing apps on your SD? Why bother to partition with Ext+ as well?
dimeotane said:
Why bother to partition with Ext+ as well?
Click to expand...
Click to collapse
Hmm, because it is what custom ROM requires?
thed0g said:
I didn't say you can't, I stated that it's not recommended by the community to go more then 1.5GB. It was in all a2sd how-to's I've seen, has to be something about errors with the Market and app installing.
Click to expand...
Click to collapse
It's actually bigger than 2gb
Sent from my HTC Desire using XDA App
thed0g said:
I didn't say you can't, I stated that it's not recommended by the community to go more then 1.5GB. It was in all a2sd how-to's I've seen, has to be something about errors with the Market and app installing.
Click to expand...
Click to collapse
I didn't quote your post

[Q] Manual sdcard backup

Hello. Silly question. I'm gonna partition the sdcard, so I want to back it up first. Is it as simple as copying all the sdcard onto my hard drive, then restoring all the folders again after the format? Everything should be back to normal and nothing would go wrong?
Exactly that
Well that's convenient =).
Thanks EddyOS.
One thing to mention - are you already using an EXT partition? If so, this can't be backed up in Windows so you'd need to do a nandroid OR backup it up in a linux install
If not, then continue as you are
Yup I know. I'm backing up the sdcard because I'm going to partition it to Fat32 + EXT, so I'll just restore the backup to the Fat32 partition. Also, should I partition it to EXT3 or EXT4?
Depends on the ROM, I use EXT3 and its fine for me

upgrade to a new sd card

Hello Guys
Just received a new sd card for my desire but after searching the net how to copy all the content from my old sd card I couldnt find anything Im looking for which is why im making this topic.
Anyway I have an 8gb card with 1gb ext3, swap0, and willing to upgrade to 16gb ext4, do I just make the nand backup + ext and then restore it? or it wont restore because of the ext3 and ext4 ?
Regards
C.
ps. dalvik is also moved to sd card
ps2. ive accessed the OLD ext partition on my windows pc using the ext2read program and found 3 folders there, app, app=private and dalvik, so do I just copy those onto the new sd + all the files from fat32 partition onto the new one and will that work?
Hi,
Yes,
Imo could Linux do these tasks better but your option will do it also.
First make a nand backup and than cope the fat stuff to the new card and after that put the ext folders in your new ext partition.
Should work, be sure the kernel of your rom supports ext4
Kind regards
crendot said:
Hi,
Yes,
Imo could Linux do these tasks better but your option will do it also.
First make a nand backup and than cope the fat stuff to the new card and after that put the ext folders in your new ext partition.
Should work, be sure the kernel of your rom supports ext4
Kind regards
Click to expand...
Click to collapse
unfortunately i have no knowledge on linux at all so I guess I can only do it with windows
right, ill make a system nand and copy the files from fat 32 onto the new card and then copy the ext files and swap the cards, hopefully will work
http://baadnewz.lcdc.sk/Desire_HD_Base/InsertCoin/Addons
LINK THERE TO A REALLY GOOD EXT4 ALIGNMENT ZIP
Just create your partition as normal then flash the zip from recovery
rumbo575 said:
http://baadnewz.lcdc.sk/Desire_HD_Base/InsertCoin/Addons
LINK THERE TO A REALLY GOOD EXT4 ALIGNMENT ZIP
Click to expand...
Click to collapse
no idea what this is
Ive copied all the fat32 files and then restored the sd-ext and seems to be working, had few fcs so far but when I will have more time I will reinstall everything
Htc Desire
I think its tough task for me
No its not. Simple. Backup nandroid + ext, put new card in, format to fat32 + ext, nandroid restore. Copy old card fat32 contents to new fat32. Done.
Sent from my HTC Desire using XDA App
When upgrading sdcard I used PC software to backup whole partitons and then restore them to new sdcard. That was very succesful. I hope this will help)

[Q] Before installing DarkTremor... SD backup?

I want to set up DarkTremor A2SD ...
Is there a way to resize my FAT partition non-destructively and add an ext3?
If not (which is probably the case) -- what is the best way to backup my FAT part on Mac? I was going to just create a DMG with Disk Utility, then restore the image after partitioning the SD card. Will this preserve my .android-secure and permissions and all that?
Thanks!
You are right indeed when adding ext 3 theres no way to avoid a wipe.. Unfortunately I'm not a mac user but to back up my sd all I did was create a new folder titled SD BACKUP to my pc and literally just dragged and dropped to ensure every file was there, then once I partitioned to ext 3 I just plugged right back in and enabled USB mount, dragged and dropped back to the SD for the final time and presto!
d0g said:
I want to set up DarkTremor A2SD ...
Is there a way to resize my FAT partition non-destructively and add an ext3?
If not (which is probably the case) -- what is the best way to backup my FAT part on Mac? I was going to just create a DMG with Disk Utility, then restore the image after partitioning the SD card. Will this preserve my .android-secure and permissions and all that?
Thanks!
Click to expand...
Click to collapse
GParted can do this.

Categories

Resources