[FIX]WiFi Fix - Xperia SP General

If you have a WiFi permanently disabled or very weak, try to do it:
Open the file /system/etc/firmware/wlan/prima/WCNSS_qcom_cfg.ini in text editor.
Change the line gEnableBmps = 1 to gEnableBmps = 0
Save and reboot
This increases the stability of the WiFi and fixes WiFi from regular stops.

Only for rooted sp?
Sent from my C5303 using xda app-developers app

Pietertje_ said:
Only for rooted sp?
Sent from my C5303 using xda app-developers app
Click to expand...
Click to collapse
Yes

Tried on it and looking for the improvement! Thanks bro :good:

Hahaha! Alivanov I Love You Thanks For This XDD

I posted this to a hungarian forum and one guy said it worked for him.
So thanks for the fix.

The file is read only.
How can i edit and save it?

Pietertje_ said:
The file is read only.
How can i edit and save it?
Click to expand...
Click to collapse
Mount /sytem as rw in RootExplorer or in some others file managers that support root.

alivanov79 said:
Mount /sytem as rw in RootExplorer or in some others file managers that support root.
Click to expand...
Click to collapse
Thanks. Hope this will fix the random wifi disconnects.
*Edit
The fix didn't work for me, wifi is still very unstable with random disconnects.

Can't modify with anyone root explorer, anybody have any idea why I'm doing wrong?
Sent from my C5302 using xda app-developers app

Any issues with battery life after doing this? After googling came across a posting regarding this code and the Nexus 4 where it increased the idle battery usage from 0.5% to 5% per hour.

Xadious said:
Any issues with battery life after doing this? After googling came across a posting regarding this code and the Nexus 4 where it increased the idle battery usage from 0.5% to 5% per hour.
Click to expand...
Click to collapse
No battery draining at all for me.

alivanov79 said:
No battery draining at all for me.
Click to expand...
Click to collapse
Good to hear. I just did the edit and it fixed the issue i was having with the AirDroid app where before it would disconnect if the screen went off, now it works even with it off

Don't know about battery drain but this seems to definitely speed up connection to my wlan. Before I would get one or more authentication errors before it would connect but it seems pretty instant now. Will keep an eye on battery and report back.
EDIT: I don't think its helped actually. That said my issues sound slightly different, in that once I'm logged on things are good, but it can take five or six time s to log on if I don't have a good signal.
Sent from my C5303 using xda premium

after a 5th reboot it looks like it is working.
4 hours without wifi disconnecting.
*Edit
Wifi is not fixed...
Again random wifi disconnects.
Sent from my C5303 using xda app-developers app

No improvement still the same problem of frequent disconnection

Gonna try it once I unlock my BL
"你看到了没? 爱让我流胆怯的泪..."
"Have you seen it? Love has made me cry cowardly tears..."

Pietertje_ said:
after a 5th reboot it looks like it is working.
4 hours without wifi disconnecting.
*Edit
Wifi is not fixed...
Again random wifi disconnects.
Sent from my C5303 using xda app-developers app
Click to expand...
Click to collapse
Yes I'm going to have to retract my statement too. Still get authentication issue.
Sent from my C5303 using xda premium

Perhaps some logcats or dmesgs can help?

Seems this is not the magic fix i thought it was, battery drained a huge amount overnight in idle mode when i was asleep. Corresponds to roughly what other people said in other forums about battery draining at about 5% per hour in idle mode as opposed to 0.5% per hour at default setting.
Seems its more an issue of Sony having to optimise WIFI settings to work correctly as it's probably mostly at default Android settings currently (with some changes by Sony, but clearly not enough changes).

Related

[Q] mot_tcmd / tcmd 55% battery drain???

