[Q] How do I stop automatic external SD mounting? - AT&T Samsung Galaxy S II SGH-I777

I am having issues with external SD cards. I have 16 and 32 gb cards and every 2-5 days they become corrupted/damaged/blank. I have to format them and copy my backup files over at least once per week. I have had no luck finding a good solution for the SD card problems. I notice that my SD card will randomly mount / media scan / antivirus SD card scan when I unlock my screen. I assume this is causing the problems. I want to leave my external SD card UNmounted until i want to use it, then i will manually mount it under settings. My problem is when i leave it unmounted, Android will automatically mount it later when my screen is off. How do i change this so that the external SD will ONLY mount when i manually mount it in settings?

Not sure. Sounds like you just need to leave the card out or maybe get rid of that antivirus
Sent from my SGH-I777 using xda premium

the antivirus isn't the problem, randomly whenever the screen is turned on, the micro SD re-mounts (it somehow unmounted when the screen was off)... when it re-mounts Android automatically does a media scan and my AV scans it like it just connected... over time the SD card fails or becomes corrupted so I have to format. I'm looking for a way to DISABLE Android from automatically mounting an external micro SD... I assume people on this forum are knowledgeable on Android coding... disabling this function shouldn't be that hard...

Backup your micro sd. Wipe it clean. Make sure you format it with fat32 and not exfat. Put sd back in. Profit.

i have tried that several times.... perhaps i need to re-phrase the question....
Can someone please copy and paste the code within Android that automatically mounts an external SD card when it is inserted while the phone is on. Please also include the file name and directory. Thanks!

Well the problem is it's clearly either a hardware problem in the phone or that sd card. Wouldn't it be less of a pain to diagnose that and just try several other sd cards, then you wouldn't even have the issue anymore.

i met same problem here, how did you get this right?

I am in the same situation please provide a fix if you got it fixed

ryvandal said:
I am in the same situation please provide a fix if you got it fixed
Click to expand...
Click to collapse
What ROM are you on? Do you have this device? Some newer ROMs have the ability to control the media scanner running at boot, which likely was the cause for these older issues.
An example of a current ROM having this is ResurrectionRemix.

SteveMurphy said:
What ROM are you on? Do you have this device? Some newer ROMs have the ability to control the media scanner running at boot, which likely was the cause for these older issues.
An example of a current ROM having this is ResurrectionRemix.
Click to expand...
Click to collapse
Rom is stock Android 4.4.
Does 4.4 have that feature? I am Rooted.

ryvandal said:
Rom is stock Android 4.4.
Does 4.4 have that feature? I am Rooted.
Click to expand...
Click to collapse
Stock will not have it, you will need to install a custom ROM that includes the Media Scanner setting (there are KK ROMs that support it). Look around in the Development forum and see if one is to your liking; if the ROM has the feature they will often include it in the first post. The Ported forum also has much to choose, including the ROM I noted in my reply above yours.

Related

SD card blank or has unsupported filesystem

