Any way to clone an SD card? (2 gig upgrade to 8 gig) - General Questions and Answers

*I've spent a lot of time searching...all the answers I come up with involve copy and paste the folders...which is what I did...but windows doesn't show me my ext3 partition.*
I recently rooted my G1, formatted my 2 gig SD with a 32mb swap and 500mb ext3 and flashed cyanogen 4.0.1. I quickly realized that a 2 gig card was just not enough (now that I'm left with 1.1 gig...) so I purchased a class 6, 8 gig card
I plugged the phone in to my computer, copied all my files, put cyanogen recovery 1.4 on the 8 gig and booted to console, formatted the card to my 7200, 500 and 32mb partitions. Shut the phone down, stuck the card in my card reader and moved all the files that were on the 2 gig onto the 8 gig. Booted the phone...damn it...no apps!
Took a few minutes of head scratching before I remembered that cyanogen 4.0.1 does the apps to the ext3 partition! all my apps are on the 2 gig! *arg*
Is there a way to clone the 2 gig card to the 8 gig without messing up the partitions? or just copy everything from my ext3 to the new ext3?? I really don't want to go through and download all the apps I had again
I found some SD card clone software (sprite? IIRC) but that looks like its specifically for WM devices.

As I understand your SD are formatted to ext3. Best solution is download any live linux distribution (live = run from cd into ram without installing and changing anything) and copy files normally.

yeah all ubuntu iso's include a live os you can boot up in without it installing anything to your harddisk there you should be able to read ext3

Hadn't considered that...
Thanks for the help
unfortunately, even just sticking the 2gig card back in the phone none of the apps work the phone boots and I get a long list of "xxxxx encountered an error and must force close"
looks like its off to the market for me...
*sigh*

tsiah said:
unfortunately, even just sticking the 2gig card back in the phone none of the apps work the phone boots and I get a long list of "xxxxx encountered an error and must force close"
looks like its off to the market for me...
*sigh*
Click to expand...
Click to collapse
Just for future reference....how does one go about backing up the ext partition of the SD card so if your current card has an issue you can stick the backup card in and keep running without having to download all your apps again??? I mean...if removing the original card, then turning the phone on with a new card in there caused it to "forget" the location of all the apps when the original card was installed...how does a backup card do you any good??

http://forum.xda-developers.com/showthread.php?p=4397141#post4397141
This thread appears to be the answer...If I ever have to get another card, I'll give this a try.

I use HDD Raw Copy, just use a partition manager to resize old partitions
http://hddguru.com/software/HDD-Raw-Copy-Tool/
Greetings

I've used GParted from Live USB Linux (I use PuppyLinux, but any other Live Linux with GParted would do) to copy partitions between sdcards / usb drives / hard disks. It's GUI based, very simple and does the job.
Just plug both the sdcards into your computer before opening GParted,
Once open, GParted would ask option to use only one device or all devices - make sure you select all devices.
After it loads all the devices, you can select the 2GB card, right click each partition, copy and select 8GB card and paste the partition there.
Please follow the partition order so that you don't change the order in the 8GB card.
Once all the partitions are done, you can resize the partition you want to make bigger on the 8GB to fill the card.
After configuring everything, click Apply and wait for GParted to do all the magic!

Related

Broken SD Card?

For the last 5 hours I have had hell with my sd card I redid my phone with JF new build and wiped out my 8gb class 6 a-data sd card but all of a sudeen it been acting weird
one thing is in paragon it shows the partitions still there (ext2) which takes up the whole card and should not, while windows shows its fat32, and i can access it in windows but it wont show up in in partition program nor delete
while when i mount it into the g1 (where it ask to mount or dont mount when plug it into pc) it instantly unmounts and i click mount again but just makes a noise and unmounts also saying its blank
now my 2gb chip seems to work fine (sometimes well if i unstall the drivers and let them re install then it works for a great amount of time), but this 8 gb,...well
what do you guys think? is it fixable? I can record video of it all (errors and stuff included) if u want
idk if its my chip, my phone or my pc can anyone help?
i think this has something to do with the way windows handles sd cards with no partition table. i assume you formatted the whole card to fat32 using a third party utility? that will totally confuse the system, because it cached a version of the partition table and now there's nowhere to find the new one. a quick solution is to use the build-in format tool to format your sdcard (right click on sdcard's icon and select format...). this should force the system to recalculate the size of the partition. then you have to unplug the card reader and plug it back in. now paragon should work.
billc.cn said:
i think this has something to do with the way windows handles sd cards with no partition table. i assume you formatted the whole card to fat32 using a third party utility? that will totally confuse the system, because it cached a version of the partition table and now there's nowhere to find the new one. a quick solution is to use the build-in format tool to format your sdcard (right click on sdcard's icon and select format...). this should force the system to recalculate the size of the partition. then you have to unplug the card reader and plug it back in. now paragon should work.
Click to expand...
Click to collapse
after a long while, finally got windows to format the whole thing to fat32, but yet still acting weird
what kind of card reader are you using? certain card readers has their own controller and do not allow you to partition properly.
but i am sure mountd in android will allow you full access to the sdcard when it's mounted.
also how much total space do you have in that fat partition after format? a full 8gb sd should have approx. 7.45GB actually space. if your partition table is correct, windows should only format the fat partition and give you a size smaller than 7.45G.
I strongly suggest you try again under Linux using the phone as reader. any livecd with a partition manager will perform much better than windows.
Well i try it both on my phone and a mem card reader, but once I put it on my phone it does not detect a sd card (my 8gb im trying to fix) while detects my fat32 2 gb chip
on my laptop and pc cant format nor delete that ext2 8gb sd card
BUT that 8gb ext2 card im trying to fix loads perfeclty and can access it on ubuntu so im guessing its not physically broken
tanner2007 said:
but once I put it on my phone it does not detect a sd card
Click to expand...
Click to collapse
What do you mean by "it", the GUI. How about doing an ls on /dev/block from the terminal on the phone to see what linux sees?
tanner2007 said:
on my laptop and pc cant format nor delete that ext2 8gb sd card
Click to expand...
Click to collapse
Hmm, what do you mean by delete the card? You can delete a partition, but not a card: I'm not sure makes sense.
tanner2007 said:
BUT that 8gb ext2 card im trying to fix loads perfeclty and can access it on ubuntu so im guessing its not physically broken
Click to expand...
Click to collapse
You say ext2, but yet above you claim to have reformatted as FAT. What does your ubuntu machine think it is? One way to tell is to mount it and try to set permissions on a file, if you can, it is not FAT.
What is your objective, do you want a FAT partition, an EXT2 partition, both?
Well I got it working guys, I dont know what was happening as I said before different programs where detecting different file systems, but soon as I found out how to do it ubuntu I saw it was working and erased the whole card (all partitions and everything)
and now it works again thanks guys ur tips helped

