Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I have a Samsung Galaxy S2 I9100 and I'm getting frustrated with how dark the screen goes. I do find value in using auto brightness but is it possible to limit the minimum or lowest point that the brightness will go? Is there an app that does it better, and I should just turn off the default auto brightness? I would prefer a solution in which I modify a config file though, over installing an app.

A calibrate option would work too, as the issue is worse when in a dim light situation. It seems to bottom out the brightness as if it's a pitch black room, when in fact the ambient light is quite a bit brighter.

Update: I thought maybe my Otterbox case might be interfering, but after some basic tests it doesn't seem to be the case.

share|improve this question
1  
Reading this again I noticed a truly unintended pun. I wish I could +1 my own question. –  Vian Esterhuizen Jan 17 '12 at 16:38
    
Sorry that I don't have an answer for you....but I did want to add that I have the same complaint. The automatic brightness of the screen is too dark for me as well and I wish there was some customizable range (min to max) like the volume range setting on the iPod that could be used for the automatic brightness setting on the Samsung galaxy S2/Epic 4G. If anyone finds a fix, please Please share -- Thanks a bunch! –  user11701 Jan 17 '12 at 23:37
add comment

1 Answer

up vote 10 down vote accepted
+50

It looks like this can be done on just about any device with the caveat that your device needs to be rooted and you need to be willing to poke around in your system's framework-res.apk file. These instructions come from a post on XDA with a modification intended to lower the brightness, but scaling in the opposite direction would make it brighter:

Here is a guide on how to perform this mod on any framework-res.apk using apk manager (thanks for the guide goes to desean):

  1. Download APK manager and unpack somewhere
  2. Grab framework-res.apk from your phone under \system\framework\ (e.g. adb pull) and place it in the "place-apk-here-for-modding" folder
  3. Run Script.bat and select option 9
  4. Once done, go to projects\framework-res.apk\res\values\arrays.xml and edit your values as per first post.
  5. Once edited, compile the apk using option 11
  6. Qn: Is this a system apk. Ans: y
  7. Qn: Aside from the signatures, would .... least. Ans: y
  8. Prompt: In the apk manager folder u'll find a keep folder..... done then press enter on this script. Press any key to continue . . . You have to go to "keep" folder and delete resources.arsc because arrays.xml have been changed. After this You can press any key in apk manager window.
  9. Once done, input 22 in apk manager and select "unsignedframework-res.apk" by entering the number that stands for it. After selecting it You should see in apk main window in the top right corner "Current-App: unsignedframework-res.apk". Now press 5 to zipalign apk. You will find your completed, zipaligned apk under place-apk-here-for-modding\unsignedframework-res.apk. Rename it back to framework-res.apk and adb push the file back to your phone

The arrays.xml file should have a section like the below if your device supports auto-brightness:

<integer-array name="config_autoBrightnessLcdBacklightValues">
    <item>32</item>
    <item>69</item>
    <item>118</item>
    <item>177</item>
    <item>255</item>
</integer-array>

Basically, the values are ordered based on detected light from the sensor, with the top value being "lowest light" and the bottom value being "highest light". The values correspond to LCD brightness on a scale from 1 to 255, with 255 being full brightness. You could therefore scale up all of the low light values to be brighter if you wanted.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.