• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Solution to "SD CARD UNEXPECTEDLY REMOVED"

i'm doing several tests.
i've not finished, while i keep my card 1 day each time for testing.

Since i have updated to 2.3.6, i've the error.
- i've reformated my card with windows => still the problem
- i've reformated from android => still the problem
- i've reformated from linux gparted in fat32 => still the problem
- i've reinitialized the phone => still the problem

however,
i replaced my 8GB by the original card, i've removed all the files => the problem disapears
with my 8GB card, i've removed all the files => still the problem

so, still 3 possibilities :
- sd card physical problem (however i got no pb before the upgrade)
- sd card partition table
- sd card partition format : fat16 on the original card (delivered with the phone), while windows format in fat32.

to confirm or not the physical/logical pb, i've :
sudo dd if=/dev/sdb of=sd.card bs=50M
# change card
sudo dd if=sd.card of=/dev/sdb bs=100M

now, my 8GB is logically a 2GB card, logically exactly the same.

we give some news in the next days...
 
Upvote 0
I have bought a Samsung Galaxy y pro duos.. Model number B5512..

Android version - 2.3.6
Baseband Version -B5512DDLA3
Kernel Version - 2.6.35.7
dpi@DELL137#1
Build Number - GINGERBREAD.XWLA4

I am facing the problem that my phone is showing "SD Card removed unexpectedly".
I took it to service center they installed the software again with the
same specification above.
but still I am getting the same message. I have formatted my SD Card
in Fat32 as told in android forum...but still I am getting the
message.. Now I Think I am made a fool by purchasing the handset.It is
not just solving my purpose... I am using SAMSUNG Mobile for past 8
years...But now I have lost my faith on this company... What is the
solution...Can I return it back? and get my Rs 9200/-?
 
Upvote 0
a logical copy (dd) from my 2 GB card (which works) to the 8GB card and the problem still happend.
It means that there is a physical link with the problem. This is link to this phone and to the 2.3.6 version too while it worked with 2.3.5.

So basically :
- try several cards to find one with which it works if you get the problem
- Don't upgrade to 2.3.6 if not already done.
 
Upvote 0
The problem I'm having is a bit different. My SD doesn't get removed, I still can access the pics and music I've got there, BUT the apps installed there simply aren't read by the phone. I did not root my Samsung Galaxy Y Pro Duos (qwerty+Dual sim), the apps are among those which actually are meant to be installed on the SD, like pixl-o-matic and kekanto.

besides restarting the phone, which will work but is obviously a nusiance, and not installing anything on the SD, which is hardly an option with only 160 Mb internal memory, anyone has suggestions on how to solve this problem?
 
Upvote 0
Just received a brand new Y Duos.
Installed a previously used 4 GB card. After that extremly slow reaction for resume after standby, message "SD card unexpectedly removed".
This happens everytime when resume after phone went into standby.
Brandnew phone, no contacts, no additional apps, no nothing.

Tried to format the card in the phone as well instead of Windows. Same result.

Then I changed the 4 GB card to the originally delivered 2 GB card ( both sandisk) and it all works well.
No problem at all.

Seems this problem is related to same cards.

Original installed 2.3.6 OS
 
Upvote 0
It is a bug with the galaxy y kernel. Upgrading the kernel seems to be a solution while it works, however, it's not easy. I'm trying to find a simpler solution.
For information, dmesg gives this when the error occurs :

