[Q] Changing SDcard - Desire Q&A, Help & Troubleshooting

Hello. I'm going to buy a new SDcard. To successfully move the sdext partition from the old SDcard, can I just perform a nandroid+sdext backup and restore that backup after inserting the new SDcard? Given that the new SDcard is formatted in the same way as the old one (but a slightly larger ext4 partition). Or probably even just take a backup of the sdext partition only; I believe that is possible with RMD recovery.

Get 4ext recovery and make advanced backup/sd-ext only, when you're done backup everything from sdcard to HDD.
Then just insert new sdcard, partition it, restore all the files from HDD and do advanced restore/sd-ext only.
You're done.
Sent from my HTC Desire using xda premium

k3lcior said:
Get 4ext recovery and make advanced backup/sd-ext only, when you're done backup everything from sdcard to HDD.
Then just insert new sdcard, partition it, restore all the files from HDD and do advanced restore/sd-ext only.
You're done.
Sent from my HTC Desire using xda premium
Click to expand...
Click to collapse
Thanks, I just wanted to make sure that backing up and restoring on a new sdcard will work. I'll stick with RMD recovery because it can also only backup the ext partition.

Related

Copying EXT3 partitions across SD cards??

Can anybody tell me if there is any way of co-copying the EXT3 partition from one SD Card to another using a PC?
I currently have a 16G card and use a cooked rom with A2SD but wish to use a 32G card and want to copy all my A2SD installed apps across so changing the card is seamless.
Also one other question, if a format the card in FAT32 using a PC, will that remove the EXT partition?
Thanks in advance for any help.
Cheers
Jason
eazy mode, create a nandroid backup + ext. copy it to your pc put in bigger SD copy nandroid on it and do a nandroid restore.
Done
Qliratu said:
eazy mode, create a nandroid backup + ext. copy it to your pc put in bigger SD copy nandroid on it and do a nandroid restore.
Done
Click to expand...
Click to collapse
thanks for the advice, that should come handy sooner or later
Or if you have a Linux Live CD lying around then you can just mount your sd card in Linux and it will mount FAT32 and also EXT partition so you can just copy the contents.
You have a choice of methods although Nandroid is the most obvious choice. Nandroid. Copy sd fat32 part contents to pc then copy to new card. Nandroid restore.
Install clockwork recovery and make a backup, then insert your new SD , create a Ext3 partition using clockwork recovery. Copy your backup from the old to the new card and then Use unrevoked recovery to restore the Ext3 partition.
Sent from my HTC Desire using XDA App
Thanks for all the advice, haven’t used nandroid backup yet but have ClockworkMod Recovery flashed so will give it a go!
unecaseenmoins said:
Install clockwork recovery and make a backup, then insert your new SD , create a Ext3 partition using clockwork recovery. Copy your backup from the old to the new card and then Use unrevoked recovery to restore the Ext3 partition.
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
How can i make a Ext3 partition with clockwork? I have the partition menu but i can't make a Ext3 partition...
Help!
dabegi said:
How can i make a Ext3 partition with clockwork? I have the partition menu but i can't make a Ext3 partition...
Help!
Click to expand...
Click to collapse
Use ROM manager and select partition sd card.
Easiest way imo ;D
Sent from my HTC Desire using Tapatalk
unecaseenmoins said:
Install clockwork recovery and make a backup, then insert your new SD , create a Ext3 partition using clockwork recovery. Copy your backup from the old to the new card and then Use unrevoked recovery to restore the Ext3 partition.
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
This does not work. I did what you said, but when I do a nandriod restore it gets to the bit of restoring the ext3 partition and then states that the partition does not exist and so skips it.
I think I would be able to use titanium back up to restore my apps but I can’t create an ext3 partition on my new card. The custom rom I am using http://forum.xda-developers.com/showthread.php?t=741663 wont boot with out an ext3 partition and the only way I know of creating an ext3 partition is though rom manager which requires the phone to be booted
So I am stuck?
You will likely have to create the ext partition first in linux. Try parted magic live cd, clockwork puts it at the end of the card, not sure why but best to stick with that just in case.
Sent from my HTC Desire using XDA App
hey everyone... i partitioned my SD card using rom manager.. it worked with no problems at all.. i have got a HTC Hero now... and now i dont want to use ext anymore... im having clockwork recovery.. how to partition the SD card using clockwork.. i want to make ext 0mb...
rom manager gives me a minimum option of 128mb...
your help would be highly appreciated,
Best Regards.
jab1972 said:
This does not work. I did what you said, but when I do a nandriod restore it gets to the bit of restoring the ext3 partition and then states that the partition does not exist and so skips it.
I think I would be able to use titanium back up to restore my apps but I can’t create an ext3 partition on my new card. The custom rom I am using http://forum.xda-developers.com/showthread.php?t=741663 wont boot with out an ext3 partition and the only way I know of creating an ext3 partition is though rom manager which requires the phone to be booted
So I am stuck?
Click to expand...
Click to collapse
Install any other rom just to partition your sd card then restore the backup!
ephumuris said:
Or if you have a Linux Live CD lying around then you can just mount your sd card in Linux and it will mount FAT32 and also EXT partition so you can just copy the contents.
Click to expand...
Click to collapse
I can never get this to work, it always says I need root privlidges to write to the new cards ext partition, and it's anyones guess to what the root password is with these Live CD's.
unl0rd said:
I can never get this to work, it always says I need root privlidges to write to the new cards ext partition, and it's anyones guess to what the root password is with these Live CD's.
Click to expand...
Click to collapse
generally there isnt one, and if there is it would probably be "toor" (root backwards).
if you want root privelages in the file explorer what i usually do is type "sudo nautilus" from terminal (on ubuntu).
but i would just use gparted to copy both ext and fat partitions to the new sd, then expand the fat partition if the sdcard is bigger.
Sarsippius said:
You will likely have to create the ext partition first in linux. Try parted magic live cd, clockwork puts it at the end of the card, not sure why but best to stick with that just in case.
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Fat partition has to be first, otherwise windows can't read the card. It is confused by ext which it doesn't understand.
Guess how I know ;-)

[Q] Big Problem/ lost system

hey guys i want to make with a freind a new rom on his desire and he has root the desire and then we go to recovery, wipe all data and try to install the new rom but then the error comes:
can't mount /dev/block/mmcblk0p2
(file exists)
can't mound sdext:
E: Failure at line 6:
copy_dir Package:sdext Sdext:
Installaion aborted.
we forget to make a backup from the hole system and now he can't do anything with his phone because there is no data an it! **** please help!
i've seen the backup img. from the backup we make after that ****,
now we hope that someone can give us his backup data:
.android_secure.img
boot.img
cache.img
data.img
nandroid.md5
recovery.img
system.img
we need that to restore his system.
or are there any other methodes to run his system, we don't know why the sdext not worked....
we need help very fast, please help!!!!
thanks a lot
I have these backed up on my SD card & PC too. But I'm afraid it has some private stuff also backed up.
I reccomend you installing a stock rom again and root it (installing a stock rom unroots your phone).
Like in this thread:
http://forum.xda-developers.com/showthread.php?t=918939 Be sure you use the latest ROM and read the full thread!
Also why don't you try another rom, see if it works? ANd make sure you wipe all data (factory/cache dalvik)
how we should install that when we can go only into recovery mod, we can go to sd card but the link you give to us, there is only a rom with is a exe.
can you give us a deteiled introduction? we aren't so good in these things :S pleaase help.
edit2: we can't start the phone so we can't chose htc sync...
http://theunlockr.com/2010/06/07/how-to-unroot-the-htc-desire/
The tutorial and ROM you should use:
http://www.mediafire.com/?bbb7m2b4t5jejhm
If you can't start the phone, then search the forum here for solution...
the problem is, we dont have android on the phone now, no datas nothing, we can pnly good to recovery mod...
we need to install a backup or something from recovery that we have a system on our phone....
so we should need help! ((((((((
edit:
an idea nagypapi :
maybe you can backup you data now, then wipe all your data and flash a completly new rom, then you can make a backup from the completly new rom and than you can give us the backup files bacause these data are without you personal information, thats the one chance ,,,please.....
Download leedroid noA2sd, boot in to recovery, mount the sd, copy the rom to the sd, unmount and flash the rom. You can use a other rom than leedroid if you want but for now just use it.
Sent from my HTC Desire using XDA App
A possible solution here in post no.7:
http://forum.cyanogenmod.com/topic/6433-solved-messed-up-partitions-on-internal-storage/
Also I can do the thing you suggested to create the files , but since now I am not at home upload would take forever...
Also try first installing the NOA2SD LeeDroid rom.
+ What Rom You want to install? Does it need an ext 2/3/4 partition, maybe that's the cause, also make sure your SD is formatted to FAT32.
Yes I think its the fat, I try it home later.
The main problem was that we can't mount the SD could. Not mounted in the recovery ... I say it already at the top...
Sent from my Desire HD using XDA App
Yeah, you must make an ext partition on the FAT32 SD card, and it should work.
Can I make that with ubuntu?
Ok then I have two partitions on the sdcart (4gb).
On which partition should I have all my folders?
On which partition should I have my zip data (rom) ?
;D you make me hope
Sent from my Desire HD using XDA App
Your error is related to a missing ext partition, since the phone doesn't boot i assume you tried to install a sense HD rom. What it said a the top is mounting the ext partition failed, I'm talking about mounting the normal fat partition as mass storing to copy the rom onto the sd card. If that also does not work, take out the sd card put it in a card reader and copy the rom on to it, the put sd back and flash leedroid. This will give you a booting device.
If you want to make and use a ext partition make sure you first have the fat and then the ext3, all files should be on the fat partition and there is no need to do anything else to the ext partition.
DHDLover said:
Can I make that with ubuntu?
Ok then I have two partitions on the sdcart (4gb).
On which partition should I have all my folders?
On which partition should I have my zip data (rom) ?
;D you make me hope
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
I suggest using GParted for that or anything that works in Ubuntu.
If you have another Android device (i bet you have ) you can dowload ROM manager form the Market and use that to create partitions / format card (it is easier).
"Partitioning your SD Card ready for A2SD+
* Backup all data on you SD card (this will be wiped)
* The card should be formatted with your standard FAT32 partition 1st followed by an EXT2/3/4 partition
* Linux users use GParted or a similar software.
* For everyone else I would recommend using Rom Manager
* Once you have downloaded ROM manager from the market, open the app and click partition SD Card, Select your EXT size (512MB or 1024MB recommended) and set 0mb for swap
* Restore your data to your SD and the job is done."
Click to expand...
Click to collapse
GUYS
big thank you to you XD
it works now
DHDLover said:
GUYS
big thank you to you XD
it works now
Click to expand...
Click to collapse
Our pleasure to make it work

[Q] Cannot restore my nandroid backup after resizing SD-EXT

Hi all,
I have been using Leedroid 3.3.3R5 on my Desire. Yesterday I wanted to give a try to another Custom ROM (RevolutionROM 3.0 xmas edition). I was supposed to S-OFF my phone and then increase the size of my SD-EXT partition to 1024MB in order to install it. So I did it. I first S-OFFed using the Revolutionary tool. During the process, the Revolutionary tool also asked if I want to update Clockworkmod Recovery. It didn't sound like a bad idea, so I made the CWM update too. (it was "Clockworkmod 2.5.0.7" before the update, now it is "Revolutionary CWM v4.0.1.4").
After S-OFF and CWM update, I resized my SD-EXT directly from CWM (Advanced > Partition SD Card) to 1024MB. Of course I had already copied everything on my SD card including my nandroid backup to my PC. After CWM increased the size of SD-EXT partition, I copied everything back to my SD card.
So I was ready to restore my nandroid backup. First I formatted each partition in "mounts and storage" menu of CWM. Then I restored my backup. However, it goes into a bootloop now. I tried this several times: format > restart > restore, but it didn't help.
Do you think I did too many changes at once, so that my nandroid backup is not compatible anymore?
Ercan
i may be wrong here:
if you partitioned originally with cwm 2.5.0.7, it will be an ext3 partition
with cwm 4.1.0.4 i think it creates ext4, which is why it might be incompatible.
i would recommend switching to 4EXT recovery, flash it through fastboot as you're now S-OFF and you can't boot into a ROM.
i think there is an option to force nandroid restore to ext4, not tried this before.
if this doesn't work 4EXT can convert the partition back to ext3, then try restoring it.
and if this doens't work, format and repartition the card from scratch using gparted, creating an ext3 partition. then try restoring...
you've done the smart thing and copied your backup to PC, so this is easily recoverable
Looks to me like you did most things right. I think I read somewhere that partitioning thru CWM can be unstable though...
I would also suggest you try Gparted, which is the most common, and reliable, method of partitioning. All you do is download the ISO and burn (not copy, burn!) to a CD, then boot your computer from this disc.
Making sure to backup your SD again before you start, use Gparted to format the SD, so you have a clean slate to work with. When you load gparted, a series of code will scroll on screen for a few minutes (don't freak out like I did, all is well ) Once started, you need to find your SD card from the drop down menu's. You should recognise it by it's size...be careful not to select your PC hard drive!
Now it's just a matter of formatting then using the sliding bar to set your partitions. You will want to make one the Ext4 and the remaining FAT32, labelling both as primary. Don't stress about meg or two of uncommitted. You can play around a little if you need, before having to commit to any actions, so just click here and there until you are sure you've got it all right. If you have a spare card, practice with that, otherwise, you can always format again and start over... When done, reload SD and restore your nandroid.
Also, ditch CWM and install 4Ext Recovery control from the Market
E: I should have mentioned. All this is much easier if you use a card reader, rather than leaving the SD in your phone....
I found THIS
It says to use 512meg Ext3, but no one has used that size since, like...2011, or something, so just go with 1024meg.
Also, steps 1, 2 and 3 don't matter if you have a card reader.
This is the tute I used when I first partitioned with gparted and imo, pretty easy to follow.
You trying to restore a backup made with CWM 2.5.0.7 with Revolutionary 4.0 now by any chance?
Sent from my HTC Desire using Tapatalk
erklat said:
You trying to restore a backup made with CWM 2.5.0.7 with Revolutionary 4.0 now by any chance?
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
Yes, that's what I'm trying to do.

converting ext3 to ext4

I realise that I should have created my ext partition as ext4 not ext3 as the newer roms seem to need it. I had a search and it seems to be a bit complicated to simply convert the partition so I have a two-part question to see if what I have in mind will work.
I use Link2sd which I like and seems to work well (other than for Swype which I now have gotten rid of).
So, will this work (and I apologise for being somlistic in my approach):
I move all my linked apps to the SDcard proper using L2SD (there's not enough room on the phone's internal memory)
I copy my entire SD card to my computer just in case
I then use 4EXT and using the option "wipe or format --> EXT3" I reformat that ext3 partition as a ext4 partition
Using L2SD I relink all the apps to the new ext4.
Otherwise, if I were to reformat and repartition the entire SD card using Gparted, can I simply drag and drop the SDcard folder I backed up on my computer back onto the SD card then relink everything with L2SD?
Nandbackup
Copy all files to computer
Format sdcard to ext4
Copy files back
Nandrestore
via xda app
stankyou said:
Nandbackup
Copy all files to computer
Format sdcard to ext4
Copy files back
Nandrestore
via xda app
Click to expand...
Click to collapse
Great - nice and easy. Should I move the apps to the main part of sd card first by unlinking them because I don't see the ext3 partition when I connect the phone to my computer.
The concept of doing a nandbackup is to copy thhe current status of the phone. Everything. So you relly don't need to do that.
Just make sure that the contents you see when you plug the phone to the computer is saved in the computer including the nandbackup you made.
The nand will basically take care of the files on the ext part when you restore it.
via xda app
stankyou said:
Nandbackup
Copy all files to computer
Format sdcard to ext4
Copy files back
Nandrestore
via xda app
Click to expand...
Click to collapse
If using 4ext you only need to convert ext to ext4(it backs up automatically). If you restore a nand made with ext3 you also loose the ext4 partition so you also need to manually convert all nand backups to ext4 using 4ext. Hope this makes sense...
nicklashidegard said:
If using 4ext you only need to convert ext to ext4(it backs up automatically). If you restore a nand made with ext3 you also loose the ext4 partition so you also need to manually convert all nand backups to ext4 using 4ext. Hope this makes sense...
Click to expand...
Click to collapse
It makes sense but I'm starting to get a bit confused as to what I now need to do.
What you're saying is the nand backup will put the phone back how it was to start with, ie the ext4 partition will revert to ext3? So what is the best way to do all of this? When you say "you also need to manually convert all nand backups to ext4 using 4ext. " how do I do that and do you mean before or after I restore the nand backup?
To make this easier, can I not simply forget the nand backup and do this: unlink all my apps with L2sd and put them onto the sd card like in native apps2sd. Then put the whole sd card on a folder on my computer, wipe and repartiton the sd card with ext4, move the whole folder back onto the fat32 partition and the use L2sd to relink all the apps onto the new ext4 partition?
simon12 said:
It makes sense but I'm starting to get a bit confused as to what I now need to do.
What you're saying is the nand backup will put the phone back how it was to start with, ie the ext4 partition will revert to ext3? So what is the best way to do all of this? When you say "you also need to manually convert all nand backups to ext4 using 4ext. " how do I do that and do you mean before or after I restore the nand backup?
To make this easier, can I not simply forget the nand backup and do this: unlink all my apps with L2sd and put them onto the sd card like in native apps2sd. Then put the whole sd card on a folder on my computer, wipe and repartiton the sd card with ext4, move the whole folder back onto the fat32 partition and the use L2sd to relink all the apps onto the new ext4 partition?
Click to expand...
Click to collapse
Put simply:
boot into 4ext recovery.
go into tools/Convert or change a backup --> ext4
convert ext
It will automatically backup ext, convert it to ext4 and then restore ext again (no data loss).
Delete all old NAND backups and start again (otherwise you'll restore your ext3 partition) or you can convert backups with 4ext (from ext3 to ext4).
Simples :victory:
nicklashidegard said:
Put simply:
boot into 4ext recovery.
go into tools/Convert or change a backup --> ext4
convert ext
It will automatically backup ext, convert it to ext4 and then restore ext again (no data loss).
Delete all old NAND backups and start again (otherwise you'll restore your ext3 partition) or you can convert backups with 4ext (from ext3 to ext4).
Simples :victory:
Click to expand...
Click to collapse
Absolutely brilliant - thanks! Done that and it worked.
How do I delete an old Nand backup - I'm looking in 4ext but can't see anything obvious or do I simply do another backup and that wipes the old one?
simon12 said:
Absolutely brilliant - thanks! Done that and it worked.
How do I delete an old Nand backup - I'm looking in 4ext but can't see anything obvious or do I simply do another backup and that wipes the old one?
Click to expand...
Click to collapse
Using the 4ext app go into manage backups or using a file explorer go into sdcard/clockworkmod/backup and delete the corresponding folder
nicklashidegard said:
Using the 4ext app go into manage backups or using a file explorer go into sdcard/clockworkmod/backup and delete the corresponding folder
Click to expand...
Click to collapse
I have booted the phone up but now it does not want to recognise the ext partition. Links2sd suggests that the device may not support ext4 yet I know lots of Desire owners on here have that. I guess I have to revert to get my apps back that are currently showing as not loaded.
Just convert back to ext3 again using 4ext.. kernel might not support ext4
nicklashidegard said:
Just convert back to ext3 again using 4ext.. kernel might not support ext4
Click to expand...
Click to collapse
Damn. Oh well, thanks for the help anyway.
Anyone know what kernel I would need and how would I go about installing it? Is this a fairly easy and safe thing to do?
simon12 said:
Damn. Oh well, thanks for the help anyway.
Anyone know what kernel I would need and how would I go about installing it? Is this a fairly easy and safe thing to do?
Click to expand...
Click to collapse
I'd say just leave it as ext3. I've never come across a ROM that don't support ext3....
nicklashidegard said:
I'd say just leave it as ext3. I've never come across a ROM that don't support ext3....
Click to expand...
Click to collapse
I was thinking of installing this one: http://forum.xda-developers.com/showthread.php?t=1315961 I hear it is quite a stable one and that's most important to me. It says that ext4 is required for the ROM:
(Q) I get an error ”can’t Mount /dev/block/mmcblk0p2 (File Exists)”.
(A) That error and others like it are generally caused by a corrupt ext partition on your SD Card. The solution is to use 4EXT recovery, gParted, or a similar tool to reformat the ext partition to ext4. Leave the FAT32 partition alone and you shouldn’t lose any data. Don't use Windows-based partition tools!
Some suggest using ext3 as it is a known quantity and most ROMS will boot with an ext3 partition, however Runnymede AIO requires an ext4 partition.
and for AD2SDX to work (links you to here: http://forum.xda-developers.com/showpost.php?p=18911182&postcount=1784 )
I'll have to look for another instead.

Partition

Do I need to wipe the sdcard partition before I flash? Thanks
Sent from my HTC Desire using xda app-developers app
1st thing before you do anything: nandroid backup
now you are safe
- if you are upgrading the same rom, then don't wipe the sd partition, otherwise you lose your apps... generally a rom upgrade you can flash straight over the top without wiping anything.
- if you are switching roms, then yes you do a full wipe. make a titanium backup or similar to keep all your apps. then if you're using 4ext recovery there is an option "wipe all partitions except sd card", this formats everything: system/data/cache/sd-ext etc, but not the FAT32 partition of your sd card, where music/photos etc are stored.
As said, DO NOT wipe the sd partition! It's safe to write skill the others because you do have a titanium backup of your apps....
Sent from my HTC Desire using Tapatalk 2

Categories

Resources