Move sd-ext to a new memory - Upgrading, Modifying and Unlocking

Hi
I want to upgrade my sd card, I have a vfat partition of 3GB + 1 ext4 partition of 1GB at the moment on my card.
If I upgrade to a bigger sd card, and create same partitions (just different sizes) on the new one, move data across, does android complains?
Should be ok, as long as the device of the partitions are the same, no?
Thanks for the tip

clod81 said:
Hi
I want to upgrade my sd card, I have a vfat partition of 3GB + 1 ext4 partition of 1GB at the moment on my card.
If I upgrade to a bigger sd card, and create same partitions (just different sizes) on the new one, move data across, does android complains?
Should be ok, as long as the device of the partitions are the same, no?
Thanks for the tip
Click to expand...
Click to collapse
yes man this is ok you can make different size parts but keep type (vfat, ext)
also you can keep the old sdcard until finish your job just to be sure about !

Related

Resizing EXT partition..

I have a 500mb EXT partition, but have installed a Sense HD rom which has almost filled it, therefore i either want to expand it to 1gb or remove it entirely format it back to fat32 and then install a new 1gb partition...
Is one easier than the other?
I can only see the 500mb option in Rom Manager?? And when i mount the sd on my pc the EXT partition doesnt even show?
See this thread from a few hours ago, to understand why you can't see it.
http://forum.xda-developers.com/showthread.php?t=857594
And AndroHero's post to find out how to get it shown and partitioned.
use this! you can make parition without formating sdcard. I have done it many times
http://gparted.sourceforge.net/livecd.php
i changed 512 to 1gb then did a whole fresh sd card

[Question] SD Card formatting/partitioning guide

I can only assume this has been asked and answered, but I have searched and not been able to fine a suitable post yet...
I want to find a guide to format and partition my (16GB in my case) SD card in the best way for the current/future Desire ROMs
eesmm said:
I can only assume this has been asked and answered, but I have searched and not been able to fine a suitable post yet...
I want to find a guide to format and partition my (16GB in my case) SD card in the best way for the current/future Desire ROMs
Click to expand...
Click to collapse
You can use Windows to format the sd card to Fat32, after which you can then use Rom Manager (download from market) to create a ext partition (it will shrink the Fat32 partition to make room for the ext partition)
Alternatively, you can do it all in linux and it's pretty straight forward.
For example, Ubuntu (you can download a live version of ubuntu which you can burn to cd or copy to a bootable usb stick) can read the sd card (I just connect the phone whilst in clockworkmod recovery, select mount usb, and voila) and then you can use 'Disk Utility' located in the administrative tools area of Ubuntu to delete the stock partition that comes with most pre-formatted memory cards, create a Fat32 partition (Eg: 15GB) and then create an ext4 partition with the remaining space.
Using Linux is handy for backing up the contents of your ext partition - particularly useful when upgrading from a smaller sd card to a larger one but wanting to keep all your data.
I'm not the greatest at writing instructions and I have no idea if any of the above helps you in any way, but I hope it does!
I would use ROM Manager, but the Max partition size seems to be 512 and i want to make a 2GB partition. I am also unsure of whether the EXT partition (is EXT 3 or EXT4 best) should be primary or secondary, and will the Desire automatically start putting APPs there?
...and and what point do I turn the card back into a Goldcard, if at all necessary?
eesmm said:
I would use ROM Manager, but the Max partition size seems to be 512 and i want to make a 2GB partition. I am also unsure of whether the EXT partition (is EXT 3 or EXT4 best) should be primary or secondary, and will the Desire automatically start putting APPs there?
...and and what point do I turn the card back into a Goldcard, if at all necessary?
Click to expand...
Click to collapse
1) Gparted is the best partition tool ;-) It can be used as a live CD - which can be booted in virtual box.
2) You'll never need a goldcard, unless you want to go back to stock RUU (ie to send your phone back to get fixed).
3) EXT4 Primary partition
4) The desire will put apps there if the rom has Apps2sd enabled. Most roms these days do, but some require you to install the script yourself. 2gb seems a lot for just apps though.
Simple is better.
I myself have an 8gb sd card and used rom manager to partition it. I did not format my sd card beforehand, just took out the card from the package and put it into my phone.
Checking my appbrain list, i currently have 132 apps with a total size of 344MB.
Using the app Quick System Info:
A2SD storage-- Total: 458MB, Free: 110 MB
Internal storage-- Total: 148MB, Free:63.34 MB
I personally think 512 MB partition is more than enough.
friedkimchi said:
I personally think 512 MB partition is more than enough.
Click to expand...
Click to collapse
Yeah, I'd agree with this. I had a 512MB partition - extended it using gparted to 1GB but it really was a pointless activity as I was nowhere near using the 512MB in the first place
Oh well - future proof I guess!
@ OP... What would you need 2GB for? Seems, well, excessive...
BTW, the latest clockworkmod supports partitioning directly in the recovery menu and I believe it will give you the size you want.

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)

