[Q] Backing up or Imaging SD card partitions - HD2 Windows Phone 7 Q&A, Help & Troubleshooting an

Has anybody succeeded in doing a backup/restore of the WP7 partition from a 2 partition (1 WP7 and 1 android) microSD card? What tools have you tried?
Would DD work? Trueimage? Ghost? Mac Disk Utility?
I want to setup my fresh WP7 partition the way I like it and then image it so I can restore to it if the current microSD starts having problems.
Greatly appreciate any help!

I did this in windows.
- Free up some space in your comp hard drive
- Go to Disk Management and shrink drive. (Free space should be equal to or greater than the SD card size)
- Install easeus partition manager
- Mount the SD card
- Right click on the partition on the SD card and choose copy.
- Choose the free space in the Comp's HDD.
- Repeat for all partitions that has to be copied.
Do the reverse when you want to copy back.

Does the reverse way also work with resizing the partition? On a larger SD card?

Thanks for the response! So the only way to copy would be to another partition? Is there a way to copy to an image file instead? And, have you successfully imaged it back onto the SD card?

I was able to successfully do this using DiskImage - a free download that I found here. I was able to save the entire SDCARD (not a single partition but the entire card) to an image file and then write to back onto another sdcard of the same size. It worked! I haven't tested this thoroughly so don't blame me if it doesn't work for you. If it does - please post here so others can benefit from your experience.

Yes its working...i have doen this 3-4 times...
I did that and i transfered my wp7 partition from a 8gb sd to another 16gb sd card...
Copy the partition to usb hd and then copy back to the new sd...
It works fine....And i have a backup of the partition in my USB sd.
My recomendation is not to mess with your computers hard drive...
Do this with an external usb hd..
Another free tool to use is the MiniTool Partition wizard from here
http://www.minitool-partitionrecovery.com/
colossus

Related

[Q] vegacomb upgrading sd card

Hey,
I'm sure there is a way to do this but I'm not sure!
I have just upgraded to vegacomb and are still learning! I have the stock 4gb SD card at the moment and want to upgrade. Do I have to start from scrafch again or can I copy every thing from one to the other..... the from and all apps etc?
Thanks
First thing is to make sure you make a backup of your data in your 4GB card if it has enough space ( From the recovery bootloader ).
Then you copy all the folders on mem card into a folder on your computer. Make sure you select any hidden or file system files on the mem card and copy them too.
Depending on how you want to use your new card, you can either format it for FAT32 or mixture of fat32 and ext3 . If you are planing to move you apps to SD using link2SD, i recommend have dual format which allows copying "most" of the apps to the mem card without effecting how they work. Best way to do it is to create FAT32 first and as the first-to-read partition then create ext3. make sure both partitions are primary.
I use Easeus Partion Master ( on windows ) to format the card with dual file systems.
After you did it, you can copy back the files which you saved on your computer at first stage back to the new mem card.
Hope it helps
Hi, yeah ttah does help thank you mate. So the actual ROM (vegacomb) is stored on the tablet and not the card then... thats what I wanted to doubler check.
Thanks mate.

[Q] Change SD Card on a NAND Android HD2