I'm having a problem with my 8GB sandisk card. My Htc Legend keeps giving me a pop up in the notification blind that says SD card blank or has unsupported filesystem. I've done some searching on google and notice people are having this problem with their Desires and other various android devices.
However I haven't come across a fix. I noticed one Legend owner had it occur after a restore of data from sd card. I'm having a feeling this happened to me as well since I got the OTA firmware upgrade yesterday. And I'm having the problem with the sd card today and I had the option to save date to sd. Today I unchecked it since I started using another card and I'm afraid of that one getting ruined.
Is there a way to fix my other card as I don't want to just throw away a perfectly fine 8GB card.
I've tried reformating in phone and pc. Have tried it in other phones. PC doesn't read it. Blackberry 8900 will not boot with it inserted and freezes if inserted after boot. myTouch 3G slide gives the same error. And does nothing when formatting.
i had this when i first got my new sd card and the phone basically to get it working i just went into the phone and formatted it via the android os then it mounted fine settings > storage > format (you may have to unmount first if it is still mounted )
noobdeagle said:
i had this when i first got my new sd card and the phone basically to get it working i just went into the phone and formatted it via the android os then it mounted fine settings > storage > format (you may have to unmount first if it is still mounted )
Click to expand...
Click to collapse
I've tried this numerous times and it does not do anything. Does not show the option to unmount.
Hi all,
I guess my problem is very similar. Using an DHD with a 8 GB SD Card...
I did a factory restore including to wipe all data on SD card.
the DHD was rebooting and now I get the message Blank SD Card - SD card blank or has unsupported filesystem. in the notification bar.
is there any App I can restore my SD card? made full backup so ****ting on data just wana bring it back working.
Card gets not mounted... when I hit the message in notification bar it ask me to format card - I did multiple times with no success.
Anyone knows how to restore the card? Hope it's not gone for ever :-(
Thanks for help
same problem here, i guess a new sd card is due
Following I found out regarding the issue"SD card Blank/unsuported filesystem":
Just read my update here: http://forum.xda-developers.com/showthread.php?p=11353140
there are 2 ways to fix this (one of them I can confirm restored the filesystem on my SD card)
Kind Regards,
Der Matte
PS.: thanks @ GOOGLE
PS.PS.: maybe a mod can merge the threads as I think this is a general problem with HTC phones
scr6 said:
I've tried this numerous times and it does not do anything. Does not show the option to unmount.
Click to expand...
Click to collapse
The sd card usually goes to raw format. Raw format supported software can help you extract the files and then you can use the full format option in windows 7, quick format checkbox unchecked.
MatteFugger said:
Following I found out regarding the issue"SD card Blank/unsuported filesystem":
Just read my update here: http://forum.xda-developers.com/showthread.php?p=11353140
there are 2 ways to fix this (one of them I can confirm restored the filesystem on my SD card)
Kind Regards,
Der Matte
PS.: thanks @ GOOGLE
PS.PS.: maybe a mod can merge the threads as I think this is a general problem with HTC phones
Click to expand...
Click to collapse
s
same problem for me. I tried with factory reset but nothing happened. I tried my HTC with others new sd card but still is the problem. sd card comes corrupted after i put into the place. I format the sd card in the pc and in my nokia and it works well but not in my HTC.
wow i recover my files
hi guys, i had same problem, but then i set this sandisk ultra to my nokia xpress music and there was everything,,, my arc s cant open it anymore but nokia opens... try to reset your sd s to others phone...

[Q] sd card problem