Help me fix my SD Card

Hi there,
A couple days ago, I had a usb brick. I quickly fixed it, everything got back to normal except for my sd card : I think it's corrupted. Why do I say this ? Because I've got another sd card, and it's working perfectly. I can't get to format it via Gparted. It says the procedure failed, there was an issue and i couldn't format it. In addition, even though it's a 4GB card, it's recognized as a 3gb card.
When I try to use it in recovery mode, it says :
Code:
E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)
But when I use the other card, nothing weird happens.
I'd like you guys to help me repair my SD card.
kev94 said:
Hi there,
A couple days ago, I had a usb brick. I quickly fixed it, everything got back to normal except for my sd card : I think it's corrupted. Why do I say this ? Because I've got another sd card, and it's working perfectly. I can't get to format it via Gparted. It says the procedure failed, there was an issue and i couldn't format it. In addition, even though it's a 4GB card, it's recognized as a 3gb card.
When I try to use it in recovery mode, it says :
Code:
E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)
But when I use the other card, nothing weird happens.
I'd like you guys to help me repair my SD card.
Click to expand...
Click to collapse
Googled and found this: http://www.ehow.com/how_4850280_repair-corrupt-sd-card.html
1. link your desire with pc
2. enter "FASTBOOT Mode", it will display "HBOOT USB PLUG"
3. open dos windows and type adb shell
4. type fastboot oem rebootRUU
5. type fastboot oem enableqxdm 0
and retry
I already tried this, but it didn't work out ! I'm out of ideas...
So it says it's a 3GB card? You had an 1GB Ext partiton before?
If yes, that's where your 1GB's gone.
Recommended is to repartition your card again from scratch - Using Either GParted, EASEUS or MiniTool partiton.
Backup everything from it, then delete all partitions - and re-create them.
davebugyi said:
So it says it's a 3GB card? You had an 1GB Ext partiton before?
If yes, that's where your 1GB's gone.
Recommended is to repartition your card again from scratch - Using Either GParted, EASEUS or MiniTool partiton.
Backup everything from it, then delete all partitions - and re-create them.
Click to expand...
Click to collapse
Actually, it's 3.7 GB and not 4GB (I guess it's normal though). And yes, the missing space was from the ext partition. Thanks god, the first thing I did was a backup of my SD card. Yet, I tried to format the card with Gparted (I'm currently running Ubuntu 10.10) but as I said above the procedure fails.
Then, I formatted in Windows, and I managed to create a 3Gb fat32 partition recognized in Gparted.
But how am I supposed to get my missing space back if this space isn't recognized in Gparted ?
I'm using Ubuntu 11.04 (natty) - and i'm able to mount my EXT partiton of the SD Card.
As I said, don't just format the card, but delete all partitions and re-create them, then format them.
Also, if your card is messed up badly, maybe you have to use the termina with commands to recover the ext partition.
Always format SD cards with the "SD Formatter 3.0" from the SD Association: http://www.sdcard.org/consumers/formatter_3/
This little programs formats the whole card (full capacity, erasing all other partitions) in FAT32 meeting all SD specifications.
Furthermore it alligns the LBA parameters (virtual heads, cylinders etc) and the fat32 parameters with the internal structures of the flash memory (eraseblocks), so that fat32 clusters never overlap eraseblocks. This speeds up write performance (in my case about 50%! ).
There is no better tool to format SD cards.
After that you can resize (But don't move it, just trim the end. The free space in front of the FAT32 partition is part of the alignment) the FAT 32 partition with gparted and generate an ext partition in the free space.
Finally one should run the ext alignment script (it's a zip for recovery mode) from baadnwz homepage (http://www.baadnwz.eu/2011/05/align-your-sdcard-fat-and-ext-partiton_16.html) to align also the ext4 partition to the flash cells.
boot up into android (with any ROM) and go to settings > storage > format SD card
this should restore whole SD as FAT32
funny enough Android could do it, while Gparted could not (gparted didnt see my whole sd, it didnt see the ext partition)
davebugyi said:
I'm using Ubuntu 11.04 (natty) - and i'm able to mount my EXT partiton of the SD Card.
As I said, don't just format the card, but delete all partitions and re-create them, then format them.
Also, if your card is messed up badly, maybe you have to use the termina with commands to recover the ext partition.
Click to expand...
Click to collapse
---> As I said too , Gparted fails to create partitions. It displays a "warning" icon by the sd icon. Unless I'm a fool, I can't get any further there.
hypophysis said:
Always format SD cards with the "SD Formatter 3.0" from the SD Association: http://www.sdcard.org/consumers/formatter_3/
This little programs formats the whole card (full capacity, erasing all other partitions) in FAT32 meeting all SD specifications.
Furthermore it alligns the LBA parameters (virtual heads, cylinders etc) and the fat32 parameters with the internal structures of the flash memory (eraseblocks), so that fat32 clusters never overlap eraseblocks. This speeds up write performance (in my case about 50%! ).
There is no better tool to format SD cards.
After that you can resize (But don't move it, just trim the end. The free space in front of the FAT32 partition is part of the alignment) the FAT 32 partition with gparted and generate an ext partition in the free space.
Finally one should run the ext alignment script (it's a zip for recovery mode) from baadnwz homepage (http://www.baadnwz.eu/2011/05/align-your-sdcard-fat-and-ext-partiton_16.html) to align also the ext4 partition to the flash cells.
Click to expand...
Click to collapse
---> Sounds great and geeky, gonna give it a try tomorrow afternoon (CET +2 here)
dzumagos said:
boot up into android (with any ROM) and go to settings > storage > format SD card
this should restore whole SD as FAT32
funny enough Android could do it, while Gparted could not (gparted didnt see my whole sd, it didnt see the ext partition)
Click to expand...
Click to collapse
---> Yeah, Gparted is a bit lazy here.... Gonna try it if hypophysis's method doesn't work out. I gotta admit this kinda problem is pretty disturbing and pisses me off so much.... Waiting forward to get it over with.
Anyway, thanks a lot for helping me, you're good people here !
Well, I tried hypophysis's method. It formatted successfuly. But as you said, I had to run Gparted again in order to create an Ext partition next to the fat 32 one. But I couldn't --> It says it couldn't find the "first sector" I guess, and it couldn't determine the device specifications, it wasn't able to perform everything he wanted. Actually it recognized the whole sd card, but wasn't able to do anything with it. I couldn't unmount it or mount it....
I'm stuck at square 1 Gonna try to perform dzumagos's method later.

[Q]4extrecovery too little space on the device?

I'm new in this so maybe this is a stupid question.
I need now to make a partition in 4extrecovery but when I go to Partition SD Card and then no- save my FAT32 partiton, then 1024 (1st sd-ext), then 0 (2nd sd-ext), then 512 (swap), then I got a error it says: There is too little space on the device to create this partiton layout.
I have a 8GB sd card and free is more then 4GB.
8gb and 4gb free? If u partition ur sdcard ul lose ur data. Do a backup first.
What rom r u using?
Sent from my HTC Desire
Currently I have the original sense ui, but I want to boot the MIUI Desire 2.4.13.
My mobile phone is rooted, now I need to boot the rom.
jmcclue said:
8gb and 4gb free? If u partition ur sdcard ul lose ur data. Do a backup first.
What rom r u using?
Sent from my HTC Desire
Click to expand...
Click to collapse
I have a backup.
Someone please help?
If ur changing roms you will have to just backup your apps without the data, put the backup on your computer, then in recovery partition your sdcard to what the rom dev recommends then install the rom then put the backup back on your sdcard and install them all again.
Sent from my HTC Desire
Dino89 said:
I'm new in this so maybe this is a stupid question.
I need now to make a partition in 4extrecovery but when I go to Partition SD Card and then no- save my FAT32 partiton, then 1024 (1st sd-ext), then 0 (2nd sd-ext), then 512 (swap), then I got a error it says: There is too little space on the device to create this partiton layout.
I have a 8GB sd card and free is more then 4GB.
Click to expand...
Click to collapse
I've experienced this. Backup your entire sd card to your computer. There is no other way to do it. Partition your card without saving the FAT32. Set the size of the EXT partition you want, swap 0. That should do it.
Lets say you set 512MB as your SD EXT partition, and the rest is FAT32, the next time you try and repartition your SD EXT saving your FAT32, you can only partition it to less than the existing SD EXT partition. On my example that would be 512MB.
The reason you are getting that error when you do it right now is because you basically do not have an ext partition. So no exisiting ext partition=not enough space to work with.

Categories

Resources