[Q] Media files randomly disappear when connected as usb disk mode. - G2 and Desire Z Q&A, Help & Troubleshooting

I havent yet found any solutions to this problem and decided to ask here.
This happens at only Sense based roms!
When I connect my phone as usb disk drive to pc and than back %90 of the time my media files randomly disappear. Many of my music files gone missing and my selected rimgtone / alarm etc mp3 also returns to defaults. Videos photos randonly hidden from system as well.
The files are there but android os cant access them. Only way is using an app like SDRescan this solves the problem until I connect the phone again to transfer files...
Please I have tried everything from formatting the sdcard with fat32 again to searching for .nomedia hidden files etc etc. No solution worked yet.
Again only Sense roms do this. I used MIUI and CM7 too they didnt have this behaviour I never loose any files like this.
Extra info: My phone went to service and mainboard changed and the same thing is happeneing so I have no reason to belive it is about the phone.
Only Suspect: SDCard. (The default one that comes with the phone) But it is not really a strong suspect. Cause it works in other roms.
Anyone has any solution? This is driving me crazy and I want to use my phone with Andoroid revolution HD rom.
Any help is appreciated.

123 hits and noone has any idea?

Could be something related to mediaserver...Nothing comes in mind as I'm playing paintball right now. Does this happen on all sense ROM's, (2.x - 3.x) or ARHD in particular?
Sent from my DZ.

Oh god an answer finally!
Ok this is my history with Desire Z:
bought phone:
Stock Froyo -problem
upgrade:
Stock Gingerbread - problem
rooted:
CM7 : no problem
MIUI (bulletproof) : no problem
lets try sense again after a long time!:
Revolution HD Rom: Problem again!!!
BTW I am not a noob. I have prepared an s-off/root and custom rom guide for the most popular forum in my country and helped a lot of people to root their desire z's.
Running ARevoHD rom with swap and supercharge with out any other problems at the moment.
But this stupid bug is driving me crazy. I gotto run SDrescan app after every time I use my sdcard as a disk.

Eh, sorry for not replying earlier, just came back.
Now, the behaviour you explain is odd. Have you tried logcat and see if there's any relevant output? I'd look for "Mediaserver" first. By the way, have you tried plugging the phone to another computer? I'd try that too.

The behaviour I told you isnt very uncommon. Many people have this problem. HTC answer it by saying "format your sdcard" some people says it fixed theirs. But my problem still goes on. Also I dont know where to and how to look with logcat. This happens when I choose DISK mode when connected with usb. And than when you go back to normal mode mp3's are gone until you rescan.

I cant believe I am the only one having these issues here.

Shameless bump

What brand card do you have? And remember, XDA is not your Tech Support site.

Yeah sometimes I forget this is a developer "only" forum and the residents are usually elite and unforgiving people and not to be disturbed by petty questions of "15 year old boys".
Excuse me for my question and thank you for your help.
I wont be disturbing the forum again.
BTW before the flames:
I respect all the developers here for whom I am very grateful of and I get triple the fun from my Desire Z by the works of them. Thank you.

Aresmar said:
Yeah sometimes I forget this is a developer "only" forum and the residents are usually elite and unforgiving people and not to be disturbed by petty questions of "15 year old boys".
Excuse me for my question and thank you for your help.
I wont be disturbing the forum again.
BTW before the flames:
I respect all the developers here for whom I am very grateful of and I get triple the fun from my Desire Z by the works of them. Thank you.
Click to expand...
Click to collapse
It's not that, it's just the post like this:
Aresmar said:
123 hits and noone has any idea?
Click to expand...
Click to collapse
People come in, they read it, but have no idea how to fix your problem, so they don't reply.
There could be a problem with the rom, where it doesn't mount the card properly. Also what OS are you running, and how do you unplug the phone? Many people ignore the saftey removal warning for flash drives an other devices, but sometimes it could be the culprit. Next time make sure you go through the process to safely remove hardware and xee if it happens again (On Windows, right click the little icon in the bottom right to safely remove, and on mac, drag the 'drive' to the trash bin (which changes to an eject button)

Nothing is changed how I remove my phone from USB. I tried everything and it seems unrelated how I unplug.
Because this happens when I change my phone from disk mode to charge mode even.
ALWAYS the same MP3's are lost I am sure because I change my ringtone to same mp3 everytime and when this happens that ringtone disappears from music player and I cant choose it from ringtone setup screen. So until I rescan my sdcard with an app I cant seem to see those mp3's. There is nothing wrong with MP3's too.
I am not sure if the problem is my SDcard or the general Sense based roms. I am truely lost in this case.
It never happens if I dont connect it to usb and change to disk mode.
My theory :
Somehow the mediaserver who archives the media files forgets half of my files when lost connecttion to sdcard. I dont know why or how.

