Clone SD card (swap+ext+fat)? - Hero, G2 Touch Android Development

Hi, I intend to upgrade my sd card so i need to clone the sd card, including "unseen" partitions for a2sd. is there any way to do it?

Code:
dd if=/dev/sdX of=/home/user/sd_backup.img
try that...

That is only true if he intends to copy over the contents to another card of the same volume.
Instead, he should copy over each of the /dev/sd? to another file, whilst noting the filesystem, and remount that via loop should he need to restore files.

When I replaced my sd card I simply did a BART backup, moved everything off the old sd card, and re-partitioned it to recover the apps2sd partition.
I then inserted the new card, partitioned it and did a bart restore, worked perfectly

hant-taiyou said:
Hi, I intend to upgrade my sd card so i need to clone the sd card, including "unseen" partitions for a2sd. is there any way to do it?
Click to expand...
Click to collapse
clone it from your PC using linux (a LiveCD will do it)
or install this if you're running Windows: http://www.fs-driver.org/

thanks for all suggestion, i'll try bart backup and see how it goes

Related

New SD card

I have just upgraded my SD card from 4 gb to 16 gb, is there any way to make a complete transfer of ALL the contence? Not just the stuff I can copy/paste but also the ext partion? So I don't need to reinstall Shadowfrost? I tried to insert the new card, and do a install from the SD card, without wipe'ing anything, but that resulted in a bootloop!
Use Linux to copy the files on the ext partition.
Partition the SD first.
mercianary said:
Use Linux to copy the files on the ext partition.
Partition the SD first.
Click to expand...
Click to collapse
Can it be done with a live cd?
Yes you can.
??
I couldĀ“ent copy the content, so I just made a fresh install, but I did'ent get the apps2sd working, i know I made an ext partition, but after 3 tries it keeps installing to the phone instead of the SD card. What am I doing wrong?

Replacing my SD Card with A2SD apps?

I've been running my A2SD for 2 weeks now and am happy with it - other than a few apps stutter a bit.
I've put this down to my slow 'non classed' 16gb memory card, so I ordered a Class 6 16gb one the other day.
Its turned up today, and I want to swap it for the current one.
As I don't have a Linux computer, whats the best way of doing this? I can't see the partition with the Apps on it in my Windows PC.
Should I just use Titanium Backup and do a batch backup of all my 'User Apps and System Data', then copy the contents of my SD Card to my PC.... then format the new card for A2SD, then copy the contents back and restore my Backup?
Any help appreciated!
download the ubuntu live cd here http://www.ubuntu.com/desktop/get-ubuntu/download. it will run from a cd or usb stick and dosent need to be installed, you will be able to see your sd-ext as its a linux os, you can then just copy the apps to your hdd, partition your new card using the native ubuntu disk utility and then copy your apps to your new sd card
Thanks for the reply.
Sounds simple enough - I'll get downloading.
Do I just stick my SD in a USB reader and do it, or read the SD straight from the Desire?
Cant you just copy the files to your pc then paste them back when you put the new SD card in? Worked for me today... well all seems fine upto yet
Sent from my HTC Desire using XDA App
He can't because he has a ext2/3 file system partiotion that he's using for A2SD and ext is not shown in windows.
You probably don't have ext2/3 and that's why it worked without problems for you.
p3eps said:
Do I just stick my SD in a USB reader and do it, or read the SD straight from the Desire?
Click to expand...
Click to collapse
I don't think it matters, it should work both ways.
Just out of curiousity.... will my Mac see the A2SD partition on my SD card since Apple OS shares a lot in common with Linux?
Wouldnt the easiest option to be to do a nandroid, partition the new sd card, then just restore the nandroid saves faffing about with other stuff.
Depending on what rom your using it may be a better option to use data2sd

Restore SD card after partition

