Battery Drain due to Media Server - Xperia SP Q&A, Help & Troubleshooting

Hello i have found some guides that explain how to deal with this but i could not solve the problem
1st) I cant find 0byte files on my internal sd
2nd) there is no way that i factory reset the phone
3rd) the app that used to work like magic on 4.3 now wont work (https://play.google.com/store/apps/details?id=com.addz.mediascannerroot)
4th) An app that i found in a post caused some problems (like phone locking up and having to reset the phone so i can unlock it)
I attached some photos of my battery drain so you can get an image of the problem
(it may not seem as a drain but when i used the "Rescan Media ROOT" app on 4.1.2 i used to get a MUCH greater battery life.
My phones status
UBT
Rooted
Running on 4.4.2 Aopk Rom
Doomkernel v04
Thank you and i am sorry for my endless questions i try to contribute to the forum as much as i can.

jackaros said:
Hello i have found some guides that explain how to deal with this but i could not solve the problem
1st) I cant find 0byte files on my internal sd
2nd) there is no way that i factory reset the phone
3rd) the app that used to work like magic on 4.3 now wont work (https://play.google.com/store/apps/details?id=com.addz.mediascannerroot)
4th) An app that i found in a post caused some problems (like phone locking up and having to reset the phone so i can unlock it)
I attached some photos of my battery drain so you can get an image of the problem
(it may not seem as a drain but when i used the "Rescan Media ROOT" app on 4.1.2 i used to get a MUCH greater battery life.
My phones status
UBT
Rooted
Running on 4.4.2 Aopk Rom
Doomkernel v04
Thank you and i am sorry for my endless questions i try to contribute to the forum as much as i can.
Click to expand...
Click to collapse
i had the same problem and i think your only solution is to format the SD Card and put your data back on it and try another rom
if you dont wanna try another rom wipe cache and dalvik cache

I have tried 2 roms existenz and aopk kitkat same problem i formated the internal card yesterday in case this did not work I'll have to format my external.
Thank you
Sent from my Xperia SP using xda app-developers app

Do you listen often to music? Because when I start Walkman and listen to music the Mediaserver starts running too..

mrjraider said:
Do you listen often to music? Because when I start Walkman and listen to music the Mediaserver starts running too..
Click to expand...
Click to collapse
All day long.I use poweramp but i think the principal is the same.
Also i found out that the total wipe of my internal SD i did earlier did not help at all.
But using BetterBatteryStats i found that:
AudioMix has been running for 2 hours and 3 minutes in total. (partial wakelock)
PowerManagerService.Wakelocks has been running for 2 hours total (kernel wakelock)
Whats all this stuff ?Are these 2 system related ? and last but not least can i stop them from running ?

Well playing music drains the battery pretty quick. This is also due to mediaservice.. We cant do a thing about it.
PowerManagerService: http://forum.xda-developers.com/showthread.php?t=1827676
AudioMix: http://forum.xda-developers.com/showthread.php?t=2520406

Install and try mediaserver killer in Google Play. Hope it helps.

Thank you i have used this app but when i locked my phone something happened and could not unlock it
Sent from my Xperia SP using xda app-developers app

i too hav the same problm

Same issue as jackaros but peak
Even my XSP is facing similar issue like jackaros's and in mine Media Server is constantly consuming battery at 75-80%. I have also attached a screenshot of the same. My phone was completely normal, recently I had a complete wipe and restored Nandroid backup from then this issue creeped in. I have searched several threads in XDA and every time it ends cluelessly. Dear Devs and Mods, please help us
Phone Stats:
UBL
Rooted
and
Currently running on dipesh1502's: [ROM][LB/UB][.205][RECOVERY][KERNEL]Rooted,Deodexed,Zipaligned Stock Rom V1.1[22.07]
Thank you

rjoey said:
Even my XSP is facing similar issue like jackaros's and in mine Media Server is constantly consuming battery at 75-80%. I have also attached a screenshot of the same. My phone was completely normal, recently I had a complete wipe and restored Nandroid backup from then this issue creeped in. I have searched several threads in XDA and every time it ends cluelessly. Dear Devs and Mods, please help us
Phone Stats:
UBL
Rooted
and
Currently running on dipesh1502's: [ROM][LB/UB][.205][RECOVERY][KERNEL]Rooted,Deodexed,Zipaligned Stock Rom V1.1[22.07]
Thank you
Click to expand...
Click to collapse
Turn off all syncing activities and also use odexed roms because the deodexed roms have this issues usually, random battery drain amd such. Kernel might also be the problem so you can try that.
For us to better solve your issue, please download better battery stats here and send screenshots of 1hour of battery usage: http://forum.xda-developers.com/showthread.php?t=1179809

Related

[Q] [Help]Samsung Galaxy's Big problem :( my last chance PLEAS HELP!

Hello, first sorry for my bed english i'm from Slovenia.
I have a huge problem with that phone
it was all okey when i was using doc-s room
but few day's ago i tryed out darky's room it was going great until i changed kernel to speedmod 13..
Then i pluged in my phone and when it was on 100% i did unplogit trugh the night i didn't touch the phone but at the mornig the baterry was dead at 0 %
then agin i did pluged in my phone and unpolged it at 17% (i had to go to school)
i was trying to listen to the music but my phone automaticaly turned of at 13% battery.
when i was at home the phone wouldn't want to start not when conected to PC and not when conected to regular battery charger.
Then i flashed my phone with XXJPY and it started normaly.
Can someone pleas tell me what's wrong whit my phone?
Or what i did it wrong whit it?
Second problem:
Now i have instaled cm7 room with latest update and when i turn on my phone it say's that that this version isn't susported or something like that..
but the main problem is that my phone reboot itself 5-6x times a day for no reason at all..
I'm i the only one with this problem?
PLEAS help me you are my last help i don't want to sell the phone becuse i absultuly love ANDROID... but im starting to think abaut switching to the iphone becuse my old 3gs didn't have problems at all
Try wipe battery stats when the battery is at 100.if this don't work make a clean install of your rom using odin making also a repartition then apply doc rom
Sent from my GT-I9000 using XDA Premium App
cm7 is unstable now - so it can reboot without a reason
Tnx how do i wipe battery stats?
recovery - advanced - wipe battery stats
Read the cm7 known bugs, wifi policy causing reboot/crashing. Read and change your settings. Then read some more. Hope this helps.
Sent from my GT-I9000 using XDA Premium App

[Q] .434 update and mediaserver

I have a rooted with locked bootloader XZ.
1) Is the only way to update to .434 through Flashtool?
If yes, can someone link it to me? I'm slightly confused about the differences between the original sony flashtool, flashtool and pc companion?
Will flashing it through flashtool wipe the data and the root? If yes, can i still use this:
http://forum.xda-developers.com/showthread.php?t=2186368
to root my phone again while letting the bootloader remain locked?
2) I see that the mediaserver process is draining a lot of battery even when the phone is in standby and not being used..auto sync is disabled too. Are there any definite ways to fix this? I've did some searching and found out that you may be able to fix it by removing all the photos and videos as one of them may be broken hence draining the battery, but this is a little too 'meh' for a fix. Help?
Pc companion and sony update service are somehow the same.you can use it to repair your phone and revert to unmodified stock rom.they are for locked bootloader.
Emma is for unlocked bootloader.
Flashtool is for locked and unlocked bootloader with many options.
With flashtool you can unlock and relock the bootloader,you can flash any ftf(stock firmware) files,you can also excludes for example the kernel or not to wipe data.....
Yes you can root again after repairing or flashing ftf files.
Mediaserver(camera,photos,videos,YouTube).let the phone settle if its new.
Sorry for my bad English
Sent from my C6602 using xda premium
Hm so i can use
http://forum.xda-developers.com/showthread.php?t=2202685
with flashtool? what options do i choose so that it flashes the new firmware but still letting everything else unchanged(no wipe)?
Yes you can,just untick wipe data.
Sent from my C6602 using xda premium
aite one more question, i got the XZ like 3-4 weeks ago, and the mediaserver is draining battery. Will it start draining less as time goes?
is this a common problem for android devices?
If you have corrupted media files could be the culprit.
Or if you have an app that upload media files in the background.
Sent from my C6602 using xda premium
Any ways to spot the corrupted media files? Pretty sure its from the album app..music doesn't seem to drain it at all
it only starts draining once i open album
anyonee?
Mediaserver is running as long as I'm listening to music. The moment I stop the player (tried with both walkman and poweramp) the moment it stops eating my battery. I tried leaving only 1 album with flac files (deleted all photos and movies as well) and the result was exactly the same. For 6-10 hours music playback (depending on my shift ) that process is responsible for more than half of my battery drain. I'll post some screenshots later. You can stop the indexing of media files ( with .nomedia file placed in the main folder) but that doesn't help. I've tried other things which were supposed to stop that drain, but nothing seems to work.
as for mine it's the album though, listening to music doesn't seem to drain it one bit
everytime when i access the album(indirectly or not, such as taking screenshots and sending through whatsapp) the battery starts draining like nobody's business..
so..i've tried removing every single file from the DCIM folder, and mediaserver stopped draining as much battery(android OS started draining battery instead) and after a few days now..mediaserver starts acting again..

