Copy ext4 and fat contents between two sd - Desire Q&A, Help & Troubleshooting

Goodmorning!
I have two microsd for my Desire.
The first is a 4 gb microsd with 2 partitions: ~ 1 gb ext4 and remaining fat
The second is a 2 gb microsd with 2 partitions: ~ 900 mb ext4 and remaining fat
The first is for daily use, the second for test use.
On the first I have all the data of Cyanogen 7, on the second the data of AOKP ICS.
The question is: can I copy all the files from second to first sd without reflashing ROM?
There will be problems caused by different dimensions?
Thanks for help!

Sorry, duplicate post.
Delete this, please!
Sent from my Desire using xda app-developers app

smbo said:
Goodmorning!
I have two microsd for my Desire.
The first is a 4 gb microsd with 2 partitions: ~ 1 gb ext4 and remaining fat
The second is a 2 gb microsd with 2 partitions: ~ 900 mb ext4 and remaining fat
The first is for daily use, the second for test use.
On the first I have all the data of Cyanogen 7, on the second the data of AOKP ICS.
The question is: can I copy all the files from second to first sd without reflashing ROM?
There will be problems caused by different dimensions?
Thanks for help!
Click to expand...
Click to collapse
I think best way is to take titanium back of all apps you want to copy from second sd card. Copy the titanium directory from second sdcard to first sdcard using some card reader/PC arrangement. Then when you have booted into CM7 restore the apps that you are interested in.

No, I want to keep my current Rom.
I want only to switch the two sd to increase the space available!
Sent from my Desire using xda app-developers app

Just do a nand backup, copy it to card you want to use, then when you put it in phone go to recovery and do advanced restore - sd-ext only. Don't forget to copy content of .Android_secure folder to new sd.
Sent from my HTC Desire using Flashes and Thunders

Simply copy files from ext 4 partition to other sd?
Sent from my Desire using xda app-developers app

smbo said:
Simply copy files from ext 4 partition to other sd?
Sent from my Desire using xda app-developers app
Click to expand...
Click to collapse
Do you know what's nand backup? It's backup of all phone partition including sd-ext from recovery.
That backup you have to put on sd after you do partitioning.

I know, I know.
I've asked if a simply copy of the content of the partition is possible.
Sent from my Desire using xda app-developers app

You can if you use linux based system on your pc cause win doesn't recognize ext file system. However, I'm not sure if it will work.
Of course I'm talking about sd-ext. Fat partition can be copied directly.
Sent from my HTC Desire using Flashes and Thunders

Sure, I'll use Ubuntu.
I'll try asap and I'll write here what happens.
Sent from my Desire using xda app-developers app