I got pretty bad battery life today.
Usually I make it through a day with moderate use.
Today though, it was really bad thanks to "tcmd".
Thats all the info the battery usage page gives me.
55% and 2h:40m CPU time !!
What is that process? First time I see that problem.
My display time was just 55 mins today.
I am rooted on 57.
In terminal, "ps" gives me mot_tcmd /system/bin/tcmd
Anyone seen that before? What is that?
Thx
Me too! I used to use one battery charge per day and all of a sudden my battery is dead. Batter shows tcmd using 40%... I thought it may be related to the 1.8.3 update I applied over the weekend. The internet says tcmd is total commander app which I dont have unless its bunded with another app. I dont see it in the task manger either. Any info would be great. Thanks!
Mark
Sent from my MB860 using XDA App
I had this problem once also. But it was before the update that I just did. Wasn't able to pinpoint what it is though.
Sent from my MB860 using XDA App
My battery was dead in under 5 hours this morning. I restarted the phone and recharged and it seems fine now. I dont see tcmd in the battery list either. Ill see what happens in the morn.
Mark.
Sent from my MB860 using XDA App
TCMD is draining my battery fast. Running at between 34 and 40%
Would like to know what it is.
Are you all using Gingerblur 3.1? I flashed Kenn's new update and my battery life was total crap today. I dunno if it's related or not...
Sent from my MB860 using XDA Premium App
Im running stock 8.3 no root. After I simply restarted my phone I havent had the issue resurface again. Weird fluke I guess. My guess is that process must connect or do something over the wireless network and att may have been having issues with whatever that service is causing the service on our phones to use up all the battery while retrying. That theory but who knows.
Sent from my MB860 using XDA App
markh7999 said:
Im running stock 8.3 no root. After I simply restarted my phone I havent had the issue resurface again. Weird fluke I guess. My guess is that process must connect or do something over the wireless network and att may have been having issues with whatever that service is causing the service on our phones to use up all the battery while retrying. That theory but who knows.
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
i used max 7h for 1 changed of battery . the baatery of atrixis very bad or processer run so fast ????

Wifi after v6 supercharge script....

The default wifi scan is set to 3 minutes in the build.prop. This is not acceptable for me to wait 3 minutes when the phone boots to wait for a wifi connection. I've changed it to 30s, but does anyone know of a better way of addressing this? It seems this setting might be bad for battery life.
Sent from my MB860 using Tapatalk
hoodlikegaza said:
The default wifi scan is set to 3 minutes in the build.prop. This is not acceptable for me to wait 3 minutes when the phone boots to wait for a wifi connection. I've changed it to 30s, but does anyone know of a better way of addressing this? It seems this setting might be bad for battery life.
Sent from my MB860 using Tapatalk
Click to expand...
Click to collapse
I use this on my atrix and my wifi connects instantly
Sent from my YP-G70 using xda premium
I set mine to 30 sec in the build.prop as well after installing V6... seems the simplest way to edit. I'd imagine that battery drain is negligible.

Poor Battery Performance of my S 2

Hello everyone,
My S2 only last for 10-13 hours and it drains battery too fast. Tried everything and nothing happened.
In my phone i disabled almost everything which drain battery.
No Facebook
No auto syn of Gmail
Access location is off.
GPS Off
Soft key light/Vibration off
No skype
Disabled Accu weather app
Disabled many others bloat ware
Brightness is set at almost zero level
Better Battery Stats show connectivity wake lock. i think ghis the main problem for drain.
And plz tell me how can i set my phone to only gsm. There is no option for that in phone. In setting it says GSM / wcdma and only wcdma. I set it at gsm/wcdma. Am from Pakistan and here there is no 3g/wcdma.
And if by dialing *#*#4636#*#* i choose gsm, it comes back to gsm/wcdma. Is it draining battery?
<nvm, didn't read properly...>
cute_kayani said:
Hello everyone,
My S2 only last for 10-13 hours and it drains battery too fast. Tried everything and nothing happened.
In my phone i disabled almost everything which drain battery.
No Facebook
No auto syn of Gmail
Access location is off.
GPS Off
Soft key light/Vibration off
No skype
Disabled Accu weather app
Disabled many others bloat ware
Brightness is set at almost zero level
Better Battery Stats show connectivity wake lock. i think ghis the main problem for drain.
And plz tell me how can i set my phone to only gsm. There is no option for that in phone. In setting it says GSM / wcdma and only wcdma. I set it at gsm/wcdma. Am from Pakistan and here there is no 3g/wcdma.
And if by dialing *#*#4636#*#* i choose gsm, it comes back to gsm/wcdma. Is it draining battery?
Click to expand...
Click to collapse
what ROM are you using ??
What!?
You wrote "My S2 only last for 10-13 hours and it drains battery too fast."
On attached screenshot you have 80% left after 6 hours of usages whereas 48% is used by Screen and 17% is used by Boat Browser.
You have to expect about 1~1½ % drain per hour ... even if you don't use your phone.
Screen drains a lot depending of your amount of Brightness! If you can get 4 hours Screen On, your happy.
From what I can see ... your battery time is totally normal!
I have Stock rom ICS 4.0.4
My cellphone is branded version and it comes from 3 Mobile UK.
Sent from my GT-I9100 using xda app-developers app
no its not normal.. today i charged it and not use it for 2 hours.. i put it on airplane mode and leave it for 2 hours after 100% charge, to check the partial wakelocks.
I thought this time connectivity service wakelock doesn't appear but it does.
i thought connectivity service wakelock is due to mobile signal but when i put it on airplan mode for 2 hrs this partial wakelock still appear.
Sent from my GT-I9100 using xda app-developers app
cute_kayani said:
I have Stock rom ICS 4.0.4
My cellphone is branded version and it comes from 3 Mobile UK.
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
Hmm , I am not a Fan of ICS though, but the battery time which you have shared (Just Saw it) LOL , it is totally fine , and secondly , use a safe kernel to root the phone (PhilZ Kernel) link is in my signature , and then Flash NeatROM Lite v4.0 , my battery lasts easily 18-20h and i am a heavy user of the phone with Calls , Messaging , FB , Twitter, Whatsapp, Viber & Tapatalk
Follow my guide which i posted Here
Mr.KiLLeR said:
Hmm , I am not a Fan of ICS though, but the battery time which you have shared (Just Saw it) LOL , it is totally fine , and secondly , use a safe kernel to root the phone (PhilZ Kernel) link is in my signature , and then Flash NeatROM Lite v4.0 , my battery lasts easily 18-20h and i am a heavy user of the phone with Calls , Messaging , FB , Twitter, Whatsapp, Viber & Tapatalk
Follow my guide which i posted Here
Click to expand...
Click to collapse
... or just use your phone "as is" and be happy :laugh:
haha thanks for your solution
Sent from my GT-I9100 using xda app-developers app
but tell me one thing, how to minimize connectivity partial wakelock? what are the cause of this wakelock.
This is tha main problem for me...
Sent from my GT-I9100 using xda app-developers app
cute_kayani said:
but tell me one thing, how to minimize connectivity partial wakelock? what are the cause of this wakelock.
This is tha main problem for me...
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
i think you are using wrong RIL and modem , just flash firmware for pakistan
Try JuiceDefender from play market.
cute_kayani said:
Hello everyone,
My S2 only last for 10-13 hours and it drains battery too fast. Tried everything and nothing happened.
...
/QUOTE]
Click to expand...
Click to collapse
juice defender did nothing for me. it turns off everything which i already turned off.
Sent from my GT-I9100 using xda app-developers app
pepe_palotes said:
Try JuiceDefender from play market.
Click to expand...
Click to collapse
PLS STOP with all this Juice Defender nonsense! A task killer often will drain your battery even more ... some processes will just restart again after you have killed it.
On newer Android version (GB and ICS) I haven't found any task killers that actually prolonged my battery time.
Adjust your screen brightness as low as possible, use a dark backgrounds and themes, get rid of unnecessary Widgets and Live Screen backgrounds, Sync Mail, Calendar, Twitter only when needed ... and then you will be fine :good:
cute_kayani said:
juice defender did nothing for me. it turns off everything which i already turned off.
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
use the rom which i am using , its awesome ... Links are in my signature !
hmmm. how to set only GSM?
Sent from my GT-I9100 using xda app-developers app
cute_kayani said:
hmmm. how to set only GSM?
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
why do u want to do that , its useless as there is no 3G here
ok....
Sent from my GT-I9100 using xda app-developers app
And better, get an original 2000ma battery, this help very much.
Sent from my GT-I9100 using xda app-developers app
cute_kayani said:
ok....
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
A simple click on "Thanks" Button would be Appreciated
---------- Post added at 09:15 PM ---------- Previous post was at 09:13 PM ----------
DummyPLUG said:
And better, get an original 2000ma battery, this help very much.
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
I wished i could get a original 2000mAh battery in Pakistan