Hey guys!
I'm finally upgrading from a 1GB sd card to a 32GB
My Leo has a NAND android installed and the sd card has a A2SD partition with tons of apps and a fat partition with some stuff in it.
Is is possible to change the card and still keep it working without having to reflash the whole thing? The remaining ~31GB will be used to - if possible - expand the fat partition for music and such.
Thanks for the help!
into cwm - full backup
via pc take full copy of everything on the fat32 part of the old sd card (music or whatever, making sure you have hidden files showing, especially the .android folder)
new card into phone
into cwm - partition the new card
in cwm - restore - advanced restore - restore only the sd-ext partition
via pc (cwm - mounts and storage - mount sd card if you dont have a card reader) and copy back all the fat32 stuff to the new fat32 part of the new card. The important part is the .android folder
start phone.
fmmsf said:
Hey guys!
I'm finally upgrading from a 1GB sd card to a 32GB
My Leo has a NAND android installed and the sd card has a A2SD partition with tons of apps and a fat partition with some stuff in it.
Is is possible to change the card and still keep it working without having to reflash the whole thing? The remaining ~31GB will be used to - if possible - expand the fat partition for music and such.
Thanks for the help!
Click to expand...
Click to collapse
Im about to face same issue, and here is what i plan to do:backup all apps and their data with Mybackup app from Market, copy all files on my pc(the best would be sending all apps on phone storage and only backup data- this will wor for SURE), turn off phone, put new sd, set partitions as they were with CWM(i mean same ext size) and copy all files on just created partition. I hope this will work, i'll have chance to check by myself in a few weeks.
EDIT: Seems like solution was posted while i was writing, but that assured me that i my idea was good
Cheers
Sent from my HTC HD 2 using XDA
samsamuels suggestion seems the best way to go as long as your ext partition is mounted as(/at) "/sd-ext" there are other places where the ext can be mounted; link2sd for example mounts at /data/sd-ext2. But you'll know when you backup in CWM. A full backup will find the ext if its at /sd-ext and will back it up and you'll see it doing so.
Another option would be to backup the full card; FAT and ext partitions, either within a linux distribution; Ubuntu for example where ext partition is read as normal, or using an application within windows to read it link Linux Reader or Ext2explore, although I don't recall it being too easy to write back to ext while in windows.
Third option being to use something like Partition wizard which should allow you to simply copy the ext partition from one sdcard to the other. Haven't done this myself (yet) and not sure how the HD2 handles partitions that are not made by CWM but you should be able to wipe the new sdcard to unallocated memory then copy the ext and FAT partitions across then resize the FAT to the rest of the sdcard.
samsamuel said:
into cwm - full backup
via pc take full copy of everything on the fat32 part of the old sd card (music or whatever, making sure you have hidden files showing, especially the .android folder)
new card into phone
into cwm - partition the new card
in cwm - restore - advanced restore - restore only the sd-ext partition
via pc (cwm - mounts and storage - mount sd card if you dont have a card reader) and copy back all the fat32 stuff to the new fat32 part of the new card. The important part is the .android folder
start phone.
Click to expand...
Click to collapse
Doesn't creating an EXT partition in CWM format the card? So won't the copying of the FAT32 files have to be done afterwards?
yea, hence
step 2 - via pc take full copy of everything on the fat32 part of the old sd card (music or whatever, making sure you have hidden files showing, especially the .android folder)
and
step 6 - via pc (cwm - mounts and storage - mount sd card if you dont have a card reader) and copy back all the fat32 stuff to the new fat32 part of the new card. The important part is the .android folder
samsamuel said:
yea, hence
step 2 - via pc take full copy of everything on the fat32 part of the old sd card (music or whatever, making sure you have hidden files showing, especially the .android folder)
and
step 6 - via pc (cwm - mounts and storage - mount sd card if you dont have a card reader) and copy back all the fat32 stuff to the new fat32 part of the new card. The important part is the .android folder
Click to expand...
Click to collapse
Oh sorry, need to improve my reading skills
samsamuel said:
into cwm - full backup
via pc take full copy of everything on the fat32 part of the old sd card (music or whatever, making sure you have hidden files showing, especially the .android folder)
new card into phone
into cwm - partition the new card
in cwm - restore - advanced restore - restore only the sd-ext partition
via pc (cwm - mounts and storage - mount sd card if you dont have a card reader) and copy back all the fat32 stuff to the new fat32 part of the new card. The important part is the .android folder
start phone.
Click to expand...
Click to collapse
Awesome post, thanks
BTW back in cwm when I repartition the sdcard, can I change the sd-part size before restoring the sd-ext part?
yea, that shouldn't be a problem.

[Q] Running CM7 off NAND - anything to consider changing SD Card?