I had the same issue previously but I wanted to copy a specific app (titanium didn't work), this method should still work though.
How I solved it was to compress a copy of the ext4 partition to tar.gz format from sdcard onto my laptop.
Swapped sdcards on laptop.
Extracted the specific app from the three folders (data, cache, dalvik-cache)
In your case I think u can just extract those 3 folders in their entirety onto your second sdcard.
Reboot and voila!
I was running lubuntu btw.
Hope it works out mate.
Edit: forgot to mention to use a microsd to sd adapter.
Sent from my HTC Desire using xda premium

Why not simply copy the three files from your sd?
Copy could ignore some hidden files?
Sent from my Desire using xda app-developers app

Simple copy didn't work for me, could for you though, you learn by trial and error!
Sent from my HTC Desire using xda premium

Related

Noob qestion about SD card partitions

Hi all
I have a small question , it is possible to change layout of partitions on SD card using only phone, without pc ? For example recover, or terminal, scripts, whatever and keep fat32 with my ROM ( no access to pc for now)???
I made mistike when create partitions on SD card
Bad layout -> fat32 ext4 341mb ext4 1024mb
...the correct one should be look like this
Good layout -> fat32 ext4 1024mb ext4 341mb
So basically how to delete this two ext part. Without delete fat32 or change them over using only mobile.
Thanks for any advice
Sent from my HTC Desire using XDA Premium App
The mobile will format the card wen partitioning go use a pc preferably linux
Sent from my HTC Desire using XDA App
Any hope to get this without formating ?
Sent from my HTC Desire using XDA Premium App
Hey I have a question. So I'm going from a captivated to a HTC Inspire. And I don't want to root. But I do have some photos and files that are saved on titanium backup in my vault free app. Is there a way to get those off of there and on my new phone without having to
Sent from my Desire HD using XDA App
jasio2k said:
Any hope to get this without formating ?
Sent from my HTC Desire using XDA Premium App
Click to expand...
Click to collapse
I have heard, gparted can do this. But i really don't know how and highly recommend not to do it!
If i were you, i would do it so:
1.) Start my pc with an ubuntu live cd
2.) Copy sd card's content on an external storage
3.) Boot phone into recovery, format and partition sd card (or directly in ubuntu with gparted gui)
4.) Start pc with ubuntu live cd again and copy back the sd card's content in their corresponding partitions
@Jesse:
Do not post in a thread which has nothing to do with your problem!!
Sent from my HTC Desire using XDA App
But you can easily copy the content of the FAT32 partition on you PC, format all the SD creating the new partition layout, than move back the files you copied to your pc on your "new" formatted SD!
shakland said:
But you can easily copy the content of the FAT32 partition on you PC, format all the SD creating the new partition layout, than move back the files you copied to your pc on your "new" formatted SD!
Click to expand...
Click to collapse
Windows does not recognize linux file system, like ext. Furthermore, it hides some files. So if you do this operation with windows, he cannot backup the apps on ext partition and maybe some files on the fat 32 partition won't be copied with. Imho, using linux is much safer.

[Q] Formatting problems

So i have a case. When i try to format/ reset factory settings via recovery i get this strange error that my sd-ext can't be formatted because of the /dev/block/mmcblk0 file existing. I don't know what to do. I have a stock sd card 2gb. Windows says that its 1.86GB. Any help?
Backup sdcard contents first.
Then don't format it from recovery. Just boot up the OS and format the memory card. But doing so deleted the extra partition also. It creates entire fat partition. Again you will have to repartition your sdcard to create ext again.
And if you still face errors, then there is a chance of sdcard being corrupted.
Sent from my HTC Wildfire using XDA App
I've formatted it many times. Even downloaded mini tool partition wizard home edition(gpardted thingy windows version). Its still 1,86GB there's no partitions. Only a FAT32 card.
For a 2GB card you can only use around 1.8x GB . So I think it is correct. I just thought you had issue in formatting ext partition.
Sent from my HTC Wildfire using XDA App
hang on... it doesn't allow you to format sd-ext because it doesn't exist.. EXT is a linux format, if your entire SD-Card is FAT-32 there's no EXT to format....
bortak said:
hang on... it doesn't allow you to format sd-ext because it doesn't exist.. EXT is a linux format, if your entire SD-Card is FAT-32 there's no EXT to format....
Click to expand...
Click to collapse
It says that some file DOES exist.
Sent from my HTC Wildfire using XDA Premium App
quemmy said:
It says that some file DOES exist.
Sent from my HTC Wildfire using XDA Premium App
Click to expand...
Click to collapse
If you haven't made an EXT partition on your SD-Card then you will not be able to format SD-EXT because there is nothing to format... it's simple logic ... you can't delete something that doesn't exist
It said it does exist. Well, meh. I bought a new card. 8gb kingston ^^ 1gb ex3 partition
Sent from my HTC Wildfire using XDA Premium App

[Q] New MicroSD

Hello XDA
I recently figured out that Desire with 4GB MicroSD isn't enough with partitions and all that stuff, so i bought a new 8GB. Now i want to know should i just switch those cards and partition the 8GB, or wha?
Sincerely
Named
No, you need to copy over the content from the EXT partition from the OLD card to the NEW.
Otherwise, your ROM might not boot.
Uhm, HOW?!
Nandroid backup
Sent from my HTC Pyramid using XDA App
elliottg61 said:
Nandroid backup
Sent from my HTC Pyramid using XDA App
Click to expand...
Click to collapse
For example. Easiest solution.
Also if you have a Linux OS, you can do it within that.
I'm running Linux Mint, tell me how?
Copy everything from the ext partition to the computer and then to the newly created ext partition on the new card.
So put in card into reader/via phone - boot into recovery and mound sd-ext.
For me it show in nautilus (Ubuntu) - and basically you just copy it to the another.
Otherwise just simple nandroid backup and nandroid restore? Sorry, im dumb.
Yes. Other content, like music, photos, etc. copy manually.
Allright, thanks a lot XDA =D!