Apps onto SD - problems ive had and things that have helped [for noobs]

Ok, so since I went from my nice name brand 4GB class4 to a patriot 4GB class6 I have had all kinds of issues trying to get my apps to my SD. When ever I tried to reformat the card through windows vista or win7 it would disconnect, and when trying to launch computer management it would freeze until the phone was disconnected. I would also connect it, right click to format, i would get the popup asking if Im sure I want to format the card, and then when you click format it would fail immediately and the phone would disconnect as external media. So nothing I could do could reformat the card even tho at the time there was a 3.5GB FAT32/.4GB ext2 so I stuck it in Ubuntu. Same weird issues trying to format with GPartition. So I tried Partition manager which would only allow me to delete all the partitions and create ext2 but whenever I would create a FAT32 it would fail at the last 90% of the job and the phone would disconnect form the comptuer, I could then reconnect it and complete the job. I tried this about 20 times after number reboots in Vista and Win7 to no avail. I tried every updated ROM with every type of Apps2sd conversion and nothing is working, everything keeps installing to the phone even after all the commands are successful in the terminal. Finally this morning I got to work and tried with XP and it formatted first try, and now I am midway through resetting everything up. My major issue is that once I install a new build it will work until I setup the apps on the sd card, once I do that I hang on the second slpash screen.
In short I dont know what is going on but I wanted to report my issues incase anyone else was having similar problems. It would seem XP is my savior but that seems really odd.
I have the same issue in Vista. If I need to format the card I just use a reader instead.
Symptoms:
- SD card not recognized by Windows Vista or Windows 7
- If SD card is detected if you right click > format, that operation will instantly fail and the SD card will become disconnected.
- Opening Admin Tools > Computer Management > Disk Management will hang until you disconnect the SD card
- SD comes up as unallocated and needing a format but any attempt to format it will fail
- After installing Apps2sd it hangs on second splash screen
- After installing Apps2sd it hangs on android logo
- Cyclic Redundancy Check error when copying files to SD
- Phone and computer both not recognizing the SD card
Attempted fixes:
- Installing JFv1.5
- Installing 1.5Hr3Apps2sd
- Installing Dudes Apps2sd
- Installing everything imaginable from radios to RC29 and re-rooting
Chain of events that worked:
- Installed JFv1.5 - get a fresh download, install and wipe. You can do this by using another SD card, putting your SD card in another computer, or using a combo of adb or fastboot. Depending on how I messed up my phone determined which of those ways I could do it.
- Format your whole SD card to FAT32 - Same as above, depending on your situation you may need to use a card reader or a computer with linux or Paragon partition manager. I had more issues in Vista and Win7 than XP just FYI incase thats an option to you.
- Split your partition into FAT32/Ext2 - Take your total card size formatted to FAT32, mine was 3.8GB and I wanted .4GB (400MB) so in the below coding where it says "size" I used 3400M, make sure you use a capital M, for more info on this topic click here. Then, with an internet connection open up your terminal emulator and type each line and then enter:
su
cd /data
wget http://64.105.21.209/bin/lib/droid/sdsplit
chmod 555 sdsplit
/data/sdsplit -fs size -nc
reboot
Click to expand...
Click to collapse
- NOTE - The above 2 steps can be skipped if done in Paragon Partition Manager (which I owe thanks for saving my SD card when the Disk Management in all versions of windows and Gpartition in ubuntu failed to see the card, but not PPM)
- Part 1 of 2 for setting up Apps2sd - First step is to download this file. Extract those 2 files onto the FAT32 (windows visible) partition of your SD card. Then open up your terminal emulator and type out each line and hit enter:
su
mount -o remount,rw /dev/block/mtdblock3 /system
cp /sdcard/init.rc /data/
cp /runme.sh /data/
cp /sdcard/a2sd.sh /data/
reboot
Click to expand...
Click to collapse
- Part 2 of 2 for setting up Apps2sd - Once fully rebooted download this file and copy the AppstoSD2.apk to your SD card. With a file manager program (ASTRO for me) install AppstoSD2 off of your SD card. When it is done launch the program and select, Copy Apps to SD. Once that is done your phone will reboot. Once its back up and running choose the second option, Copy dalvik-cache to SD. Once that is done you will need to manually reboot.
- DONE!!! - Once I was done rebooting my phone now reports as having ~400MB of internal storage and it feels much snappier. I hope this guide helps someone.
Huge props to Stericson and MarcusMaximus for their help in fixing my phone. I suspect others may run into similar issues not knowing you need to split the sd card, then create those links with init.rc and a2sd.sh, and THEN install the appstosd program so maybe this will help someone else.
Update: Phone froze during a call, I pulled the battery, and it hung at the second splash screen, and the JF1.5 update.zip file on the SD card could not be found. I went and found my old reliable SanDisk 2GB, put the update on it from my computer, flashed, wiped, and once everything was good to go I tried to put the 4GB class 6 card I have been using but now the phone, linux, xp, vista, win7 all fail to recognize the card at all. I dont know what happened but my issues started when I got that card. I am taking the new Patriot 4GB class 6 card back to fry's and Im running my 4GB class 4 that I had before I upgraded. Everything is setup now and working fine so hopefully I just had a bad SD card.
I wouldnt use the phone to format your sd card. I had no issues formating on vista, winxp, win7 when using a sd card reader. I think it has something to do with the fact that you dont have direct access to the sd card when formating from the phone. I think Android just mounts the /sdcard partition and makes it writable through the usb. if that is the case then you dont have access to the partition tables on the card. Not a linux or android guru, just a theory.
1: Don't try to format the sd card using your computer when it's in your phone, if you need to format it, use a card reader.
2: ext2 isn't readable by Windows, so if your ext2 partition isn't showing up on the computer, that's normal.
i had haykuro adp 1.5 but flashed jf 1.5 to put apps on sd and its stuck on tmobile g1 screen.
Yes! The easiest way for me was throwing the card into my Ubuntu laptop and both the FAT and Ext2 partitions pop up on the desktop so you can backup or partition them easily.
And when my card crapped out last night and I put the class 4 back in I was not recognized on any computer but I could at least format it from the phone. From there Partition manager could see the drive and partition but the format was invalid. I then ran the SDSplit method and was able to get the partitions visible in Ubuntu (but not in Windows). From there I copied files (wallpaper, ringtones, etc.) to the SD card and rebooted and when it came back up Windows was able to see the files on the SD and now everything is setup again and good to go.
I have had 2 Patriot 4gb Class 6 cards that both have bad sectors within the first month...as well as randomly getting "bad_removal" from my phone with them. And then it finally losing the filesystem!
I am now using a Kingston 4GB Class 4 card and havent had any issues in 2 weeks.
Patriot isn't all that bad but I think these cards are duds.
Hi,
Just wanted to add:
I purchased a kingston 16 gb class 2 from ebay - working apps to sd no problems. I used it for 1 month.
Then I upgraded to an Adata 16 gb class 6 from newegg.com. Using it for 2 weeks now with no problems. Apps to sd and dalvik-cache to sd.
My firmware Haykuro 5.02H r4.
These 2 brands seem to be reliable.
I just ordered the A-Data 16GB cl6 card off newegg.com. When I get it I will see what happens and report back.