Hi all.
I was given an HD2 running CM7 off NAND. It has a 2gb SD card in there, with around 400mb as ext3/ext4 partition.
I want to swap the 2gb for an 8gb card. Having not installed the ROM myself (and am not too familar with the process on the HD2), I'm unsure how to proceed.
Are there any files on the SD card that are likely to be needed for booting?
Can I just stick the new card in, use recovery to partition it and then remove the card - copy the old ext3/ext4 partition data over and it'll be happy?
Do I need to use recovery, can I just a Linux box to do that instead?
mr_arc said:
Can I just stick the new card in, use recovery to partition it and then remove the card - copy the old ext3/ext4 partition data over and it'll be happy?
Do I need to use recovery, can I just a Linux box to do that instead?
Click to expand...
Click to collapse
assuming you don't have a linux pc that can read ext partitions, id do it this way..
into cwm - full backup.
2gb card into card reader (or mount usb storage in android - or 'mounts and storage - mount sd card' in cwm) - copy off your whole fat32 partition - make sure you have hidden files set to show in windows explorer.
8gb card into phone, back into cwm, create the new ext partition.
8gb card back into card reader (or mounts and storage - mount sd card in cwm) and copy the fat 32 stuff back to the card.
into cwm - restore - advanced restore - restore the sd-ext partition only.
Thanks for the reply.
I do have a Linux PC to hand, and the HD2 doesn't have CWM on it.
So in the end, I used GParted to create a partition table that looked like the existing card and then copied the contents of the old card over. Phone booted up fine

[Q] Rooted:Where is my backed up image? How to get my lost sd card space back