[Q] Partition help

If I were to make a partition using clockworkmod recovery would it work properly? Should I back up everything on my SD card 1st?
Sent from my HTC Desire using xda premium
Yes you should backup first..
But the best tools to partition your sd is using gparted..
Sent from my HTC Desire using xda premium
Will my SD be wiped?
Sent from my HTC Desire using xda premium
Yes... it will wipe your sdcard when you do partitioning.
As swemoza said backup first.
What is the best way to back it up?
Sent from my HTC Desire using xda premium
Linux, e.g. Ubuntu. It doesn't hide files like Windows.
Connect Desire to computer, then copy&paste.
Swiftkeyed from ICS with Transparent XDA App
Is there any other way? I don't feel like installing another operating system.
Sent from my HTC Desire using xda premium
mydesirezrox said:
Is there any other way? I don't feel like installing another operating system.
Sent from my HTC Desire using xda premium
Click to expand...
Click to collapse
Just save to your PC all the files and folders you had put there (photos, music, map files, whatever you want to keep). Don't bother about the rest. They will be created again after ROM install (system and folders, usually beginning with .).
Hope this helps.
If you don't want the hassle of installing an operating system on your pc just to partition, you can flash 4EXT Recovery on your phone. It can partition your sd card and it has more useful features too. Way better than CWM in my opinion.
via xda app
There is absolutely no need to install another operating system. Ubuntu can be started from a Live-CD, so it leaves your OS on your HDD completely untouched.
I installed Ubuntu now how do I partition my microsd?
Start GParted (Gnome Partition Editor), choose your SD card in the top right corner and partition your SD card. Do not forget to set both partitions primary.
Swiftkeyed from ICS with Transparent XDA App

[ Q ] wildfire s looses random app data after restart on cm7

Hi folks
I have rooted and installed cm7 quite a while back, whenever I restart my phone one among all apps shows as I have been removed (only icon remains on home screen ) but it comes back after a restart but some other behaves the same at that time
Any ideas??
Sent from my HTC Wildfire S using xda premium
Are those apps installed on your sdcard using either the default app2sd or some form of data2sd?
I've noticed this problem when the sdcard has issues...
Yes those apps are on sdcard
Sent from my HTC Wildfire S using xda premium
Copy your entire sdcard to your comp using an SD card reader, format it and copy the data back.
Do a titanium or a nandroid backup (it will back up the apps stored on SD too)
See if that works.
Sent from my Wildfire S A510e using XDA
OK will try that, thanks
Sent from my HTC Wildfire S using xda premium
a quick question, i have ext partition (data2sd) will i have to repartition the sd card after it? or titanium will do it itself???
on a side note any other easy way to partition other then mini partition tool.
AceRoom said:
Copy your entire sdcard to your comp using an SD card reader, format it and copy the data back.
Do a titanium or a nandroid backup (it will back up the apps stored on SD too)
See if that works.
Sent from my Wildfire S A510e using XDA
Click to expand...
Click to collapse
predator_b4u said:
a quick question, i have ext partition (data2sd) will i have to repartition the sd card after it? or titanium will do it itself???
on a side note any other easy way to partition other then mini partition tool.
Click to expand...
Click to collapse
I personally use Linux so I don't know about Windows partition tools but I think mini partition tool is the way to go for Windows.
Depends on whether you just format the fat32 partition or the entire drive. I would suggest doing a nandroid backup first. Copy all the data from the fat32 partition to your computer. Format and remake the partitions. Then copy the data back and restore using the nandroid backup.

Categories

Resources