I have literally spent hours and hours Googling "sd card disabled when on USB" and I've yet to find an answer.
I'm trying to just copy my database to the sd card and access. In my program, if I code to check the media state, it returns "not mounted" when I log:
if (android.os.Environment.getExternalStorageState().equals(
android.os.Environment.MEDIA_MOUNTED))
Log "mounted
else
Log "not mounted".
I've pulled down the notification window. It's set to USB storage and I DON'T HAVE A "MOUNT' button.
I'm using a Mac Book Pro, Eclipse Helios and everything is up-to-date as far as I know.
I've tried to push the database to /sdcard and /mnt/sdcard...get a "protected error".
I've formatted the card (FAT 32).
I need help, I'm going crazy...it SHOULD NOT be this hard to get a freakn' file on an external card and access it.
<edit> Powered down phone, removed battery, reseated card. Powered-up...now the device is not even recognized plugged in via USB...adb devices lists nothing, not able to adb shell....i'm getting really pissed with this droid x right now
BUMP for frustration factor LOL...
I have my application pretty much done; ready to deploy it. However, it's worthless if I can't get a 5 MB database on the SD card, let alone, instructing end-users to load the app via adb AND installing the databse.
I think I'll go get my domain and website setup while I wait (hopefully) for someone to reply..
Micro SD Card > SD Card adaptor + SD Card > USB adaptor = fixed?
OH ****....NEVERMIND!!! ROFL...man, I've been working too hard on this app and just not thinking!!!
I'm waiting on DNS registration and my site to come up. Duh...I have MySql databases on it...my data will go there, not the phone. Just have to make a code change to hit the DB on my site.
I need some sleep...
Related
Hello,
Yesterday I removed and inserted the memory card from the HD, and from that moment some crazy things started to happen. Now, when I try access my memory card, it takes 1-5 minutes to open the root folder. When I connect my HD to the PC and select storage mode, no memory card is showing at my computer. I tried to format it, but had some error. Did some card check, the program checked it too long and after showed some info and said that no defragmentation is required. After reflashing ROMs, trying some stuff, nothing seemed to help. I putted my HD away until I tried to access the memory card folder later that evening. It worked fast as always in past. I softreseted, and same things started again, 1-5 min to open the card, can't see it in my computer, HD sometimes freezes when I try to access anything on the card.
Solutions?
P.S. - this is the card I received from orange when I bought the HD. Is the card under warranty?
p.s.s. - still can't format the card, ideas?
get a cheap microSD usb reader sandisk got a nice small one
and try formatting it on the pc
had the same problem and this is how i fixed it.
connect the touch hd to pc in "Disk Drive mode"
then open up a cmd window(start, run then "cmd" and hit enter)
type format E: (or the drive letter for you touch)
and wait it will remove all on you memory stick.
Since i have done this i have had not probs with my card.
Damo
damianpadden said:
had the same problem and this is how i fixed it.
connect the touch hd to pc in "Disk Drive mode"
then open up a cmd window(start, run then "cmd" and hit enter)
type format E: (or the drive letter for you touch)
and wait it will remove all on you memory stick.
Since i have done this i have had not probs with my card.
Damo
Click to expand...
Click to collapse
Thanks a lot, that solved my probs!
glad i could help
I finally got around to rooting mine earlier today..
Ever since, I can't get either of my computers (both Mac and PC) to recognize the phone for mounting the SD card. It charges fine via USB but is impossible to mount as USB storage. Any ideas on this?
Maybe a driver issue?
I thought that originally. But if that were the case, I wouldn't have been able to connect to them previously (no changes in drivers on the computers) or been able to connect to complete the root process. I'm kind of at a loss for ideas right now.
hmm strange... I'm a android newbie so i don't think i can help passed driver
Method?
myz06vette said:
I finally got around to rooting mine earlier today..
Ever since, I can't get either of my computers (both Mac and PC) to recognize the phone for mounting the SD card. It charges fine via USB but is impossible to mount as USB storage. Any ideas on this?
Click to expand...
Click to collapse
Hey what method did you use to root? If you can mount your internal storage but not your sdcard, can your phone read your sd card when the phone is booted normally? Perhaps you damaged your slot?
dreamersipaq said:
Hey what method did you use to root? If you can mount your internal storage but not your sdcard, can your phone read your sd card when the phone is booted normally? Perhaps you damaged your slot?
Click to expand...
Click to collapse
exactly what i was thinking, but myz06vette are you able to view content from your sd card using just your phone? ex: music, movies or pictures?
Yes, I can view content on my SD card and internal phone storage on the phone itself using Root Explorer or ASTRO. I didn't use the method that required me to pull the SD card out. I can play music stored on the card and view all my photos, so I know its reading okay. I even took the SD card out and put it in a memory card reader and it hooked up to the computer fine.. mounted right away. Just won't mount through the phone.
myz06vette said:
Yes, I can view content on my SD card and internal phone storage on the phone itself using Root Explorer or ASTRO. I didn't use the method that required me to pull the SD card out. I can play music stored on the card and view all my photos, so I know its reading okay. I even took the SD card out and put it in a memory card reader and it hooked up to the computer fine.. mounted right away. Just won't mount through the phone.
Click to expand...
Click to collapse
The development.apk packaged in many Dream/G1 ROMs has an option to scan for media. Try that
BTW, *#*#4636#*#* also works from the dialer to pull up phone/radio options, which will allow you to switch between cdma auto (PRL) --> cdma only -->> ev-do only. The latter two options should save you battery!
Thanks for the advice! I updated to CDMA-only right when I got the phone.. so I honestly can't say whether or not its saving me battery since I don't know what it was like set to CDMA auto PRL hahaa.
I tried installing the Dev Tools apk you attached, but each time I do, it says "Application not installed" with the yellow !triangle next to it.
myz06vette said:
Thanks for the advice! I updated to CDMA-only right when I got the phone.. so I honestly can't say whether or not its saving me battery since I don't know what it was like set to CDMA auto PRL hahaa.
I tried installing the Dev Tools apk you attached, but each time I do, it says "Application not installed" with the yellow !triangle next to it.
Click to expand...
Click to collapse
Sorry, man -- that .apk was from an Eclair build -- try the new one I put up -- it's from an Espresso build, I just installed in on my DI -- all good
Hah alright fair enough. This one loaded fine.
Checking it out now... will report back. Thanks!
Half of the options in the app force close.
Media scanner loaded, but isn't helping me mount the sd card to my computer.
Any more ideas?
myz06vette said:
Half of the options in the app force close.
Media scanner loaded, but isn't helping me mount the sd card to my computer.
Any more ideas?
Click to expand...
Click to collapse
So you've checked your settings in "Connect to PC" -- perhaps your "always ask" option is cleared and it's set to HTC Sync, for example? What do you get in the SDcard/Storage menu? Any stats for the SDcard? What happens when you elect to eject it in that menu?
Storage menu shows total space and free space like it should.
Connect to PC is currently set to Ask me everytime.. option for Disk Drive selected just to try and force it to mount..
Removed SD card.. did battery pull reset.. still nothing.
myz06vette said:
Storage menu shows total space and free space like it should.
Connect to PC is currently set to Ask me everytime.. option for Disk Drive selected just to try and force it to mount..
Removed SD card.. did battery pull reset.. still nothing.
Click to expand...
Click to collapse
That's frustrating. You might have to back-up your sdcard data on a PC and re-format the card, then copy the data back. I'm assuming you have a card reader.
I hadn't thought until just now to try another card. I've got a few sitting around here somewhere. I'll try that before taking the time to backup almost a full 16 gigs of stuff, format, then restore it all.
myz06vette said:
Storage menu shows total space and free space like it should.
Connect to PC is currently set to Ask me everytime.. option for Disk Drive selected just to try and force it to mount..
Removed SD card.. did battery pull reset.. still nothing.
Click to expand...
Click to collapse
Do you have some sort of app killer/task manager auto killing the obex service? Ive noticed i have problems when it isnt running, but when it is running it kills battery like mad. Try going to settings>applications>running services and see if its running next time you try to mount. It should show up under calendar. Hope this helps.
P.S. I only let this service run when i need to plug into my pc, since it seems to keep the phone from being able to "sleep" properly. So if you have something killing it, or the calendar app has been removed that may have a part in your problem.
I need some guidance re: unmounting/mounting my SD card from Windows. When I attach my phone to my PC I see a message "USB debugging connected" and "Disk drive", in that order. "Autoplay" opens on my PC showing the card letter. "Open folder to view files" gives me access to the files on the card. Once I've completed adding/removing files I have been right-clicking on the SD card in the list shown in "Computer" and choosing "Eject". Can I then unplug the USB cable, or should I change the "Connect to PC" setting on my phone to "Charge only", instead of "Disk drive"? OR is there another unmount step I should take (The unmount/mount concept is confusing to me). When I choose "Charge Only", I get a message on the phone "Preparing SD card".
Thanks in advance.
-Bob-
not sure what you are asking, i just pull the usb out when i no longer need it hooked to the pc
Richy99 said:
not sure what you are asking, i just pull the usb out when i no longer need it hooked to the pc
Click to expand...
Click to collapse
Really? I thought any time you wanted to unplug the phone from your pc you had to either right-click and "Eject" or "Safely Remove" (WAS asking which) and then in addition deal with the "Disk drive" setting on the phone. Am I totally misinterpreting things? I have been running mdeejay's MDJ FroyoHD 2.2.1 (since removed from this forum) since December without a glitch. HOWEVER, every other version I've tried, including the newest GB versions have crashed and burned as soon as I started adding music and photos via my desktop (usually within 24-48 hours). Trying to figure out what's going on with these builds. Initially thought that my new SD card (16GB, class 10) was too fast. Then tried an 8GB class 2; same issues. So, I figured this mounting, ejecting stuff was damaging the data.
More confused than ever.
-Bob-
I also just pull USB out without "safely ejecting". If you suspect that your problems are due to files copying, maybe try to shutdown hd2, pull off sd card and copy files with card reader.
adecostres said:
I also just pull USB out without "safely ejecting". If you suspect that your problems are due to files copying, maybe try to shutdown hd2, pull off sd card and copy files with card reader.
Click to expand...
Click to collapse
That would generally work. However, I use iSyncr to transfer iTunes music to the phone. On the initial transfer (about 1000 songs) it is impractical to use iSyncrWiFi (over-the-air) to do the transfer (too slow). So, at least in that instance I need to connect the phone.
Since I have your attention , can you explain what the unmount/mount discussions are all about?
Thanks again.
-Bob-
Ok So I am here because I've posted in other places in these forums with no replies yet, So it would be better to create a thread specific to my problem.
I have an Omnia 2, thinking of acquiring the Fryo 2.2 OS, not specific about wether I want what version but here are the problems I come across before being able to install it.
1- plugging in my phone under Settings -> My storage will not show my storage on my computer, having the external SD option will show my 16GB SD card.
2- Backing up. How do I back up my storage if I can't see it on my computer? When I turn on active sync a blank storage appears other than my SD card (assuming its the internal storage) but the size seems rather small (167MB). I've been reading peoples' posts and I'm supposed to have around 2GB I believe, and either way the files I'm trying to put inside for the android OS don't seem to fit there.
3- Partitions? How can I set those up for both the internal and external storage? Is there a program or feature to do so? My SD card under properties says FAT-32 so I'm not sure on how to do it IF I need to.
4- Using a W7 computer, so that knocks off any ubuntu installations, and also link is broken for Almars Beta 1 file that I was thinking of using for an SD installation.
Any help would be appreciated, I've had this phone since 2009 and I'm really hoping I can come across some help to make it work since I do want to keep this phone for a bit longer before I spend more money on a different cellphone!
Thank you!
Try out the new CyanogenMod from the link below.
http://windows.modaco.com/topic/346446-cyanogenmod-beta1-omnia-2-updated-02122011/
It has the SD Card auto installer, try it..
Back up data on your SD card first and then format your SD card within the phone and then use auto installer to install it.
As you said your computer wont detect the My Storage, try the steps below..
Transfer your data from My Storage to external SD Card, then connect your phone to computer using My Storage mode in settings.
Download Mini Tool partition wizard and format your My Storage (Mini tool partition will be able to see your My Storage even though your computer doesn't).
After format, your computer should be able to detect My Storage.
Now copy the downloaded android files to My Storage and run the auto installer as instructed in the ReadMe file inside the download package.
PS: Don't forget to backup the data on SD Card to your computer
Hope this helps
Ok so what you meant by taking things from my storage is going to file explorer and basically copying everything from the "my device" to the SD card?
Just want to make sure because if it doesent work then I haven't gotten anything backed up right.
Went to file explorer -> copied everything in the top folder which is application date, connMgr, doc and setttings, program files etc. is this all thats needed basically?
Thanks
P.S some of the things I tried taking like global.txt or exe couldn't be copied because of violations or some weird error, is it alright not to have those?
Update: My storage is still not revealed by the mini tool partition program, went under usb settings -> my storage and refreshed disk information, nothing shows up ugh it might be impossible for me to do this after all....
nobody can help me in regards to this? well then I guess a new cellphone is in order
grrrrr I should've gone with a iphone 3G or BB 9700 at the time instead...
ClaudioPerez said:
Ok so what you meant by taking things from my storage is going to file explorer and basically copying everything from the "my device" to the SD card?
Just want to make sure because if it doesent work then I haven't gotten anything backed up right.
Went to file explorer -> copied everything in the top folder which is application date, connMgr, doc and setttings, program files etc. is this all thats needed basically?
Thanks
P.S some of the things I tried taking like global.txt or exe couldn't be copied because of violations or some weird error, is it alright not to have those?
Update: My storage is still not revealed by the mini tool partition program, went under usb settings -> my storage and refreshed disk information, nothing shows up ugh it might be impossible for me to do this after all....
Click to expand...
Click to collapse
I guess you will have to reflash the ROM again since your problem seems to be unsolvable. My suggestions is to flash a stock 6.5.3 ROM before you transfer the auto SD installer.
So I got one of those text messages from an unknown number with a link included... no I did not click on it, but I did the next worse thing. Decided to do a google search and see what comes up.. accidentally typed part of the link into the browser url address bar, hit enter and BAM. My phone screen flashed to this web page for a second and then I went back or closed it real quick... ever since then my 120 gig micro sd card is not recognized by my phone, any other phone or computer (mac or windows). Tried a recovery software but it doesn't find the sd card.. can't be mounted. Put it in a camera and it say's card locked or card error. The sdcard adapter is in the unlocked possition. Tried different card adapters. Tried device manager, scan for hardware changes.. update software.. show hidden devices... can't find it. Not sure what else to try.. The card is almost full of my rom backups from my previous phone, photos, files etc. I would like to recover with out formatting the memory card. Been searching but nothing is working. Can any one point me in the right dirrection?
Thanks!
LG v20 (not rooted YET)
LS997 ZV6