i used to have the same problem, but it disappeared by it self i don't know how, try formatting it

Oh as I said in my original message I formatted my SD card with fat 32 system and this didnt work at all. I will try again but it is frustrating to backup gigabytes of data froma slow card meh
It is good that I am not the only one I hope to find some reasonable solution to this.

Related

SD Card seems to be unmounting automatically...

Well, basically as the title says. This's happened several times to me already. Say I'll turn my phone on (from standby) I'll get a popup error saying that the backup was unable to complete because no SD card was found. Next, the music application won't load the songs because those're all stored on the card. Same for Photos/Gallery. When I go to ES File Explorer, the 'sdcard' folder reports that it is empty.
There hasn't been a pattern that I discovered. This just happened now when I woke up (phone left charging overnight; Wi-Fi & Sync enabled) and I decided to come post here. Happened again yesterday afternoon when I got my phone out to play some music on the way home.
Every once in a while, I'd get lucky and the files would show up by themselves, but the only fool-proof way I've found to get the phone working properly again is a restart, which takes several minutes to do.
I am NOT running any task manager (well, I was but when this problem started up I checked another thread which recommended to remove the task manager, so I did).
Is anyone else experiencing this problem? Do you know of a fix, or is it just me?
Mine's done this a couple of times, but I've put it down to the SD card not being quite pushed home properly. Worth taking it out and cleaning the contacts.
Nope, that doesn't work. I re-inserted it yesterday (contacts were clean) and this morning woke up with the same problem.
Please tell me this isn't just happening to me, cause it'll be a right pain in the ass to have this repaired (sending abroad/etc).
Is the SD Card the one you got with the phone (4Gb) or another make/model size? Please include details so others can help more.
I have left the given Samsung Class 2 4Gb SD card in mine and I have never had any issues with the SD Card unmounting. This is not saying it won't happen, but for me it has been fine. I was going to upgrade to my other Sandisk 16Gb Class 2 that used to be in my Touch Pro, but will do that hopefully this evening.
So all I can guess is either a faulty card or some issue with Class/Size/Manufacturer of Card (if you changed from the Samsung one) ?
It's the stock 4GB card that came pre-installed in the phone. Phone's unlocked too, bought from Clove. If it helps/is relevant: when I loaded up the camera it gave an error saying something like 'no sufficient read permissions for SD card'*, maybe that'd be a clue to the problem.
*I can't quote exactly cause I've since restarted the phone and can't remember it word for word. If/when this happens again I'll post the exact error.
EDIT: There, it just happened again. Restarted the phone not even an hour ago, it's getting ridiculous. Anyway, the error from the camera reads "Unable to save file to SD card due to insufficient file permissions".
FWIW, when I go to SD & Phone Storage settings i CAN see the total and available space on the card. It's just completely inaccessible by the programs. Have also tried the 'SDMount' widget, did absolutely nothing.
Happens to me too but only when I've been letting go of my phone to put it down rather than placing it down, or if I have to drop it on my bed or chair quick.
Happened to me a lot too when I was using one of the lock screen info apps, to get my calendar info on the lock screen. Uninstalled and the SD card problem went away.
-------------------------------------
Sent via the XDA Tapatalk App
Never used that :/
I've uninstalled all apps that seemingly access the SD card and will start reinstalling one by one to see if the problem does come back. Only way I could think of.
It is happening to me also. The last 3 days is doing it at least twice a day , i have the desire almost one month and neved had this problem earlier.
And i though it was something i did.
i had the same camera permissions problem. restarted and havnt seen it again since. 4gb card that came with the unbranded device. no idea what caused it, could be any number off new apps etc :S
I've got the same problem.
I've already tried to reformat my SDcard, but the problem still exists. Another problem when the SD card unmounts, is the CPU usage. This rises to ~10% constantly. Probably cause of this are apps which are trying to write to my SDcard.
Still no solution found, maybe I'll try another SD card in a couple of days.
FWIW, I gave up on the stock card and copied all my stuff over to another 4GB card I had running around (straight copy) and it seems to be working fine now. Haven't had a problem yet, although it hasn't even been 24 hours.
Will report back if/when something comes up, and when I start re-installing the apps that I previously removed.
I wrote to HTC earlier yesterday describing the same problem, and I just received this reply:
Dear Mr.Matthew Thank you for contacting HTC. Maybe you mount it on the pc to copy nd paste something and you forgot to unmount it from the pc.. Are you using the inbox SD card? Did you install any third party applications to the phone? Please use the phone in Safe Mode. Safe mode terminates all installed running applications, in case if they caused this issue. Please backup what you have on the SD Card and Format it. If you have any other inquiries, don’t hesitate to contact us again. Please note that you can contact us via support line. For further details, please go to http://www.htc.com/europe/CA_Hotline.aspx , Thank you so much for using HTC products. Respect & Regards, HTC Team http://www.htc.com
Click to expand...
Click to collapse
Only thing I have not yet tried is the Safe Mode. Will see if it needs to get to that.
i had this issue when I installed 'ebuddy'... uninstalled it and the problem is no more
It's started to occur on mine at least twice daily now, it wasn't so before about 4 days back. I've just actually restarted the device on getting such an error and apps complaining that they can't read/write to the SD card. Really after some sort of fix here.
kvmanohar said:
i had this issue when I installed 'ebuddy'... uninstalled it and the problem is no more
Click to expand...
Click to collapse
You're right it seems that was my problem too.
I got rid off ebuddy and all is fine now
I've had this problem once so far, and reading the reply from HTC reminds me that I have unplugged my phone from my mac without unmounting it a few times...
I am also having this issue and have ebuddy installed! I shall uninstall it and see if it fixes it! I really hope it does because its starting to get annoying
I too have ebuddy installed and shall also try removing it and see if that fixes it!
I don't have ebuddy installed but just experienced the SD card error with the camera today.
Sent from my HTC Desire

