[Q] Make Copy Of Sd Card with Ext4 partition - HD2 Android Q&A, Help & Troubleshooting and Genera

Hello to everybody,
i have an 8 gb micro sd card in my htc hd2 with an ext4 partition that works with a nand rom. Now i would like to have a 16 gb sd card and i would like to copy all the exact content of my 8 gb card on the new one including the ext4 partition with all the files i have in it so i don't have to reset my hd2 and reinstall everything. I hope somebody can help me. I'm running on win vista.
Thanks

me too
I want to know how to copy that partition
thanks..

Geez. Nobody? We have some really bright people on this forum and I'm looking for the same thing.
Before people jump all over me for commenting on a thread that hasn't received a post in over one month....had there been an answer posted, I wouldn't have replied

download a linux boot disk image, ubuntu or something. boot your pc to it in live disk mode, and it can see both your sd card partitions, and copy to/from them. you can use it to partition up the new card with ext4 and fat32 too.
So create your new disk, with empty partitions, and just copy the stuff across. the phone wont know any different.
if memory serves, when you plug in the phone in hard disk mode, the partitions appear after a short while on your desktop as two seperate drives, , if you right click one, choose format(DON'T CLICK OK!) or maybe properties, it will bring up a box, choose disk tools button ((i think, its turned off at the mo, cant check)) and it will give you all the tools you want to create, edit, move resize partitions in fat32 and ext2/3/4.

Even easier...
-Backup your ROM using CWM,
-Create a folder on your computer and copy all the files from the SDcard to the folder (from here on "back-up" will be used to refer to this folder).
-Partition your sdcard with ext4 partition however you want
-Copy contents of "back-up" back to the sdcard
-Use CWM restore function to restore including ext4 partition
Simple and easy.

Related

[Q] Backing up or Imaging SD card partitions

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

How to mount ext4 formated sd in Overcome ROM

This article is a google translate from my article in Greek from here: http://fwlia.k0uk0s.gr/2011/07/mount-ext4-formated-sd-android.html
Sorry for any language mistakes
Well, quick and dirty way to mount ext4 file system on the external sd.
1) We need external sd and kernel with ext4 support (Overcome has)
2) Format from a Linux machine the sd to ext4. The best way is to format the sd from a card reader. If you want fat32 partition, put it first and then the ext4
3) Put the card into the device and do boot. The android will grumble that there is a problem with sd, ignore it. If you have the first partition fat32, it will not say anything
4) In the internal sd (the fat32 which has the device from factory) you make a folder called external_sd. Most of you must have the directory
5) You install on android the http://market.android.com/details?id=os.tools.scriptmanager
6) you make a folder in the internal sd named scripts and there you make a text file named mount.ext4 and this content:
#! / System / bin / sh
mount-t ext4 / dev/block/mmcblk1p1 / sdcard / external_sd
7) If you put the first fat32 partition, then change mmcblk1p1 mmcblk1p2
8) Finally, in the Script Manager we installed before, pick the mount.ext4 and tick run as root and run at boot
Reboot and complete.
I have yet to find a way to become the ext4 unmount when the device connect to usb.
Now you can put that hd movies in sd whithout the 4gb per file fat32 limitation. You just need a linux machine to copy them in sd.
Have a nice day
Thanks Alot!
Dude, you are my hero! Hate FAT32 like the plague. Now I can rid myself of it once and for all!
yeah! it's done, good job. but i have some bug to report can not use Mass storage to connect to PC , can be connect by Samsung Kies only.
pisit99 said:
yeah! it's done, good job. but i have some bug to report can not use Mass storage to connect to PC , can be connect by Samsung Kies only.
Click to expand...
Click to collapse
A normal Win PC doesn't know about ext4... As the OP states you'll need a Linux-machine to work with.

[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] 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.

Categories

Resources