[Q] Mediaserver trouble have to be solved now! - Android Software/Hacking General [Developers Only]

Hello, everyone!
Mediaserver process drains the battery hard and that's a big problem!
On any ROMs, any Android versions.
Some users never knew that trouble, but some are in that and it's annoying at all.
There's a lot of tips how to fix it, someone says done, someone's crying.
So, I start that topic to make clear the problem and generally solve it!
What I know about the trouble:
Mediaserver drains the battery when apps are using media files.
Mediaserver is necessary process for Android.
If you kill the process, it will start at the same moment.
if you delete or rename /system/bin/mediaserver and kill the process, your device will reboot and stop on the bootloader
How did I tried to solve it:
Deleted all the broken mp3 s by mp3 Cheker
Puted .nomedia file to the main folder of sd card and external card, also personality to media folders
Installed PowerAMP, Quick Pic, MX player - apps which use their own library of media files.
Deleted MediaStorage by Titanium Backup (nothing changed, only got problems with gPlay)
Nothing helps.
Doesn anyone have any idea what else can fix that?

no ideas? Only myself ibterested in it?

I thought, xda forum users are interesting in solving problems, improving mobile world, but I surprised that noone are in this topic.

Related

WMP won't play protected media files anymore!

I have posted this in the Prophet forum, but realized it's not prophet-specific and I might stand a better chance of getting an answer here - sorry for double posting, but it's a little annoying not to be able to listen to music I paid for and I haven't received any suggestions yet...
Basically had a device that was acting funny enough to deserve a hard reset. I had about 25 music files that were DRM-protected but sync fine and play flawlessly on my Storage Card. (Oddly, that's the LIMIT! Windows Media balks at anything over 25 and gives an error, which Microsoft recognizes and comments on on their site - anyone know anything about this?)
After the hard reset, none of the files would play, which I didn't take as any huge surprise, I just synched again. No go - The files synch fine, but I get an error saying something about the filesize being too large and unable to play ANY file in my library. (the actual error message is in Chinese, so I'm not sure about the exact wording in English, sorry)
I have deleted MSMETADATA from the storage card and thought this would solve the problem, and upon the next synch I got a new directory that I didn't notice before - WMDRM, and a file WMPInfo.xml. Don't know exactly what these do, or if I should delete them.
Has anyone experienced this and have any advice on a next step? I really REALLY don't want to hard-reset again as I've kinda given up on SPB Backup (it was after a scheduled backup that things got strange) and am re-installing things by hand.
Thanks in advance!

'Not enough storage is available to complete this operation.' <-- Lies :/

