[MOD] Auto Brightness Level

Search This thread

pradeeppk

Senior Member
Feb 8, 2012
574
152
KERALA
Thanks To Peetr_ for his Hybrid Rom
Thanks to LockeOn for His detailed guide
If you think the brightness of LCD is high during low light or night, if you think the button back light is not necessary during day time then this mod is for you.
This is a modified framework-res.apk of peetr_'s Hybrid rom. Modified LCD auto brightness
levels and button back light for better battery life.Button back light only illuminate at low brightness level.
I am using this mode for past few days without any issue. Use it at your own risk.

BUILT IN AUTOBRIGHTNESS LEVELS
<item>30</item>
<item>100</item>
<item>200</item>
<item>300</item>
<item>800</item>
<item>1500</item>
</integer-array>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>30</item>
<item>60</item>
<item>100</item>
<item>140</item>
<item>200</item>
<item>225</item>
<item>250</item

MODIFIED AUTOBRIGHTNESS LEVELS
<integer-array name="config_autoBrightnessLevels">
<item>3</item>
<item>10</item>
<item>20</item>
<item>30</item>
<item>60</item>
<item>90</item>
<item>120</item>
<item>180</item>
<item>250</item>
<item>500</item>
<item>800</item>
<item>1200</item>
<item>1800</item>
<item>2500</item>
<item>5000</item>
</integer-array>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>13</item>
<item>18</item>
<item>25</item>
<item>30</item>
<item>40</item>
<item>50</item>
<item>60</item>
<item>70</item>
<item>80</item>
<item>90</item>
<item>100</item>
<item>120</item>
<item>150</item>
<item>180</item>
<item>210</item>
<item>240</item>
</integer-array>

Installation
1. Copy your framework-res.apk from system/framework/ to sd card as a backup using Es file explorer or root explorer
2. Copy attached framework-res.apk to System/framework and overwrite it.
3. After overwriting Phone will reboot.
4. After reboot Change the permission of framework-res.apk to rw-r-r

Tested in my Electrify that running Peetr_'s Hybrid locked rom. It may not work with other roms.
Sorry for my English
 

Attachments

  • framework-res.apk
    3.9 MB · Views: 94
Last edited:

MarcquisDale

Senior Member
Aug 22, 2012
495
47
31
Thanks To Peetr_ for his Hybrid Rom
Thanks to LockeOn for His detailed guide
If you think the brightness of LCD is high during low light or night, if you think the button back light is not necessary during day time then this mod is for you.
This is a modified framework-res.apk of peetr_'s Hybrid rom. Modified LCD auto brightness
levels and button back light for better battery life.Button back light only illuminate at low brightness level.
I am using this mode for past few days without any issue. Use it at your own risk.

BUILT IN AUTOBRIGHTNESS LEVELS
<item>30</item>
<item>100</item>
<item>200</item>
<item>300</item>
<item>800</item>
<item>1500</item>
</integer-array>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>30</item>
<item>60</item>
<item>100</item>
<item>140</item>
<item>200</item>
<item>225</item>
<item>250</item

MODIFIED AUTOBRIGHTNESS LEVELS
<integer-array name="config_autoBrightnessLevels">
<item>3</item>
<item>10</item>
<item>20</item>
<item>30</item>
<item>60</item>
<item>90</item>
<item>120</item>
<item>180</item>
<item>250</item>
<item>500</item>
<item>800</item>
<item>1200</item>
<item>1800</item>
<item>2500</item>
<item>5000</item>
</integer-array>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>13</item>
<item>18</item>
<item>25</item>
<item>30</item>
<item>40</item>
<item>50</item>
<item>60</item>
<item>70</item>
<item>80</item>
<item>90</item>
<item>100</item>
<item>120</item>
<item>150</item>
<item>180</item>
<item>210</item>
<item>240</item>
</integer-array>

Installation
1. Copy your framework-res.apk from system/framework/ to sd card as a backup using Es file explorer or root explorer
2. Copy attached framework-res.apk to System/framework and overwrite it.
3. After overwriting Phone will reboot.
4. After reboot Change the permission of framework-res.apk to rw-r-r

Tested in my Electrify that running Peetr_'s Hybrid locked rom. It may not work with other roms.
Sorry for my English

