Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Tip us?
 
he_stheone64
Old
(Last edited by he_stheone64; 16th December 2012 at 11:07 AM.)
he_stheone64's Avatar
Recognized Themer - OP
Thanks Meter 9148
Posts: 4,716
Join Date: Aug 2008
Location: Vienna & Düsseldorf
Default [MOD]Auto Brightness Patch - add battery life to One S - Now with APM for JB 16.12.

Auto Brightness Patch, Advanced Power Menu & Menu Remaps

HTC has coded fairly generous Auto Brightness values into their framework, which is better then the ultra dark values, that plagued Galaxy Nexus users. Anyway I analyzed the code and decreased the values depending on the level between 10% and 20%. The new values are still fairly bright, but will have a decent impact on your battery life. Since the display consumes about 2/3 of battery especially during browsing sessions or gaming, this mod can add up to 10% of battery life to your device, depending on your usage pattern (especially while browsing). I also added a "back to stock" zip, which helps you to return to previous state without any issues. A Nandroid is nevertheless strongly recommended before you flash this mod.

Note: PLEASE don`t ask for screenshots


What do you need?
  • Unlocked and rooted device
  • Deodexed Sense ROM - this mod should work on all Virtuous based ROM`s


How to flash:
  • Download the update.zip and copy on your SD
  • Boot in recovery and flash





Download APM for Virtuous Ville jellybean RC1

http://sdrv.ms/USJ0Fx

Download back to stock Power Menu Virtuous Ville jellybean RC1

http://sdrv.ms/VJ7hz2


Download for 1.78 Base:

http://minus.com/mmzKoWs46/


Download back to stock framework 1.78 Base

http://minus.com/mmzKoWs46/5


Download incl. Advanced Power Menu for 1.78 Base

http://minus.com/mmzKoWs46/9


Download for 1.53 & 1.70 Base:

http://minus.com/mbn5xXgCkk/17


Download back to stock framework 1.53 Base

http://minus.com/mbn5xXgCkk/16


Download incl. Advanced Power Menu for 1.53 & 1.70 Base

http://minus.com/mbn5xXgCkk/18



ALL IN ONE MOD For Deodexed 1.78 ROM base

As promised here is the "ALL IN ONE" Mod for deodexed 1.78 Base. ROM dev`s can certainly include this in their ROM`s, but please ask and insert credit in your threads.

Credits: Virtuous Team and blubbers for original Remapping Mod`s on 1.53 base
Me for Auto Brightness and porting custom Menu & APM to latest platform

  • Auto Brightness Patch to improve battery life
  • Remapped recents button to Menu
  • Longpress Menu remappped to recents
  • Removed annoying 3-dot menu
  • Advanced Power Menu

How to install:
  • Flash update.zip in recovery
  • Insert the following line in build.prop (you can use Root Explorer, dev´s will certainly insert that with Notepadd++ in their build.prop) somewhere in the ADDITIONAL_BUILD_PROPERTIES section and reboot after the change

qemu.hw.mainkeys=1


If you prefer ADB:

adb pull /system/build.prop build.prop

then edit in Notepad ++, then push build.prop from fastboot folder with:

adb shell sysrw
adb push build.prop /system/

Set 644 permissions:

adb shell
su
chmod 644 /system/build.prop


Download:

http://minus.com/mmzKoWs46/8


Menu Remap inkl. Longpress Version for stock Odexed 1.78 ROM - made by ovimunt with my friendly PM support


Download Menu Remap:

http://sdrv.ms/LjUALE


Back to stock:

http://sdrv.ms/LjUsMc
The Following 23 Users Say Thank You to he_stheone64 For This Useful Post: [ Click to Expand ]
 
xkonni
Old
(Last edited by xkonni; 6th May 2012 at 09:45 AM.)
xkonni's Avatar
Senior Member
Thanks Meter 958
Posts: 359
Join Date: Jan 2010
Location: berlin

 
DONATE TO ME
Nice! Could you just post the changed files in framework-res too?
Or i'll just diff later :)


Sent from my HTC One S
 
he_stheone64
Old
(Last edited by he_stheone64; 6th May 2012 at 11:36 AM.)
he_stheone64's Avatar
Recognized Themer - OP
Thanks Meter 9148
Posts: 4,716
Join Date: Aug 2008
Location: Vienna & Düsseldorf
Quote:
Originally Posted by xkonni View Post
Nice! Could you just post the changed files in framework-res too?
Or i'll just diff later :)


Sent from my HTC One S
I'll do that once I'm back at my PC. Oh btw - maybe our teams meet in a few weeks for relegation

Send from my One S
The Following User Says Thank You to he_stheone64 For This Useful Post: [ Click to Expand ]
 
jureca
Old
Senior Member
Thanks Meter 25
Posts: 544
Join Date: Feb 2011
Location: Murcia
This preparation to power menu? ,Sabria to say to me to the archives of power meno and put I them, thanks
 
ZeppeMan
Old
ZeppeMan's Avatar
Senior Member
Thanks Meter 40
Posts: 526
Join Date: Dec 2009
Location: De Haan
Working without probs on TrickDroid. Thx for this mod
 
he_stheone64
Old
(Last edited by he_stheone64; 6th May 2012 at 11:34 AM.)
he_stheone64's Avatar
Recognized Themer - OP
Thanks Meter 9148
Posts: 4,716
Join Date: Aug 2008
Location: Vienna & Düsseldorf
Here are my current values - they might change a bit going forward, but they are decent values, that should be fine with most users (taste certainly varies, but call that the "golden center" )

I might also test a version with more steps involved going forward, but that`s still up in the air.

