[AT&T Samsung Galaxy S II Skyrocket SGH-I727] chappatti:
Here are some spots to help you: I would try to make a tutorial but have not gotten arond to it since it is available in some places.

The first is very up-to-date:

http://xdaforums.com/showthread.php?t=1377410

http://xdaforums.com/showthread.php?t=1337722

This tutorial below is form a different forum posted originally by DRGilroy (at Team BAMF Forums). This particular post is not available and I have copied it from Google's cached version: BUT ALL CREDIT GOES TO DRGilroy:

[How To] Customize Auto Brightness

I've created my own Auto Brightness Mods for people to use and I thought I would help those out who are interested in creating their own.

I learned how to do it myself by searching and finding tutorials here and there in different posts and forums. Some of what I found was either not detailed enough or had incorrect instructions for the version of APK Manager I am using. So, most of what I'm going to do here is just reiterate what someone else has already written out there somewhere in the world wide web.

Tools:

APK-Manager v5.0.2 (versions earlier than 5.0 behave differently so instructions would be somewhat different if your attempting to use one of them)

Notead++

7-Zip

Instructions for Creating Your Own Custom Auto Brightness Levels:

Extract the file "framework-res.apk" from your favorite ROM. You can find it in /system/framework/

Copy the framework-res.apk file into the APK Manager directory "place-apk-here-for-modding"

Execute the Script.bat file in the root of the APK Manager directory

Type option "9" and press Enter to Decompile the framework-res.apk file

Leaving the Command Window open, with Notepad++ open the file "arrays.xml" found under "\projects\framework-res.apk\res\values"

Find and edit the following *values:

<integer-array name="config_autoBrightnessLcdBacklightValues">

<item>94</item>

<item>94</item>

<item>94</item>

<item>94</item>

<item>143</item>

<item>143</item>

<item>171</item>

<item>199</item>

<item>227</item>

<item>255</item>

</integer-array>

<integer-array name="config_autoBrightnessLcdBacklightValuesUp">

<item>94</item>

<item>94</item>

<item>94</item>

<item>94</item>

<item>143</item>

<item>143</item>

<item>171</item>

<item>199</item>

<item>227</item>

<item>255</item>

</integer-array>

<integer-array name="config_autoBrightnessLcdBacklightValuesDown" >

<item>94</item>

<item>94</item>

<item>94</item>

<item>94</item>

<item>143</item>

<item>143</item>

<item>171</item>

<item>199</item>

<item>227</item>

<item>255</item>

Save your edits and close Notepad++

Reopen the Command Window and Type option "11", press Enter to Compile apk

When asked "Is this a system apk (y/n)" type "y" and press Enter

When asked "Aside from the signatures, would you like to copy... (y/n)" type "y" and press Enter

When prompted with "Press any key to continue . . .", Leaving the Command Window open, Navigate to the APK Manager directory "keep" and delete the file "resources.arsc"

Reopen the Command Window and now press any key to continue

Type option "22" and press Enter to Set current project

Select the newly compiled unsignedframework-res.apk file, it should be number 2, type "2" and press Enter

Take note of the "Current-App:" unsignedframework-res.apk should be shown on the upper right corner of the Command Window

Type option "5" and press Enter to Zipalign apk

At this point you can close the Command Window

Copy the file "unsignedframework-res.apk" from the APK Manager directory "place-apk-here-for-modding" and rename it to framework-res.apk

Congratulations, you now have a framework-res.apk that has your own custom Auto Brightness values!

Now what do you do with the framework-res.apk file?

There are a couple things you can do with the file.

You can use ADB to push your new framework-res.apk to the phone

You can create a flashable Zip using the UOT Kitchen website

You can use an existing flashable Zip that contains a framework-res.apk file and replace it with yours

I'll throw you a bone and you can use my flashable zip below, Yes, I'm just that nice!

bamf_forever_1.0.8_auto_brightness_1.0.zip

Brightness: 31, 31, 59, 87, 115, 143, 171, 199, 227, 255

MD5: A1360E982CE401E9302929D527BC3641

*Brightness Values Explained

The following numbers represent the light sensors steps for using brightness:

11, 41, 91, 161, 226, 321, 641, 1281, 2601

The following numbers are the stock values that I mod and they represent the level of brightness, lowest to highest in ten level steps:

94, 94, 94, 94, 143, 143, 171, 199, 227, 255

Example:

Light Sensor___Brightness

10---------------94

40---------------94

90---------------94

160--------------94

225--------------143

320--------------143

640--------------171

1280-------------199

2600-------------227

Higher------------255 = Max

You can use a free app on the Market called AndroSensor. It can provide you with the value of how much light the sensor is detecting.

In my testing, it appears to me that brightness values lower than 30 do not cause the backlight to dim any further. Also, when connected to a charger with battery charging, the light sensor doesn't go lower than 40 until the battery is fully charged, then it will lower to 10.

Then there is this http://xdaforums.com/showpost.php?p=24437288&postcount=29

After all this there are free apps: I am using LogGraph.......

Good Luck !!