Formatting SD Card...

When I format my card by putting it in the slot my laptop has it doesn't wipe the ext partition... I say this because it's showing that the 2gig card is only a 1.27gig card. This can't be right?
Any help is appreciated.
What OS are you running?
Windows 7 (64 bit)
I don't have a card reader so I can't test it but try to right click on My Computer and select manage. Then go into Disk Management.
The problem is windows can't recognize ext partitions so it won't mount them
Otherwise look up a partition manager to run under windows. I always partition under linux or with dedicated tool you boot to off a CD. I am not sure a good one to recommend to run under windows. Maybe someone else can recommend one.
If you made a 4gb ext partition on an 8gb card, windows will now only see this as a 4gb card until you reallocate the ext partition.
I'm running Windows 7 64-bit and I use Paragon Manager to modify the ext partitions. I am not sure if there is a legitimately free version of this program.
Thanks everyone. I'm downloading Paragon Manager now. I made my ext partition too big and want to put more music on there. I also feel like partitioned the card twice... I think I have an ext 2 & an ext 3 partition.
Again, thanks!
Sd Formatter
mrcharlesiv said:
When I format my card by putting it in the slot my laptop has it doesn't wipe the ext partition... I say this because it's showing that the 2gig card is only a 1.27gig card. This can't be right?
Any help is appreciated.
Click to expand...
Click to collapse
I use SdFormatter from this link: http://www.sdcard.org/consumers/formatter_3/
Question:
Over the last few months I (like most people here) have tried several roms. I moved from the sdcard that came with the phone to an 8gb, no problems there.
The way I backup my sdcard is I make a folder on my desktop and literally just drag and drop the whole card over, hasn't let me down yet. When I switched I formatted the 8gb card and just copied my latest sdcard backup to the 8gb and everything works great. I am at the point where I have a lot of stuff on there from from things like apps I've uninstalled, etc. and I'd like to clean it up. I have everything I would want to keep backed up on my desktop.
So here is my question:
If I reformat my sdcard will the phone copy/install anything on the clean sdcard it needs to run?
If so then I'm thinking I could just copy what I want (nand backups, pictures, music, etc.)
Thanks
nebenezer said:
Question:
Over the last few months I (like most people here) have tried several roms. I moved from the sdcard that came with the phone to an 8gb, no problems there.
The way I backup my sdcard is I make a folder on my desktop and literally just drag and drop the whole card over, hasn't let me down yet. When I switched I formatted the 8gb card and just copied my latest sdcard backup to the 8gb and everything works great. I am at the point where I have a lot of stuff on there from from things like apps I've uninstalled, etc. and I'd like to clean it up. I have everything I would want to keep backed up on my desktop.
So here is my question:
If I reformat my sdcard will the phone copy/install anything on the clean sdcard it needs to run?
If so then I'm thinking I could just copy what I want (nand backups, pictures, music, etc.)
Thanks
Click to expand...
Click to collapse
Yes and yes. I have cleaned house a few times by deleting everything off my 8gb card and bringing back just my pictures, music and backups.
If you are using an ext partition to store apps and want to delete this data, you will need to format this with a program that can handle this ext partition or the easiest way is through recovery (wipe ext partition). Otherwise, if you want to keep your apps on the partition you can just delete everything off the card through windows or even format it there.
Thanks Danknee!!
I thought that was the case but wanted to make sure.
I haven't had the need to use a2sd yet so that's not a problem.
One more question:
I've formatted and put everything I want to keep back. Should I just reboot or do I need to reflash DC!.0, the reason I ask is because there was literally nothing on the card after formatting (not surprising). So I put HTC Sync back in case I need it, will the phone build the file structure it needs as it needs it or should I do anything else at this point?
Thanks
You can just reboot. The SD card doesn't have anything on it that would be replaced by flashing anyway. Since you aren't using apps2sd, you could technically have two different SD cards that you swapped in and out. You would just need to unmount and remount them to prevent corruption during the swaps.
Apps save settings on the card, but these will be resaved when you use these apps again. Conversely, the apps you never use again won't be taking up any space now.
danknee said:
You can just reboot. The SD card doesn't have anything on it that would be replaced by flashing anyway. Since you aren't using apps2sd, you could technically have two different SD cards that you swapped in and out. You would just need to unmount and remount them to prevent corruption during the swaps.
Apps save settings on the card, but these will be resaved when you use these apps again. Conversely, the apps you never use again won't be taking up any space now.
Click to expand...
Click to collapse
Awesome, thanks.
I totally understand what you just posted... So HTC ships these phones with SOME files that you can't get back by reflashing? (ie. HTC Sync) just curious
nebenezer said:
Awesome, thanks.
I totally understand what you just posted... So HTC ships these phones with SOME files that you can't get back by reflashing? (ie. HTC Sync) just curious
Click to expand...
Click to collapse
No, you can flash back to a stock sense ROM with no problems. What I meant was that you could actually use your phone with no memory card and it would be fully functional except that some apps couldn't save settings and data.
The SD card is completely optional and all the system files and system apk files are stored in your phone's internal memory.
danknee said:
No, you can flash back to a stock sense ROM with no problems. What I meant was that you could actually use your phone with no memory card and it would be fully functional except that some apps couldn't save settings and data.
The SD card is completely optional and all the system files and system apk files are stored in your phone's internal memory.
Click to expand...
Click to collapse
Sorry for the confusion... I understand the phone can operate sans sdcard. if I'm not mistaken I believe I installed HTC Sync on my pc from my sdcard meanin that if I deleted it without backing it up I would have to (Jeez, I just realized what a waste of time this is, but I'm in too deep to stop) get HTC Sync from another source, ie HTC's website?
LOL yeah, you are probably right about HTC sync. I downloaded sync from the HTC website anyway (to make sure I had the lastest version). Besides that, I can't think of anything else on the stock 2gb card that is irreplaceable..