Hi,
I got my Optimus one not long ago and I bought kingston 8G for it though it would work fine. The phone read the card well and show the memory correct and I can use it pretty good on my phone. The thing later I found out is the phone itself restart after the idle time exceed 1hr which is crazy. The phone works really good until I upgrade my original sd card (samsung 2G which came in with) to Kingston microsd 8G. I don't know where exactly is wrong, and I couldn't return the sd card either since it work fine on both phone and on computer with card reader. If someone got same problem with me, please let me know or help me out!! Thanks in advance.
I think it is a firmware problem,Mine and others do the same with the standart 2G card...
Firmware keeps updating itself when I go on WIFI connection. I don't know about these stuffs either. But now, the problems are ended..the phone doesn't read any card anymore whether 2G or 8G, it keeps saying that "sd card removed. Insert a new one". I've tried restart again & again but the message doesn't go away and my phone decide not to recognize the card.Both of the cards work fine on computer. I think I need to visit the shop where I bought to check on it. Btw, is that problem considered in the warranty case? I don't know.. It wasn't even a month with me. So sad!
winnie34 said:
Firmware keeps updating itself when I go on WIFI connection. I don't know about these stuffs either. But now, the problems are ended..the phone doesn't read any card anymore whether 2G or 8G, it keeps saying that "sd card removed. Insert a new one". I've tried restart again & again but the message doesn't go away and my phone decide not to recognize the card.Both of the cards work fine on computer. I think I need to visit the shop where I bought to check on it. Btw, is that problem considered in the warranty case? I don't know.. It wasn't even a month with me. So sad!
Click to expand...
Click to collapse
Are you using any app2sd ? If yes, it could be a problem also if ur using an app storing data on your SD card. It makes you're cell restart.
I have the "mount / unmount" problem on my LG, I saw on a french forum that it was better to try with another file system, sometimes it was solving, sometimes not. I don't think it's really a card problem, I gave my LG GW620's sd to my girlfrend and her old samsung is using it without any problem's, but on mine it was crashing every 30mins....
killdashnine said:
Are you using any app2sd ? If yes, it could be a problem also if ur using an app storing data on your SD card. It makes you're cell restart.
I have the "mount / unmount" problem on my LG, I saw on a french forum that it was better to try with another file system, sometimes it was solving, sometimes not. I don't think it's really a card problem, I gave my LG GW620's sd to my girlfrend and her old samsung is using it without any problem's, but on mine it was crashing every 30mins....
Click to expand...
Click to collapse
I have some problem with his original sd and with a new 4gb class 4 sd...
Do you solved the problem ?? how ?
My problem disappeared after I formatted the card directly on the phone.
i reAD sumwher ... a claSS 10 sd cARd is fully funcTional with lg o1 !!
allsalvati said:
My problem disappeared after I formatted the card directly on the phone.
Click to expand...
Click to collapse
I have the same problem but more problem when my LG O1 didn't recognize the card and I couldn't mount or format the card on my phone.
This happened when I partitioned the card. My PC still sees the card well but my phone doesn't.
I read a lot of posts from a lot of forums and I did try every guides steps by steps but it seemed as the LG O1 doesn't have any button-press-combination as others. For ex: when I pressed Back + Power On, nothing happened as It was said that the phone might come to FastBoot.
As help on this issue will be in much appreciated.
I fixed it. If your PC still recognizes the sd card, it's ok. Go to Manage (right click on My Computer) -> Device Management -> Storage -> you should see your card there. Try to delete volumn or format the EXT2 and Linux Swap.
Put the card back to your phone. It should recognize the card and then, unmount and format card and mount it back. Done.
I have a small question. What is the best class for this phone? The class 10 is fully used by phone or does not reach that read/write speed? Some micro sd class 10 are declared between 20 and 30 MB/S. The p500 has these capabilities? Or a Class 6 card is enough?
Thanks
UP!
The price for 32GB class 6 is very different from class 10.
Lg Optimus One is able to full use write/read speed of class 10?
Thanks
Help! I inserted a sandisk 4gb class 4 and my phone didn't recognized it (i got the 'SD card removed. Insert a new one.' notification). Then, i inserted back the original 2gb sd card from the box, but that notification is still there and it can't be recognized. But both my PC and a another android device (a galaxy tab) can detect it. So, i tried formatting both the 4gb and the original 2gb with the galaxy tab and inserted it to my O1 but nothing has changed. I tried updating to the official V10E firmware but it makes no diffrences. Any help please?
Sent from my LG-P500 using XDA App
For future, don't remove SD card during phone is running because of app moved to SD card. Especially when you plan insert new one, and if you do that with custom ROM with app2sd its equivalent to suicide.
Is mass storage mode works? Is MS works in curstom recovery? Did you try format memory card in phone? Delete of caches?
The_ERROR said:
For future, don't remove SD card during phone is running because of app moved to SD card. Especially when you plan insert new one, and if you do that with custom ROM with app2sd its equivalent to suicide.
Is mass storage mode works? Is MS works in curstom recovery? Did you try format memory card in phone? Delete of caches?
Click to expand...
Click to collapse
Thx for the reply,
I haven't install a custom ROM yet. All i did was enable JIT+HW accel from a thread here.
1. Mass storage didn't work. It just appears as a new drive which i can't access.
2. I updated my O1 to V10E... I lost root, custom recovery,etc. so i can't try that
3. I formated it with another android device (a galaxy tab)
4. How do you delete the caches???? Sorry, new here
You had got me. For now I have not idea how to proceed.
Anyway, remove battery, remove SD card, clean sd card with some soft cloth, check if metal contacts looks fine (try clean that if not), insert SD card, insert battery and try it again.
If this not help, you can try some shaking and so on. It's sounds crazy, but I know one guy whose shaking helped him to flash firmware to phone, which not works at all. Maybe it's some cheats for all these issues.
ad 4) You can delete caches via custom recovery, but related to 2) you can't so, this hint is useless.
I did everything u said. I checked the SD card & the slot and they seem ok.
This might sound dumb, but what do you mean by 'shaking'? Which part are you suppose to shake?? Sorry, im still new to androids
BTW, i went to the LG customer care. The technician checked it and said that they are going to replace the SD card slot. She said that sparepart (the SD card slot) is going to arrive sometime in mid-January due to the holidays.
By the shake I mean grab phone and do quick movements with phone from left to right and back.
But it seems, that you have some trouble with hardware part(s) of phone.