<4>[12701.675109] mmc_sd_init_card : Card go to idle state
<4>[12701.680267] mmc_sd_init_card : send ACMD41
<4>[12704.018829] mmc_sd_init_card : fail to send ACMD41
<3>[12704.018920] mmc1: Re-init card rc = -110 (retries = 5)
<6>[12704.024017] mmc_power_off_brcm
<4>[12704.024444] bcmsdhc_set_ios-SDHC[3] is disabled by calling syscfg_interface()-->CMD/DATA Line is pull-down
<6>[12704.025573] mmc_power_up_brcm
<4>[12704.027801] bcmsdhc_set_ios-SDHC[3] is enabled by calling syscfg_interface()-->CMD/DATA Line is pull-up
<4>[12704.027893] SDIO3 DS is set to 6mA
<4>[12704.073516] mmc_sd_init_card : Card go to idle state
<4>[12704.078643] mmc_sd_init_card : send ACMD41
<4>[12704.099334] mmc_sd_init_card : fail to memcpy
<3>[12704.099426] mmc1: Re-init card rc = -2 (retries = 4)
<6>[12704.104492] mmc_power_off_brcm
<4>[12704.104980] bcmsdhc_set_ios-SDHC[3] is disabled by calling syscfg_interface()-->CMD/DATA Line is pull-down
<6>[12704.106079] mmc_power_up_brcm
<4>[12704.108673] bcmsdhc_set_ios-SDHC[3] is enabled by calling syscfg_interface()-->CMD/DATA Line is pull-up
<4>[12704.108734] SDIO3 DS is set to 6mA
<4>[12704.151672] mmc_sd_init_card : Card go to idle state
<4>[12704.156829] mmc_sd_init_card : send ACMD41
<4>[12704.177459] mmc_sd_init_card : fail to memcpy
<3>[12704.177520] mmc1: Re-init card rc = -2 (retries = 3)
<6>[12704.182586] mmc_power_off_brcm
<4>[12704.183074] bcmsdhc_set_ios-SDHC[3] is disabled by calling syscfg_interface()-->CMD/DATA Line is pull-down
<6>[12704.184173] mmc_power_up_brcm
<4>[12704.186431] bcmsdhc_set_ios-SDHC[3] is enabled by calling syscfg_interface()-->CMD/DATA Line is pull-up
<4>[12704.186492] SDIO3 DS is set to 6mA
<4>[12704.229766] mmc_sd_init_card : Card go to idle state
<4>[12704.234893] mmc_sd_init_card : send ACMD41
<4>[12704.255554] mmc_sd_init_card : fail to memcpy
<3>[12704.255645] mmc1: Re-init card rc = -2 (retries = 2)
<6>[12704.260711] mmc_power_off_brcm
<4>[12704.261169] bcmsdhc_set_ios-SDHC[3] is disabled by calling syscfg_interface()-->CMD/DATA Line is pull-down
<6>[12704.262268] mmc_power_up_brcm
<4>[12704.264495] bcmsdhc_set_ios-SDHC[3] is enabled by calling syscfg_interface()-->CMD/DATA Line is pull-up
<4>[12704.264587] SDIO3 DS is set to 6mA
<4>[12704.307891] mmc_sd_init_card : Card go to idle state
<4>[12704.313018] mmc_sd_init_card : send ACMD41
<4>[12704.333679] mmc_sd_init_card : fail to memcpy
<3>[12704.333770] mmc1: Re-init card rc = -2 (retries = 1)
<6>[12704.338836] mmc_power_off_brcm
<4>[12704.339294] bcmsdhc_set_ios-SDHC[3] is disabled by calling syscfg_interface()-->CMD/DATA Line is pull-down
<6>[12704.340423] mmc_power_up_brcm
<4>[12704.342651] bcmsdhc_set_ios-SDHC[3] is enabled by calling syscfg_interface()-->CMD/DATA Line is pull-up
<4>[12704.342712] SDIO3 DS is set to 6mA
<4>[12704.386016] mmc1: error -2 during resume (card was removed?)
<4>[12704.386108] dr: watchdogdr: bcm_keypaddr: bcm_auxadcdr: bcmheadsetdr: vibratordr: aat1401-backlightdr: i2cbcmdr: i2cbcmdr: i2cbcmdr: i2c-gpiodr: i2c-gpiodr: i2c-gpiodr: i2c-gpiodr: LCDfbdr: LCDCdr: otpdr: bcm_i2sdaidr: bcmblt-rfkilldr: bcm21553-cpufreq-drvdr: bcm21553-cpufreq-govdr: bcm-avs-drvdr: android_usbdr: v3d_dev
<6>[12704.387145] v3d_opt.c[v3d_resume:1843] v3d_resume
<4>[12704.387207] dr: max8986dr: cami2cdr: dwc_otgdr: dummydr: dummydr: dummydr: max8986-powerdr: max8986-regulatordr: max8986-rtcdr: max8986-ponkeydr: max8986-audiodr: max8986-muicdr: silabs-f760dr: bma222
<6>[12704.392303] [BMA222] [bma222_resume] bma220 !!resume mode!!
<4>[12704.392364] dr: gp2a_proxdr: mmc328xdr: serial8250dr: android_usbdr: alarmdr: brcm_alsa_devicedr: android_pmemdr: bcmsdh_sdmmcdr: bcmsdh_sdmmcdr: mmcblk
<6>[12704.395263] PM: resume of devices complete after 2770.416 msecs
<4>[12704.396392] Restarting tasks ...
<6>[12704.404602] wake_unlock: kril_result_wake_lock, start expire timer, 55
<4>[12704.432891] done.
<6>[12704.433044] wake_lock: mmc_delayed_work, stop expire timer
<4>[12704.433135] mmc1: mmc_rescan start
<6>[12704.434448] suspend: exit suspend, ret = 0 (2012-05-24 11:08:51.540008546 UTC)
<6>[12704.434539] suspend-after suspend: current_event_num = 138729
<6>[12704.434600] active wake lock mmc_delayed_work
<6>[12704.434661] active wake lock bcm_sdhc.3, time left 64
<6>[12704.434722] suspend: abort suspend
<3>[12704.569183] mmc_sd_detect(mmc1): Unable to re-detect card (-110)
<6>[12704.569335] mmc1: card 1234 removed
<4>[12704.609863] bcmsdhc_set_ios-SDHC[3] is disabled by calling syscfg_interface()-->CMD/DATA Line is pull-down
<6>[12704.609985] bcmsdhc_get_cd: mmc1: SD Card Inserted physically<-->host->card_present:1
<4>[12704.612182] bcmsdhc_set_ios-SDHC[3] is enabled by calling syscfg_interface()-->CMD/DATA Line is pull-up
<4>[12704.612243] SDIO3 DS is set to 6mA
<4>[12704.698455] mmc_sd_init_card : Card go to idle state
<4>[12704.702575] mmc_sd_init_card : send ACMD41
<4>[12704.733947] mmc_sd_init_card : Card go to idle state
<4>[12704.738220] mmc_sd_init_card : send ACMD41
<4>[12704.772918] mmc_sd_init_card : Card go to idle state
<4>[12704.777008] mmc_sd_init_card : send ACMD41
<4>[12704.812042] mmc_sd_init_card : Card go to idle state
<4>[12704.816131] mmc_sd_init_card : send ACMD41
<4>[12704.851043] mmc_sd_init_card : Card go to idle state
<4>[12704.855102] mmc_sd_init_card : send ACMD41
<3>[12704.890075] mmc1: mmc_sd_init_card() failure (err = -110)
<4>[12704.890472] bcmsdhc_set_ios-SDHC[3] is disabled by calling syscfg_interface()-->CMD/DATA Line is pull-down
<3>[12704.890563] mmc1: error -110 whilst initialising SD card
<4>[12704.890625] ------------[ cut here ]------------
<4>[12704.890716] WARNING: at drivers/regulator/core.c:1358 _regulator_disable+0x58/0x170()
<4>[12704.890777] unbalanced disables for MAX8986_REGL_DLDO1
<4>[12704.890808] Modules linked in: bcm4330 brcm_headsetsw brcm_switch gememalloc(P) h6270enc hx170dec sec_param j4fs(P) rfs_fat(P) rfs_glue(P) fsr_stl(P) fsr(P)
<4>[12704.891143] [<c00459e4>] (unwind_backtrace+0x0/0x16c) from [<c049556c>] (dump_stack+0x18/0x1c)
<4>[12704.891265] [<c049556c>] (dump_stack+0x18/0x1c) from [<c00743c4>] (warn_slowpath_common+0x54/0x6c)
<4>[12704.891357] [<c00743c4>] (warn_slowpath_common+0x54/0x6c) from [<c0074480>] (warn_slowpath_fmt+0x38/0x40)
<4>[12704.891448] [<c0074480>] (warn_slowpath_fmt+0x38/0x40) from [<c0207d14>] (_regulator_disable+0x58/0x170)
<4>[12704.891571] [<c0207d14>] (_regulator_disable+0x58/0x170) from [<c0207f20>] (regulator_disable+0x24/0x38)
<4>[12704.891662] [<c0207f20>] (regulator_disable+0x24/0x38) from [<c02dc2d4>] (bcmsdhc_set_ios+0xd8/0x3f8)
<4>[12704.891784] [<c02dc2d4>] (bcmsdhc_set_ios+0xd8/0x3f8) from [<c02ce390>] (mmc_power_off+0xd0/0xf8)
<4>[12704.891876] [<c02ce390>] (mmc_power_off+0xd0/0xf8) from [<c02d08dc>] (mmc_rescan+0x424/0x4c0)
<4>[12704.891998] [<c02d08dc>] (mmc_rescan+0x424/0x4c0) from [<c008c35c>] (worker_thread+0x20c/0x2c0)
<4>[12704.892089] [<c008c35c>] (worker_thread+0x20c/0x2c0) from [<c00900e4>] (kthread+0x84/0x8c)
<4>[12704.892211] [<c00900e4>] (kthread+0x84/0x8c) from [<c003ffbc>] (kernel_thread_exit+0x0/0x8)
<4>[12704.892272] ---[ end trace 1b75b31a2719ed25 ]---
 
