Help me fix my SD Card - Desire Q&A, Help & Troubleshooting

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.

Related

How to partition SD Card for Desire?

Hi! all. need to know how to partition SD Card for Desire. Any tutorials i can follow?
wolvie77 said:
Hi! all. need to know how to partition SD Card for Desire. Any tutorials i can follow?
Click to expand...
Click to collapse
You can use ROM Manager from the Android Market and there's an option to Partition SD Card under utilities, just install the recovery first and it will work fine.
Also you can use AM Recovery fake-flash to avoid installing ClockworkMod Recovery, but it's easier using ROM Manager
But if you are running Linux on any computer, then you can use GParted to Partition the SD Card, ask if you want steps to use GParted
shoey-n said:
You can use ROM Manager from the Android Market and there's an option to Partition SD Card under utilities, just install the recovery first and it will work fine.
Also you can use AM Recovery fake-flash to avoid installing ClockworkMod Recovery, but it's easier using ROM Manager
But if you are running Linux on any computer, then you can use GParted to Partition the SD Card, ask if you want steps to use GParted
Click to expand...
Click to collapse
Any chance we could have the GParted steps, I tried using it for creating the partitions (FAT32 then Ext2) and no matter what I did I got a Damaged SD error upon remounting it in the Desire.
I'm starting to think my card is bad!
Not in front of Linux right now, so this is off the top of my head. I'll post in the morning clear steps (better if used in card reader not using USB toggle on device)
Backup what ever is on your card first!
In the top right corner of GParted select your device and let it search for partitions on card
Unmount all partitions by right clicking on each partition and clicking unmount
Then delete those partitions by right clicking and selecting delete
(I normally apply those changes before proceeding by clicking the green tick, to make sure the partitions have cleared)
With the unpartitioned space, firstly create your FAT32 partition by right clicking and selecting FORMAT TO then FAT32 (MAKE SURE REMAINING SPACE IS IN FOLLOWING NOT PRECEEDING) then with the remaining space create your EXT2 partition exactly the same but obviously format to EXT2 and you could even add a small 32MB linux-swap partition but it's not necessary
Then apply the changes, if everything goes successfully and you are still getting remount errors, then try reflashing your ROM or a different ROM
(I'm assuming your rooted)
If you still have no luck, then your card is bad
I just found out that Clockwork can only handle ext3 partitions - at least my version (2.0.1.4). If I create partitions using ROM Manager, it creates a ext2-partition. Only after I changed it to ext3 using linux I could mount the partition in Clockwork and perform wipes and backups.
Don't know if or what I did wrong, but it certainly didn't work for me (tried with multiple versions of clockwork and several times).
shoey-n said:
You can use ROM Manager from the Android Market and there's an option to Partition SD Card under utilities, just install the recovery first and it will work fine.
d
Click to expand...
Click to collapse
Even after doing that, everything in the rom manager is dimmed. I mean only the flash clockworkmod recovery and the reboot into recovery are highlighted. Is there somethin'g I missed?
jondalar said:
Even after doing that, everything in the rom manager is dimmed. I mean only the flash clockworkmod recovery and the reboot into recovery are highlighted. Is there somethin'g I missed?
Click to expand...
Click to collapse
is your phone rooted or not?
wolvie77 said:
Hi! all. need to know how to partition SD Card for Desire. Any tutorials i can follow?
Click to expand...
Click to collapse
Introductory Remarks:
- Ext Partition is only needed if your rom uses App2SD+ (Froyo app2sd works with basic Fat32 partition)
- Ext partitions are only visible in Linux = Windows can't see it.
- You can check if you have a working ext partition with Quick system info (in app market)
- On first reboot after partition, android will move some apps to the SD, this will take a lot of time. Some people have reported a bootloop on green HTC Screen, one reported a need to Battery pull 4 times before it finally worked), so be patient!!!!
Now the tutorials:
Easiest way is to install Rom Manager:
1) install rom manager
2) choose partition sd card
- 512mb ext
- 0 swap
3) let RM do the rest... ;-)
Another one is using Gparted:
(copied this from http://wiki.cyanogenmod.com/index.php?title=Apps2SD)
For a great Linux GUI alternative, use Linux 'GParted' a GUI based partition editor. (Designed for and found standard in the GNOME desktop environment, but can also easily be install in other desktop managers such as KDE and others.) Backup your SD card before you start ! The following steps will wipe the contents !
You can use a livecd of GParted, or use it from within Ubuntu (vid: http://www.youtube.com/watch?v=sVK-tJe8pXE&feature=related)
1) Connect your phone to your computer (or use an SD Card adapter...., in this case skip to 4))
2) Pull down the notification bar and mount the phone
3) Start Gparted
4) Gparted will search available drives. (Your phone should show up as a USB drive, and will be something like /dev/sdb1 or /dev/sdc1, etc..)
Warning: double-check you've not selected a hdd by mistake!
5) In the upper right corner, select the correct USB device for your phone. (i.e. check to make sure it is correct size for your SD card)
6) Right click on each partition and select 'unmount'
7) Right click on each partition and select 'delete'
If you know what you are doing, you can re-size the partitions and add a new 2nd partition formatted as ext2/3/4
8) Right click on the big gray bar (should say unallocated x.xx gb) and click 'new'
9) Enter configurations
Free Space preceding = 0
Create as = Primary
New size = [don't touch]
File system = fat32
Free Space Following = 512 (or whatever you want)
10) Click add
11) Right click on the big gray bar (should say unallocated x.xx gb) and click 'new'
12) Enter configurations
Free Space preceding = 0
Create as = Primary
New size = [don't touch]
File system = ext2/3/4 (recommend ext4)
Free Space Following = 0 (or ~32 if you want swap)
Click add
13) Click edit, then 'Apply All Operations' to write changes to disk
14) Quit GParted
15) Unmount your SD Card
16) Reboot your phone
This is what I've found so far, as the easiest method.
Another tutorial can be found under: http://androidcommunity.com/forums/f9/how-to-create-ext2-partition-14232/
or
http://forum.xda-developers.com/showthread.php?t=534714 this is one way to do it.
What I don't know for sure:
- If the size of the ext partition matters?
- What ROMs require ext partitions?
- If Class 6 SD cards really are that important (some webpages say that class 2 cards are not able to handle ext2 partitions and end up bricked.
- How to manage the contents in the ext partition when changing SD Cards...
- How to check if you bricked your sd card...
- etc...
Good Luck
chrysochire said:
What I don't know for sure:
- If the size of the ext partition matters?
- What ROMs require ext partitions?
- If Class 6 SD cards really are that important (some webpages say that class 2 cards are not able to handle ext2 partitions and end up bricked.
- How to manage the contents in the ext partition when changing SD Cards...
- How to check if you bricked your sd card...
- etc...
Good Luck
Click to expand...
Click to collapse
By the way, if anyone reads this, I would love to make this topic a sticky, so as to answer all questions related to SD Cards...
chrysochire said:
CUT.....
Good Luck
Click to expand...
Click to collapse
Very nice guide. Thanks soo much for this explain.
Very cleary!
hi i am using GParted to partition ext3 for use with apps2d but i have tried several times without success
after booting up the phone, i see a blank sd card.. i.e. not mounted in my Desire..
wondering what i m doing wrong,, or is there another method to do it?
From the Clockwork Mod recovery, I cant partition the sd card too.. and have also tried without any success via the ROM Manager...
Warning! Noob question ahead:
Why wouldn't you just take the new SD card, insert it into the phone without partitioning it, and let the Desire handle the whole thing?
I'm completely new to all this (rooting, custom ROMs, A2SD etc.) but have managed to successfully root my HTC Desire (using unrevoked), install OpenDesire 2.3, and partition the SD card using ROM Manager. I rebooted and my installed apps are showing as being on the SD card in Settings > Applications > Manage Applications but with different names (e.g. instead of 'Titanium Backup' it's now 'com.keramidas.TitaniumBackup') and the icon is a default black Android/SD card rather than the app icon. When I go into the launcher my installed apps aren't there and they're not listed when I try to add a shortcut to the homescreen.
Have I done something wrong? Or is there an additional step I don't know about?
Ah, it looks like I did something in the wrong order - I'd already downloaded and installed Titanium, then moved it to the SD card under Froyo A2SD, then partitioned the SD card...
I reinstalled Titanium and everything's fine.
I am still interested in that:
mysteryfr said:
Why wouldn't you just take the new SD card, insert it into the phone without partitioning it, and let the Desire handle the whole thing?
Click to expand...
Click to collapse
Hi Guys,
I need some serious help. I have rooted the desire, flashed to leedroid 1.4c rom, but have been left with no SD Card and now I am trying to mount the sd card in the desire as it no longer recognises it...
i can have rom manager loaded but it can't see the sd card..
i dont have A2SD or partitions on the sd card, i can put the card in the laptop and write to it..problem is i am on a windows lappy so no linux..i know i can make a live cd but i'm not up to that..i dont think..
is there a guide i can have to get the sd card mounted on the desire running windows...i have got android sdk on the pc but i have nfi how to use that either...
all help appreciated...
XClemX Try this: (hopefully you've backed up your SD card to your PC!)
go to Settings, Sd & Phone storage,
click on format SC card.
That should get your card recognised.
Thanks Depaor,
The SD card isn't seen in that either...i'm attempting to make a gold card now to see if i can get it to work that way...fingers crossed...
is your card visible from card reader on pc, or from other phone?
If it is, just format it in FAT32 on your pc, and it will be fine... also, always check if phone is in "charge only" mode before disconnecting usb...
Will a non-rooted Android phone read a card formatted as ext3 or ext4? Just curious.

How to Partition your Sd Card??

How to partition your SD Card for us Newbies.
how can i do that? Ext2 , Ext3
i have a 8 gb sd card class 6. someone guide me please with a link
Thnx
acronis disk manager can do that but the card wouldnt boot in my phone, so i used the phones internal boot up manager to do it, unlocker.com has a video guide. i only been doing this my self passed 3 days and its been really confusing so good luck
Page 2 of the Q&A Forum
oMaRcO said:
How to partition your SD Card for us Newbies.
Thnx
Click to expand...
Click to collapse
Introductory Remarks:
- Ext Partition is only needed if your rom uses App2SD+ (Froyo app2sd works with basic Fat32 partition)
- "Install apps to sd" (ext) must sometimes be configured in your ROM, check the thread for your rom for infos...
- Backup your SD card before you start ! The following steps will wipe the contents !
- Ext partitions are only visible in Linux = Windows can't see it.
- Swap Partitions are no longer useful.
- You can check if you have a working ext partition with Quick system info (in app market)
- On first reboot after partition, android will move some apps to the SD, this will take a lot of time. Some people have reported a bootloop on green HTC Screen, one reported a need to Battery pull 4 times before it finally worked), so be patient!!!!
- If the device is plugged into a PC when you try to boot with the partitioned SDCard it never gets past the white HTC sceen & logo.
Now the tutorials:
A. Easiest way is to install Rom Manager:
1) install rom manager
2) choose partition sd card
- 512mb ext
- 0 swap
3) let RM do the rest... ;-)
- I believe Rom Manager (as of end of July) creates an ext2 partition, therefore if you want ext3 or 4, easiest is to go through Gparted, or if you have amonRa Recovery, I believe this function is present.
B. Another one is using Gparted:
(copied this from http://wiki.cyanogenmod.com/index.php?title=Apps2SD)
You can use a livecd of GParted, or use it from within Ubuntu (vid: http://www.youtube.com/watch?v=sVK-t...eature=related)
+ You can do this using your phone to mount the SD card or a Card adapter directly connected to your computer.
1) Connect your phone to your computer (or use an SD Card adapter...., in this case skip to 4))
2) Pull down the notification bar and mount the phone
3) Start Gparted
4) Gparted will search available drives. (Your phone should show up as a USB drive, and will be something like /dev/sdb1 or /dev/sdc1, etc..)
Warning: double-check you've not selected a hdd by mistake!
5) In the upper right corner, select the correct USB device for your phone. (i.e. check to make sure it is correct size for your SD card)
6) Right click on each partition and select 'unmount'
7) Right click on each partition and select 'delete'
If you know what you are doing, you can re-size the partitions and add a new 2nd partition formatted as ext2/3/4
8) Right click on the big gray bar (should say unallocated x.xx gb) and click 'new'
9) Enter configurations
Free Space preceding = 0
Create as = Primary
New size = [don't touch]
File system = fat32
Free Space Following = 512 (or whatever you want)
10) Click add
11) Right click on the big gray bar (should say unallocated x.xx gb) and click 'new'
12) Enter configurations
Free Space preceding = 0
Create as = Primary
New size = [don't touch]
File system = ext3 or 4 (recommend ext4)
Free Space Following = 0
Click add
13) [CHECK AGAIN you are working on your SD card and not your Hard Drive!!!!] Click edit, then 'Apply All Operations' to write changes to disk
14) Quit GParted
15) Unmount your SD Card
16) Reboot your phone and wait (see introductory remarks)
C. Recovery Images
Some Recovery Images also have a option to format your SD card from the recovery screen. (see http://forum.xda-developers.com/showthread.php?t=721792).
I have not tried that.
As long as you have an ext2/3/4 partition and the ROM you're flashing has A2SD support (check before you download the ROM), you are not required to do anything more.
D. How to check if it worked?
To check whether A2SD is working once you've flashed your ROM,
1)Download Quick System Info from the Market, and check under A2SD Storage, it should give you enough informations.
2)download the Android Terminal Emulator app from the market and use the following commands
Code:
su
ls -l /data
You should see your app directory pointing to /system/sd/app and app-private pointing to /system/sd/app-private (courtesy of ikkokusenkin)
E. Further Infos
See: http://geeks.pirillo.com/profiles/blogs/how-to-partition-an-sd-card or :
http://androidcommunity.com/forums/f...rtition-14232/ or:
http://theunlockr.com/2009/10/15/ho...-android-when-using-swap-hero-and-or-apps2sd/ (With Rav Recovery...) or:
http://forum.xda-developers.com/showthread.php?t=534714 (most complicated way.... )
related thread: http://forum.xda-developers.com/showthread.php?t=731432&page=2
F. Open Questions:
What I don't know:
- If the size of the ext partition matters (if you have to choose 256/512 or 1024, and can't have 600mb for example?
- What ROMs require ext partitions? (all with app2sd+, basic froyo app2sd doesn't require ext partition).
- If Class 6 SD cards really are that important (some webpages say that class 2 cards are not able to handle ext2 partitions and end up bricked.
- How to manage the contents in the ext partition when changing SD Cards... (do you need any management of your ext partition?) or you have to reinstall those apps????) See here.
- How to check if you bricked your sd card...
- etc...
Good Luck
Use Rom Manager
Completely painless, took less that 2 mins to do mine
PS - It may appear to stuck at the HTC white screen after completion, I just left it and
it booted up normally after about 3 mins
50 apps installed and 132MB spare!!
The first time round the Rom manager worked for me. But I again formatted the card thinking i had not followed the right partitioning so i tried again but i get stuck on a black screen with SU request written forever which needs to be force closed.
Please advise. thanks
I recently bought a 32gb sandisk and want to get that working heres what I have done with no luck:
I inserted the new memory card and it picked up fine on the phone then I went to rom manager to partition the card, 512mb and 0 swap it reboots but only stays in clockwork mod, from here I dont know what to do.
If I connect the phone to the computer with the card mounted it displays the card as raw not fat32 but music files drag and drop and easily play.
I could format it from the computer to fat32 but I'll wait and see what you guys say.
Chan_B said:
I recently bought a 32gb sandisk and want to get that working heres what I have done with no luck:
I inserted the new memory card and it picked up fine on the phone then I went to rom manager to partition the card, 512mb and 0 swap it reboots but only stays in clockwork mod, from here I dont know what to do.
If I connect the phone to the computer with the card mounted it displays the card as raw not fat32 but music files drag and drop and easily play.
I could format it from the computer to fat32 but I'll wait and see what you guys say.
Click to expand...
Click to collapse
Try to format the card back to fat32 using:
http://panasonic.jp/support/global/cs/sd/download/index.html
Then check out the Windows way of using parted to partition
http://androidandme.com/2009/08/news/how-to-manually-partition-your-sd-card-for-android-apps2sd/
After partitioning I use clockworkmod to upgrade ext2 to 3.
And you can't always set a linux swap of 0 so calculate 1MB for that part.
I got it to fat32 but then the windows way of using parted to partition seems difficult. How can I tell if I have partitioned my card successfully? How can I partition using clockworkmod only, when I go to partitions menu it only says mount or format, this is frustrating...
Chan_B said:
I got it to fat32 but then the windows way of using parted to partition seems difficult. How can I tell if I have partitioned my card successfully? How can I partition using clockworkmod only, when I go to partitions menu it only says mount or format, this is frustrating...
Click to expand...
Click to collapse
gparted has a live cd to partition your sd card
http://gparted.sourceforge.net/download.php
Hi, i see you all set swap as 0 does that mean its using phone internal storage as swap how fast is read/write of phone ram ? i have class2 32gb card i used the phone boot with the r5 windows.bat to get into it and i set 256 swap/512 ext2/ rest 32bit all seems to work fine.
i note that writing to the sd card is about 2MBps and read is 10MBps.
i have a class4 8gb that writes at 10MBps reads about 17MBps i have had both in the phone and i cant say that i notice lag on the 32GB but i havent had it more than a few days and coming from xda orbit its a big difference.
if i use the card as storage the phone becomes very lag but maybe thats cause in that mode it would have no swap file? might change that when i finally flash to froyo.
gparted kept saying it was unformatted when windows said it was formatted so i gave up with it.
gianton said:
gparted has a live cd to partition your sd card
Click to expand...
Click to collapse
Thanks, but I think I sorted it. Fingers crossed.
Just rooted my htc desire and used rom manager to partition my sd card (the one I got when I bought the phone). Everything fine.
then I bought a new Transcend micro sdhc 8GB... this memory card is not recognize by windows if using card reader. So..:
- I inserted into blackberry and connected using usb cable. My windows (Windows xp) can see and access it.
- formatted the new memory card to Fat32
- copy Open Desire and and Official Sense Froyo ROMs, both by Adam
- flashed to Sense Froyo ROM, and when it rebooted, it freezed.. cant get into the system
- flashed to OpenDesire, it worked.
- Download ROM Manager
- choose "Partition SD Card"
- Swap 0, Ext 512mb
- ERROR...
what should I do?
Did you download Clockworkmod recovery through ROM Manager before that?
If you create a partition using rom manager do you lose all your apps and settings that you already have in use.
thanks
jankos said:
Did you download Clockworkmod recovery through ROM Manager before that?
Click to expand...
Click to collapse
yes.. cos when i clicked partition sd card, it asked me to download clockworkmod first.
it goes to recovery screen but with "unsucsessfull" message. cant find sdcard/cache/update.zip ...
the funny thing is, if I copied update.zip from my old memory card into new one. and run update.zip from recovery screen... then it worked.
but when I checked with quick system info, app2sd only shows around 400mb. is that rite?
aoisora said:
yes.. cos when i clicked partition sd card, it asked me to download clockworkmod first.
it goes to recovery screen but with "unsucsessfull" message. cant find sdcard/cache/update.zip ...
the funny thing is, if I copied update.zip from my old memory card into new one. and run update.zip from recovery screen... then it worked.
but when I checked with quick system info, app2sd only shows around 400mb. is that rite?
Click to expand...
Click to collapse
Its showing around 400mb for me aswell, but how exactly can I tell if it is working. If I go to manage applications and click on sd card I have a couple that I moved over i.e rom manager but some apps are unmovable to sd card. Are these apps unmovable by design. I hope I haven't done it wrong.
BTW neophyte is the best rom I've used yet.
I made partition with Rom Manager.
Do I need now to "swap" ext2 to ext3?
If so, how do I do it?!
mattan said:
I made partition with Rom Manager.
Do I need now to "swap" ext2 to ext3?
If so, how do I do it?!
Click to expand...
Click to collapse
I think rom manager does that as ext3.
mattan said:
I made partition with Rom Manager.
Do I need now to "swap" ext2 to ext3?
If so, how do I do it?!
Click to expand...
Click to collapse
ROM Manager makes directly ext3 format. Do not worry about that
jankos said:
ROM Manager makes directly ext3 format. Do not worry about that
Click to expand...
Click to collapse
No it doesn't it makes a ext2 partition, you have to format to ext3... I have used gparted live cd to do this.
Sent from my HTC Desire using XDA App

Formatting of the memory card.

Hi sorry if this has been answered but couldnt find it.
i recently purchased a a bigger size micro sd card for my htc desire. The phone will not turn on with the card in, nor can i format it in the recovery memory. Can someone tell me what i need to format it as on computer. GPT MBR, FAT 32. etc etc. Thank you
I used Gparted in Linux to set up the standard layout:
- 32MB SWAP
- 512MB EXT2
- Rest FAT32
You can download a livecd of Gparted, or use "Partition SD Card" within ROM Manager.
You can download GParted for Windows aswell. Google it.
Or you can flash amon ra recovery and use that to partition within the recovery.
Also rom manager allows you to partition the card as well. I personally use 0mb for swap and 768mb for ext3. Do note rom manager only allows you to use an ext partition no bigger then 512mb. I assume it only formats it in ext2. My opinion is amon ra recovery is the way to go. Use version r5 as the latest is quite buggy according to other users. Or you can use gparted as mentioned earlier.
Misunderstood your post, use gparted. I didnt read that you cant turn on the phone with the card in it.
swap is not needed
Have you got / can you borrow a card reader for your PC, you can partition it from there
(Whys this under android dev?)
Sent from my HTC Desire using XDA App
schiznik said:
Have you got / can you borrow a card reader for your PC, you can partition it from there
(Whys this under android dev?)
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Report the thread.
It's already been done.
Can't hurt, though.
I'm also having a little problem with the partitions...
I have a 32gb card, but when i remove it from the card reader after making the partitions (or after disconnecting the phone from the computer) the only partition remaining is the FAT32...ext and swap become unloccated space :s
how can i fix this?
feelmyanger said:
I'm also having a little problem with the partitions...
I have a 32gb card, but when i remove it from the card reader after making the partitions (or after disconnecting the phone from the computer) the only partition remaining is the FAT32...ext and swap become unloccated space :s
how can i fix this?
Click to expand...
Click to collapse
You do realize that you can't use the SWAP and EXT partitions as drive-space, right?
feelmyanger said:
I'm also having a little problem with the partitions...
I have a 32gb card, but when i remove it from the card reader after making the partitions (or after disconnecting the phone from the computer) the only partition remaining is the FAT32...ext and swap become unloccated space :s
how can i fix this?
Click to expand...
Click to collapse
they are not accessable within windows
i know, i used gparted. but when i remove the sd card/disconnect the phone from usb mode the partitions are gone :|
zHk3R said:
You do realize that you can't use the SWAP and EXT partitions as drive-space, right?
Click to expand...
Click to collapse
yes, but i'm not talking about the space...the entire partition itself dissapears. for example, if i'm going to flash a rom that need an ext partition it won't flash...the ext partition is gone
one question,
should the ext partition be in the front or at the back of the FAT32 partition?
or it doesn't matter?

SD Card cloning issues

I have been trying to clone my 4gb class 4 sd card to the new 8gb class 6, but failed.
I am using Cyanogenmod 7 nightly and app2sd with data moved to sd. My computer OS is linux and I have android tools installed.
1. I partitioned new card with newest clockworkmod, which unfortunately results in ext2, not ext4 so I reformated ext2 to 4 using some partitioning software.
2. Copied content of fat32 partition from the old card, including recent nandroid backup.
3. Booted to recovery and tried restoring sd-ext several times, but I either get 'MD5 sum mismatch', or it starts fine but at some point it stops with error.
I then tried again but this time without reformatting ext2 to ext4 but the result was the same.
I also tried just copying sd-ext directly with 'sudo' but the phone acts just like the new installation then and even 'Fix Permissions' doesn't help.
Help!
I just recently did this myself two different ways, the first was to use acronis disk manager to clone the sd from a 8gb to 16gb. This worked fine but took an extremely long time.
I then upgraded from 4gib to 8 and created the partitions manually and copied over the data from one mount to another. Works fine here.
Did you try restarting your phone and double checking the partitions / types?
Plug both sdcards in the PC then use gparted to copy the two partitions across then grow the fat partition to fill the space if needed.
Sent from my HTC Desire using XDA App
mercianary said:
Plug both sdcards in the PC then use gparted to copy the two partitions across then grow the fat partition to fill the space if needed.
Click to expand...
Click to collapse
I have only one card reader in my laptop and connecting the card inside the phone makes the ext partition invisible for gparted. This makes copying partitions between two cards impossible.
impactor said:
I have only one card reader in my laptop and connecting the card inside the phone makes the ext partition invisible for gparted. This makes copying partitions between two cards impossible.
Click to expand...
Click to collapse
Put the phone in recovery, then mount USB, it works for me using amonra recovery.
Sent from my HTC Desire using XDA App
mercianary said:
Put the phone in recovery, then mount USB, it works for me using amonra recovery.
Click to expand...
Click to collapse
I am using newest ClockWork recovery and all I can see in gparted is the FAT partition. Not even empty space where EXT should be.
and thats definitely mounting USB mass storage not mount SD card?
Theres definitely FS issues on the new card if you're getting MD5 sum errors.
Firstly dont use anything other than gparted to partition (see signature).
Flatten the new card completely. Format any partitions that may be there out and start again, from scratch.
rootSU said:
and thats definitely mounting USB mass storage not mount SD card?
Click to expand...
Click to collapse
This is the only option in recovery menu. I think if I used something else, I wouldn't even see FAT partition. The ext is ext4, btw.
And we are talking the original card here, not the new one. The new one is in the reader.
impactor said:
This is the only option in recovery menu. I think if I used something else, I wouldn't even see FAT partition. The ext is ext4, btw.
And we are talking the original card here, not the new one. The new one is in the reader.
Click to expand...
Click to collapse
Which is the only option? What recovery?
If I boot into recovery and go to 'mount and storage', 'Mount USB storage' is the only option that actually makes the phone visible to the computer. There are pleny of mount/unmount (eg: mount /data) options above this one, but they're supposed to work internally.
Is it Amon-Ra / RMD? Does the size of the FAT partition tally with the total size of the card? did you say had a card reader? just use that if you have
ClockworkMod Recovery 5.0.2.0
If I switch cards, then the one in the phone will still be invisible and I need both at the same time to copy partitions.
Forget copying partitions. Your instinct with nandroid restore was right, however you need to get the fs on the new card sorted
Also I have noticed on ubuntu that the data copy remaining is inaccurate. I leave it for several minutes after it appears to have completed to ensure data is written before ummount
Sent from my HTC Desire using XDA App
rootSU said:
Forget copying partitions. Your instinct with nandroid restore was right, however you need to get the fs on the new card sorted
Click to expand...
Click to collapse
Except this doesn't get me anywhere. I tried with ext2, ext4, created in recovery or by gparted and every time got stuck on the same stage.
Then theres a serious issue that needs fixing. Best not to work around. The nandroid is the best option.
Have you a Windows machine? H2testw.exe is a great sd testing app
Sent from my HTC Desire using XDA App
Created partitions are not visible in Gparted if the card is in the phone, contrary to empty space. It took me many attempts in different configurations but I got it done, eventually, using gparted partition copying for EXT and regular copy for the FAT partition content

Link2SD & Partitioning Help

Hey everyone. I'm going nuts trying to figure out how to use Link2SD. I partitioned my 32G SD card using Mini Partition Tool. I made a 1 gig partition. I've tried FAT32 and EXT2. After partitioning, i rebooted and tried Link2SD. I keep getting the error "Mount script cannot be created. [1] Segmentation fault mount ..."
Is there any solution for the xperia play? I manually moved my apps but still ran out of space keeping system tools like Titanium Backup on the internal. Maybe I should make them System Apps?
I use the following on mine setup:
64gb Card (Fat32 - Primary)
5GB for EXT4 partition (Make sure when you partition it to set it as primary.)
300mb Swap Partition
I had an issue with Link2SD too ad it was because I was not setting the EXT partition as primary, oncei formatted it again as primary Link2SD had not issue with it. Try that.
ozzmanj1 said:
I use the following on mine setup:
64gb Card (Fat32 - Primary)
5GB for EXT4 partition (Make sure when you partition it to set it as primary.)
300mb Swap Partition
I had an issue with Link2SD too ad it was because I was not setting the EXT partition as primary, oncei formatted it again as primary Link2SD had not issue with it. Try that.
Click to expand...
Click to collapse
Hey thanks for the reply. Just tried what you said. My FAT32, ext4, and Swap are all Primary and sill no go. I get the same error (segmentation fault mount -t ext4...). When Link2SD opens I've tried selecting all the options for the parition type too and none of them work.
Anything else I can try? Does the order of the partitions make any difference? Right now I am Primary, ext4, Swap.
echardcore said:
Hey thanks for the reply. Just tried what you said. My FAT32, ext4, and Swap are all Primary and sill no go. I get the same error. When Link2SD opens I've tried selecting all the options for the parition type too and none of them work.
Anything else I can try? Does the order of the partitions make any difference? Right now I am Primary, ext4, Swap.
Click to expand...
Click to collapse
Ah.... okay, I should have clarified this, only the fat32 and EXT partition are set to Primary. Swap Partition is set to logical, setting all three to primary causes issues.
Reformat only the swap and format to logical. Then in Link2SD force it to reinstall the scripting and see if that fixes it.
ozzmanj1 said:
Ah.... okay, I should have clarified this, only the fat32 and EXT partition are set to Primary. Swap Partition is set to logical, setting all three to primary causes issues.
Reformat only the swap and format to logical. Then in Link2SD force it to reinstall the scripting and see if that fixes it.
Click to expand...
Click to collapse
Okay then. New problem. Now Link2SD says "No SD card present" and android doesn't mount it either.
This is killing me slowly.
I'll try to reformat the whole card via a reader...
Didnt work. SD card still not recognized.
echardcore said:
Okay then. New problem. Now Link2SD says "No SD card present" and android doesn't mount it either.
This is killing me slowly.
I'll try to reformat the whole card via a reader...
Didnt work. SD card still not recognized.
Click to expand...
Click to collapse
OK. If your willing, lets start fresh. I am guessing you have your SDcard files backed up. Using Minitool partition delete all partitions and format as FAT32. Then create another partition of your size and format it as EXT (I prefer 4, EXT4) and set it to EXT(2,3,4,etc) and Primary. Then just for kicks, do not make a swap partition. I read that its not necessary, however I always do it..... well necessary only if you use a swap manager. So after the fat32 and ext partitions are made and minitool has created them. Take out the card, put it back into your pc and see if windows sees the fat32 partition. If good place it back into your phone and see if it upon bootup sees your sdcard.
Just in case as a reference here is the tutorial from the developer of Link2SD on how to set it up.
http://www.link2sd.info/description
ozzmanj1 said:
OK. If your willing, lets start fresh. I am guessing you have your SDcard files backed up. Using Minitool partition delete all partitions and format as FAT32. Then create another partition of your size and format it as EXT (I prefer 4, EXT4) and set it to EXT(2,3,4,etc) and Primary. Then just for kicks, do not make a swap partition. I read that its not necessary, however I always do it..... well necessary only if you use a swap manager. So after the fat32 and ext partitions are made and minitool has created them. Take out the card, put it back into your pc and see if windows sees the fat32 partition. If good place it back into your phone and see if it upon bootup sees your sdcard.
Just in case as a reference here is the tutorial from the developer of Link2SD on how to set it up.
http://www.link2sd.info/description
Click to expand...
Click to collapse
PC sees the FAT32. Phone sees the card now. Link2SD shows the partition but cant mount it and create the script for it. Also tried as ext2. Thanks for your help. I am going to try to update the ROM.
After updating the ROM to 2.4.0 and waiting 10 mins and rebooting as usual. was able to successfully link the partition! Thanks for your help!
No problem. Glad you got it working.
Sent from my R800at using xda premium
Got all my apps installed! Woot! Also, something must have been messed up with my previous flash.. I wasn't able to restore apps the newer way from titanium backup. I had to do it the old way one by one.
phone is going to make a great gaming alternative to my SGSII.

Categories

Resources