[Q] What to do if I lost access to my internal storage as well as sd card

Hi, new guy with english problems here, be gentle
So basically I lost access to any kind of storage on my SGS2 running CM10.1. Here's what happened. I was using internal and sd for a long time, then, as I needed my SDHC elsewhere i removed it. Nothing was lost as all data was stored internally. BUT. After formatting SD in FAT32 and putting it back everything crashed. Apps are refusing to work, demanding an SD card. Files Manager says that folder was lost. All of them. First thing I wanted to do was to flash CM once again, a newer NB but my PC does not read internal storage either, and putting it in sd doesn't do me any good as cwm doesn't see it also. CM can access internal, so i flashed the same version of CM once again - the only one i got there. Nothing changed. I'm a bit lost and seek any advice
U checked if u really format it with Fat32?
CHEERS
Sent from my GT-I9100 running with RootBox
Sure. Also I formatted it with SDFormatter, thanks to this CWM can mount it and format by itself, but OS does not respond anyway
darklordbean said:
Sure. Also I formatted it with SDFormatter, thanks to this CWM can mount it and format by itself, but OS does not respond anyway
Click to expand...
Click to collapse
U have another phone where u can test if card is readable for an OS?
Maybe it's related to Rom then.. (just an idea)
CHEERS
Sent from my GT-I9100 running with RootBox
darklordbean said:
Hi, new guy with english problems here, be gentle
So basically I lost access to any kind of storage on my SGS2 running CM10.1. Here's what happened. I was using internal and sd for a long time, then, as I needed my SDHC elsewhere i removed it. Nothing was lost as all data was stored internally. BUT. After formatting SD in FAT32 and putting it back everything crashed. Apps are refusing to work, demanding an SD card. Files Manager says that folder was lost. All of them. First thing I wanted to do was to flash CM once again, a newer NB but my PC does not read internal storage either, and putting it in sd doesn't do me any good as cwm doesn't see it also. CM can access internal, so i flashed the same version of CM once again - the only one i got there. Nothing changed. I'm a bit lost and seek any advice
Click to expand...
Click to collapse
you might flashed 20130121 nightly... this may help you
see this & this
Peaceful Droid said:
you might flashed 20130121 nightly... this may help you
see this & this
Click to expand...
Click to collapse
Thank you! That was the problem

[Q] Files randomly gets deleted. (SGP 5.0)