Thanks
 

pradeeppk

Senior Member
Feb 8, 2012
574
152
KERALA

Please share your experience if you tried it. I am noticed a good improvement in battery life and less strain for my eyes. Actually it will Not harm anything. If you don't like the mod just replace it with the backup framework-res.apk. Or if you need more or less brightness in any levels please report. I will modify and upload another framework-res.apk. You can check the variation of lcd brightness using android sensorbox application.

Sent from my Motorola Electrify using Tapatalk 2
 

MarcquisDale

Senior Member
Aug 22, 2012
495
47
31
Please share your experience if you tried it. I am noticed a good improvement in battery life and less strain for my eyes. Actually it will Not harm anything. If you don't like the mod just replace it with the backup framework-res.apk. Or if you need more or less brightness in any levels please report. I will modify and upload another framework-res.apk. You can check the variation of lcd brightness using android sensorbox application.

Sent from my Motorola Electrify using Tapatalk 2

Its running great so far
 
  • Like
Reactions: pradeeppk

epic_legend

Member
Feb 17, 2014
10
1
Thanks To Peetr_ for his Hybrid Rom
Thanks to LockeOn for His detailed guide
If you think the brightness of LCD is high during low light or night, if you think the button back light is not necessary during day time then this mod is for you.
This is a modified framework-res.apk of peetr_'s Hybrid rom. Modified LCD auto brightness
levels and button back light for better battery life.Button back light only illuminate at low brightness level.
I am using this mode for past few days without any issue. Use it at your own risk.

BUILT IN AUTOBRIGHTNESS LEVELS
<item>30</item>
<item>100</item>
<item>200</item>
<item>300</item>
<item>800</item>
<item>1500</item>
</integer-array>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>30</item>
<item>60</item>
<item>100</item>
<item>140</item>
<item>200</item>
<item>225</item>
<item>250</item

MODIFIED AUTOBRIGHTNESS LEVELS
<integer-array name="config_autoBrightnessLevels">
<item>3</item>
<item>10</item>
<item>20</item>
<item>30</item>
<item>60</item>
<item>90</item>
<item>120</item>
<item>180</item>
<item>250</item>
<item>500</item>
<item>800</item>
<item>1200</item>
<item>1800</item>
<item>2500</item>
<item>5000</item>
</integer-array>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>13</item>
<item>18</item>
<item>25</item>
<item>30</item>
<item>40</item>
<item>50</item>
<item>60</item>
<item>70</item>
<item>80</item>
<item>90</item>
<item>100</item>
<item>120</item>
<item>150</item>
<item>180</item>
<item>210</item>
<item>240</item>
</integer-array>

Installation
1. Copy your framework-res.apk from system/framework/ to sd card as a backup using Es file explorer or root explorer
2. Copy attached framework-res.apk to System/framework and overwrite it.
3. After overwriting Phone will reboot.
4. After reboot Change the permission of framework-res.apk to rw-r-r

Tested in my Electrify that running Peetr_'s Hybrid locked rom. It may not work with other roms.
Sorry for my English

thanx
 

findthedr

Senior Member
Apr 4, 2012
158
51
did the first 3 steps on my stock, locked, rooted 2.3.4 photon

Installation
1. Copy your framework-res.apk from system/framework/ to sd card as a backup using Es file explorer or root explorer
2. Copy attached framework-res.apk to System/framework and overwrite it.
3. After overwriting Phone will reboot.

my phone will hang at the sprint "now" screen at bootup, and then vibrate. It will restart and hang at the sprint "now" screen again, and then shut off. Sometimes it will get past the "now" screen and get into a "starting services" screen, but hang there. How can I fix this? I did make a copy of my original, and it is on my microSD.

Edit: got my phone working again after SBF to stock. :(
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Please share your experience if you tried it. I am noticed a good improvement in battery life and less strain for my eyes. Actually it will Not harm anything. If you don't like the mod just replace it with the backup framework-res.apk. Or if you need more or less brightness in any levels please report. I will modify and upload another framework-res.apk. You can check the variation of lcd brightness using android sensorbox application.

    Sent from my Motorola Electrify using Tapatalk 2

    Its running great so far