Upvote 0
I have worse problems than all of you. I got a brand new Galaxy Y Duos two days ago and it has this "SD CARD UNEXPECTEDLY REMOVED" error all the time. I have tried restarting it and physically removing and reinserting the card with the power off. I was going to try to figure out how to do the steps listed at hte beginning of this thread (NO CLUE HOW TO DO *ANY* OF THAT) but then I saw all the comments saying it doesn't work anyway.

I thought I might try to do the software update -> Settings -> About Phone -> Update (Check for updates) -> Click "OK" -> ... Then comes a bullshit "terms and conditiosn" and "privacy policy". The "Confirm" button is greyed out. There is a checkbox "I accept all the terms above" but when I check it the "Confirm" button still remains grey and unclickable. WTF!?!?!

So I can't even check if there are updates either.

My phone info:

Model: GT-S6102
Android Version: 2.3.6
Baseband Version: S6102XXLC2
Kernel Version: 2.6.35.7 official.torino@androide#38
Build number: GINGERBREAD.XXLC2

Any ideas?

What do I do?
 
Upvote 0
Hi guys, I think that i have find the solution at least for my phone. I have tried the solution with Root explorer editing the file 'read_ahead_kb' - didn't work. After that I installed sd booster but the program again edit the same file just setting a bigger value to the cashe and again didn't work for me.
Finally I did the following thing - menu> settings> sd card and phone storage settings> format sd card.
After formating the sd card with the phone I haven't experienced the problem for 73 hours.
Hope this will help to some of you guys!