My XT resets everything to stock after the battery dies...

A week ago I noticed that after my phone's battery was drained out it reset itself. Every app datawas deleted permamently. The phone acted like a new one. The only apps that were untouched were system apps. Some of the apps installed a previous day were also deleted but its data stayed untouched in /data/data. I had to move these datas one folder up, install these apps again and then move datas back to use the apps just like the day before. But this case with datas happens only for the "uninstalled" ones, the rest of the apps that were not magically self-uninstalled were reset to the state when they are just installed.
About 20 minutes ago it happened again. But I noticed how my phone acted before the battery-drainage death. It dropped just to 2% and then suddenly switched off without any information about "shutting down" or anything. Only the LED blinked 3 times but nothing else... I plugged my phone to the charger and switched it on and voila... it was turning on for about 3 minutes nd everything is reset AGAIN.
Is anyone able to help me? I use .141 FW but this happened on .140 too. Also I have DooMKernel v7 flashed...
Tapped from The Bond Phone!
I have similar problem, after doing many restarts with usb dis/connections, partitions remounts, etc.
I have endless bootanimation and from log I can see that IMEI has 0 lenght and ATcmdfwd service won't start.
Manual factory reset solves it. (I learned to make backups with titanium every day)
Sometimes this happens after shutdown without notification.
Also using DK7 and my rom.
What other mods do you have same as I do?
No serious mod installed at all. Only DK7 on stock ROM and nothing else. I'm really worried because it never happened before, my phone was shutting down with an information and everything was ok. But for a week I was insanely careful not to discharge the battery completely because I didn't want to restore old backups again... but I was curious if this happen again and my thoughts became true...
Tapped from The Bond Phone!
Hmm, so I am suspecting the kernel. I think I will try to return to v5 for a few days.
Maybe it is caused by the Dynamic file sync.
Try everything stock , stock ROM ,stock kernel ,no mods at all. See if it still happens.
Sent from my LT30p using xda app-developers app
Try flashing a other kernel if that does not maybe trying a different ROM will work "cough" cm10.1 "cough
ArmaNineTSeven said:
Try everything stock , stock ROM ,stock kernel ,no mods at all. See if it still happens.
Sent from my LT30p using xda app-developers app
Click to expand...
Click to collapse
AndroidHoneyComb said:
Try flashing a other kernel if that does not maybe trying a different ROM will work "cough" cm10.1 "cough
Click to expand...
Click to collapse
Thanks for the tips! I discharged my phone again and this time it shut down at 4% but with the notification so everything is ok this time but earlier I uninstalled Kernel Tuner and these two resets happened with KT installed. I've installed it again and I will drain the battery another time and see if this was a cause.
Tapped from The Bond Phone!
Damn, guys... my phone did that again. I'm on XperimenT 3.0 ROM and I was playing Galaxy on Fire 2 when I fell asleep and my phone died. I woke up, turned it on and it was like waiting in a huge queue for about 15 minutes and voilà - everything is reset to stock except from all messages were kept, all accounts were kept, all setting were kept. This is pretty annoying as I don't want to do a backup every single day...
Is anyone still able to help me? If this problem persist I will be thinking about selling this phone and moving to another and I don't want to do this because for now it's a waste of money for me...
Returning to DK v5 solved this kind of problem for me.