[Q] App2SD+ and LeeDroid 1.9a USB problems

Hi there everyone,
I just decided yesterday to root and flash LeeDroid 1.9a, and what a nice ROM.
Then today I was about to transfer my music, and Navigon maps wich is something
like 4 GB's of DATA. But then the trouble begins, as somewhere in the process, the
device locks up, and the only thing to do is removing the battery. I am not really
secure about this, and after the second time it happened, I am getting a little scared
about trying this again. I was trying to do the job connecting the device with the
cable, and setting the device to "diskdrive mode".
The reason I thinks it locks up, is because of the App2SD+ implementation, but as
I am not very experienced with this, I really do not have any proof.
Maybe someone has another more secure method of dealing with file transfers, or
is the only option to remove the SD card and use a cardreader?
I am sorry if anyone needs clarification of anything as english is not my native
language.
Regards,
hallydamaster
usually it is best to post questions regarding problems with individual roms in the thread specific to that rom.... (a tip for the future )
BUT - usually I prefer to move large chunks of data around by removing the sd card and using a card reader or pc slot. always seems more reliable (and faster as well).
Good luck!
I use LeeDroid as well, often plug-in the phone in data transfer mode but never once see a problem..
Do precautions though, such as both eject usb device (on windows) and change to usb charging (on the phone), before unplugging.. I feel safer when having redundancy
from my Desire + XDA App
Thats also why I am wondering why it went wrong with my device.
Are you using App2SD+ as well, or is it App2SD with Modinstalllocation?
Have you tried transferring large chunks of data, lets say 3-4 GB's?
Regards,
Hallydamaster

Issue with apps on SD after reboot