[Q] leedroid please help!! problems with 3.0 gb

to lee droid hello.
i am a "silent admirer". i have a rooted desire and i use only leedroid roms for more then a year. as always i never had any problems with any of the roms and install them all without wipe at all.
about a month ago i installes v. 2.3.
today i saw the thread about the new version 3.0 gb and downloaded the following files: 1. 3.0 gb leedroid rom.
2. the new radio ...56....
3. the ext3 file.
after downloading i checked the md5 of the first two files and found it OK.
i backed up my 16 gb sd and tried to install the 3.0 tom via rom manager.
the thing is that i believe that the rom was install OK but the rom did not go up and my desire got stuck with the dumb green "htc".
thereafter i restored the system which went well and tried again - this time with file and cach wipe.
again - all seems to go well but did not load.
tried to install the ext3 file - went ok but did not load.
from that moment i got really worried but nothing i tried (deleating the sd card and copying from backup) or thought i know didnt work and now i am the proud owner of stupid green "htc" screen.
please help
erezinna
p.s. i couldt read all the 53 pages of your thread so if anybody already got an answer - please send me there.
I had this same issue.
It seems that although I originally partitioned my SD card as ext3 at some point without me knowing the partition got changed to ext4 I really can't explain how as I never messed with partitions after I initially set them up.
if the EXT3 fix is not working for you try booting into gparted and checking the partition there. as soon as I did that and realized it had been changed to ext4 I deleted the partition and made a new ext3 patition and it worked flawlessly after that.
"try booting into gparted and checking the partition there"
where? when? who?
can you you be more gentle? i booted milion times and never heard of "gpart" (it is a secret socaity)?
it's a live cd that you boot into on your PC to partition the SD card with a ext3 partition.
just google gparted live cd
You need to verify that the second partition on your sd card is in fact ext3 or leedriod will not load
i have to burn it or ghost-burn it or just download it and transfer to my desire?
like i said in my previous post you need to boot into on your PC.
I have to ask how did you originaly partition your SD card?
dear larkspeed:
i did all you have suggested but the gparted (or the regular win 7) was unable to recognize the sd card at all.
i did recognize all the other harddisks on my computer. it is probably because of the ext4 and now i cannot delete it. (also i hardly can operate the phone - only basic functions).
what sould i do now?
Windows will not see ext4 at all but it will see the partition itself so you can delete and remake it.
Gparted should have seen it just fine and let you reformat it to ext3
However if neither windows or gparted can see the partitions on the card then it's very possible the card itself has a fault.
Stupid question but when you loaded gparted you did use the drop down in the upper right corner of the window to actually select your sd card right?
if not then you were looking at primary hard drive only
yes i did several times. you have to move with "tab" and keboard because the mouse does not work there.
if the sd card have a fault, should i format it or erase it totally or something?
if you are totaly sure you have a ext partition on that card you will need to delete that partition either with windows **** manager or gparted
if you just format the card it will only format the partition it can see which will be the fat32 partition.
Now I assume you are putting the micro sd into some kind of adapter to plug it into the PC.
Now I have 2 options for this a USB stick that the micro sd plugs into or a micro sd to sd adapter plugged into an internal card reader which plugs into a USB header on my motherboard.
both of these systems work fine for me.
if gparted is not seeing the card at all then I would think whatever system you are using to plug the card into your PC is not supported.
I have to ask when you plug the card in when in windows what size does it say the "removable drive" is?
1. i gparted the sd card into main fat 32 partition about 12 gb and 1.6 gb ext3 partition
2. i cloesd the program after compleating that and the device informed me that the sd card is damaged and needs formating
3. i formated it and moved the leedroid 3.0.
4. it refused to go into recovery because lacking .update.zip file so i copied that too.
5. i installed the 3.0 but i won't go.
6. what to do? give it up?
all I can suggest is to try a different SD card and see if it works then.