some bugs after installing V20C on LGP880

Today I upgraded OS to 4.1.2 with V20C(Turkey) firmware but when I shutdown the phone and then Start it passes LG logo screen and then goes to lockup screen and then goes again to LG Logo loading screen and then lockup screen... this happens 3 times then it works, another thing I notice that the phone is more hot than having V10D without having any app running.... and memory usage is more than Android 4.0.3
do i have to downgrade to V20A?
PontiacGTX said:
Today I upgraded OS to 4.1.2 with V20C(Turkey) firmware but when I shutdown the phone and then Start it passes LG logo screen and then goes to lockup screen and then goes again to LG Logo loading screen and then lockup screen... this happens 3 times then it works, another thing I notice that the phone is more hot than having V10D without having any app running.... and memory usage is more than Android 4.0.3
do i have to downgrade to V20A?
Click to expand...
Click to collapse
When upgrading from ICS to JB a "hard reset" is required.
Do it and see if it solves the problem!!!
[email protected] said:
When upgrading from ICS to JB a "hard reset" is required.
Do it and see if it solves the problem!!!
Click to expand...
Click to collapse
when you say a hard reset is reseting OS from factory? I reset 4.1.2 from factory and it doesnt keep restarting but temperature is a little high when copying files from SD to internal memory and also in gaming
Yes, by "hard reset" i meant factory reset.
This phone heats up a lot (like almost all powerfull smartphones), mainly when playing games, but that´s normal and you should´t worry about it.
[email protected] said:
Yes, by "hard reset" i meant factory reset.
This phone heats up a lot (like almost all powerfull smartphones), mainly when playing games, but that´s normal and you should´t worry about it.
Click to expand...
Click to collapse
I saw somewhere in changelog files of V20A that it reduced temperature I installed this mainly for having updated the phone with lastest official ROM and reducing temperature/drain of battery
Would I have to do something special before downgrading to V20A?
thansk for the answer
PontiacGTX said:
I saw somewhere in changelog files of V20A that it reduced temperature I installed this mainly for having updated the phone with lastest official ROM and reducing temperature/drain of battery
Would I have to do something special before downgrading to V20A?
thansk for the answer
Click to expand...
Click to collapse
Regarding the downgrade to V20A, I don´t know what you need to do, so you should wait for a reply from other user or ask in another thread.
Despite that, regardless the rom you use, the phone will heat up lot, but as i said before that´s kind of normal in any top smarthphone these days, mainly if you are a heavy user!!!
Some custom Roms claim to reduce the battery drain, so you could try some of them, shearching in the Android development threads.
If you have root, you can use greenify to "frezze" some battery draining Apps.
One thing that saved me a lot of battery (specially while in standby) was changing the stock LG launcher with the Nova Launcher.