So I am rooted w Nookmanager. I followed the instructions to the letter. I couldn’t be happier with the rooted Nook.
Since Im still a n00b at this..i have a few questions:
1. Which is the back up file of the original Nook, so that I can transfer it to my laptop and save it for any emergencies.
2. Also , my sd card (16gb) is only showing a fraction of the space when I insert into the sd card reader of my laptop. How can I get its full 16gb space back. Do I need to reformat it? If so, how and what software can I use?
3. I have some ebooks already saved in the My Files section on the internal hard drive of Nook. These books don’t show up on mantano reader (or other 3rd party reader apps I have installed).
a. I want to save my ebooks in a folder from where I can access them through Nook native reader as well as any third party readers I have installed.
Thanks for your help…. And long live XDA
sLiKK said:
So I am rooted w Nookmanager. I followed the instructions to the letter. I couldn’t be happier with the rooted Nook.
Since Im still a n00b at this..i have a few questions:
1. Which is the back up file of the original Nook, so that I can transfer it to my laptop and save it for any emergencies.
2. Also , my sd card (16gb) is only showing a fraction of the space when I insert into the sd card reader of my laptop. How can I get its full 16gb space back. Do I need to reformat it? If so, how and what software can I use?
3. I have some ebooks already saved in the My Files section on the internal hard drive of Nook. These books don’t show up on mantano reader (or other 3rd party reader apps I have installed).
a. I want to save my ebooks in a folder from where I can access them through Nook native reader as well as any third party readers I have installed.
Thanks for your help…. And long live XDA
Click to expand...
Click to collapse
Step 1. Insert microSD and connect your nook via USB.
Step 2. In windows explorer there will be a drive labeled backup. That's the partition Nookmanager created on the SD card.
Step 3. Open it up and copy the 2 files that are in there.
Getting your space back (after you copied off your backup):
Step 1. Start menu, search "partition", you should find windows partition manager in the control panel.
Step 2. Find the SD card which is now divided in 2 partitions, delete the partitions
Step 3. Right mouse click and create new simple partition, fat32.
I used HP USB Manger to reclaim the SD card space back by reforming it.
To get your backup file, please read:
http://forum.xda-developers.com/showthread.php?t=2040351
Good luck.
jun127 said:
Step 1. Insert microSD and connect your nook via USB.
Step 2. In windows explorer there will be a drive labeled backup. That's the partition Nookmanager created on the SD card.
Step 3. Open it up and copy the 2 files that are in there.
Getting your space back (after you copied off your backup):
Step 1. Start menu, search "partition", you should find windows partition manager in the control panel.
Step 2. Find the SD card which is now divided in 2 partitions, delete the partitions
Step 3. Right mouse click and create new simple partition, fat32.
Click to expand...
Click to collapse
THanks.
I used Minitool Partition to format, delete the partition and then create a new partition . But in the process, I now have only 14.8GB. I lose 1.2GB. My original card was 16GB. is there anything I could do to get the lost space?
sLiKK said:
THanks.
I used Minitool Partition to format, delete the partition and then create a new partition . But in the process, I now have only 14.8GB. I lose 1.2GB. My original card was 16GB. is there anything I could do to get the lost space?
Click to expand...
Click to collapse
That's the full size. A "16gb" SD card is actually about 14.83gb because SD cards are sold by the bit. About 15.9 billion bits in a 16 "gb" card, divide that by 1024 three times and you get 14.83 something gb, and that's how windows see's it. Don't worry, you didn't lose anything.
jun127 said:
That's the full size. A "16gb" SD card is actually about 14.83gb because SD cards are sold by the bit. About 15.9 billion bits in a 16 "gb" card, divide that by 1024 three times and you get 14.83 something gb, and that's how windows see's it. Don't worry, you didn't lose anything.
Click to expand...
Click to collapse
Oh..okay...thanks alot.
jun127 said:
Step 1. Insert microSD and connect your nook via USB.
Step 2. In windows explorer there will be a drive labeled backup. That's the partition Nookmanager created on the SD card.
Step 3. Open it up and copy the 2 files that are in there.
Getting your space back (after you copied off your backup):
Step 1. Start menu, search "partition", you should find windows partition manager in the control panel.
Step 2. Find the SD card which is now divided in 2 partitions, delete the partitions
Step 3. Right mouse click and create new simple partition, fat32.
Click to expand...
Click to collapse
Hiya, I know a bit of time has passed, but I'm having problems finding my stock back-up image I made.
I've followed the instructions as above, but explorer doesn't show the backup partition at all. I just have 'Nookmanager' and 'Nook' (the internal memory). I'm connected to the sd card through the nook simple touch (i.e. not through an sd card reader).
Any ideas how I can access the hidden back-up partition?
Many thanks in advance.
tooplanx said:
Hiya, I know a bit of time has passed, but I'm having problems finding my stock back-up image I made.
I've followed the instructions as above, but explorer doesn't show the backup partition at all. I just have 'Nookmanager' and 'Nook' (the internal memory). I'm connected to the sd card through the nook simple touch (i.e. not through an sd card reader).
Any ideas how I can access the hidden back-up partition?
Many thanks in advance.
Click to expand...
Click to collapse
I don't think the Nook will present second and subsequent partitions on the SD card for USB mounting. You'll need a memory card reader; a cheap one from eBay will do the job.
The files are backup.full.gz and backup.full.md5 in the NookBackup filesystem.
cowbutt said:
I don't think the Nook will present second and subsequent partitions on the SD card for USB mounting. You'll need a memory card reader; a cheap one from eBay will do the job.
The files are backup.full.gz and backup.full.md5 in the NookBackup filesystem.
Click to expand...
Click to collapse
I have a similar problem in copying the two Nook Backup files to my PC. Using a standalone SD card reader, I can see the 1.78 GB NookBackup partition in my MiniTool Partition Manager and in XP's Disk Management, but I cannot assign a drive label. The 64 MB NookManager partition is assigned a drive label, but NookBackup partition shows no drive assigned.
Since I cannot see the two backup files in Windows Explorer, how can I copy them to the PC?
Joydeck said:
I have a similar problem in copying the two Nook Backup files to my PC. Using a standalone SD card reader, I can see the 1.78 GB NookBackup partition in my MiniTool Partition Manager and in XP's Disk Management, but I cannot assign a drive label. The 64 MB NookManager partition is assigned a drive label, but NookBackup partition shows no drive assigned.
Since I cannot see the two backup files in Windows Explorer, how can I copy them to the PC?
Click to expand...
Click to collapse
http://superuser.com/questions/61487/usb-sticks-and-multiple-partitions looks useful.
cowbutt said:
I don't think the Nook will present second and subsequent partitions on the SD card for USB mounting. You'll need a memory card reader; a cheap one from eBay will do the job.
The files are backup.full.gz and backup.full.md5 in the NookBackup filesystem.
Click to expand...
Click to collapse
I've tried both with a card reader and through the plugged in Nook. No joy either way. I looked at the card in Win7's Partition Manager and although it shows the extra space, it doesn't show it as being active or labelled or anything.
When I did the backup it took ages (nearly 30mins) and I was beginning to think it was stuck or something, but then it said it was completed.
I'm wondering whether it actually failed to create a backup. No sign of a backup or backup partition any where.
I think I might just format the card and hope I don't get any problems. Everything seems to be working ok.
Is it possible just to download someone else's backup or get the firmware off B&N again if I need it?
tooplanx said:
Is it possible just to download someone else's backup or get the firmware off B&N again if I need it?
Click to expand...
Click to collapse
No, your /rom partition is unique to your device.
tooplanx said:
I've tried both with a card reader and through the plugged in Nook. No joy either way. I looked at the card in Win7's Partition Manager and although it shows the extra space, it doesn't show it as being active or labelled or anything.
When I did the backup it took ages (nearly 30mins) and I was beginning to think it was stuck or something, but then it said it was completed.
I'm wondering whether it actually failed to create a backup. No sign of a backup or backup partition any where.
I think I might just format the card and hope I don't get any problems. Everything seems to be working ok.
Is it possible just to download someone else's backup or get the firmware off B&N again if I need it?
Click to expand...
Click to collapse
The memory card reader won't help as windows won't allow you to mount anything other than the first partition on removeable media. What you need to do is boot your Nook from the NookManager SD card and then plug it into your PC. You will then get two new disks in Windows that each show a single partition. The first disk will be the 64MB NookManager partition and the second disk will be the NookManager backup partition that takes up the rest of your SD card. If for some reason Windows doesn't automatically assign a drive letter go into the Windows partition manager and assign one. The key is you must be booted into NookManager. It won't work if you are booted up normally to read books.
straygecko said:
The memory card reader won't help as windows won't allow you to mount anything other than the first partition on removeable media...
Click to expand...
Click to collapse
Works well.
Having copied the original Nook partition to Windows, could I also backup the rooted partition from the NookManager backup menu? I would also copy the new folders on the SD Card. Or is there another way?
Joydeck said:
Works well.
Having copied the original Nook partition to Windows, could I also backup the rooted partition from the NookManager backup menu? I would also copy the new folders on the SD Card. Or is there another way?
Click to expand...
Click to collapse
Yes. Note that NookManager's 'Backup' function will overwrite any pre-existing backup on the NookManager partition, so transfer your backup of your stock firmware first before you make a backup of your rooted firmware.
straygecko said:
The memory card reader won't help as windows won't allow you to mount anything other than the first partition on removeable media. What you need to do is boot your Nook from the NookManager SD card and then plug it into your PC. You will then get two new disks in Windows that each show a single partition. The first disk will be the 64MB NookManager partition and the second disk will be the NookManager backup partition that takes up the rest of your SD card. If for some reason Windows doesn't automatically assign a drive letter go into the Windows partition manager and assign one. The key is you must be booted into NookManager. It won't work if you are booted up normally to read books.
Click to expand...
Click to collapse
Ah... that sounds like it might work! Unfortunately, after spending several hours messing around with the sd card and the nook trying to make the other partition readable using partition manager and EasUS, I gave up and just formatted the SD card so that it was usable again. I did a data recovery sweep on the other hidden partition before-hand and managed to retrieve a .gz file of approx 49MB. I presume that is the back-up, but I couldn't retrieve the other file.
Oh well, fingers crossed I don't have problems :fingers-crossed:. At least the Nook was very cheap (£29) so it's not the end of the world if it things go bad.
Thanks for your help. :good:
tooplanx said:
Ah... that sounds like it might work! Unfortunately, after spending several hours messing around with the sd card and the nook trying to make the other partition readable using partition manager and EasUS, I gave up and just formatted the SD card so that it was usable again. I did a data recovery sweep on the other hidden partition before-hand and managed to retrieve a .gz file of approx 49MB. I presume that is the back-up, but I couldn't retrieve the other file.
Oh well, fingers crossed I don't have problems :fingers-crossed:. At least the Nook was very cheap (£29) so it's not the end of the world if it things go bad.
Thanks for your help. :good:
Click to expand...
Click to collapse
49MB sounds a couple of hundred meg shy of a backup. You can try unzipping it with something like 7zip to see if its any good and worth keeping around but I doubt it. The other file you didn't recover is just an md5 of the backup and isn't necessary other than as a confirmation of a good backup.
You should take another backup of your Nook as it is now and keep it. That way you'll have a backup of your ROM partition so if things ever go too far south you'll be able to use someone elses full backup and then replace the ROM partition with your devices information.
What straygecko said. 49MB sounds too small, and even a non-pristine backup is worth having.