SD Card Issue

Big problem. I have a Lexar 32gb sd card and today it seems to have went corrupt.
I noticed it when my ring tone change from a song to default. if i put the sd card in my PC and try to read from it it says card needs to be formated. Please tell me there is a way to recover the info on the card??? when i put the sd in the phone it says preparing then says safe to remove sd card.
TIA
JC
Hopefully just a format is all you need. I lost a 32g USB drive recently, and fortunately Corsair has great warranty service.
Sent from my Bricked Energy Sensation.
My wife's sensation did the same thing, I had to take out the SD and put it into my SD card reader on my laptop, format it and then put it back in the phone. The phone then wanted to format it again which it did and now it seems fine.
By the way, the data was intact when I put it in my SDcard reader. I was able to back up the data before I formatted it.
He said he wanted to recover the files on the SD card, not how to get the **** thing working.
You might want to check if all of the connections are clean. If they're not, a format the ****-error is likely to happen. Pure alcohol might do the trick.
If it doesn't, you could search Google or the forums for terms like 'recover corrupted micro SD'.
Good luck!
Edit: Maybe this guide does the trick?
I've an other question. I made the mistake to format my SD card with CWM and now it's only a 4 GB card (it should be 8 GB). Does someone know how I can force format it to 8 GB (with Windows or Mac OS disk utility, I can't expand the size anymore, just reformat it) ?
you can use sdformatter, a great and simple tool for those types of things, or you can download easus partition manager, its free and pretty good software for drive management.
If you want to make a linux disc, such as Ubuntu, gparted is one of the best tools available for examining, repartitioning, flagging, and fixing disks. I believe you can just download gparted and boot it from a CD or flashdrive, but I think just downloading a linux distribution is easier.

Categories

Resources