Hi all,
I have as strange issue in regards to apps on the SD card. I'm rooted, S-off on 3.29 stock. I installed installLocationMod, which enabled me to move any apps, even those not necessarily programmed, to be moved on 2.2 to the SD card. I basically moved everything that's not system, gapp, or widget related.
Everything works great, until I have to reboot, or I attach the phone to a PC as a hard drive. Basically, the apps don't come back after the phone comes back up, or its disconnected from the PC. I have to spend many hours doing reboots, battery pulls, dalvic cache wipes, etc, and then seemingly randomly, they pop back up.
When they're missing in the app list, the settings / app manager shows that they're there, but they're always "computing" when I select one to read the properties. Also, the market installer gets stuck, and I can't uninstall anything either.
Recently, I've read threads about partitioning the card before moving apps to SD.. is that still necessary with 2.2? Is that why this is such a pain? I'm thinking maybe the only solution is to move everything back to where they came from, and only move those apps that are specifically programmed to be moved on a non-rooted phone, and get rid of the modlocationinstall program altogether. That's a drag because I don't have room for all the apps, so I'll have to lose some... which is one of the reasons I rooted to begin with.
Any ideas? BTW, this is the second SD card that does this. The card is good.
Thanks,
Mike
Hey, I found this elsewhere on the forums in the LimeMOD rom in regards to mod install location:
"important !!! after a reboot you need to stop LauncherPro in the running applications menu to reload all sd installed apps !!! "
Could Sense be the reason for the missing apps issue? Is there a way to 'postpone' it on reboot?
Thx,
Mike
I've been having ever same problem
Sent from my PC36100 using XDA App
futuristicstyles said:
I've been having ever same problem
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
I'm thinking I might try stopping the Sense service after the reboot and letting it restart and see if they come back. I'll try it if I have to reboot again.. I'm actually avoiding rebooting at all cost now since it takes hours of frustration to get back to working order again.
Another thing I noticed.. alot of programs have that I moved have hidden services that are listed in a start-up auditor I installed just to see what the system was doing on boot up. I originally thought I'd be safe moving them since I didn't have widgets associated with them, or they didn't seem system related. Now I'm beginning to realize that I might have to be more careful what is moved, since I don't always know how they'll behave on boot. I suppose that's another reason why its best for non-techies just to rely on devs to build the default 2.2 a2sd behaviour into their programs, rather than forcing them there with stuff like mod install location.
Oh well... I'll keep you all updated when I know more. I'm rather surprised though, that more people aren't experiencing this...
Restarting Sense doesn't do anything. It seems still to be completely random.. usually after 4 or 5 hours of me continually manual rebooting. Nobody has any input at all?
greyopaque said:
I'm thinking I might try stopping the Sense service after the reboot and letting it restart and see if they come back. I'll try it if I have to reboot again.. I'm actually avoiding rebooting at all cost now since it takes hours of frustration to get back to working order again.
Another thing I noticed.. alot of programs have that I moved have hidden services that are listed in a start-up auditor I installed just to see what the system was doing on boot up. I originally thought I'd be safe moving them since I didn't have widgets associated with them, or they didn't seem system related. Now I'm beginning to realize that I might have to be more careful what is moved, since I don't always know how they'll behave on boot. I suppose that's another reason why its best for non-techies just to rely on devs to build the default 2.2 a2sd behaviour into their programs, rather than forcing them there with stuff like mod install location.
Oh well... I'll keep you all updated when I know more. I'm rather surprised though, that more people aren't experiencing this...
Click to expand...
Click to collapse
update:
After several unsuccessful reboots, I was able to get back the apps by going into settings / phone storage and unmounting the card, and remounting it, with no reboot. I've tried that in the past and just had the phone lock up, but this time it worked. FWIW, modinstalllocation was set to auto, and debug was off. I don't know if its repeatable, since I don't relish having half my phone unavailable for half the day to test it, but next time I lose everyting, I'll try it again and update the thread. I realize that judging from the lack of responses, most of you all don't really care, but since one guy did say he had the same problem, and to prevent someone in the future from going through all this aggravation, I'll keep on top of this. It will be my little contribution to the forum...
UPDATE: Had to finally do a reboot, and all the SD apps came back! I'm thinking the card dismount/remount did the trick
Mike

[Q] Bluetooth automatically toggles on/off HTC TP2

Ok, so I have the HTC Touch Pro 2 and was running froyo 2.2 (FXR07) and the bluetooth was working fine. It was actually working to route audio to my stereo headphone for listening to my audiobooks! Then, it suddenly stopped working correctly. I started having to manually re-pair the device each time. Shortly after that, it stopped allowing BT to turn on correctly at all. If I check the box to enable bluetooth, it begins cycling back and forth between turning bluetooth on and turning bluetooth off, until I uncheck the box. I tried updating to FFXR07.1 and had the same issue. I tried GBX0A and still had the same issue.
Note, I did carry over my data.img, which I realize I may want to go back and just try from scratch with the raw files and let it make a new data.img, but I will have to gack and try that again later to see.
Anyone got any other bright ideas on this?
This has been answered but I'll answer again. Delete the data.img. if you are switching between builds format the card first. Use titanium backup to backup any apps and info you need formatting is your friend.
Sent from my MSM using XDA App
re: Bluetooth
Thanks for the suggestion and reply. I did actually go back later and try recreating the data.img file completely. I tried this on both the GBX0A and FXR07.1 to no avail. I'll try formatting the card completely, but I'd like to give that titanium backup a try first. I'm not familiar with this, though and I'll have to see if I can find it and find out how to use it.
I wouldn't even use bluetooth at all yet. Audio routing isn't fully functional yet. Patience is a virtue my friend.
Sent from my MSM using XDA App
But that's just it...it WAS working fine...for a couple of weeks. Then all of a sudden just stopped working. And I Thought I'd seen in the dev thread where they thought they had it partially working.
In test kernels it works but test kernels use unstable code which can cause more harm than good to your build
Sent from my MSM using XDA App
PandaEmu said:
if you are switching between builds format the card first. ..... formatting is your friend.
Click to expand...
Click to collapse
So, at the risk of exposing my true ignorance here....what is the appropriate way to format the microSD card? Obviously I can't do it from within Android since that is running from the card. I have downloaded the HP format tool that is listed at the begining of the development thread, but it doesn't seem to detect anything. I'm assuming that it won't format the card while the card is in the phone, right? I'm guessing I've probably got to go dig out (if I can find it) the adapter that will allow me to plug the card directly into my computer, right? Or is there some way to do it from inside the phone with the phone plugged into USB?
Edit: Disregard. I figured out what I was doing wrong. When plugging it in while booted into WinMo, I had neglected to select to use it as a disk drive before. Once I did that, I was able to use either the HP tool or the Windows disk management tool. I used the latter since this one allowed me to set the allocation units to 4k as I had seen suggested elsewhere for performance improvement.
Well I hope you enjoy xdandroid I don't use bluetooth ever so the feature isn't a big deal for me. Everything I need works and I'm relatively happy with it.
Sent from my MSM using XDA App

