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

Search This thread

bala_gamer

Recognized Contributor
Mar 29, 2011
12,350
7,035
Madurai-Chennai
Xiaomi 13
Xiaomi 13 Pro
[FIX][ROOT][ICS ROMS] compiled "power_profile.xml" file to fix cell stand by issue

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
screenshot2012061307254.png

after changing xml
screenshot2012062610315.png
 
Last edited:

danarama

Senior Member
Aug 22, 2010
31,277
18,811
Oxenhope, West Yorkshire, UK
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
 

ausdim

Senior Member
Jan 9, 2007
882
2,591
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
 
Last edited:

bala_gamer

Recognized Contributor
Mar 29, 2011
12,350
7,035
Madurai-Chennai
Xiaomi 13
Xiaomi 13 Pro
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》
 
  • Like
Reactions: pravinb89

ausdim

Senior Member
Jan 9, 2007
882
2,591
Thanks , should have made one myself.will attach the zip file to the op :)

《tapatalked from galaxy s3》

You and Anderilux did all the work.

Everything else is just for facilitating.

Thank you.

---------- Post added at 10:01 AM ---------- Previous post was at 09:56 AM ----------

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!

Now you can blame the "Screen" :cyclops:
 

hisee

Senior Member
Oct 29, 2010
3,114
247
MUMBAI
just copy zip file in sd card and cwn insll from sd card? it wont give UPGARDING ANDROID. in every boot?

Sent from my GT-I9300 using xda premium
 

danarama

Senior Member
Aug 22, 2010
31,277
18,811
Oxenhope, West Yorkshire, UK
it wont give UPGARDING ANDROID. in every boot?

Sent from my GT-I9300 using xda premium

Just once perhaps.

---------- Post added at 11:37 AM ---------- Previous post was at 11:36 AM ----------

How risky is this ?
Any possible drawback?

Its not risky if you take a nandroid backup first.

Drawbacks? Although it will look more realistic, its still not perfect. Guessing the actual mA and CPU values are not correct still.
 

nexusitwas

Senior Member
May 15, 2012
51
6
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

before changing xml
screenshot2012061307254.png

after changing xml
screenshot2012062610315.png

sorry if this is a noob question, would this change the battery life or would it just attribute the battery usage to some other factor (post the right calcs)?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 130
    [FIX][ROOT][ICS ROMS] compiled "power_profile.xml" file to fix cell stand by issue

    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
    screenshot2012061307254.png

    after changing xml
    screenshot2012062610315.png
    43
    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
    3
    Stock Power_Profile

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <device name="Android">
        <item name="none">0</item>
        <item name="screen.on">71</item>
        <item name="bluetooth.active">17</item>
        <item name="bluetooth.on">0.3</item>
        <item name="screen.full">380</item>
        <item name="wifi.on">0.3</item>
        <item name="wifi.active">96</item>
        <item name="wifi.scan">70</item>
        <item name="dsp.audio">44</item>
        <item name="dsp.video">280</item>
        <item name="radio.active">250</item>
        <item name="radio.scanning">82</item>
        <item name="gps.on">1</item>
        <array name="radio.on">
            <value>34</value>
            <value>34</value>
        </array>
        <array name="cpu.speeds">
            <value>12000000</value>
            <value>10000000</value>
            <value>800000</value>
            <value>500000</value>
            <value>200000</value>
        </array>
        <item name="cpu.idle">4</item>
        <array name="cpu.active">
            <value>577</value>
            <value>408</value>
            <value>249</value>
            <value>148</value>
            <value>55</value>
        </array>
        <item name="battery.capacity">2100</item>
    </device>

    Now there a major problem here with the OP's Post...

    The .XML @Bala has attached is a straight pull off the framework, please also add the decompiled one of the .XML so we can avoid confusion !

    What you need to mod
    Code:
    <array name="radio.on">
            <value>34</value>
            <value>34</value>
        </array>

    To
    Code:
    <array name="radio.on">
            <value>3.4</value>
            <value>3.4</value>
        </array>

    this is what is to be changed :cyclops:
    2
    Hy
    the fix work's for me :)

    I have a question that is offtopic.
    Can you tell me the name of the application that show's you the stat's of the ram and cpu utilization? that you have in the printscrren?
    I have uploaded the screen shot and marked the application.
    Sorry for my bad English.
    Thanks

    It's cool tool

    《tapatalked from galaxy s3》
    2
    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!