Hi, I format my sd card(his original size 8GB) and made a partition through cwm (1024MB).
Now I need this sd card for another use...
How I restore it to original size?
Thanks.
format
Insert the card into your laptop and then boot a Windows CD-DVD and then format, I have done so.
ayosopov said:
Hi, I format my sd card(his original size 8GB) and made a partition through cwm (1024MB).
Now I need this sd card for another use...
How I restore it to original size?
Thanks.
Click to expand...
Click to collapse
Where do I find this CD-DVD application?
I find a solution...
I used MiniTool Partition Wizard
and resize to original size.
But now I have a major issue,when I plug my phone to pc and choose disk drive (USB debugging marked).
I don't get any response in my pc except for the sound so I can't access my sd card through android platform,I can't copy files to my SD card.
I try two ROMs:
http://forum.xda-developers.com/showthread.php?t=1050645
http://forum.xda-developers.com/showthread.php?t=908528
How do I fix it?
Thanks.
I just formated it using windows, when you want to use it for another android rom just format it with CWM
very useful thread. thank you
I can't access my SD card when I in android platform.
I must enter MAGLDR for this and choose USB Mass Storage.
How do I fix it?
Thanks.
anyone????
Can you use another SD in your phone? If not, probably you have a USB-brick. Take a look in the forum for how to resolve it.
I tried.Nope.
I'll read this:[USB-BRICK] All you need to know about USB-Bricks
Does this manual work with HD2 device?
http://forum.xda-developers.com/showthread.php?t=691639
Thanks.
Can't you just partition/format it using CWM? I use Amon Ra so I'm not sure about CWM. In Amon Ra, I can select a partition size of 0 for the ext partition and Amon Ra automatically partitions/formats the entire card to FAT32.
sd card issue
I have tried to partition my 8 gb sd card but something went wrong now it is not showing free space or sometimes it shows 200 mb is available
Now iam trying to format it but it fails. I have tried tools like sd card formatter also but it didn't work
Pls help me.to format my sd card

Problem partitioning sd card

Hi guys. I partitioned my sd card with mini tool partition wizard in 2 partition: 6gb in fat32 and 2gb in ext2. When i install sd card on the phone, it says that the card is empty or file system is not supported. I tried to format the card via cwm but it says "error mounting sd card".
I have stock 2.3.3 rom, unlocked bootloader, root and custom kernel lupus 1.1.4
What can i do??????????
Thanks!!!!
I would probably format in mini tool again all to fat32 put a couple of files on it in windows (Just to know that you have got something on the card) try again see if phone recognizes it if it does repartition again with mini tool:fingers-crossed:
tallman43 said:
I would probably format in mini tool again all to fat32 put a couple of files on it in windows (Just to know that you have got something on the card) try again see if phone recognizes it if it does repartition again with mini tool:fingers-crossed:
Click to expand...
Click to collapse
Yes but to partition the card i have to delete all the files on it, so try to get in the card a couple of files in windows is not pointless aswell?
dedefr89 said:
Yes but to partition the card i have to delete all the files on it, so try to get in the card a couple of files in windows is not pointless aswell?
Click to expand...
Click to collapse
No what i mean is after you have format card to fat 32 put a couple of files you don't need on the card to see if your phone recognizes them not before you partition.Then if that works and you phone does recognize card and files you can then repartition,don't partition until your phone recognizers your card. :fingers-crossed:If that still not working you can download software to test your card to see if any faults on it.

[Help] Switch partitioned sd card

Hi,
I want to switch the 32 GB sd card I have on my Desire for another sd card with just 16 GB. I need de 32 GB card for my Tablet.
The card is partinioned using 4-ext with 2GB ext4. I would like to keep my phone exactly as it is now and I thought I could use the following procedure:
1 - make a nandroid backup through 4-ext to the sd card and then make a backup of the sdcard on the pc;
2 - partition new sdcard the same way as the original one;
3 - copy the nandroid backup to the new card and restore it from the 4-ext recovery;
4 - copy the data of the first card's fat32 partition from the pc to the new one (fat32 partition).
Will this work?
Can't really try it right now because I've only just now ordered the new sdcard.
Sorry if the subject has already been discussed but the search funtion is not working so I could not search for it...
Tks...
D4Dpower said:
Hi,
I want to switch the 32 GB sd card I have on my Desire for another sd card with just 16 GB. I need de 32 GB card for my Tablet.
The card is partinioned using 4-ext with 2GB ext4. I would like to keep my phone exactly as it is now and I thought I could use the following procedure:
1 - make a nandroid backup through 4-ext to the sd card and then make a backup of the sdcard on the pc;
2 - partition new sdcard the same way as the original one;
3 - copy the nandroid backup to the new card and restore it from the 4-ext recovery;
4 - copy the data of the first card's fat32 partition from the pc to the new one (fat32 partition).
Will this work?
Can't really try it right now because I've only just now ordered the new sdcard.
Sorry if the subject has already been discussed but the search funtion is not working so I could not search for it...
Tks...
Click to expand...
Click to collapse
Yes, it will work.
abaaaabbbb63 said:
Yes, it will work.
Click to expand...
Click to collapse
Thank you.

Categories

Resources