Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[FIX][ROOT][ICS ROMS] compiled "power_profile.xml" file to fix cell stand by issue

OP bala_gamer

26th June 2012, 07:21 AM   |  #1  
bala_gamer's Avatar
OP Recognized Contributor
Flag Madurai-Chennai
Thanks Meter: 6,599
 
11,444 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Only for Samsung ICS roms, this bug is fixed by samsung in JB

This We know that almost all samsung roms as of now has "cell standby" battery drain. But its understood that its a miscalculation of power used rather than the actual power usage.

A big thanks to Anderilux here and here for finding this thing .

This mod will fix the wrong reporting of "cell stand by "usage to some extent. If your mobile has actual drain due to signal issues or some other issues do not blame me or any other for not fixing this.

What is changed ?

The power drain value in power_profile.xml is changed to 3.4 mA(approx value) from 34mA(which is practically impossible).


Attaching the compiled power_profile.xml file along with this post.This saves your time of decompile/recompile framework-res.apk. All you have to do is open your framework-res , modify the apk with 7zip or winrar.

How to?

1.Open you framework-res.apk file via 7zip or winrar.
2.Navigate to "framework-res\res\xml".
3.Delete the existing "power_profile.xml" file and add the attached one here.
4.Now pull back the framework-res.apk back to your mobile
5.Restart your mobile.

Or you can simply flash the below cwm zip, thanks to @ ausdim for packing this
http://www.mediafire.com/?x7lhcpjjr9pg4mb


Now you wont see "cell standby" topping your battery usage list.

verified the power_profile of many roms ,its actually same. so this should work with almost all roms Lets hope samsung would fix it in their future rom releases

Download the xml file here

Here is the reference decompiled xml file for the purpose of learning.

before changing xml

after changing xml
Last edited by bala_gamer; 20th December 2012 at 12:20 PM.
The Following 128 Users Say Thank You to bala_gamer For This Useful Post: [ View ]
26th June 2012, 08:10 AM   |  #2  
tangcla's Avatar
Senior Member
Flag Melbourne, Australia
Thanks Meter: 225
 
1,706 posts
Join Date:Joined: Sep 2008
More
So what you're saying is, the high cell standby value report in the battery settings is not actually correct or 'real'?
26th June 2012, 08:12 AM   |  #3  
Plexicle's Avatar
Senior Member
Flag Tampa, Florida
Thanks Meter: 546
 
675 posts
Join Date:Joined: Feb 2012
More
Quote:
Originally Posted by tangcla

So what you're saying is, the high cell standby value report in the battery settings is not actually correct or 'real'?

That seems to be the consensus, yes.
26th June 2012, 08:13 AM   |  #4  
bala_gamer's Avatar
OP Recognized Contributor
Flag Madurai-Chennai
Thanks Meter: 6,599
 
11,444 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Quote:
Originally Posted by tangcla

So what you're saying is, the high cell standby value report in the battery settings is not actually correct or 'real'?

yes, the reference power value used for calculating "cell standby" power drain is incorrect.
The Following User Says Thank You to bala_gamer For This Useful Post: [ View ]
26th June 2012, 08:16 AM   |  #5  
rootSU's Avatar
Senior Member
Flag Oxenhope, West Yorkshire, UK
Thanks Meter: 13,330
 
24,414 posts
Join Date:Joined: Aug 2010
More
Yes I did this yesterday and everything makes more sense now. I set to 3 though, not 3.4

I'm slightly surprised this works with swapping the xml. That didn't work for me. I had to recompile. Reboots fine?

Sent from my GT-I9300 using Tapatalk 2
26th June 2012, 08:24 AM   |  #6  
ausdim's Avatar
Senior Member
Thanks Meter: 2,062
 
836 posts
Join Date:Joined: Jan 2007
Donate to Me
More
I make a simple zip to install it with CWM.

It will replace the file inside the framework-res.apk and it will work with any rom.

Thank's goes to Walhalla for the zip file.

And also to bala_gamer and Anderilux for the fixed file.

It is also backup your curent framework-res.apk to /extSdCard/mode-backup.

Thank's
Attached Files
File Type: zip cell_stand by_Fix.zip - [Click for QR Code] (510.1 KB, 4390 views)
Last edited by ausdim; 26th June 2012 at 08:51 AM.
The Following 42 Users Say Thank You to ausdim For This Useful Post: [ View ]
26th June 2012, 08:26 AM   |  #7  
bala_gamer's Avatar
OP Recognized Contributor
Flag Madurai-Chennai
Thanks Meter: 6,599
 
11,444 posts
Join Date:Joined: Mar 2011
Donate to Me
More
@rootSu

The XML file attached above is already compiled along with framework, so no need to recompile again.
The Following User Says Thank You to bala_gamer For This Useful Post: [ View ]
26th June 2012, 08:37 AM   |  #8  
rootSU's Avatar
Senior Member
Flag Oxenhope, West Yorkshire, UK
Thanks Meter: 13,330
 
24,414 posts
Join Date:Joined: Aug 2010
More
Yes that's what I tried

Sent from my GT-I9300 using Tapatalk 2
26th June 2012, 08:41 AM   |  #9  
eitama's Avatar
Senior Member
Flag Hod Hasharon
Thanks Meter: 184
 
558 posts
Join Date:Joined: Sep 2010
Installed, It is working but now it means I can't blame cell standby anymore for battery problems... Who shell I blame now???

Thanks guys!
The Following 2 Users Say Thank You to eitama For This Useful Post: [ View ]
26th June 2012, 08:49 AM   |  #10  
bala_gamer's Avatar
OP Recognized Contributor
Flag Madurai-Chennai
Thanks Meter: 6,599
 
11,444 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Quote:
Originally Posted by ausdim

I make a simple zip to install it with CWM.

It will replace the file inside the framework-res.apk and it will work with any rom.

Thank's goes to Walhalla for the zip file.

And also to bala_gamer and Anderilux for the fixed file.

Thanks , should have made one myself.will attach the zip file to the op

《tapatalked from galaxy s3》

The Following User Says Thank You to bala_gamer For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread