Weird,
Android says my SD card is corrupt and only offers to format it.
Windows says the same.
CWM doesn't, as far as I can see, see it either, EXCEPT when I ask it to install a zip from it... it can see everything on the SD card and installs successfully from it!
Problem is, I need to copy stuff from the card before reformatting it.
Any ideas on how I might do that?
P.S. Yes, it is definitely the SD card and not the internal one
P.P.S. Windows doesn't see the phone when connecting under CWM...should do though shouldn't it. Perhaps that's my problem..?
Thanks.
Are you rooted? If yes, maybe running e2fsck on the command-line will sufficiently recover it to be mounted.
Alternatively you can use Recuva under Windows to find and rescue the files you need, or chkdsk to attempt a repair.
Is it a Fat32 or exFat (Fat64) filesystem and is there any reason such as removing it without ejecting, that could have caused this?
Sent from my GT-I9300 using xda premium
d4fseeker said:
Are you rooted? If yes, maybe running e2fsck on the command-line will sufficiently recover it to be mounted.
Alternatively you can use Recuva under Windows to find and rescue the files you need, or chkdsk to attempt a repair.
Is it a Fat32 or exFat (Fat64) filesystem and is there any reason such as removing it without ejecting, that could have caused this?
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Thanks for the prompt reply.
It is rooted, although I tried to install this e2fsck through CWM and it gave me generic errors. Not being a Linux man I wouldn't feel that comfy with stuff like that anyway though.
The card is exFAT so I think Chkdsk (Win7) won't fix anything IFAIK. Oh, Windows says the card isn't formatted though, so won't do anything.
Recuva is unable to determine the file system.
:-(
I installed CM9 from the card, which then couldn't read it (I didn't know CM9 didn't support exFAT), so I restored my previous backup from the Sammy rom so it would be back to normal. But when it booted up the first time post-restore, it said the card was corrupted.
The kernel is what defines whether a filesystem can be or can't be mounted since it includes the filesystem logic. So replacing the kernel always helps if a ROM cannot mount the filesystem.
(Except for special userland filesystem based on Fuse)
It sounds like the partition table got badly corrupted, either by software or hardware.
I'm sure it didn't give you the output "generic errors". We're here to help guide you through the process if you have not enough knowledge but you'll at least have to try. However I don't know how I managed to type e2fsck, since that one is for Ext2 filesystems which has nothing in common with Fat64. You'll have to use a computer to repair it...
After having plugged in the card, could you please go to the Start menu and type 'diskmgmt.msc', then hit ENTER.
Check if the removable disk is initialized and contains a partition (aswell as what the type of the partition is)
It probably shows an unitialized disk, a disk with a RAW partition or a disk without any partitions.
If that is the case, try http://www.cgsecurity.org/wiki/TestDisk
You'll find a reference to a lot of other (free and paid) tools on this page: http://www.hiren.info/pages/bootcd in the Section "Recovery Tools"
Depending of what your data is worth to you, you'll want to get a bitwise backup of the content first so if you screw up during recovery nothing is really lost.
I wasn't being lazy, just keeping in mind how important the data is and how much effort it's worth expending.
The answer was 'not that important' and I ended up formatting it using the very brilliant fat32format.exe (after trying with Windows Pish 7).
It must have been pretty screwed as TestDisk found nothing of any value there at all. (It was RAW in Windows).
But the upshot is I now have a FAT32 formatted 64GB (hopefully, unless it's a dodgy one) SD card that will work on Sammy and AOSP roms.
Thanks for your time, d4f.
Related
Is it possible to repartition my SD card to use EXT4 instead of FAT32, with the Fascinate? I'm currently running an EB01 kernel and a custom EB01 build. I'm just not sure how to do this part, as I've never done it before. I've seen it done for other devices, but I don't think it has come up here yet. This isn't really a debate on if I should or should not make it EXT4, just on how to do it.
That's what a voodoo kernel does.
Sent from my SCH-I500 using Tapatalk
JoeDat said:
That's what a voodoo kernel does.
Sent from my SCH-I500 using Tapatalk
Click to expand...
Click to collapse
I'm running the EB01 voodoo kernel, and yes it obviously has support for EXT4 since that is the FS it uses.
My question though is how can I mount my SD card to be recognized when I format it to EXT4 too?
Ah crap. I should have read your post more than once. Mundane detail. Just call me Michael Bolton.
Sent from my SCH-I500 using Tapatalk
If you don't have anything on your SDcard you mind deleting (or could just back it up), you could always try repartitioning it, and then seeing if Android is able to mount it.
If it doesn't automatically work, it shouldn't be too hard to modify the system to work (either by switching it from using 'vfat' to 'auto' or 'ext4')... it's just a matter of finding out where to change it.
There's no reason why it wouldn't, I guess... worst case you use command line mount tool to mount it manually every boot
That's what I thought too, that it would work inherently, but I partitioned/formatted the entire thing to EXT3 and it was not able to be recognized. I think either A) there is no built-in module for EXT3 support, or B) I'm just not doing it right.
Could be that I used a Windows tools to do the job to get EXT3, and I'm having trouble finding one to do EXT4, and I can't find any tools/scripts to convert EXT3 to EXT4 for Android.
If you format the sdcard to anything other than FAT32, Windows will not be able to read it when you try to mount it on your PC. I'm not sure if there are any utilities available that allows Windows to directly mount EXT filesystems or not, but I would be very afraid of data loss with a configuration like that.
What is the reason you want to convert it? Is it the file size limit of FAT32, or something else?
Posted from my EB01 SuperClean Fascinate with Voodoo
ivorycruncher said:
If you format the sdcard to anything other than FAT32, Windows will not be able to read it when you try to mount it on your PC. I'm not sure if there are any utilities available that allows Windows to directly mount EXT filesystems or not, but I would be very afraid of data loss with a configuration like that.
Click to expand...
Click to collapse
There's been an ext2 (possibly 3/4, but all are backwards compatible long as you don't use extents on 4) driver for Windows for a number of years. There's also a number of tools that can allow you to open ext2/3/4 file systems and modify them, without actually having to mount them.
ADB would also still work, so would an app that provides access to the sdcard via webdav/ftp/sftp/etc.
What is the reason you want to convert it? Is it the file size limit of FAT32, or something else?
Click to expand...
Click to collapse
Speed should improve by quite a bit, as well as greatly increased reliability (although the windows. Ext2/3/4 also support far larger files than fat32, of course, so if you like your raw-DVD rips or 1080p ultra-high-quality bollywood movies, there would be an obvious benefit by removing that restriction. I don't believe the ext family of file systems support it (but I could be wrong about ext4), but tail packing would greatly improve efficiency if you have a massive number of small files (reiserfs has it, btrfs might also- not sure).
Personally, it doesn't seem like there's enough of a benefit to really do it, especially if you're not using Linux... other than the desire to do it for the sake of doing it... which, considering where we are, that's pretty much enough of a reason to do anything.
Until I can find a good way to automount the FS every boot I wil probably stay with FAT32. I played around with different methods last night quite a bit and it turned into much more of a hassle than I liked. I really regret not having it however, because of the loss of speed.
Ok, through a truly noob-ish and inexplicable series of events, I have repartitioned my internal AND!!! external sd cards using my Mac (specifically with disk manager). Short story is that i now have two FAT32 Partitions that my Macbook can see but of course the phone can't!!! I've been fooling around with fastboot to see if I can restore the partitoins but am having no luck. The Romracer CWM recovery doesn't appear to help either. Any thoughts on how I can repartition and remoutn /sdcard and /sd-ext properly? ADB? A hammer?
a hammer to the mac.
that sux. i been looking for a method to regain lost space too, but people recommend gparted or other partition managers..which i cant get to work. i google searched left n right but nothing i came across has worked ;/
SOLVED - did a factory reset from inside CM9 and checked the box to format the sd card (god knows why this worked but the one in recovery didn't..also, why the hell didn't i think of this sooner? could have saved myself a week of searching)
while i was tinkering around trying to fix "mediaserver" (was killing my battery) i started to format my internal sd card memory (after backing it up)...for whatever reason i choose to do this via windows with the quick format off (wanted to scan for bad sectors and crap) then i forgot it was still running and unplugged my phone :facepalm:
novice mistake, i know.
anyhow, i've got adb up and running again, but i haven't been able to find a guide to fix it, or the info to bring up the partition tables, most sites give me specific commands to deal with the external card, but not ones to figure out how CM9\sgs2 is partitioned
ideally i'd like to just restore the partition, I do have backups if that's not possible though.
Phone is up and running fine minus that partition (which of course many apps rely on to store data, most don't have options to redirect it to my sd card.
any info on how CM9\sgs2 is partitioned or how to use ADB to find out would be greatly appreciated
Boot into your recovery and format your SD from within the recovery. That should fix it.
Lennyz1988 said:
Boot into your recovery and format your SD from within the recovery. That should fix it.
Click to expand...
Click to collapse
already tried that, the partition fails to mount, when i put my external sd card in the "sd card" partition mounts, but emmc doesn't (the sd card partition now being my external instead of my internal memory)
anyone even have a idea where i can find info on partitioning the internal memory? i've been searching as much as i can but i mostly only get link2sd pages, nothing on how to actually partition the internal memory
::edit:: i've made some progress, i've managed to install and operate parted via adb, but the version i have doesn't seem to support fat 32, i deleted then remade the partition but the phone still won't recognize it. cwm recovery is telling me "failed to mount /dev/block/mmcblk11 (invalid argument)" other pages seemed to imply that if i can get the partition to fat32 with a block size of 4096 it might work.
a factory reset from inside CM9 with the sd card format box checked did the trick, not sure why it took me a week of googling to figure that out :/ (wtb a facepalm emoticon)
"CM" you mean ?
CM = CyanogenMode?
CyanogenMod Kernel for Galaxy ?
"CyanogenMode" by installin from default ClockWorkMode? section of "Install ZIp from SD" ?
I need to re-partition Internal Memory too.
searched & found this your Topic.
would you please tell me what exactly has been done to fix re-partitioning internal memory?
maybe it can be so Important and Sticky.
Reza_Sadeghi said:
"CM" you mean ?
CM = CyanogenMode?
CyanogenMod Kernel for Galaxy ?
"CyanogenMode" by installin from default ClockWorkMode? section of "Install ZIp from SD" ?
I need to re-partition Internal Memory too.
searched & found this your Topic.
would you please tell me what exactly has been done to fix re-partitioning internal memory?
maybe it can be so Important and Sticky.
Click to expand...
Click to collapse
Actually, I have had the same problem, and if your device is not recognizing/mounting your internal SDcard, Bad news! You`ve lost it...
See this post for more details: http://forum.xda-developers.com/showthread.php?t=1665123
Next time think on a HTC or (even) Nokia, when you are about to purchase a new gadget (samsung, never ever more...:crying.
SociedadePsicopata said:
Actually, I have had the same problem, and if your device is not recognizing/mounting your internal SDcard, Bad news! You`ve lost it...
See this post for more details: http://forum.xda-developers.com/showthread.php?t=1665123
Next time think on a HTC or (even) Nokia, when you are about to purchase a new gadget (samsung, never ever more...:crying.
Click to expand...
Click to collapse
it's been a while, but it wasn't lost, i just had to repartition it, i described how i did this a few posts up.
i'm quite happy with my samsung sgsII, i'm not familiar with some of the other devices but i haven't run into any issues i can blame samsung for.
CM9 is exactly what i said it was, cyanogenmod 9. it's a whole rom package, not just a kernal
Hello guys,
at first i want to explain what happened to me:
i wanted to format an usb-stick on my pc, i used windows' diskpart in the cmd.
well, somehow i maid something very wrong and formated the sd-card of my sgs2, which was connected in the "usb-connection"mode. Well, it was no problem for me, the datas (music and pictures) are safed. but the smartphone don't recognize the card anymore could be because i formated it in ntfs. Well, the storages is always shown in the computer, as soon as i plug my phone in. i don't need to activate the usb-connection mode.
well i'm on a pacman rom and the following is my kernel:
Kernel_Siyah-Dorimanx-V9.1-[00-49]-[07-03]-JB-CM-AOKP-SGII-PWR-CORE
i could format the card with the pc i think, also did it as a fat32 file system, but nothing shown in the phone.
can anybody help? maybe format it with a terminal emulator or so?
thanks for any suggestions!
greetings
Format in CWRecovery.
thanks for that tip.
i tried it, via mounts and storage, but i get an error:
"
Formatting /emmc...
Erro mounting /emmc!
Skipping format...
done.
"
i think i should format the storage via the pc, but how :/
Try formating sd card using a linux pc
I did same thing with a flash drive and worked
Send from my SGS2 I9100 with PACMAN ROM v22.2 and DorimanX 9.20 kernel
that's a good advice.
do you have had the same things as i? so that you can see the storige when the device is active and plugged in? i'll try it later in the evening with a live linux, if i can't get any other solution on windows
Let us know how you get on/if it works. Using a LiveCD & doing it could be a good solution for someone else who finds nothing works (Rather than going the whole hog & doing a full Linux install they'll never use again).
i'm not sure if linux can do more than windows. i've formated the stick 3 times now, once with the diskpart console-programm, well this time "format fs=fat32" of course, than via "computer" (rightclick, format) and here also fat32... then i tried this tool:
http://panasonic.jp/support/global/cs/sd/download/index.html
nothing to see in the smartphone either.
of course i've unplugged the cable before.
do you think it could help to do a flash via odin? well, for this i could need some instructions, it would be great to flash a custom rom, because i wouldn't use the stock rom.
but so far thanks anyway for your help, very nice how fast you reply ;D
and here a little apology, i'm very sorry for my english. i hope you can understand most of it ^^
Your English is good
Hmmmm. I'm not sure flashing anything in Odin would help, flashing another rom won't make any difference (Because this is kernel-side). Though I guess you could try flashing another custom kernel/reflashing the one you're using, but that would probably only be useful if there was something funky going on with CWRecovery causing your attempts to format through there to barf.
How about restoring a nandroid backup ?
To be honest, I've heard worse ideas than the Linux suggestion.
a nandroid backup isn't such a good point i guess.
because it contains the apps and so on, and i can't have an backup because i cant flash anything in the cwrecovery (because it cant mount the /emmc)
i think something tricky is up here, otherwise i could mount it easily in the recovery menĂ¼, but no chance. i tried it with a terminal emulator with the lines:
su (so that i'm superuser) then of course i accepted the su-prompt, and then typed:
mount -o remount rw /mnt/sdcard
but something must be wrong there because of the following error:
mount: Invalid argument
when i go to settings-> storages i have the internal storage with ~2GB for apps and so on, and it shows another "internal storage", where there are 2.00B used by "other"... when i click on that i see a .defaultrom data, nothing more.
any suggestions what this means? do i have an internal storage mounted where there is a 2bytes file and nothing more free?
that "re-partition" option in odin seems to be interesting.
do you think a flash of an emmc_EXT4_16GB.pit with the "re-partition" field ticked could help me?
EDIT:
fixed it 8)
well but i don't just want to tell how i did it, firstly i want to tell that it wasn't such a deep thing as "sectors broken while formating" or something like that. i really don't know the reason for myself, but i fixed it without the pc. i tried to format the storage with linux, there i tried ext4 and fat32, nothing worked.
than i googled a bit with the live linux, than i found someone who had the same problems like me. Well, he wasn't finished where i was, because he got the problem again after flashing a cm 10.1, but i don't need to flash it, and i dont think i will get the problem, because i got it in a different way than he (he installed cm10.1 from an external sd, than the internal didn't showed up)
Well, i dont want to write longer, i'll tell how it worked:
go to settings -> backup and reset -> factory data reset and in the next page tick "Erase SD card"
this formats the card itselfes, so it recognizes it after all. if i could i'd have formated it in the "storage" section, but there i had no ability to do so.
well, i hope i can help someone with this fix ;D
Hello Everybody
I have Sony Xperia L ( Android 4.2.2 - 15.3.A.1.17 Firmware - Rooted - with locked bootloader ), ( I had never flash any custom ROMs or unlock the bootloader before )
I tried to extend my internal memory with the method of partitioning the SD card " That's why I rooted my phone !! "- I have 16 G.B SD Card - I downloaded the Minitool Partition software, and made the 1st partition 10 G.B Fat32 primary , and the 2nd partition 4.26 G.B Ext2 primary.
But when I insert the SD Card in the phone, I got bootloop issue, otherwise when I remove it, the phone operates normally.
I tried to make the 2nd partition format Ext3 and I got the same result, and Ext4 but at this time the phone operates normally but the SD Card couldn't recognized !!!! , and when I delete this 2nd partition, the phone operates normally.
So, please I need help to solve this **** issue
I'll be grateful, Thanks
Most likely because the tool you are using isn't very good for stuff like this. I know, it's weird, it creates the partitions and all of that, but something about the Windows tool that just messes things up. I've had the exact same problem on another phone. Typically gparted is recommended for these kinds of things. You should be able to set up a Ubuntu Live CD or bootable USB drive to use the gparted tool there.
Like so:
http://www.archlinuxuser.com/2014/04/create-ext3ext4-microsd-partition-using.html
Though if you have a newer bootable Ubuntu version, you won't need to install gparted.
Thanks mate
I'm gonna try this, and I'll tell you the results.
but one question:
you mean I make a partition on linux and the other in windows ???
I mean I need to make a partition to link it with the internal memory and that's will be the ( Ext2, Ext3, or Ext4 ) , and the other will be for storing ordinary files.
es0tericcha0s said:
Most likely because the tool you are using isn't very good for stuff like this. I know, it's weird, it creates the partitions and all of that, but something about the Windows tool that just messes things up. I've had the exact same problem on another phone. Typically gparted is recommended for these kinds of things. You should be able to set up a Ubuntu Live CD or bootable USB drive to use the gparted tool there.
Like so:
http://www.archlinuxuser.com/2014/04/create-ext3ext4-microsd-partition-using.html
Though if you have a newer bootable Ubuntu version, you won't need to install gparted.
Click to expand...
Click to collapse
I tried to changing the file system from Ubuntu Live DVD like you said ( Boot from the DVD not Installed ) and I used Gparted program ( Built-in the DVD ) and the same result
I have 2 questions:
1- Is the order of the partitions make change, I mean the right or the lift one in the Gparted program ???
2- Is that any other way to extend the internal memory please mention in the comment :crying:
Thanks....