OK im annoyed now - i flashed a new rom last month and it was beautiful up until last week ish when all my streaming apps just stopped working claiming that 'Not enough storage is available to complete this operation.' - i get this error message (or variations) in rss hub, windows media player, TCPMP, the streaming media app, youtube video just fails, and others. really starting to p*** me off now as i cant do anything with my phone
i have over a gig free on the storage card and over 200mb free of internal flash - what the hell is going on!?
if anyone can shed some light on this i would be most grateful
cheers
fusi
ok well i give up forum searches have suggested the only 'fix' is to hard reset. lol that totally sucks i havent figured out whats causing it - one day it was working - the next it wasnt im gonna flash genesis tonight sod it so im banking on that clearing it out - hope this doesnt happen again
Edit - nevermind.
Dunno what's going on, but maybe you needed to check your temp folders. I've found big files in \windows\temp before after streaming hulu and other videos.
Get a memory management software like Memaid or Advacnced Config. and be sure everything except for PIE cahes to your storage card.
Then clean your system.
Thanks for the suggestions guys - i re-flashed in the end but if it happens again ill do as you suggest - though im pretty sure i had loads of space free on the flash and sd as well as ram
cheers!
Are you sure the message was for storage memory and not just memory? You can run out of virtual program memory pretty easily on a lot of roms (just read the 6.5 thread in hacking), even if you have plenty of free ram.
the message i got was exactly as is displayed in the topic of this thread - nice and vague isnt it ^^;
im pretty sure there were no memory issues of any kind on the device at the time of the problem - everything worked apart from streaming - pretty sure the OS got itself confused somehow - hohum!
Try creating a folder in \windows called "cache". Then see if junk appears there (it may require a reset to work). In sk tools, it shows \windows\cache as a junk directory, but I think you have to create the folder to see it.
thats quite an ingenious suggestion - if it happens again ill have a look and report the findings ^^;
cheers
fusi
Don't get too excited yet, lol. Yesterday, I downloaded some youtube vids to main memory and then cut and paste them to my sd card. But the memory wasn't released for whatever reason, even though the files weren't showing up anymore. I deleted them with sk tools, but didn't think of making the cache folder til later. I haven't been able to replicate the un-released memory since then.
Ok, so I was messing around with youtube (watching Danger Island, lol). I found that if I opened total commander w/o closing youtube (used voice command), there are a bunch of temp files in the windows\youtube folder. There was a 3 MB .dat file and a 10 MB temp.3GP file. The latter was clearly the video. When I closed youtube, all the temp files disappeared. I suspect that something is going wonky with your temp files clearing out, or that watching big streaming vids dumps a massive file into main memory that gives the errors. The only way to find them is to look while the streaming app is running. (You can pause it, I'm sure).

GC and CC logs of Mozilla (Firefox ? ) consuming huge amount of space

I have previously posted this question in the Samsung S7 Edge section here http://forum.xda-developers.com/s7-edge/help/gc-cc-logs-mozilla-consuming-huge-space-t3397783 but didn't get any response. It is possible that the topic didn't get any attention as it is in the wrong section and I also feared that my problem could be due to malware and some other security bugs.
My problem started when I was suddenly told that my S7 is running out space without any new huge apps being installed. I tracked down the sudden lose of storage space to a folder named "memory-reports" inside the default Download folder. The folder content comprise multiple logfiles with each file sizes averaging 30mbs, and the number of files gradually increase and eventually hogging over 3gigs of storage space. I deleted the entire folder with the logfiles but the folder appeared again with similar logfiles.
after Googling around, I found the description of the logfiles here https://developer.mozilla.org/en-US/...GC_and_CC_logs. it seem to relate to Mozilla Firefox and I doubt this problem is specific to Samsung S7 Edge although this is the phone I am using now and the problem only occurred to me for the first time recently. couldn't find any mention of similar issue anywhere else via Google, but maybe some of you guys are better at digging them up. Seeking some comments, suggestions as to what cause, possible solutions...
NOTE: My phone is NOT rooted. the logfiles are still being generated periodically and have to be deleted to recover the space. deleting them don;t seem to affect the operation of any apps and especially FIREFOX, which is the only connection I can find with mention of those logfiles name with MOZILLA. The problem seem unique to me at the moment as I still couldn't find any reference on Google to them. Any head-up suggestion on possible reason and ways to track down exactly which apps, background process are generating the log files are certainly welcomed.
I am experiencing the same issue on my Motorola Nexus 6.
Thanks for this. I was facing the same problem. I just deleted the files. It didn't seem to hurt firefox. ]

[Completed] Pictures / photos using phone camera are automatically deleted after a while

Hi guys,
I need your help. Although, i am suspecting a virus / malware, i still need confirmation on this.
I am using huawei p8 (marshmallow).
First, i noticed that i was not able to delete a certain folder inside my movies folder. The folder contains a sample video, a full movie in mkv file and an srt file.
I thought it is OK since I still got plenty of unused space in my sd card.
But later, i found out that the photos i got using huawei's stock camera app are corrupted then later on automatically deleted.
Im not really sure if these problems are connected but i hope you guys can help me on this.
Thanks a lot.
Hi !
That`s indeed a strange behaviour
Try to uninstall any tweaking / cleaning / battery saving application from your phone , these have a tendency to suggest apps or websites from where you can easily get malware
You can tell us which apps as above you use
A antimalware application like Bitdefender may help
Good luck !
Thanks xanthrax
Hi,
Just installed bitdefender and it found a trojan in my sdcard. That is weird since I also tried to do that using lookout anti virus but it found nothing.
I guess bitdefender is better than lookout.
I'll just try to observe my phones behaviour for now. I'll keep you posted.

phone is erasing my files

I noticed strange behaviour few days ago. In internal storage I creeated folder Apk where I am storing some downloaded apps for offline instalations in case I need them again. But every little apps are missing. For example today morning I have 47 apk files and right now there are only 7. Also I noticed that folder named RecycleBinHW is increasing so I assume that files are moved there somehow??? Before this phone owned Samsung phones for last 6 years and never experienced such issues. How to stop this weird action of my phone and did anybody else have same problem?
zic1 said:
I noticed strange behaviour few days ago. In internal storage I creeated folder Apk where I am storing some downloaded apps for offline instalations in case I need them again. But every little apps are missing. For example today morning I have 47 apk files and right now there are only 7. Also I noticed that folder named RecycleBinHW is increasing so I assume that files are moved there somehow??? Before this phone owned Samsung phones for last 6 years and never experienced such issues. How to stop this weird action of my phone and did anybody else have same problem?
Click to expand...
Click to collapse
Have you tried resetting the phone, to see if it makes a difference? Maybe worth getting a USB C pen to save APK's to? I know that Huawei have Petal Search which searches for all the APK's you need. Could save sometime?
I already have those apk files stored on ext. USB but I want to find how this could be possible... I am testing now - was created new folder with different name and put same files inside... I don't have installed any security app which can detect such apk files as potencialy unsafe...
Change settings in optimizer app. It’s set by default to auto clean.
Many thanks! Yes, optimizer was doing mess, I found and recovered files and disabled cleaning for future. I am using SD Maid for such purposes. this Optimizer is new for me because it is my first Huawei phone.
Hi, today phone again erased most of apk files from my folder. Before I disabled auto clean, I don't know how this reactivated again. Now, I don't know how to recover files, I can not find them anymore, it seems that this Optmizer app change settings in latest update or something. I am really pissed of with this app... Need any help!
I am still having this problem and it seems that other Huawei users have same issues: https://forum.xda-developers.com/mate-20-pro/help/mate-20-pro-delete-apps-apk-backup-t3916434
yeah same here.. i zip them and stay there.. only solution i ve thought
I never experienced such issue with any device in last 10 years since I am using Android phones. It is really makes me crazy. In Optimizer I disabled everything I could. This morning I downloaded few apk files and I just found that all gone from my folder... Unbelivable that I can not control my own phone...
Hello mates, same problem with my P30 and Optimizer app. It randomly erases some files that are recognized as junk but they aren't junk and not just apk files. I read that solution to remove Optimizer with ADB isn't the smartest idea. I disabled Optimizer settings to do "Auto-clean junk files". Is is enough or I could do something else?

Categories

Resources