[Q] Lagging system/random dead phone

Yo guys, please i need ur help, im fighting with this for 2 days and i think i cant win this battle against my phone.
So the problem is:
First, i installed P.A 4.0 beta kit kat with iodak v9 kernel, the phone was going random dead. I thought is the problem with P.A cause is beta so i went to Vanir 4.3.1. I went got iodak v9 kernel again and it was doing this same for me. Random dead phone (off had to make him on)
So i tho its problem with kernel so i back to iodak 8v5 fixed from anykernel project. Yea, phone is no random dead anymore but when its going to deep sleep (i think cause when i wont use phone for 2h) and i try to use it again, the whole system android is lagging so much.
Guys, pls, help me. What i have to do? something bad with my phone or with drivers/system/android?
I have done dalvik wipe and cache everytime.
Second question is ... how to formate sd card? I cant, from computer and from android (no option) from recovery when im doing format storage sd card1 is getting error. What i have to do?
The most important is first question so please help me!
Thanks!
Taggin said:
Yo guys, please i need ur help, im fighting with this for 2 days and i think i cant win this battle against my phone.
So the problem is:
First, i installed P.A 4.0 beta kit kat with iodak v9 kernel, the phone was going random dead. I thought is the problem with P.A cause is beta so i went to Vanir 4.3.1. I went got iodak v9 kernel again and it was doing this same for me. Random dead phone (off had to make him on)
So i tho its problem with kernel so i back to iodak 8v5 fixed from anykernel project. Yea, phone is no random dead anymore but when its going to deep sleep (i think cause when i wont use phone for 2h) and i try to use it again, the whole system android is lagging so much.
Guys, pls, help me. What i have to do? something bad with my phone or with drivers/system/android?
I have done dalvik wipe and cache everytime.
Second question is ... how to formate sd card? I cant, from computer and from android (no option) from recovery when im doing format storage sd card1 is getting error. What i have to do?
The most important is first question so please help me!
Thanks!
Click to expand...
Click to collapse
You are probably suffering from throttling.Make sure max CPU frequency is @ 1500 mhz.I'm on PA 4.0 beta with iodak v9.0(or 9.1, doesn't really matter) and having no problems at all.
Also to fix your SD card, get an SD card reader (USB microSD reader or laptop, both works.) and install minitool partition wizard on windows.First wipe the SD card with it and then format to fat32.Make sure you label it or else it won't be visible in windows.It'll still work on android though.
Also could you explain "Random dead"? Shutdown? BlackScreenOfDeath? Either way I'd say it's caused by heat.
Thanks so much for answer.
As i know v9 is max 1500 mhz? so how it go throttling? and throttling when i didnt do anything? phone was just on deep sleep? I was already using v8.5 on official cm 10.1 rc 3 and no problems and it was 1,7.. mhz
So i will change now to 1,5 and see if the problem is still there or not.
edit: yes i meant Shutdown... or just black screen but i could hear if someone is calling to me. Sometimes only black screen and i dont hear anything but when u were calling to me u could hear signal like a phone is on not off
Ok, seem is not the problem with 1700 mhz.. phone again gone..
Taggin said:
Ok, seem is not the problem with 1700 mhz.. phone again gone..
Click to expand...
Click to collapse
You say you can't format the SD-Card - what happens when you try?
As you have this problem on two different ROMs, I'd be tempted to flash back to Stock and make sure you don't get similar problems there - that way you can isolate the hardware from the equation and start with a fresh platform for reflashing custom ROMs afterwards.
well i dont have even option to format my sd card. When i want do it from android vanir 4.3.1 there is no option. The only one is make off ur sd card. From windows when i click right mouse i can see only how much gb is used/free. No option to format. Whats bad? i tried from recovery too but then i got only fail, no number of issue or sth..
And @ rom... today on night it was looking good.. 30% per cent on battery... i made localisation off and went sleep.. i wake up moring and battery was 0%. No idea why, i made battery now 100% and looking if the problem is still there. Actually its working fine not sure for how long. Im still on 1500 mhz. If it will work today fine it mean the problem was @1700 mhz but why? when i was already using 1700 mhz with 4.2.2 and no issues..
And why in night i lost 30% of battery too? the problem with off localisation or what? or my phone need at least one connection with internet, since i dont have wifi etc so its fresh install wihout internet connect..
I hope u know what im talking @ cause my english is not good haha
Thanks for help!!!
Taggin said:
well i dont have even option to format my sd card. When i want do it from android vanir 4.3.1 there is no option. The only one is make off ur sd card. From windows when i click right mouse i can see only how much gb is used/free. No option to format. Whats bad? i tried from recovery too but then i got only fail, no number of issue or sth..
And @ rom... today on night it was looking good.. 30% per cent on battery... i made localisation off and went sleep.. i wake up moring and battery was 0%. No idea why, i made battery now 100% and looking if the problem is still there. Actually its working fine not sure for how long. Im still on 1500 mhz. If it will work today fine it mean the problem was @1700 mhz but why? when i was already using 1700 mhz with 4.2.2 and no issues..
And why in night i lost 30% of battery too? the problem with off localisation or what? or my phone need at least one connection with internet, since i dont have wifi etc so its fresh install wihout internet connect..
I hope u know what im talking @ cause my english is not good haha
Thanks for help!!!
Click to expand...
Click to collapse
You don't format your SD Card from within Android OS - you do it from Recovery only.
Ignore all your other problems. You have so many different issues that other people don't report, so there is something major wrong.
Re-flash to Stock (Recovery and ROM) via .kdz and then start troubleshooting from there.
Actually is working fine, no battery drain and no shutdown. I made @1500 mhz. Still dont know why there was problem with @1700. I will write here if the problem will be again. Then i will try with stock.
From recovery i cant format idk why... clicking on it format storage/android/data and getting error - failed to format or sth
Ty for help.

Categories

Resources