PHP Code:
<integer-array name="config_autoBrightnessLevels">
        <
item>11</item>
        <
item>41</item>
        <
item>91</item>
        <
item>161</item>
        <
item>226</item>
        <
item>321</item>
        <
item>641</item>
        <
item>1281</item>
        <
item>2601</item>
    </
integer-array>
    <
integer-array name="config_autoBrightnessLcdBacklightValues">
        <
item>45</item>
        <
item>50</item>
        <
item>55</item>
        <
item>75</item>
        <
item>105</item>
        <
item>125</item>
        <
item>150</item>
        <
item>180</item>
        <
item>200</item>
        <
item>255</item>
    </
integer-array> 
The Following 2 Users Say Thank You to he_stheone64 For This Useful Post: [ Click to Expand ]
 
he_stheone64
Old
he_stheone64's Avatar
Recognized Themer - OP
Thanks Meter 9148
Posts: 4,716
Join Date: Aug 2008
Location: Vienna & Düsseldorf
Quote:
Originally Posted by jureca View Post
This preparation to power menu? ,Sabria to say to me to the archives of power meno and put I them, thanks
I`m not exactly sure, what you mean? If you are asking for an Advanced Power Menu, this framework-res does support APM, but you need the matching androidpolicy.jar, in this case from Virtous v.140 ROM. If you are already using a ROM with APM based on Virtuous, you`ll be fine anyway.
The Following 2 Users Say Thank You to he_stheone64 For This Useful Post: [ Click to Expand ]
 
jureca
Old
Senior Member
Thanks Meter 25
Posts: 544
Join Date: Feb 2011
Location: Murcia
Quote:
Originally Posted by he_stheone64 View Post
I`m not exactly sure, what you mean? If you are asking for an Advanced Power Menu, this framework-res does support APM, but you need the matching androidpolicy.jar, in this case from Virtous v.140 ROM. If you are already using a ROM with APM based on Virtuous, you`ll be fine anyway.
Ok thank you very much to that I meant, thanks for your work.

Enviado desde mi HTC One S usando Tapatalk 2
 
torxx
Old
torxx's Avatar
Senior Member
Thanks Meter 17942
Posts: 7,332
Join Date: Mar 2011

 
DONATE TO ME
Thanks for your mod buddy

 



Donations are highly appreciated


 
ozzie1p
Old
ozzie1p's Avatar
Senior Member
Thanks Meter 29
Posts: 332
Join Date: Jun 2010
Do you have to sign up with minus to download?

Sent from my HTC One S using Tapatalk 2

 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...