[Q] SD card broken after partitioning ? - Defy Q&A, Help & Troubleshooting

Hello xda !
I really don't understand a word about partitioning, but without the App2sd integrated in ICS and CM9, i really got a lack of space for my data.
So I tried to partition my 16GB sandisk cl4 sdcard with rom manager (i don't even know if the rom does support it...) in a 512MB partition size and 64MB swap size.
But now, my sdcard isn't recognized by my phone, and unable to be mounted. In CWM recovery, I can press "mount sdcard" which means it is not mounted yet, and i get an ERROR. :crying:
So i've got two questions:
- Is there a way to repear my sdcard (maybe by re-partitioning it in FAT32) and make it recognizable by my computer ?
- Is it possible to expand internal storage in our defy with CM9 to do Apps2sd ?
So if someone could help me, it would be...GREAT ! :good:
Baxt, an xda-lover.
PS: the data in the card had been saved on my computer so no problem about recovering it :victory:

baxtandroid said:
Hello xda !
I really don't understand a word about partitioning, but without the App2sd integrated in ICS and CM9, i really got a lack of space for my data.
So I tried to partition my 16GB sandisk cl4 sdcard with rom manager (i don't even know if the rom does support it...) in a 512MB partition size and 64MB swap size.
But now, my sdcard isn't recognized by my phone, and unable to be mounted. In CWM recovery, I can press "mount sdcard" which means it is not mounted yet, and i get an ERROR. :crying:
So i've got two questions:
- Is there a way to repear my sdcard (maybe by re-partitioning it in FAT32) and make it recognizable by my computer ?
- Is it possible to expand internal storage in our defy with CM9 to do Apps2sd ?
So if someone could help me, it would be...GREAT ! :good:
Baxt, an xda-lover.
PS: the data in the card had been saved on my computer so no problem about recovering it :victory:
Click to expand...
Click to collapse
use Linux and wipe it to zero...
or u can use other windows tools such as mini tool partition wizard
Sent from my MB526 using xda premium

Thanks i'm on windows so i'll try with mini tool partition wizard =)
EDIT: I chose FAT32 for the whole card, but should i choose logicial or primary ? What does that mean ?

Only use fat32 for primary....for secondary...use ext2 it will b fast.....but note then that partition will not b recognized in windows.....
Oh Nd...primary is d part where u will have ur songs n all...leave it to abt 13 gb.....d Rest format to ext2 and den use link2sd on ur phone....
N I wouldn't recommend swap on a cl4 card....it will significantly reduce ur card life....
Sent from my MB525 using xda app-developers app

Ok so I've Made two partition with mini tool partition wizard:
1 - FAT32 of 13.5 GB as "primary"
2 - EXT2 of 1.4 GB as "primary" too
Il choose "apply", each time it's a success but the EXT2 partition disapears and the FAT32 one takes the whole card (14.91GB) instead of the 13.5 I asked for.
Then, on the phone the sdcard is recognized as "damaged" so the phone ask me to format it, then I press ok, but I still have 14.91GB assigned to the UMS (Mass Storage) and no any 2nde partition (according to the Link2SD app).
What am I doing wrong ?
But really big thanks to you, my sdcard is working, that's the important !
(sorry for my bad english)

Choose logical!!!
Sent from my MB526 using xda premium

For the EXT2 ? Already done, same result...

Sorry I don't have a PC to see d steps...but as far as I can remember...if u r using minitool ...den u need to click apply in the top left corner for every action.....
So...just format ur card again....den do delete all partitions...den partition ur card again....primary as fat32 and secondary(don't remember seeing logical...maybe so in newer version) as ext2.....remember to click apply after every step....oh btw one more thing....windows will not detect ur second ext2(which is a Linux fs) partition ever .....therefore mini tool will show dat part as unspecified or something.....just put it on ur mobile and run link2sd .....n select ur SD ext partition type(ext2) in d menu dat pops up......
Sent from my MB525 using xda app-developers app

Want more help....check this guide.....dis is a post from my previous phone's blog.....I know der r many on xda too...but this is what I used and it worked no problem.....thanx to him(karan gandhi....one of d best devs I have known!!!!!!!)
http://galaxy551.wordpress.com/2011/06/29/sd-card-partitions-and-stuff-2/
Sent from my MB525 using xda app-developers app

Thanks, i know what I was doing wrong, I have used a usb cable through my phone instead of an sdcard adapter.
But now i don't know what I did, but my sdcard isn't recognized anywhere, even in mini tool... That's kinda anoying...

Just use an adapter to connect it to pc and reformat the SD card. Delete all the partitions and keep it to one only (primary).

I can't ! It doesn't apear in my computer (by adapter or USB) I can't see or do anything on it, from phone or computer...

Questions go in the Q&A section

Sorry I didn't really see it as a question.
But anyone could help me recovering my micro-SD ?

Best partioning tool is gparted. There are a lot of boot able CD images containing it. Or use a live CD (or on USB) of Ubuntu.
Try an adapter (maybe loan one from someone). See any link2sd guide for how.
Verstuurd van mijn MB525 met Tapatalk

You're sure my card will be recognized in Linux ?
Sent from France to the best forum ever using my awesome CM9 Motorola Defy

Also had this once.
Luckily one of my camera's was able to detect it and worked again when formatting it on my camera.
Here are also some tips:
... not allowed to add links yet
Just google 'sd card isn't recognized' and are some tips on a makeuseof website.

ok, you need to use minitool partition wizard to partition your sdcard perfectly and when you convert the partition files system, please dont forget to convert it to primary partition, also minitool can do that!

Related

[Q] My SD Card cant make an A2SD Patition

Hey guys - i just bought an awsome SDCard, a 32GB class 10. just put it in ma HD2 trying to partition it in recovery mode - but after partitioning, the phone (through titanium backup) the phone only sees the fat32 partition and not the sd-ext partition. now i'v tried using PC Software to partition and the tutorials all over but that doesnt help either.
what am i missing? i need help
Hi,
Did you partition in CWM with 1024M and 0 swap ?
simple idea/rule of thumb; class 10 cards are **** and you don't notice an increase in file transfer due to the limitations of the phone itself
Install ubuntu on your windows pc using the wubi installer (google is your friend here), it's very simple to do. Once you have ubuntu linux installed, go into the software center and search for 'partition manager' or 'partition editor'. Then install it. It should be listed in system tools as GParted. Plug in your sd card thru a card reader or a digital camera or another phone, and unmount it in gparted. Then create a new ext4 (probably 1 gb/1024mb) all the way to the right side of the space shown for the card in GParted. Then when finished click apply changes near the bottom of the GParted window. Done
Your phone won't show you that it sees the ext partition, that's all done behind the scenes. The only way to know is to install apps, and watch the system memory in settings/storage. If your memory goes down significantly as you install apps, something has gone wrong. If it only goes down a little (maybe 1-2 mb) after installing a bunch of apps, then all is well and working properly.
Sent from my HTC HD2 using XDA App
@ Malybru - no, my partition is 2048MB Ext - 256MB swap.
@huggs - that is strange because before i had an 8GB class 4 memory card - i had created a 1024MB partition and when i ran titanium backup - you could see the sd-ext partition below SDCard and Internal Storage
additionally, with the new cardz during every data wipe it skips the SD-ext saying that it cant find it - which never happened with the old card so thats why i believe that there isnt one
Weird. I've used quite a few different roms and have never seen the ext partition in storage settings. Wish I could tho.
Sent from my HTC HD2 using XDA App
huggs said:
Weird. I've used quite a few different roms and have never seen the ext partition in storage settings. Wish I could tho.
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
its not that you could see it in storage settings.. but you could see it in titanium backup and you can mount it in recovery mode
Oh, I didn't know that about Titanium, thanks. I'm gonna have to take a look, for curiosity sake if nothing else
Sent from my HTC HD2 using XDA App
i'm facing a big problem - apparently if i install an application and reboot -the app is gone.. i've partitioned this darn card so many times and the partition still isnt recognized
Vylle said:
i'm facing a big problem - apparently if i install an application and reboot -the app is gone.. i've partitioned this darn card so many times and the partition still isnt recognized
Click to expand...
Click to collapse
ok, i've realised that im not the only person who his having problems with A2SD on anything larger than 16GB.. i want to know if there is anyone who has successfully partitioned a 32GB Card with an ext3 partition.. I spent alot of money on this card and its really messed up that i cant use it!!
need help still

[Q] HELP with Swap Partition

hi guys i have been searching the forums for tutorial on how to properly partition your sd card and your phone to use a swap partition for swapper. i heard it allows speed up performance for the phone while using some apps. can anyone pls help me with this. i just want a better performing GT540. thanks in advance
I'd be interested in a tutorial for this as well.
Thanks
Most opperating systems have a built in manager for it, including windows. Look on YouTube, that's how I did mine.
Or use clockworkmod.
lukemovement1 said:
Most opperating systems have a built in manager for it, including windows. Look on YouTube, that's how I did mine.
Or use clockworkmod.
Click to expand...
Click to collapse
On windows you can create partitions but swap belongs to linux so unless you use a ubuntu live CD or a machine with ubuntu...
Veronica
lavero.burgos said:
On windows you can create partitions but swap belongs to linux so unless you use a ubuntu live CD or a machine with ubuntu...
Veronica
Click to expand...
Click to collapse
A ext2 partitions is the same on all operating system
Clockworkmod will also partition you sdcard
So i just create an ext2 partition on my sd? Then what's next?
Sent from my GT540 using XDA Premium App
Back ur memory card up first. Depending what size memory card you have depends on the size of the partition
The most you will need is 2gb, I would only us 500mb.(2gb sdcard)
You need to have a fat32 partition for your normal data and the ext2 for the swap file. Then just put it back in you phone.
BTW I lost my last memory card trying to unpartition it. So if you only want 1 extra paelrtition use clockworkmod.
NEXT STEP
lukemovement1 said:
back ur memory card up first. Depending what size memory card you have depends on the size of the partition
the most you will need is 2gb, i would only us 500mb.(2gb sdcard)
you need to have a fat32 partition for your normal data and the ext2 for the swap file. Then just put it back in you phone.
Btw i lost my last memory card trying to unpartition it. So if you only want 1 extra paelrtition use clockworkmod.
Click to expand...
Click to collapse
after this, how can i configure swapper 2??
Thanks in advance
I think you tick a box. Download swapper2 from the market place, one of them has more options than the other

[Q] How to Partition 8 GB microSD 4x for Rooted Stock Wildfire?

I have a rooted HTC Wildfire 2.2 with a new 8GB microSD Class 4. I'd like to correctly partition my SDCard so that I can install all applications on SDCard and not Phone Memory.
1- What I need is to help me setting up perfect sizes for SWAP & Ext3 (Perfect matches HTC Wildfire and 8 GB Card).
2- Can I install the stock 2.2.1 ROM over the SDCard?
3- Will all Apps got installed on SDCard after partitioning instead of Phone Memory leaving it empty?
Thank you
nice post i would like to know too!
Try rommanager, chose partition your sd,(instal old clockwork mod like 2.xx, becoz new ones make ext4, which is not compatable with some roms,)choose the greatest avilable size for ext and swap(it may be enough, if u r not app greedy, i had done so, so far i have 50+app installed), reboot-partition-done, the best trouble free way!
Sent from my HTC Wildfire using XDA App
showlyshah said:
Try rommanager, chose partition your sd,(instal old clockwork mod like 2.xx, becoz new ones make ext4, which is not compatable with some roms,)choose the greatest avilable size for ext and swap(it may be enough, if u r not app greedy, i had done so, so far i have 50+app installed), reboot-partition-done, the best trouble free way!
Sent from my HTC Wildfire using XDA App
Click to expand...
Click to collapse
Thanks for your reply but I don't want to end up my device because some people reported issues with partitioning part of internal phone memory due to some ROM Manager Partition Manager errors. I'll use a PC client to partition the card.
Rom manager works fine. I've done it a few times. The people having problems probably shouldn't have bought an android phone...... besides if something goes wrong odds are it won't just redo the partition again.
And make sure you backup your SD card before partitioning it.
Sent from my HTC Wildfire using xda premium
Use recovery (= rom manager) to partition first. If that gives any issues then use "gparted live cd" to partition sdcard. U need to download gparted_live_cd_ISOimage and burn it to a cd. Then using pc u need to boot from live cd to partition sdcard. Here be careful not to format ur pc hard drive.
The partitioning sizes I recommend are 512MB ext , 32MB swap and remaining fat. If that is not sufficient u can choose 1024 MB, 64MB.
If u r using gparted then first create extended partition as fat corresponding to its memory. Then create ext and swap. At last format all those partitions.
Sent from my Blade using XDA App
Dude, i have done it several times, so far got no issues, and it is the simplest way.
Sent from my HTC Wildfire using XDA App
omg wow
so i have conflicting information from this thread and this one http://forum.xda-developers.com/showthread.php?p=19927720#post19927720 on whether or not i am able to create an sdext partition on a factory rom, which i have come to the conclusion that you may be able to, but would you be able to put that partition to use and have apps installed and read from there. please be more specific, i have an LG Opt T running 2.3.3 btw
thanks for any input
I used gParted. It's free. You can find it by fecking googling download and burn to a CD. Then boot it on your PC. Linux will show up. Open gParted from desktop and size your ext and format.
I made 1 GB ext4 and 64 MB Swap. 1 GB is too much for ext since I can't use more than 100 MB. 512 is ok. I read somewhere that Swap isn't used anymore but 64 MB isn't a thing in 8000.
It doesn't matter if its ext3 or 4 since you can flash DT's A2SD to any ROM.
The apps you moved to SD before are not in ext partition. They will stay in FAT partition. To move them to ext, simply move them to phone (after DT's A2SD phone means ext part.
Sent from my HTC Wildfire while dividing infinity by zero
Hey man,
I had the same problem a while ago:
http://forum.xda-developers.com/showthread.php?t=1253270&page=2
In the second to last post I finally managed to get it to work. (Just to be clear, I used the darktremor script, but not the app, for the app is use S2E and to visualise my usage i use "freespace", but work like a charm ! )
Hope it helps

Fix broken internal storage on GT-I9000M (/dev/block/mmcblk0 corrupted)

I bypassed dead internal memory on a GT-I9000M.
Symptoms:
- Your GT-I9000M is not booting or bootlooping no matter what firmware you are flashing it with.
- In recovery, you are seeing I/O errors on /dev/block/mmcblk0p1
- Trying to repartition and format the internal storage with fdisk or parted and mkfs.whatever fails.
To recover:
- Partition and format your 16GB+ external microSD with at least two primary partitions, vfat on the first one and rfs (or whatever fs is supported by your firmware) on the second one.
- Acquire a stock ROM, in my case I used JL2
- untar the PDA portion of your ROM of choice (you want zImage and factoryfs.rfs)
- Extract initramfs from zImage ( https://github.com/mistadman/Extract-Kernel-Initramfs )
- grep for /dev/block/mmcblk, there should be 4 .rc files containing references to it as well as within the binary file /init.
- use a text editor to replace all occurances of "mmcblk0" with "mmcblk1" (and vice-versa if you feel so inclined) in the .rc files.
- use a hex editor to replace "mmcblk0" with "mmcblk1" in /init.
- create cpio archive of your modified initramfs with `find . | cpio -H newc -o > ../initramfs.img`
- repack kernel and initramfs ( http://forum.xda-developers.com/showthread.php?t=789712 ), you should have a new_zImage now.
- Mount the factoryfs.rfs as a loop `mount -o loop,rw -t vfat factoryfs.rfs /mnt/loop`
- Modify vold.fstab - this topic is well covered elsewhere (swap sdcard and sdcard1, swap mount points), then umount your loop
- Flash factoryfs.rfs and zImage using your favorite method.
That's it! Your phone will now boot and complain forevermore that the external memory is corrupt. ToDo: use third partition on external microSD as external_sd...
To recap:
We're telling android's init and whatever .rc scripts contain references to the broken partitions on the internal storage /dev/block/mmcblk0 to point to an appropriate partition on the external microSD card /dev/block/mmcblk1. You can actually do anything you want with the partition structure as long as it's consistent throughout init and in vold.fstab. Different ROMs do it differently.
I am not responsible for misuse of your hex editor, lack of backups, etc. I highly recommend the unbrickable mod.
Corrupt internal storage
Hi b0nafide,
My internal storage is also corrupted (i9000). I'm getting the same errors you descripe in your post. I'm trying your solution in wich you install android on your external SD. I bought a 8GB cat10 SD card....
But I'm stuck at the step: 'Extract initramfs from zImage ( [//github.com/mistadman/Extract-Kernel-Initramfs] )'. When I start the script nothing happens, except for my terminal closing. I'm using a virtualy installed Ubuntu distribution (Backtrack 5).
Do you have a tip? Perhaps you can help me through Teamviewer???
Hope do hear from you... I want to use my phone again
Greatings, Eldoro
My sgs is dead.
Please b0nafide, can you upload this modificated kernel (zImage and factoryfs.rfs) just for noobs like me?
Yes that woud be great. ..
Sent from my GT-I9300 using xda app-developers app
Here also an i9000 with reboot
Have done allot, stock rom, other pit files...
Is there a way to do this with a i9000 ?
and yes an image for us ?
and is the phone then normale... or is the internal storage still broken ?
Thanxs
Anyone can help us?
grimorct said:
Anyone can help us?
Click to expand...
Click to collapse
???
Anyone with working solution for this on i9000? I'll try to pack JW4 following this guide
grozni said:
Anyone with working solution for this on i9000? I'll try to pack JW4 following this guide
Click to expand...
Click to collapse
Yesterday, I made a flasheable pack of JW4, but it doesn't run. Now i'ḿ trying to modify JVU, but a strange thing happen when i'm repacking zImage...the script spends a lot of time in order to make it, and i can't be able to verify the correct pocess of new_zImage.
It's my first post in XDA, because normally I use HTCMANIA... I'm Spanish...and my English it isn't so good. Even, I should said that it isn't my phone...i'm repairing a friend's phone, so it's difficult for me to explain or speak about different ROMs or kernels....sorry
It's very important to advice that the scripts posted should be modified to get it run...because I found different problems to execute on Ubuntu.
Now it's 1:30 am...i'm trying "ext_JVU"....tomorrow i'll tell you the results.
Anyway i'll try to upload it, to reach different conclusions...
sesetxu said:
Anyway i'll try to upload it, to reach different conclusions...
Click to expand...
Click to collapse
Please do, I'll try flashing immediately and get back with results. How did you format external sd card?
I'm willing to try aswell... almost gave up hope.
Sent from my GT-I9300 using xda app-developers app
Hello friends!!!
I've the CODE (PDA file in ODIN) modified to execute android in ext-sdcard.
I do it as the first post said....but it doesn't run for me...
Anyway here is...Yo must get the MODEM and CSC os the stock firmware
XDA block the urls for me...for this reason its haven´t the WWW ...
Stock firmware..only to get MODEM and CSC: 4shared.com/zip/W1NeYAPA/I9000XXJVU_I9000OXAJVU_OXA.html?
Code modified to run in sdcard external: rapidshare.com/files/3786190721/ext_XXJVU.tar.md5
To solve my problems, i'll try to generate an CWMfile flasheable to try it...but now i'm hopeless....
Good luck men!!
sesetxu said:
Good luck men!!
Click to expand...
Click to collapse
Great work men!! It works for me. After flashing I got error in picture I posted (same error as before when writing to internal storage with stock rom). I just hit reboot but honestly I was not thinking it will boot. Thing I noticed when I start camera I get message turn off usb storage first. My files app shows no sd card inserted. How did you format your sd card? I'm using 8gb class 6 sd card
grozni said:
Great work men!! It works for me. After flashing I got error in picture I posted (same error as before when writing to internal storage with stock rom). I just hit reboot but honestly I was not thinking it will boot. Thing I noticed when I start camera I get message turn off usb storage first. My files app shows no sd card inserted. How did you format your sd card? I'm using 8gb class 6 sd card
Click to expand...
Click to collapse
I've modified all to use an sdcard with the folowing partitions:
1st primary fat32 which is internal sd card (4 gb)
2nd primary reiserfs which is /data (2 gb)
3rd primary fat 32 as external sd card
Try it...and I am happy to help you
sesetxu said:
I've modified all to use an sdcard with the folowing partitions:
1st primary fat32 which is internal sd card (4 gb)
2nd primary reiserfs which is /data (2 gb)
3rd primary fat 32 as external sd card
Try it...and I am happy to help you
Click to expand...
Click to collapse
I will try this layout. At first I prepared sdcard with 2 partitions which currently boot into Android but storage isn't working:
1st primary fat32 (6gb)
2nd primary ext4 (2gb)
You said raiserfs, should be that rfs type partition?
Update: I just noticed that both partition on my sdcard are fat32. First partition which should be internal storage I had to format again (not sure why). After this internal storage is still not available when in Android. I guess some mounting point is not good. Second fat32 partition is where the data is I guess (picture attached)
Exactly the same result as grozni. Same errors upon installing but booting into android. Amazing work! Also formatted 2 partitions. WiFi also not working btw. Hangs on obtaining ip...
Sent from my GT-I9300 using xda app-developers app
eldoro said:
Hangs on obtaining ip...
Click to expand...
Click to collapse
Same here
Is imposible to start Andoird without a rfs partition to mount /data (or ext4, for ROMs wich has fixed the troubles with ext4/rfs file systems...)
I can´t start the phone, because i get an added problem (my system can't format rfs data..but i don't know why)
I'm going to review the file /system/etc/vold.fstab who manages the mount points of the internal and external storages.
If anyone gets the correct configuration...please post it..
Tomorrow is Monday...and although I'm Spanish, I have a job (****ing crisis)...and i haven't so much time as weekend
Edit: wifi sockets are created over /data partition, if there is any problem in this partition is probably to get troubles obtaining IP
sesetxu said:
Is imposible to start Andoird without a rfs partition to mount /data (or ext4, for ROMs wich has fixed the troubles with ext4/rfs file systems...)
Click to expand...
Click to collapse
If I understand correctly samsung rfs and reiserfs are not the same thing? Why you use raiserfs on sdcard layout?
sesetxu said:
Edit: wifi sockets are created over /data partition, if there is any problem in this partition is probably to get troubles obtaining IP
Click to expand...
Click to collapse
That is the reason
Update: One more thing I forgot to mention. When I try to format USB storage (internal sd) I get message sd card removed

[Q] Android NooB question: Cannot get a SD card mounted...

Hi experts here,
Sorry to bother you but I could not find clear explications on how to do it right:
I have formatted my 16GB SD card to have 13GB Fat 32, 1,5 GB Ext2 and 0,5 GB linux swap.
Then I have copied the current AmeriCan Android to to the Fat32 partition and fired HaRet.
Android boots fine, but has got no SD card mounted and the menu to mout it is greyed out.
a) how to mount the Fat32 Partition of the SD card?
b) did Android install on the ext2 partition? If not, what is the procedure to get it there?
Thank you.
RIN67630
As far as I know, sd-build android's data/storage is in a file called data.img located on your sdcard. I am not sure if it's supposed to show that you actually have an sdcard.
a) I am not sure, so I can't say anything.
b) Find a rom you want (because you can't convert your current ROM to an ext one, you can make a backup though) from the nand section. If by (boot from ext) you mean NativeSD, you don't need MAGLDR/cLK. Just look for the "NativeSD for Windows Mobile Users" guide, and follow it. But if by that you mean (have your storage on the ext) then you must install cLK/MAGLDR, install a recovery, repartition your system accordingly and then flash the rom from the recovery install earlier.
If what I said made no sense to you or you think it's too complicated, use the search.
rin67630 said:
Hi experts here,
Sorry to bother you but I could not find clear explications on how to do it right:
...
Thank you.
RIN67630
Click to expand...
Click to collapse
May I try to reformulate my questions?
- Can Nandroid mount (read-write) the SD FAT32 Partition which contains the filesystem image from which it has booted?
- If yes, how?
- If no, would nativeSD be the solution to share (read-write) the FAT 32 data between Android and WinMo?
Thank you for the advice.
Hi, I think we are in the same boat, I am running an SD version Android ICS from my SD card and it says that no SD card is mounted. I would like to know how I can transfer music and side load apps I already downloaded. It would be great help if someone could help
Sent from my HTC HD2 using xda app-developers app
memphis517 said:
Hi, I think we are in the same boat, I am running an SD version Android ICS from my SD card and it says that no SD card is mounted. I would like to know how I can transfer music and side load apps I already downloaded. It would be great help if someone could help
Sent from my HTC HD2 using xda app-developers app
Click to expand...
Click to collapse
Finally, I found it out: My SD card was partitioned. I made an extra second EXT2 partition for Android, which was a bad idea.
It turns out that Android cannot recognize partitioned SD cards or they need a separate mounting procedure, don't know exactly...
Since I have deleted the extra partition Android can read/write on the full SD card...

Categories

Resources