26th June 2012, 06:21 AM
(Last edited by bala_gamer; 20th December 2012 at 11:20 AM .)
Recognized Contributor -
OP
Thanks Meter
5839
Posts: 10,773
Join Date: Mar 2011
Location: Madurai-Chennai
DONATE TO ME
[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
after changing xml
MODEM : MDK || PRIMARY : WANAM 1.0 || KERNEL : CUSTOM || DPI : 320 || LAUNCHER : NOVA || APPS : 200+ || BATTERY BACKUP : ~~~
Oldies : Galaxy S3,S2,SL|| Nokia X6,5230,N73
The Following 125 Users Say Thank You to bala_gamer For This Useful Post: [ Click to Expand ]
1sagain (28th July 2012),
adz63 (27th June 2012),
aegeuss (26th June 2012),
alchemist316 (27th June 2012),
ALIRAFAAT (1st August 2012),
amg009 (26th June 2012),
angiotell (13th January 2013),
annoyingduck (25th September 2012),
antenordlund (30th June 2012),
apisfires (27th June 2012),
asgari (27th June 2012),
astoncheah (26th June 2012),
Atarii (26th June 2012),
ausdim (26th June 2012),
B3311 (3rd July 2012),
BAMAToNE (23rd July 2012),
Barracuda77777 (1st July 2012),
battletank (11th July 2012),
beat.kitano (27th June 2012),
beda_boy (9th July 2012),
blue265 (27th June 2012),
bordikun (27th June 2012),
bungknees (26th June 2012),
cashyftw (28th June 2012),
chiraagt (2nd August 2012),
ChrisG683 (10th July 2012),
ChuckxD (20th July 2012),
comnam90 (6th August 2012),
cpalmer98 (26th June 2012),
Cyclone44 (27th June 2012),
d4fseeker (26th June 2012),
danividalg (5th September 2012),
dark_polok (1st October 2012),
David69 (27th June 2012),
Davidion (10th July 2012),
dazednconfused (14th August 2012),
deddo86 (27th June 2012),
diablo009 (6th November 2012),
diego9016 (18th August 2012),
docflower (30th June 2012),
dondavis007 (19th September 2012),
edd080 (28th June 2012),
Erahgon (26th June 2012),
Ev0d3vil (22nd August 2012),
fermartz (16th August 2012),
floyd0815 (1st July 2012),
Fornowagain (26th June 2012),
FreexZ (27th July 2012),
gatovaca17 (16th October 2012),
gaui (26th June 2012),
gee2012 (14th July 2012),
Ght10 (26th June 2012),
giajp (27th June 2012),
gordonx10i (3rd September 2012),
gtada (14th August 2012),
gufernandez (22nd September 2012),
harise100 (2nd July 2012),
hero000 (7th August 2012),
House M.D. (24th July 2012),
huangjs (28th October 2012),
ICavalera (5th October 2012),
icecubix2 (28th June 2012),
iurnait (12th January 2013),
jeffnz (29th June 2012),
JustMy2cent (10th October 2012),
Kage01 (8th November 2012),
kevinarjun (19th August 2012),
komsa (26th September 2012),
leon0602 (28th June 2012),
Limaspt (3rd July 2012),
Lpuboy87 (29th June 2012),
mad.161180 (3rd July 2012),
mademan420 (26th October 2012),
MaliaSleight (3rd October 2012),
Maniac8888 (27th June 2012),
Martin5000 (3rd July 2012),
MatangaChanga (28th August 2012),
matpil (28th June 2012),
maus010 (27th June 2012),
Mennpiko (27th June 2012),
mihqke (2nd September 2012),
mmse88 (29th June 2012),
moco22 (27th June 2012),
musclehead84 (19th August 2012),
NotATreoFan (26th July 2012),
oasis90 (27th June 2012),
OssiKalle (27th June 2012),
Oujee (10th October 2012),
paphko (27th June 2012),
ph3nom (8th July 2012),
przmus (20th July 2012),
rafalense (27th June 2012),
raffaele88 (28th June 2012),
rajuki (27th June 2012),
rajveerrockz17 (30th June 2012),
ranf (30th July 2012),
ratsalad (19th July 2012),
raubkatze (27th June 2012),
Redgoblin (2nd August 2012),
Rider63 (27th June 2012),
rtimoff (27th June 2012),
sachinaik (29th June 2012),
safepacket (26th June 2012),
saxk (27th November 2012),
snoboarder071 (15th July 2012),
spyrale (27th June 2012),
ssaqib4e (2nd July 2012),
steve97ta (14th August 2012),
surya_mca (26th June 2012),
SwervFusion (10th July 2012),
sxi200 (26th June 2012),
tangcla (26th June 2012),
Tectas (26th June 2012),
themrmotivator (27th June 2012),
tjr2010 (1st July 2012),
TotallydubbedHD (27th June 2012),
T__ (11th July 2012),
ultravox (15th September 2012),
Very special noob (28th June 2012),
vinimdi (10th December 2012),
wallah (27th June 2012),
wanam (26th June 2012),
yogeshpote (4th July 2012),
zool80me (28th June 2012),
zoule HCo (1st July 2012)
26th June 2012, 07:10 AM
Senior Member
Thanks Meter
92
Posts: 1,151
Join Date: Sep 2008
Location: Melbourne, Australia
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, 07:12 AM
Senior Member
Thanks Meter
490
Posts: 591
Join Date: Feb 2012
Location: Tampa, Florida
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.
Plexicle
Software Developer
Currently playing with:
LG/Google Nexus 4 16GB
ASUS/Google Nexus 7 16GB
Sammy/Google Nexus 10 32GB
26th June 2012, 07:13 AM
Recognized Contributor -
OP
Thanks Meter
5839
Posts: 10,773
Join Date: Mar 2011
Location: Madurai-Chennai
DONATE TO ME
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.
MODEM : MDK || PRIMARY : WANAM 1.0 || KERNEL : CUSTOM || DPI : 320 || LAUNCHER : NOVA || APPS : 200+ || BATTERY BACKUP : ~~~
Oldies : Galaxy S3,S2,SL|| Nokia X6,5230,N73
The Following User Says Thank You to bala_gamer For This Useful Post: [ Click to Expand ]
26th June 2012, 07:16 AM
Senior Member
Thanks Meter
2235
Posts: 7,908
Join Date: Aug 2010
Location: Riddlesden, 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
26th June 2012, 07:24 AM
(Last edited by ausdim; 26th June 2012 at 07:51 AM .)
Senior Member
Thanks Meter
573
Posts: 579
Join Date: Jan 2007
DONATE TO ME
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
.: If you like what i do or what i offer please click the "Thanks" button or make a small donate to me :.
The Following 40 Users Say Thank You to ausdim For This Useful Post: [ Click to Expand ]
amg009 (8th July 2012),
asgari (27th June 2012),
Atarii (26th June 2012),
ATN24 (27th June 2012),
bala_gamer (26th June 2012),
Barracuda77777 (1st July 2012),
battletank (11th July 2012),
BlAcKbEttY420 (28th June 2012),
bungknees (26th June 2012),
cashyftw (28th June 2012),
cpalmer98 (26th June 2012),
drajax (9th November 2012),
FreexZ (27th July 2012),
gee2012 (14th July 2012),
Hohey (28th June 2012),
lawrence1234 (22nd November 2012),
leftheodo (26th June 2012),
lockzackary (27th June 2012),
mardon85 (26th June 2012),
MatangaChanga (28th August 2012),
Matchstick (27th June 2012),
mayhemer (27th June 2012),
mihqke (2nd September 2012),
moustic_moustic (26th June 2012),
musclehead84 (19th August 2012),
n70shan (27th June 2012),
NatTheCat (27th June 2012),
ranf (30th July 2012),
Rawat (7th July 2012),
rootSU (26th June 2012),
royskeyz (31st July 2012),
safepacket (26th June 2012),
sxi200 (26th June 2012),
TotallydubbedHD (27th June 2012),
UpInTheAir (26th June 2012),
Very special noob (28th June 2012),
wallah (27th June 2012),
winwiz (26th June 2012),
xObey (5th October 2012),
zodiaxe66 (27th June 2012)
26th June 2012, 07:26 AM
Recognized Contributor -
OP
Thanks Meter
5839
Posts: 10,773
Join Date: Mar 2011
Location: Madurai-Chennai
DONATE TO ME
@rootSu
The XML file attached above is already compiled along with framework, so no need to recompile again.
MODEM : MDK || PRIMARY : WANAM 1.0 || KERNEL : CUSTOM || DPI : 320 || LAUNCHER : NOVA || APPS : 200+ || BATTERY BACKUP : ~~~
Oldies : Galaxy S3,S2,SL|| Nokia X6,5230,N73
The Following User Says Thank You to bala_gamer For This Useful Post: [ Click to Expand ]
26th June 2012, 07:37 AM
Senior Member
Thanks Meter
2235
Posts: 7,908
Join Date: Aug 2010
Location: Riddlesden, West Yorkshire, UK
Yes that's what I tried
Sent from my GT-I9300 using Tapatalk 2
26th June 2012, 07:41 AM
Senior Member
Thanks Meter
125
Posts: 467
Join Date: Sep 2010
Location: Hod Hasharon
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!
Galaxy Note II - Everything just works, and beautifully.
The Following 2 Users Say Thank You to eitama For This Useful Post: [ Click to Expand ]
26th June 2012, 07:49 AM
Recognized Contributor -
OP
Thanks Meter
5839
Posts: 10,773
Join Date: Mar 2011
Location: Madurai-Chennai
DONATE TO ME
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》
MODEM : MDK || PRIMARY : WANAM 1.0 || KERNEL : CUSTOM || DPI : 320 || LAUNCHER : NOVA || APPS : 200+ || BATTERY BACKUP : ~~~
Oldies : Galaxy S3,S2,SL|| Nokia X6,5230,N73
Most Thanked In This Thread
40 I make a simple zip to
install it with … 3 Stock Power_Profile 0
71 17 … 2 (quote) The way I see it :
if you don't … 2 (quote) It's cool tool … 2 Installed, It is working
but now it …