[Q] Rooted Nook Simple Touch, Help Partitioning micro SD card

Hi! Successfully rooted my Nook ST using Nook Manager, except I used a 32 GB micro SD card to do the rooting. After rooting, I ended up with two partitions on the SD card, Nook (239 MB) and Nook Manager (62.9 MB). I was wondering what I need to do to be able to utilize the rest of the space on the card? The reason I bought a 32 GB card was so I could store all my sideloaded books there, and now I find I'm just limited to the space/partitions showing up when I connect the nook via USB.
You need to repartition your card.
Partition Magic can do that.
If you want to use multiple partitions on the SD card (like 2 x 16 GB) you might want to look at:
http://forum.xda-developers.com/showthread.php?t=2184495
Renate NST said:
You need to repartition your card.
Partition Magic can do that.
If you want to use multiple partitions on the SD card (like 2 x 16 GB) you might want to look at:
http://forum.xda-developers.com/showthread.php?t=2184495
Click to expand...
Click to collapse
Thanks, will download a copy of Partition Magic later. I really am completely clueless when it comes to programming though. In fact, I'm only here because the folks at mobileread told me I'd probably have better luck having my question/s answered here than there. So just to confirm, I can repartition the drive using partition magic so I'll have one extra partition for the books I want to sideload, and I'm good to go already when I re-insert the SD card into the Nook? Or do I have to attempt the code that you gave in the thread you linked?
If you want to have a single FAT partition on your SD card you can do that without much change.
It comes down to whether you want to be able to pull the SD card and plug it into random desktops and things.
If you want to have multiple partitions or ext3 partitions you will have to use the new vold in the link above.
if used windows 7,8. Insert a memory card into the card reader. Go to cmd(administrator mode) and run command:
Diskpart
List Disk
Select Disk 1 (#select sdcard)
clean (#clean partition sdcard)
create partition primary
active
format fs=fat32 quick
assign (#run command if not view sdcard in mycomputer )
Renate, I tried to repartition my SD card, but got a "disk is not formatted, do you want to format it now?" message. So I had no choice but to do a data recovery using EaseUs Partition Master first, then went ahead and clicked format now. Then I tried using Minitool Partition Wizard (couldn't find a free version of Partition Magic) to create new partitions in the formatted SD card so that the NookManager partition would be larger (27 GB) while the NookBackup partition would be 2 GB. Except that I can't seem to create any new partitions at all. And I also have no idea how to restore the data I'd backed up earlier either.
Sorry, I missed seeing this come up when you posted it.
When your Nook asks you if you want to format you should say "No!".
It could be that it misidentified the situation.
In any case, you want to look closer before formatting anything.
Here's a gotcha.
If you are using ext3 and the internal clock has reset itself then the last mount will be in the future.
That makes things angry. Check that the date/time on the Nook is correct.
You can use gparted to give the card the partition layout you need (i.e. first NookManager partition is big, second NookBackup partition is only large enough to hold a backup), then write the first partition from NookManager.img into first partition of the card (you need to do something roughly similar to this. Then you can use gparted to set the "boot" flag on the first partition and use the card to backup&root your Nook. Then remove the "boot" flag, and keep using the card for storage (it's a bit messy to have both user&app files AND NookManager boot files in the same place, but if you only have one card, then this is inevitable - i haven't found a way to mount the second or the third partitions from the card). The card will act as normal storage device when flag is not set, and as NookManager bootable card when flag is set.

Resources