[MOD]Auto Brightness Patch - add battery life to One S - Now with APM for JB 16.12.

Search This thread

x1tyme

Senior Member
Dec 30, 2007
1,128
201
I don't see this mod?, can you post the link

Sent from my HTC VLE_U using XDA
 

GerBBAR14_c

Senior Member
May 6, 2012
566
127
Does this require enabling? I mean, is this enabled when the auto brightness mode is enabled from the phone's settings?
 

x1tyme

Senior Member
Dec 30, 2007
1,128
201
Which mod, AB mods are all in OP. The new mods are now in Trick Droid, I will post patch zips for other Roms, when I'm back Monday. I'm right now traveling only with my phone and tablet, so no build environment here.

Send from my One S

I'm refer to Tmo USA base stock Rom. I think all your current mode is for virtous Rom.

Thanks for works.

Sent from my HTC VLE_U using XDA
 

he_stheone64

Senior Member
Aug 1, 2008
5,033
10,991
Düsseldorf
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 :D for Auto Brightness and porting custom Menu & APM to latest platform


For Deodexed 1.78 ROM base

  • 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
 
Last edited:

Bricolo_fr

Senior Member
Apr 25, 2010
169
7
This is great, thanks a lot :)

Is there also a way to bind the multitask button long press to a function? Like search function? This has been done on the one x I think
 
  • Like
Reactions: Fazettit

cannondale0815

Senior Member
Apr 21, 2009
603
222
Hi! Just wanted to let you know that your download links don't work from within a mobile browser, only from my desktop. Tried it with ICS as well as the Chrome mobile browser.

Thanks
-J

Sent from my HTC One S using Tapatalk 2
 
  • Like
Reactions: Fazettit

Top Liked Posts

  • There are no posts matching your filters.
  • 23
    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 :D


    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


    APMJellybean.png



    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 :D 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 :D


    Download Menu Remap:

    http://sdrv.ms/LjUALE


    Back to stock:

    http://sdrv.ms/LjUsMc
    8
    Advanced Power Menu for Virtuous Ville RC 1 JB ROM

    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[/QUOTE]


    APMJellybean.png
    3
    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 :D for Auto Brightness and porting custom Menu & APM to latest platform


    For Deodexed 1.78 ROM base

    • 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
    3
    Successfully merged and ported my AB Mod with Advanced Power Menu, Menu Button Remapping, Longpress Menu Recents and removal of annoying settings bar to new 1.78 Base.

    Will be launched tomorrow with the TrickDroid 3.0 ROM by torxx. Once I have time (will be traveling this weekend), I will also pack this as add-on for 1.78 Base.
    2
    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" :D)

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

    PHP:
    <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>