Still having issues

I'm still having huge battery issues no matter the ROM and kernel I use...
I have tried looking at battery apps that determine what's sucking up the battery but half the time it just says screen or WiFi. So it got me thinking, is it WiFi? I leave WiFi on, which was never and issue like a month ago or ever on my previous androids...but now all the sudden it seems to be the cause? I woke up to find my phone at 50% from 100 within 5 hours...of no use just WiFi turned on and set to only stay on when plugged in...so I could really use some help guys...
Sent from my SPH-L720 using xda app-developers app
Rocklee99 said:
I'm still having huge battery issues no matter the ROM and kernel I use...
I have tried looking at battery apps that determine what's sucking up the battery but half the time it just says screen or WiFi. So it got me thinking, is it WiFi? I leave WiFi on, which was never and issue like a month ago or ever on my previous androids...but now all the sudden it seems to be the cause? I woke up to find my phone at 50% from 100 within 5 hours...of no use just WiFi turned on and set to only stay on when plugged in...so I could really use some help guys...
Sent from my SPH-L720 using xda app-developers app
Click to expand...
Click to collapse
Simple solution - turn Wi-Fi off and see if it fixes the battery issue. Possible it is but to draw 50% that quick you'd have to be far away from the Wireless AP. In most cases that's very unlikely.
Rocklee99 said:
I'm still having huge battery issues no matter the ROM and kernel I use...
I have tried looking at battery apps that determine what's sucking up the battery but half the time it just says screen or WiFi. So it got me thinking, is it WiFi? I leave WiFi on, which was never and issue like a month ago or ever on my previous androids...but now all the sudden it seems to be the cause? I woke up to find my phone at 50% from 100 within 5 hours...of no use just WiFi turned on and set to only stay on when plugged in...so I could really use some help guys...
Sent from my SPH-L720 using xda app-developers app
Click to expand...
Click to collapse
Yu should try sacs custom rom look at my battery life
Sent from my SPH-L720 using xda app-developers app
Fatboisolo said:
Yu should try sacs custom rom look at my battery life
Sent from my SPH-L720 using xda app-developers app
Click to expand...
Click to collapse
ya look at that.....but when you have small charges in between that dosent fully charge you.... you can make it run for ever...... the timer dosent reset untill you hit full charge. i agree with garwynn but ide also check your battery for swelling. ive had my wifi on all day (didnt realize it) and ive not had but mabey a 15% drain from it (5h28m to be exact).
xxaddictedxx said:
ya look at that.....but when you have small charges in between that dosent fully charge you.... you can make it run for ever...... the timer dosent reset untill you hit full charge. i agree with garwynn but ide also check your battery for swelling. ive had my wifi on all day (didnt realize it) and ive not had but mabey a 15% drain from it (5h28m to be exact).
Click to expand...
Click to collapse
Yur ryte bout dat but dis actually pik with the 11hrs dats on v7 with out any small chargers in between. Not trying to fake anything or what not but sacs rom is the only rom i used with greenify that actually helps with battery life
Sent from my SPH-L720 using xda app-developers app

Nexus 7 power spikes.

I'm not sure what's happening. My Nexus 7 remains idle most of the time, yet I get pretty bad battery drain and then when I check the battery history I see this. This happens during every battery drain.
Any ideas guys?
g.davis17 said:
I'm not sure what's happening. My Nexus 7 remains idle most of the time, yet I get pretty bad battery drain and then when I check the battery history I see this. This happens during every battery drain.
Any ideas guys?
Click to expand...
Click to collapse
Wow, have never seen that on any device! Install Gsam or better battery stats if you are rooted to see what's going on. My best guess, it's a hardware issue.
Sent from my 2nd gen Nexus 7
Woah... Is your tablet trying to go Super Saiyan?....
Also I'm completely stock and have never rooted it and the Android system usage was close to 70% of the battery usage.
Sent from my SCH-I545 using XDA Premium 4 mobile app
Looks exactly like mine !
g.davis17 said:
Also I'm completely stock and have never rooted it and the Android system usage was close to 70% of the battery usage.
Sent from my SCH-I545 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Have you already tried reformatting? Kind of a pain, but that's the only thing I can think of.
Try contacting Google or the seller they might give you a replacement.
Sent from my SGH-I337M using XDA Premium 4 mobile app
That happened to me once or twice. These spikes are only visible on the battery graph in settings app. I use an alternative battery monitor app from Google play and it does not show any spikes. Also battery life seems pretty in line with what other people report. I simply ignore them since they do not seem to affect battery life.
Could it be caused by the wireless charging functionality being triggered by other electronic devices in house?
I saw the same problem in the G+ community there, but it's Gelexy Nexus which updated to Android 4.3 recently
https://lh4.googleusercontent.com/StjSPYyRwtNHMBDli224-BiHIgMBpJ53YOMAKLIutHw=w498-h885-no
bandit_knight said:
That happened to me once or twice. These spikes are only visible on the battery graph in settings app. I use an alternative battery monitor app from Google play and it does not show any spikes. Also battery life seems pretty in line with what other people report. I simply ignore them since they do not seem to affect battery life.
Could it be caused by the wireless charging functionality being triggered by other electronic devices in house?
Click to expand...
Click to collapse
Yes, but the screen shot shows 2 days of battery , and he don't use the tablet
If I have a Light use I have battery to 4 Or 5 days...
I advise you to factory reset with the battery charged
Sent from my Nexus 7 using Tapatalk 4
I'll try doing a factory reset I suppose and see if that cures this. I'll keep everyone updated.
Sent from my SCH-I545 using XDA Premium 4 mobile app
g.davis17 said:
I'll try doing a factory reset I suppose and see if that cures this. I'll keep everyone updated.
Sent from my SCH-I545 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
ppdebie said:
Seems more likely to me then the battery actually spiking it's voltage. That'd be potentially more serious...
Click to expand...
Click to collapse
Hey everyone,
My Nexus 7 (2013) is having the same problem with battery graph. There are about 2-3 spikes to 100% in every discharge cycle.
I noticed this problem has been reported in different cycles, but no one seems to be able to give a definite answer of what the source of this problem is.
BTW, after a reset to factory settings, the problem still persists.
ANY idea why this is happening???
g.davis17 said:
I'm not sure what's happening. My Nexus 7 remains idle most of the time, yet I get pretty bad battery drain and then when I check the battery history I see this. This happens during every battery drain.
Any ideas guys?
Click to expand...
Click to collapse
SEARCH 1st b4 posting!!!
http://forum.xda-developers.com/showthread.php?t=2381550
henklbr said:
SEARCH 1st b4 posting!!!
http://forum.xda-developers.com/showthread.php?t=2381550
Click to expand...
Click to collapse
You just keep referring to that forum without actually answering my question, even on that forum

Categories

Resources