PS. I'm using 8gb microsd card bought from China
 
Upvote 0
I updated the official OS using menu Tools and WIFI connection, phone downloaded 10MB fix and made reset. For more than 2 months I never got "memory card unenexpectedly removed" error on 2GB SD card and now on 16GB SDHC card. But with 16GB I get another error - lost card. And my phone is unrooted.

EDIT: After almost a year of using SDHC 8GB card I can confirm that solution involved officialy firmware updated is working. And this phone doesn't like SDHC 16GB class 10 card (SanDisk).
 
Upvote 0
Hi... I fixed "SD CARD UNEXPECTEDLY REMOVED" using this method:

1. Remove SIM Card and Turn On the Phone
2. Unmount SD CARD and format it (from phone NOT from pc)
3. Remove SD CARD from phone and make "Factory data reset" (go to Settings -->Privacy and select "Factory Data Reset")
4. After reset finish, Turn On WiFi and update the phone firmware by going to Settings --> About Phone --> Software Upadate (Remember that the battery should be charged well)
5. When update finish, insert SD CARD.
6. Connect the phone to pc and select "Go To Storage" (on the phone)
7. Go to My Computer and Format the SD CARD again "FAT32"
8. Unplug the USB Cable.
That's all.

If you have already updated the phone (using kies or software update) and
"SD CARD UNEXPECTEDLY REMOVED" error is showing, follow these steps:
1. Remove SIM Card and Turn On the Phone
2. Unmount SD CARD and format it (from phone NOT from pc)
3. Remove SD CARD from phone and make "Factory data reset" (go to Settings -->Privacy and select "Factory Data Reset")
4. Insert SD CARD.
5. Connect the phone to pc and select "Go To Storage" (on the phone)
6. Go to My Computer and Format the SD CARD again "FAT32"
7. Unplug the USB Cable.

Sorry for my bad english. Hope this helps! Thanks
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones