[Q] need help restoring partition - Desire Q&A, Help & Troubleshooting

hi,
i might have screwed up idk.
i have a rooted htc desire uscc. CDMA.
i attempted to install latest nightly build of cm_vision_full-23.zip. installation aborted. i attempted wiping, and it still said installation aborted. i attempted a sd card partition of 1024mb and swap size of 128mb. now i cant see any of my restore points. i have a 8gb card now it only reads 6.32gb. is there a hidden partition now? how do i read it? can i get to the restore files and restore (i did do a backup before doing anything, but i dont see those files now, they would be on the "missing" partition i think)
how do i get there? or am i just screwed? how do i get my full 8gb space back?
clockworkmod installed.

Partitioning will format the sd so all your files are probably gone. Also the reason you see only 6.XGb of space is because you have two other partitions using that space. In Windows you can't see the ext partition (i believe) but in linux you will see the card is still 8Gb. Depending on how important your data is you can try to recover it or just boot in to recovery, mount the sd and copy a rom to it.
Sent from my HTC Desire using XDA App

ok. i can live with losing some of the data on the phone that i had on there. i need to restore it back to 8gb and just do a factory reset. what are the steps in doing that? do i just format the card in linux or something? i would like to remove the partition i created, and get it back to 8gb one partition.

Isn't all your data on the sd card gone as well?
If yes and you still don't really mind best thing is to find a card reader and connect it to a Linux machine (can be live cd or vm), then use whatever disk manage program is available and format the hole card as fat(32).
You might be also able to do this from the memory settings if your phone will boot, but i'm not sure if that only formats the fat partition or the hole card.

yeah its probably gone. im just curious what software would i be using to try and recover the data? if thats possible id like to give that a shot. if not, its not a big deal. i attempted to use "get data back for fat 32" but it doesn't see the other partition.

hm i have the phone connected to vm linux and its showing the mass storage as 6.8gb. i dont see any options to format it or change it to 8gb. what am i missing?

You need to run (or install) GParted

installed and ran gpart. i still only see 6.34gb as a single contiguous partition. theres nothing else i can change, or allocate. its as if i shrunk 8gb sd card to 6.34gb. whered the missing space go? gpart says 6.34gb is unallocated. it doesnt see any more space. all options are greyed out. cant resize, move, unmount, etc.

update: i went to a local target and bought a 8gb sd card with a generic usb card reader. i put the new card in my phone and formatted it via OS. it shows 7.60gb aval space. and 128mb internal space. when i put the old card into the reader i was then able to see all the partitions via windows 7. so, fwiw, you have to use a card reader to see the partitions on a sd card in windows 7.

Related

Leedroid 2.2d and corrupted sd card

Hey guys,
I was going through the process of installing the new leedroid rom by T-mod 2.2d.
I did a back up from nandroid and did a full wipe.
I went to install from zip and i couldnt find any of my ROMs i had copied onto my sd card? i am 100% confident i placed them in there.
Just today i partitioned my sd card properly with two primary partions of fat32 and ext3. Fat 32 has 29gb free and ext 3 has 512. Could there be a problem here? i just followed the instructions provided and everything looked sweet.
Before i had partitioned i copied all my files onto my HD then i proceeded using Gparted. Since everything was wiped off my SD card i just cut all the backup files from my HD back to the SD. It took up too much space on my pc!
All i have done is factory wiped and clear dalvik and then i rebooted (since none of the ROMs were listed in 'install zip from sd card'. It was then stuck on the leedroid startup page and goes on a loop.
I then performed a restore from nandroid. It now boots up fine, but now my SD card seems to be corrupted! all the files in there are shown with symbols etc. I can add new files into the sd card though and they dont appear to have weird symbols. I clicked on the disk and clicked on the diagnostic button which i also selected to fix automatically issues. Now my whole SD is wiped. and there are no files in there anymore... i put a few mp3s within and the music players dont detect any mp3 music.
Anyone have a take on what i can do? argh! i am still on 2.2b after the restore but my sd card has no files etc.
please someone help me, i will be very grateful!
Brendan_au said:
Hey guys,
I was going through the process of installing the new leedroid rom by T-mod 2.2d.
I did a back up from nandroid and did a full wipe.
I went to install from zip and i couldnt find any of my ROMs i had copied onto my sd card? i am 100% confident i placed them in there.
Just today i partitioned my sd card properly with two primary partions of fat32 and ext3. Fat 32 has 29gb free and ext 3 has 512. Could there be a problem here? i just followed the instructions provided and everything looked sweet.
Before i had partitioned i copied all my files onto my HD then i proceeded using Gparted. Since everything was wiped off my SD card i just cut all the backup files from my HD back to the SD. It took up too much space on my pc!
All i have done is factory wiped and clear dalvik and then i rebooted (since none of the ROMs were listed in 'install zip from sd card'. It was then stuck on the leedroid startup page and goes on a loop.
I then performed a restore from nandroid. It now boots up fine, but now my SD card seems to be corrupted! all the files in there are shown with symbols etc. I can add new files into the sd card though and they dont appear to have weird symbols. I clicked on the disk and clicked on the diagnostic button which i also selected to fix automatically issues. Now my whole SD is wiped. and there are no files in there anymore... i put a few mp3s within and the music players dont detect any mp3 music.
Anyone have a take on what i can do? argh! i am still on 2.2b after the restore but my sd card has no files etc.
please someone help me, i will be very grateful!
Click to expand...
Click to collapse
it may just be a corrupt sd card, it happens sometimes you should return it and get it replaced
It was working 100% fine for a long time mate.
Should i go back into Gparted and delete my ext3 partition? I want to format my sd card, but im really confused atm.
My phone is working etc with all messages and phone history still here. It is running T-mod 2.2b. But all my apps which i had stored to my sd card are no longer functioning and i also wiped delvik from my phone.
Brendan_au said:
It was working 100% fine for a long time mate.
Should i go back into Gparted and delete my ext3 partition? I want to format my sd card, but im really confused atm.
My phone is working etc with all messages and phone history still here. It is running T-mod 2.2b. But all my apps which i had stored to my sd card are no longer functioning and i also wiped delvik from my phone.
Click to expand...
Click to collapse
your best bet isnt to just format it, but use gparted to delete both partitions on your sd card, then re-partition and try again
I just deleted both partitions and just created 1 partition as fat 32 will full memory using Gparted. I unmounted my phone and took the sd card out and put it back in, rebooted.
Connected it to my pc - but there are no folders in the SD card?
The phone isnt installing any software on the sd card when i boot it up?
I put mp3 files into the sd card but the phone doesnt read any music. Is it because im using a rooted desire? with T-mod 2.2b.
Literally all my files on my SD card are gone, no idea how to proceed
anyone??
I can still move apps (not the dalvik) to the sd card.
But my SD card has no folders in it. My phone wont install any on the SD card.
It says i have full memory out of full memory available. I formatted the sd card just then, since all my files are not there anyways.. still nothing happening
Help! running T-mod leedroid 2.2b! all internal apps etc are working fine.
What if i perfom an nandroid backup, store it to the sd card.
Then put the 2.2d rom and radio rom on and flash the two?
Will all the folders etc be stored back to my sd card?
Update: performed nandroid backup. Put 2.2d rom and radio rom on the sd card and again it does not appear on the zip list in recovery.
What is going on!
Fixed pm me if you want solution
i have similar weird SD carfd problems too. Suddenly, my sd card goes missing in the software and i must reset. happened 3x since I installed LeeDroid on my new HTC Desire in the last 7 days.
Brendan_au said:
Fixed pm me if you want solution
Click to expand...
Click to collapse
why not post here? if this turns out to be quite common you woudnt want to reply to xxx users would you ?
I have had the same issue twice now under LeeDroid 2.2a and 2.2b.
Right now I am using my Ubuntu laptop so I inserted the SD card into the laptop. It mounts the 7.5 gig Fat32 partition and lets me read what's on there, but it wont properly mount the ext3 partition. It shows as blank in the file browser (on the laptop) and wont let me copy to it or create any new files, so it seems corrupted in some way.
I knew I had a problem last night because my phone freezes on the white-background with green "HTC" lettering whilst booting. If I take the SD card out of the phone it boots ok, likewise if I replace the card with a different one, that's only formatted Fat32, that works ok.
I used the built in function of ROM manager to prepare the SD card, it created a 512mb ext3 partition at the end of the disk, not sure if that makes a difference. Has anyone had any success using proper apps like gparted to partition the card?
Really pi**ed off at this phone now. Dont want to wipe the card again just to have it work in my phone for another week.
[Solution]
I had a friend check out what was up with my SD card. Nandroids and zips were being stored onto the sd card but they weren't appearing on the fat32 side.
In fact, all the files were being stored to ext3! this was the root of the issue. I believe i partitioned incorrectly or what not by using Gparted. I have resulted in using Rom Manager (download off market) instead to set partition ~ much easier.
To fix the main issue with SD card: Go to phone settings -> SD & Phone Storage -> Unmount SD card --> Format SD Card.
Files should appear on your sd card again -> connect your phone to your USB and check that the files are back. That's your fix
Then just add your Roms, music, videos back onto your fat32 partition as before. Using Rom Manager, the Roms stored on SD appear again.
Edit: i have installed T-mod leedroid 2.2d and is working great.
To the previous post ~ i just did a full wipe because all my files on the SD card were corrupted anyways, could not even copy them. But i didn't think my SD card itself was corrupted.
Thanks,
Brendan
I did a little more investigating last night. On Ubuntu, if I insert the SD card, it mounts both partitions, but it can only read the fat32 one. I can see my images and stuff from there so I know its ok. But if I view the ext3 partition, it shows as empty, but if I right click on it, the properties show that there is 123mb in use of the 512mb partition. That seems about right because there should be some apps and stuff in there. I have made sure that the files arent hidden or anything, but still nothing.
If I try and copy anything to the partition, it wont let me and gives me a rather cryptic error: something along the lines that it cant access the card because it is not ready? I couldn't even unmount the disk because of the same error. I dont have my Ubuntu machine with me now so I cant check.
I can copy the stuff I want off my card and re-format/partition it but to be honest its more hassle than its worth.
I'd be more inclined to find out why this is happening. It only seems to go after the handset is rebooted (my battery went flat on Saturday) and since then, nothing.
I appreciate you posting your solution but I think we have slightly different problems..
Thanks

Help, my 16gb card shows as 1gb after a crash in a middle of partitioning with gpart

Hello,
My rom(iNsertCoin) has crashed today for an unknown reason, and entered nonstop bootloops.
I have tried to reflash the iNsertcoin zip but it didnt work for some reason, also it told me it cant mount the sd-ext (I am using ra-desire 2.0.0).
I have turned the phone off, and when I returned home I put my A-Data 16gb Class 10 Microsd (which was bought from newegg, so it cant be fake) in my card reader, and I started to partition the card like this: 1gb ext4, 300mb ext4, 100mb linux-swap, rest to fat32.
all of a sudden the program just crashed and from that point it tells me the card has 1gb unallocated space, in windows 7 it keeps asking me to format the card but it never succeeds, and it says the card uses raw file system.
I have tried chkdsk, and it told me its not available for raw filesystems.
I have also tried a number of programs, the HP partition tool, SDFormatter, nothing really helped.
Also, I tried using diskpart -> clean all command on the card but it keeps giving me weird error messages but usually it tells me its not ready, and it looks like the card is not responsive, although the pc recongized it.
I have tried doing this from a number of computers, another W7 computer and a XP computer. nothing worked.
I cant allocate space in gparted, and it tells me to create a partition table, and when I try that, the program just hangs.
Oh yeah, and I tried to put the microsd card into an adapter and put it in my dad's dslr and tried to format it, but there was an error.
Have I killed my microsd card? :/
hfg666 said:
Hello,
My rom(iNsertCoin) has crashed today for an unknown reason, and entered nonstop bootloops.
I have tried to reflash the iNsertcoin zip but it didnt work for some reason, also it told me it cant mount the sd-ext (I am using ra-desire 2.0.0).
I have turned the phone off, and when I returned home I put my A-Data 16gb Class 10 Microsd (which was bought from newegg, so it cant be fake) in my card reader, and I started to partition the card like this: 1gb ext4, 300mb ext4, 100mb linux-swap, rest to fat32.
all of a sudden the program just crashed and from that point it tells me the card has 1gb unallocated space, in windows 7 it keeps asking me to format the card but it never succeeds, and it says the card uses raw file system.
I have tried chkdsk, and it told me its not available for raw filesystems.
I have also tried a number of programs, the HP partition tool, SDFormatter, nothing really helped.
Also, I tried using diskpart -> clean all command on the card but it keeps giving me weird error messages but usually it tells me its not ready, and it looks like the card is not responsive, although the pc recongized it.
I have tried doing this from a number of computers, another W7 computer and a XP computer. nothing worked.
I cant allocate space in gparted, and it tells me to create a partition table, and when I try that, the program just hangs.
Oh yeah, and I tried to put the microsd card into an adapter and put it in my dad's dslr and tried to format it, but there was an error.
Have I killed my microsd card? :/
Click to expand...
Click to collapse
try using androids built in sd card format tool. settigns, sd card storage, unmount sd card, then format. try flashing clockworkmod recovery and using there builtin format ooptions,, if still no go, u mayb have friemd your sd card. by the way, u sjould always use your fat32 as your 1st rive and never 2nd or 3rd. im quite sure u makes your pc read the drives in the order u created them.
LINKSLOVESANDROID said:
try using androids built in sd card format tool. settigns, sd card storage, unmount sd card, then format. try flashing clockworkmod recovery and using there builtin format ooptions,, if still no go, u mayb have friemd your sd card. by the way, u sjould always use your fat32 as your 1st rive and never 2nd or 3rd. im quite sure u makes your pc read the drives in the order u created them.
Click to expand...
Click to collapse
Thanks, but I have already tried to format it from the phone, and then recovery. didnt work.
and i made my fat32 as my first drive i just listed it last..
well I have sent it to A-Data today, in taiwan, and I'm hoping I will get a replacement card soon.

[Q] Sd card has "permanently" shows less space

i decided to make an ext partition on my sd card so i could move over even more application data over to external, however it didn't work to my liking so i decided to get rid of it and just stick with a full FAT partition instead. Except now my 8gig card only shows something like 3gigs and nothing i could find so far in windows or Linux allows me to see the ext partition to format and make FAT again... any ideas?
this was done with and I'm still running clockwork mod
if you have amonRA v2.3 as your recovery, boot to it and then select partition SD card. Place a zero for the SWAP, when promoted, zero for ext2 and the rest for FAT. Make sure to transfer the contents of your card to a computer or external drive before starting this procedure.
Update: I see that you're using CWM. You can select amonRA ( PC36IMG.zip) from my signature, place it on the root of your SD card and boot to the bootloader to install it.
posting & replying via my EVO 4G

MicroSD lost 2GB, cannot be recovered with gparted

Hello everyone,
Yesterday I've partitioned my MicroSD card to be able to run Leedroid. But now that I want the partition space back to the microSD card and I can't. It seems that I lost 2GB.
- I've tried formatting the SD card while booted in Leedroid, but it just says the card is "corrupted" or some message like that;
- I've also tried using GParted to recover the lost ext partition, but also GParted doesn't show me the ext partition.
- I've tried mounting sd/ext as this seemed to help for a few people aswell.
Can anyone help me how I would be able to recover the lost space on the microSD card?
Thanks a lot!
It formats the SD in FAT, and then you do to him partitions to the card.
The SD is corrupt for extracting the SD of bad form and spending files without withdrawing it in a sure way.
Why don´t make partitions SD card with your Recovery? Is it simpler, aren´t you?
You should recover the whole memoría.
But, the SD would be spoilt.
Grettings.
So as you are saying. I lost those 2GB forEVER? Can't get them back somehow? :S
"Why don´t make partitions SD card with your Recovery"
I did make a partition with clockworkmod recovery if thats what you mean...
Did you do partitions with Recovery? And it will be of 2Gb, insurance....:
Then, if the Rom needs from a partition to start, and this one is of 2GB, you will not recover her until the SD this fromateada in Fat (the whole SD). the Rom, he needs this division for boot, truth?
I think that I am not explaining myself well, or that I do not understand well what you want to say, i´m so sorry!!!

Closed.

I figured out the problem.
ogfrier said:
i just recently used mini tool partition wizard to wipe all the partitions off my SD card and now that i did that my sd card isnt recognized on my computer. it shows up on partition wizard and ive tried about everything i can think of but it wont show up. and i even switched SD cards and it still wont, and ive tried different usb ports and different usb cords. so im not sure if i did something wrong in partition wizard or what, all i did was wipe partitions and delete partitions on my sd card. it mounts on my phone and it says "blank SD card" and when i click the notification it pops up and says format SD card and i go ahead and format it. im getting pretty irritated to be honest and i feel like ive went through every option i can think of ive restarted the laptop ive rebooted my phone i even flashed a old backup of my old SD card ive factory reset and all so im completely lost, so if anyone can offer any advice its greatly appreciated.
Click to expand...
Click to collapse
are u saying u changed the sd card on ur phone and the new one didn't show up either when u enabled mass storage..??
did u try using a card reader..??
are you used card reader for partitoning?
Put the card in a card reader.
Then open minitool.
Right click on the top slab where your memory card is shown and select delete partition.
Apply.
Now you will have unallocated space.
Create new partition, fat32 and primary.
Apply. I guess that would solve it.
Well I figured it out. I had to go to disk manager on my laptop and change the removable disk name and the file it shows up under. Thank you guys though, and no I wasn't using a card reader. I was just trying to wipe my partitions then create a bigger one so I can have more internal storage if that makes sense.
Sent from my Marvelc using Tapatalk

Categories

Resources