Hello everyone! This is my first post in this forum but i've been using this forum for months now..
Anyone knows why my files are getting deleted randomly and placed in LOST.DIR? Files are still in their locations but their size is 0.0kb.
They somehow go to LOST.DIR and become unreadable. Is it a faulty Micro SD card or my Player 5?
My SGP 5.0 is using:
PARANOID ANDROID v2.57.4- March 07 Update
Mercurius v5 Kernel
This problem also happened on Stock GB ROM, anyone know what is happening? any help is much appreciated.
rap2191 said:
Hello everyone! This is my first post in this forum but i've been using this forum for months now..
Anyone knows why my files are getting deleted randomly and placed in LOST.DIR? Files are still in their locations but their size is 0.0kb.
They somehow go to LOST.DIR and become unreadable. Is it a faulty Micro SD card or my Player 5?
My SGP 5.0 is using:
PARANOID ANDROID v2.57.4- March 07 Update
Mercurius v5 Kernel
This problem also happened on Stock GB ROM, anyone know what is happening? any help is much appreciated.
Click to expand...
Click to collapse
Google told me in 5 seconds time to,read this or many other similar threads.
http://androidforums.com/motorola-droid-3/447049-lost-dir-what.html
This is not any related to our very good device, it is android behavior. (good anyway)
Thanks!
But Google didn't help. I know what LOST.DIR is for.
This doesn't happen only on startup, sometimes it's hours or days before files get deleted.
I also do the whole safety remove thing on my PC and SGP 5, and let it finish checking the mem card.
There's also nothing wrong with the files, my iPad and blackberry have the same files in them but don't get deleted.
I know the SGP 5 is a good device, i have one...
If it's android behavior, why is it wiping half my memory card's worth of files for no reason?
rap2191 said:
Thanks!
But Google didn't help. I know what LOST.DIR is for.
This doesn't happen only on startup, sometimes it's hours or days before files get deleted.
I also do the whole safety remove thing on my PC and SGP 5, and let it finish checking the mem card.
There's also nothing wrong with the files, my iPad and blackberry have the same files in them but don't get deleted.
I know the SGP 5 is a good device, i have one...
If it's android behavior, why is it wiping half my memory card's worth of files for no reason?
Click to expand...
Click to collapse
Try backing up your files and format
Sent from my YP-G70 using xda app-developers app
Already did that several times now but it still happens.
I've formatted my SD card, restored it to default, de-fragmented it, full factory reset my SGP 5. It still happens.
Maybe it is a faulty SD Card?
Also, this happened twice already, after copying files to my SD Card from my PC, safety removed it, my SGP said "broken sd card, please reformat", even my pc can't read the card...
It must be my sd card that's causing the problem and hopefully not my Player, what do you guys think?
rap2191 said:
Thanks!
But Google didn't help. I know what LOST.DIR is for.
This doesn't happen only on startup, sometimes it's hours or days before files get deleted.
I also do the whole safety remove thing on my PC and SGP 5, and let it finish checking the mem card.
There's also nothing wrong with the files, my iPad and blackberry have the same files in them but don't get deleted.
I know the SGP 5 is a good device, i have one...
If it's android behavior, why is it wiping half my memory card's worth of files for no reason?
Click to expand...
Click to collapse
Fine,
You may Check for some days with another ext Sd card to discriminate this case.
Do you have backup application running or some auto cleaning apk like "forever gone" starting at certain times?
lolo9393 said:
Fine,
You may Check for some days with another ext Sd card to discriminate this case.
Do you have backup application running or some auto cleaning apk like "forever gone" starting at certain times?
Click to expand...
Click to collapse
No cleaning apps... I'll try with a different SD card... Thanks for the help.
It happens to me as well. I assume it has something to do with the Galaxy Player (or the SD Card). If it doesn't happen, the SD card randomly gets damaged.
so i bought a new SD card, a Kingston Class 10 32gb, using it for more than a week now and so far no file deletion. I think it's because i was using a cheap SD card, a TDK 32gb Class 2... if the problem happens again, it must be Android's check disk that's causing it.

Can't do squat w/out SD card inserted!

I have an issue that may be caused by an upgrade that occurred before I bought the phone on ebay.
When I got the phone I think it was on the latest RUU and stock ICS rom.
I've flashed a lot of roms however I almost never took out the mini SD card, and since I have taken it out before several roms ago I've noticed this problem: I can't save screenshots or cam shots unless I have the external mini SD in!
If it matters I'm on 4.2.1/wildstang kernal 3.0.16
You need to change where the camera stores pictures. The setting should be in the camera app.
But, storing pictures on the internal memory can be risky. Flashing can wipe your memory.
yeah just change where the camera stores pictures, it should be on the camera settings
i don't see where this location setting is. This also doesn't solve my problem: I can't function without having a mini SD card in the phone at all times? Seriously? What if I downloaded an app?
I'm gonna try a few tests actually and see what happens.
Well your OP just mentioned pictures and screenshots.
Please tell us the ROM you are running.
RAMBOcoder said:
i don't see where this location setting is. This also doesn't solve my problem: I can't function without having a mini SD card in the phone at all times? Seriously? What if I downloaded an app?
I'm gonna try a few tests actually and see what happens.
Click to expand...
Click to collapse
What exactly is your issue.
What if you downloaded an app? What does that mean? It would go to your internal SD, mine don't go on my external when downloaded. Aren't you trying to use the phone without an external SD?
Why would you not have an sd card anyway? If you're running any AOSP based rom, it becomes the default storage.
You can swap the storage around in /etc/vold.fstab so that the internal storage is marked /sdcard if you're using an AOSP rom.

Categories

Resources