[Q] Media Scanner causing phone to continually reboot?
A weird issue manifested on my phone today ... the phone started, upon boot up, to spontaneously reboot. It would boot up within 30s, at which point I unlock it an pulldown the notifications screen (to see what was going on).
I saw several instances of "media scanner running" occurring - over the course of various trials I would see the following messages alternate on the top status bar.
Media scanner running... (system storage)
Media scanner running... (SD card)
Media scanner running.... (USB storage)
Media scanning completed
...while below in the notification areas I'd see the "Media scanning", "Media scanning...USB storage" etc messages periodically appear.
The phone would first lockup, then reboot perhaps 3 out of every 4 startups. Several of those times the last message I saw prior to the lockup was Media scanner running.... (USB storage).
I pulled out the 32FB Sandisk SD card, then tried booting the phone several times, and this time no issue - booted up fine, no lockups nor auto-reboots. Note though that I've had the SD card installed for over a year, and the problem only cropped up today.
Same problem on Samsung Galaxy Ace
I'm experiencing the exactly same problem on my rooted Samsung Galaxy Ace (Gingerbread 2.3.6).
Reboots with SD card mounted and working fine with SD card unmounted.
I'm using Link2SD with a 2nd ext2 partition, and when SD card is unmounted, all Linked apps work perfectly fine.
I've tried removing and re-inserting SD card and also recreating mount scripts to no use.
What might be the possible causes of this problem???
I can't afford formatting the SD card as yet, as I'm a little short on disk space. I've tried mounting the card on my PC and run chkdsk, but found no errors.
Is this problem related to Link2SD???
Please :fingers-crossed: tell me if there's any other solution other than killing my phone i.e. wiping all data.
PLEASE HELP :silly:
ripper4590 said:
[Q] Media Scanner causing phone to continually reboot?
A weird issue manifested on my phone today ... the phone started, upon boot up, to spontaneously reboot. It would boot up within 30s, at which point I unlock it an pulldown the notifications screen (to see what was going on).
I saw several instances of "media scanner running" occurring - over the course of various trials I would see the following messages alternate on the top status bar.
Media scanner running... (system storage)
Media scanner running... (SD card)
Media scanner running.... (USB storage)
Media scanning completed
...while below in the notification areas I'd see the "Media scanning", "Media scanning...USB storage" etc messages periodically appear.
The phone would first lockup, then reboot perhaps 3 out of every 4 startups. Several of those times the last message I saw prior to the lockup was Media scanner running.... (USB storage).
I pulled out the 32FB Sandisk SD card, then tried booting the phone several times, and this time no issue - booted up fine, no lockups nor auto-reboots. Note though that I've had the SD card installed for over a year, and the problem only cropped up today.
Same problem on Samsung Galaxy Ace
I'm experiencing the exactly same problem on my rooted Samsung Galaxy Ace (Gingerbread 2.3.6).
Reboots with SD card mounted and working fine with SD card unmounted.
I'm using Link2SD with a 2nd ext2 partition, and when SD card is unmounted, all Linked apps work perfectly fine.
I've tried removing and re-inserting SD card and also recreating mount scripts to no use.
What might be the possible causes of this problem???
I can't afford formatting the SD card as yet, as I'm a little short on disk space. I've tried mounting the card on my PC and run chkdsk, but found no errors.
Is this problem related to Link2SD???
Please :fingers-crossed: tell me if there's any other solution other than killing my phone i.e. wiping all data.
PLEASE HELP :silly:
Click to expand...
Click to collapse
maybe it is a problem with your sd card
try to unmount the sd card with link2sd
ripper4590 said:
I'm using Link2SD with a 2nd ext2 partition, and when SD card is unmounted, all Linked apps work perfectly fine.
Click to expand...
Click to collapse
I really find this odd. When you link an app using Link2SD, all the app data is linked to ext partition of your SD card. If all went along right, then once you unmount your SD card, all linked apps shouldn't work anymore. This is because the ext partition is no longer available which contains the app data and files. I don't know why all of your linked app works fine. I completely agree with @aditya rathee. The problem could be with your SD card. Try to restart the phone with another working SD card and post the result.
mahithm said:
I really find this odd. When you link an app using Link2SD, all the app data is linked to ext partition of your SD card. If all went along right, then once you unmount your SD card, all linked apps shouldn't work anymore. This is because the ext partition is no longer available which contains the app data and files. I don't know why all of your linked app works fine. I completely agree with @aditya rathee. The problem could be with your SD card. Try to restart the phone with another working SD card and post the result.
Click to expand...
Click to collapse
thanks for supporting buddy
i think he should try by changing sd card
aditya rathee said:
thanks for supporting buddy
i think he should try by changing sd card
Click to expand...
Click to collapse
No problem buddy! Let's wait and see what happens when he uses another SD card
mahithm said:
No problem buddy! Let's wait and see what happens when he uses another SD card
Click to expand...
Click to collapse
yeah right :good::good::good:
mahithm said:
I really find this odd. When you link an app using Link2SD, all the app data is linked to ext partition of your SD card. If all went along right, then once you unmount your SD card, all linked apps shouldn't work anymore. This is because the ext partition is no longer available which contains the app data and files. I don't know why all of your linked app works fine. I completely agree with @aditya rathee. The problem could be with your SD card. Try to restart the phone with another working SD card and post the result.
Click to expand...
Click to collapse
In case I format my SD card, what happens to my 2nd ext2 partition?? What are my options for back up??
ripper4590 said:
In case I format my SD card, what happens to my 2nd ext2 partition?? What are my options for back up??
Click to expand...
Click to collapse
When you format your SD card, only the data in SD card is formatted while data in the ext2 partition is still left behind. If you want to format your ext2 partition, you can do that too. To do that, goto CWM Recoverymod, choose "mounts and storage">format /sdcard (To format just SD card data) and/or format /sd-ext (To format ext partition data). Use Titanium Backup app to take backup of all the installed app data. This data is backed-up to your SD card, so make sure to copy it to other storage media before you format your SD card. Once you have finished the backup, format both SD card and SD-ext, then copy the backup data back to SD card, reinstall Titanium Backup and Link2SD, run Link2SD to link your ext partition, and finally run Titanium Backup to restore all the previously installed app with data and link the apps back with Link2SD. Hope I helped
@mahithm, I formatted my SD card, but the problem is still there. I've ascertained the problem is with my memory card. I scanned it with my anti-virus, check for any disk errors and ran a surface test with Hard disk sentinal. No problems were identified.
One thing's for sure, the apps on my second partition are working fine even the one's who's apk+dex+data are linked.
If I unmount my SD card, the phone worked an whole day without issues. As soon I mounted it, Media Scanner starts and the phone reboots.
My post on the Link2SD thread hasn't got any responses.
I can access all content from my PC (on my FAT32 partition i.e.)
Please Help!
ripper4590 said:
@mahithm, I formatted my SD card, but the problem is still there. I've ascertained the problem is with my memory card. I scanned it with my anti-virus, check for any disk errors and ran a surface test with Hard disk sentinal. No problems were identified.
One thing's for sure, the apps on my second partition are working fine even the one's who's apk+dex+data are linked.
If I unmount my SD card, the phone worked an whole day without issues. As soon I mounted it, Media Scanner starts and the phone reboots.
My post on the Link2SD thread hasn't got any responses.
I can access all content from my PC (on my FAT32 partition i.e.)
Please Help!
Click to expand...
Click to collapse
Can you try again with an another working SD Card? If the problem still persists, I suggest you reinstall this rom. BTW what rom are you using now? Sometimes accidently deleting a system file could cause such errors. If the problem is with your Link2SD, then I suggest using CronMod script to increase your internal memory. All it needs is a rooted phone and an ext partition. Before flashing the script from the CWM recoverymod, don't forget to format your ext partition. Here is the link,
CronMod-INT2EXT
Do post your result. Hope I Helped
mahithm said:
Can you try again with an another working SD Card? If the problem still persists, I suggest you reinstall this rom. BTW what rom are you using now? Sometimes accidently deleting a system file could cause such errors. If the problem is with your Link2SD, then I suggest using CronMod script to increase your internal memory. All it needs is a rooted phone and an ext partition. Before flashing the script from the CWM recoverymod, don't forget to format your ext partition. Here is the link,
CronMod-INT2EXT
Do post your result. Hope I Helped
Click to expand...
Click to collapse
@mahithm
1. A blank SD card doesn't bootloop.
2. My current SD card when formatted and blank doesn't reboot automatically.
3. When I delete .android_secure folder from SD card, phone works fine.
4. I don't think I deliberately deleted any system files.
5. I haven't changed the ROM. It's the stock ROM of Galaxy Ace.
6. Is it possible that some .asec is interfering with some system file
7. I have ruled out Link2SD as the cause, even deleting the app didn't make a difference.
Fully, this helps you to help he out further.
Thanks!
ripper4590 said:
@mahithm
1. A blank SD card doesn't bootloop.
2. My current SD card when formatted and blank doesn't reboot automatically.
3. When I delete .android_secure folder from SD card, phone works fine.
4. I don't think I deliberately deleted any system files.
5. I haven't changed the ROM. It's the stock ROM of Galaxy Ace.
6. Is it possible that some .asec is interfering with some system file
7. I have ruled out Link2SD as the cause, even deleting the app didn't make a difference.
Fully, this helps you to help he out further.
Thanks!
Click to expand...
Click to collapse
Can you try reinstalling the stock rom? Don't forget to Wipe data/ fatcory reset, Wipe cache partitions, Mount and Storage> Format /system, Wipe Dalvik cache and Wipe battery stats from CWM Recoverymod before you flash stock rom through odin. Also format both SDcard and ext partition. Use Titanium Backup to take backup of all the application data. Don't install Link2SD and lets see if the problem still persists. Do post the result. Hope I Helped
Related
I apologize if this has been thoroughly discussed here, but I can't seem to find much in my own searches.
I don't know what happened but yesterday after i restarted my N1, most of my apps on SD Card couldn't seemed anymore! Apps are on the list, on the desktop and on the apps settings (without original icon). But my system doesn't connect apps on my sd card.
My sd card is working correctly, no problem is there. System is seeing sd card, can be mounted/unmounted.
I've tried to restart (ofcourse),
I've tried to launch different launcher,
I've tried to flash CM again.
But nothing works
How can i fix it without wiping? I would wipe but the backup app (mybackup pro) gives an error "Unable to open database file". So i don' wanna wipe without backing up.
Interestingly, some apps on SD works, but it says it can not see SD card. For example, Go SMS app can backup sms to sd card. But it can not see sd card.
Please help me...
Note: I'm using CM 7.0.2.1 (default kernel 2.6.37.4)
I had a similar problem recently...what fixed it for me running CHKDSK. Try mounting your sd card, right click on its properties, then go to tools and then error-checking. I checked off both options and ran it. That seems to have fixed my issue, I guess a file was corrupt. Good luck
edit-This is using windows
SD Card was corrupted.
Hi again,
I understand that my SD card was corrupted. I ran chkdsk and it couldn't be completed. It gave an error. I formatted with SDFormatter. No bad sectors or damaged. Finally i had to reinstall all apps again. Not wiped rom.
HI!
I have this problem that when I turn on the file sharing, the computer shows only internal memory card and not the external. Because the phone itself recognizes the external card I have tried to unmount and mount several times without any improvement. I am currently using the latest CM7 nightly, but the problem seemes to have started after I changed the card from 4gb to 16 gb. Any ideas?
EDIT: Erasing sd card from the phones menu helped to solve the problem.
Go Setting>Storage and remount your sd card and try???
I've done that several times....no help... android system accesses the card without problems...music, pics etc.
Did you physically remove your card and reinsert it, or just software remount?
Have you tried the card directly in your computer?
Have a look in windows device manager and see if it reports any problems. (right
click my computer and select manage)
I have tried it all and everything is ok with the sd card itself (I copied recent nightly from the computer on the sd card) also recovery recognizes is... there are also no problems in device manager...
Try to put on debugging mode. And try it with debugging mode on.
If the debugging mode is on try to take it off.
Regards Kali
I tried that also and nothing changed.... I have a feeling that it is somehow attached to me using mybackup pro... I restored application apk and data from another phone to this one and It seems that usually the application data should go to internal memory card. In this case it is on external card... so i believe that somehow the programs are still using the card when connected and do not allow phone to share it out... It's just a guess though...
EDIT: so I think the solution is to wipe everything and start all over again
So I fresh installed Rom and wiped everything and the problem still exist... still can see files with file managers in phone and when connected to computer, autorun shows only internal card...
Edit: I tried now 2gb sized sdcard and it works perfectly... the problem is with 16gb card.
Weird. Did you try another USB-port?
I tried different USB-s now and still same I found out that when I connect the phone, under my computer appears two removable disks.... if I turn on the usb connection, only one transforms to usable removable disk (internal) and the other one asks to insert the removable disk. I used the same sd card on my HTC desire with CM nightlies and it worked perfectly... could it be CM-s bug?
Sorry to ask (maby the obvious)
On Your phone.. using your filemanager (Root explorer astro or what-ever..)
Browse to sdcard
Do you have a folder called _externalSD?
On this phone, for some reason the external SD is not mounted under./ but as i said under ./sdcard/ (i.e its mounted under the internal SD card..)
Just a thought
Where the different cards are mounted doesn't make any difference. And as he said, it works with other cards (2GB and 4GB).
CyanogenMOD mounts internal card as /mnt/emmc, and external card as /mnt/sdcard by default.
When turning on USB storage, both cards should be unmounted and shared over USB.
Hi, I had the same problem with mine, and as you said in one of your previous posts, I had to do a format through the phone and as soon as I did that I was good to go.
I did use the same memory card in my old hero so this might have something to do with it... I'm not sure.
By formatting do you mean from the menu Erase SD card? On the desire I actually had the formatting request from the computer, but there was another problem (some of the rom's files were on the sdcards ext or something and I had no access to the card from the USB).... kind of a similar problem if I think back now but after changing to CM, the problem disappeared.
I forgot to mention I am running completely stock rom and unrooted (for the time being) and there is just an option under sd card & phone storage setting to format external sd card
After erasing the sd card from the phone, the computer recognized it i'm currently copying stuff back and i'm pretty sure it does not affect the recognition
I faced the same problem. I had Swapper2 on my NC, and after I uninstalled it (and cleared the data of Swapper2, just in case) everything went to normal back again.
^ a solution.
I tried taking a picture yesterday, as it was taking my phone crashed and rebooted. Usually I don't find this to be a big deal, but when it rebooted the phone came up with a notification that "Blank SD card: SD card is blank or has unsupported filesystem." When I click on that it says "Format SD card? All data on your card (under path '/storage/sdcard0') will be erased. This action can't be reversed!"
Although I believe sdcard0 is internal memory, I backed up my sd card just in case by plugging the micro sd card (32 gb patriot class 10, about 22 months old) into my computer and it read just fine, so I copied all the data off of it, formatted the sd card, copied all the data back on, and turned on my phone. I still get the same error and can run ES File Explorer and it shows all my data on the sd card in /storage/sdcard1 (although opening up the Gallery app shows "No external storage available" but opening up pics from ES File Explorer still shows them behind the message). Just to confirm, sdcard0 is the internal memory right? If I format sdcard0 will that format my entire rom? Am I better off wiping and reflashing? I don't think I have anything important on the internal memory.
I'm running cm-10.1-20130806 (waiting to upgrade to 4.3 when Bluetooth is working).
htcvividnoob said:
I tried taking a picture yesterday, as it was taking my phone crashed and rebooted. Usually I don't find this to be a big deal, but when it rebooted the phone came up with a notification that "Blank SD card: SD card is blank or has unsupported filesystem." When I click on that it says "Format SD card? All data on your card (under path '/storage/sdcard0') will be erased. This action can't be reversed!"
Although I believe sdcard0 is internal memory, I backed up my sd card just in case by plugging the micro sd card (32 gb patriot class 10, about 22 months old) into my computer and it read just fine, so I copied all the data off of it, formatted the sd card, copied all the data back on, and turned on my phone. I still get the same error and can run ES File Explorer and it shows all my data on the sd card in /storage/sdcard1 (although opening up the Gallery app shows "No external storage available" but opening up pics from ES File Explorer still shows them behind the message). Just to confirm, sdcard0 is the internal memory right? If I format sdcard0 will that format my entire rom? Am I better off wiping and reflashing? I don't think I have anything important on the internal memory.
I'm running cm-10.1-20130806 (waiting to upgrade to 4.3 when Bluetooth is working).
Click to expand...
Click to collapse
go into recovery, mount internal memory , back it up , then reboot back into the rom and format it.
yes its internal memory
my pac had bluetooth working. try the build i posted before the newest build
bilibox said:
go into recovery, mount internal memory , back it up , then reboot back into the rom and format it.
yes its internal memory
my pac had bluetooth working. try the build i posted before the newest build
Click to expand...
Click to collapse
Awesome I'll try all that out tonight after work. Thanks!
bilibox said:
go into recovery, mount internal memory , back it up , then reboot back into the rom and format it.
yes its internal memory
my pac had bluetooth working. try the build i posted before the newest build
Click to expand...
Click to collapse
I just restored a backup of your 3rd build... No Bluetooth for me?
Sent from my Vivid 4G using Tapatalk 4
bilibox said:
go into recovery, mount internal memory , back it up , then reboot back into the rom and format it.
yes its internal memory
my pac had bluetooth working. try the build i posted before the newest build
Click to expand...
Click to collapse
Wiping internal memory worked fine, thanks again for the help. I thought I would have more free time to try out your pac rom, hopefully I can get around to flashing this weekend.
rignfool said:
I just restored a backup of your 3rd build... No Bluetooth for me?
Sent from my Vivid 4G using Tapatalk 4
Click to expand...
Click to collapse
Dunno what to tell ya. It worked for me the entire time while on vacation. Make sure to click bluetooth and go into the deeper settings and turn it on in there.
-SOLVED BY USING ODIN, AND FLASHING A STOCK ROM-
Samsung GT-S5830
So i installed some custom GB rom a long time ago on my friends phone.
Now he gave it back to me because nothing was working anymore.
The problem is when i try to open the file manager in the phone it says there is no internal sdcard, furthermore in the settings at partition settings it shows me:
/system 183mb/ 206mb
/data 65mb/178 mb
/cache 4mb/ 25mb
/sdcard (FAT) 0.00B / 0.00B
/ext-sdcard (EXT) unavailable (not 1 in the phone)
As you can see, the phone acts like it has no internal storage at all wich make it impossible to put anything on the phone.
I have tried using ODIN to flash a factory default rom, but my computer does not recoqnize the device when i put it in download mode. so that does not work.
I however installed the lastest TWRP, to try making my own partitions in there but that also did not work.
after that i downloaded cm11, put it on a external sd card and flashed the rom.
this all worked fine, but still NO INTERNAL SDCARD.
I am guessing that my friend has been screwing with some files or whatever.
Anyone got any tips?
shatred said:
Samsung GT-S5830
So i installed some custom GB rom a long time ago on my friends phone.
Now he gave it back to me because nothing was working anymore.
The problem is when i try to open the file manager in the phone it says there is no internal sdcard, furthermore in the settings at partition settings it shows me:
/system 183mb/ 206mb
/data 65mb/178 mb
/cache 4mb/ 25mb
/sdcard (FAT) 0.00B / 0.00B
/ext-sdcard (EXT) unavailable (not 1 in the phone)
As you can see, the phone acts like it has no internal storage at all wich make it impossible to put anything on the phone.
I have tried using ODIN to flash a factory default rom, but my computer does not recoqnize the device when i put it in download mode. so that does not work.
I however installed the lastest TWRP, to try making my own partitions in there but that also did not work.
after that i downloaded cm11, put it on a external sd card and flashed the rom.
this all worked fine, but still NO INTERNAL SDCARD.
I am guessing that my friend has been screwing with some files or whatever.
Anyone got any tips?
Click to expand...
Click to collapse
Why your sdcard have FAT format instead of FAT32?
Try to backup it using a PC and then format it in FAT32, but forget ext partitions for the moment
Viper The Ripper said:
Why your sdcard have FAT format instead of FAT32?
Try to backup it using a PC and then format it in FAT32, but forget ext partitions for the moment
Click to expand...
Click to collapse
Sir, it is impossible to format an INTERNAL sd card just simply by connecting it to a pc. You are talking about external sd cards here. (that's just part of the memory the phone internal has, there is no physical sd card here).
Anyway, i fixed the problem by flashing stock rom in odin wich has reformarted, and partitioned, it correctly.
shatred said:
Sir, it is impossible to format an INTERNAL sd card just simply by connecting it to a pc. You are talking about external sd cards here. (that's just part of the memory the phone internal has, there is no physical sd card here).
Anyway, i fixed the problem by flashing stock rom in odin wich has reformarted, and partitioned, it correctly.
Click to expand...
Click to collapse
Mmm... ok, well I'm glad you've solved your problem
frequently when i use my phone , some apps after some time stop working.after some research i found that only those apps were force closing with were moved to ext storage(mounted as int. in android 6.0). then i checked on es file explorer that my emulated storage unmounts automatically and only remounts after reboot.
please help me i dont want to reboot my phone almost every hour to fix this.
also my battery backup is very bad after update.:crying::crying:
Format the device but this will format the card too. I had this issue which was resolved
which format?
jaskiratsingh said:
Format the device but this will format the card too. I had this issue which was resolved
Click to expand...
Click to collapse
i want to ask you which type of format you did?(full factory reset or formatted sd card as ext.?
and is there no other way?
Same problem bro. Format will solve the issue for some time but after some days of use this problem will reoccur.