[Q] The device deleted all of my storage on its own..

Hello everybody.
This retarded phone..deleted all of my files that were in storage. That includes, photos,music. ebooks etc..i have no idea why it would do that ! it is not the first time this happens. the phone was connected to my computer, then i transferred some files to it, and after i disconnected i saw that my storage was empty sans the files i just transferred.
does anyone have an ideas why did it happen or how to prevent a situation like this in the future ?!
The PC term is "phones with disabilities".
Reboot your phone and I bet it is working properly again. Something about mounting computer storage search blah rabble.
WiredPirate said:
The PC term is "phones with disabilities".
Reboot your phone and I bet it is working properly again. Something about mounting computer storage search blah rabble.
Click to expand...
Click to collapse
Thanks for replying, but i don't think you understood me. the phone is working normally, and the storage is mounted properly and recognised by the computer. the problem is that all of my data that was on the device got deleted by itself, by the phone ! as absurd as this sounds..
aschlon4 said:
Thanks for replying, but i don't think you understood me. the phone is working normally, and the storage is mounted properly and recognised by the computer. the problem is that all of my data that was on the device got deleted by itself, by the phone ! as absurd as this sounds..
Click to expand...
Click to collapse
I got that you were implying that, but I didn't think you seriously thought that was the case. Plus I've experienced the same thing when unmounting from the comp, a reboot fixes it. I mean if your storage isn't holding data you must have a hardware issue right? Or you keep your phone next to a powerful magnet or something. Your options are limited in that case. Warranty it or buy a new device. The only other thing I can think of is you recently updated to JB and are confused by the /0/ partition.
WiredPirate said:
I got that you were implying that, but I didn't think you seriously thought that was the case. Plus I've experienced the same thing when unmounting from the comp, a reboot fixes it. I mean if your storage isn't holding data you must have a hardware issue right? Or you keep your phone next to a powerful magnet or something. Your options are limited in that case. Warranty it or buy a new device. The only other thing I can think of is you recently updated to JB and are confused by the /0/ partition.
Click to expand...
Click to collapse
Well, a reboot didn't work for me..the data is still deleted. you mentioned unmounting from the computer..in MTP mode there is no actual unmounting right ?! its just plug and play..
couldn't the problem be software wise ? this has happened both in android 4.1 and 4.2..
aschlon4 said:
Well, a reboot didn't work for me..the data is still deleted. you mentioned unmounting from the computer..in MTP mode there is no actual unmounting right ?! its just plug and play..
couldn't the problem be software wise ? this has happened both in android 4.1 and 4.2..
Click to expand...
Click to collapse
I hope not! There shouldn't be any software that wipes your sdcard w/o you wanting it to. I mean, I guess for you I would hope that's the case since you wont be out the hardware, but personally I am unaware of any software that functions like that. Can you replicate it? If you download a song or a picture or something right now and plug your phone up to the comp, will everything be wiped again?
WiredPirate said:
I hope not! There shouldn't be any software that wipes your sdcard w/o you wanting it to. I mean, I guess for you I would hope that's the case since you wont be out the hardware, but personally I am unaware of any software that functions like that. Can you replicate it? If you download a song or a picture or something right now and plug your phone up to the comp, will everything be wiped again?
Click to expand...
Click to collapse
No..it is totally random.
the only thing that i could possibly think about is that i sent an app to be installed from the Play Store while the phone was connected to the PC..maybe that caused some kind of interference ?!
I wish it was that easy sending the phone for repairs. it is still under warranty but i bought it abroad, which means i would be left without a phone for a month or two and will have to deal with customs.
Unfortunately, nobody but you seem to be able to help me. i appreciate you trying to help, thank you.

Categories

Resources