Awsome rom guys, just a quick question is there any way of getting the 2 lights between the hard buttons to switch on? i think they wer working but after i flashed the add on then the lights now dont come on. Im sure if i remove the add on it will re apear but i want the reboot,recovery etc. Is there somethign i can flash over this that will make the lights work?
Hi thanks again for teh feedback.The current value is 900 so i tried changing to 1000 and 2000 etc but still no joy, still cant get the hard buttong lights to switch one after reboot.
Here is my configuration. The only important lines are the three last ones. Add a "#" before the two lines with "echo 900" and add the third line below them with the given code. It reduces the light significantly. You can add values from 1000 (?) to 8000 - try it out. 2500 is perfect for me - low lights.
Code:
# LMU AS3676 Configuration
dev=/sys/devices/i2c-0/0-0040/leds
echo 1,40,255,35,35,1,100 > $dev/lcd-backlight/als/curve # ALS curve display BL [grp],[Y0],[Y3],[K1],[K2],[X1],[X2]
echo 2,85,0,128,128,200,201 > $dev/button-backlight-rgb1/als/curve # ALS curve key LED 1 [grp],[Y0],[Y3],[K1],[K2],[X1],[X2]
echo 2,85,0,128,128,200,201 > $dev/button-backlight-rgb2/als/curve # ALS curve key LED 2 [grp],[Y0],[Y3],[K1],[K2],[X1],[X2]
echo 3,100,255,21,21,10,100 > $dev/red/als/curve # ALS curve RGB(red) [grp],[Y0],[Y3],[K1],[K2],[X1],[X2]
echo 3,100,255,21,21,10,100 > $dev/green/als/curve # ALS curve RGB(green) [grp],[Y0],[Y3],[K1],[K2],[X1],[X2]
echo 3,100,255,21,21,10,100 > $dev/blue/als/curve # ALS curve RGB(blue) [grp],[Y0],[Y3],[K1],[K2],[X1],[X2]
echo 1,2,2,0 > $dev/lcd-backlight/als/params #[gain],[filter_up],[filter_down],[offset]
echo 1 > $dev/lcd-backlight/als/enable #Sensor on/off. 1 = on, reg 90h
echo 1 > $dev/button-backlight-rgb1/als/enable #Sensor on/off. 1 = on, reg 90h
echo 1 > $dev/button-backlight-rgb2/als/enable #Sensor on/off. 1 = on, reg 90h
echo 1 > $dev/red/als/enable #Sensor on/off. 1 = on, reg 90h
echo 1 > $dev/green/als/enable #Sensor on/off. 1 = on, reg 90h
echo 1 > $dev/blue/als/enable #Sensor on/off. 1 = on, reg 90h
#echo 900 > $dev/button-backlight-rgb1/max_current #Max current in uA
#echo 900 > $dev/button-backlight-rgb2/max_current #Max current in uA
echo 2500 > $dev/button-backlight/max_current #Max current in uA
Sony Xperia Arc S (BL unlocked) - My Custom ROM - Stock Kernel / LuPuS
Dam not sure what i am doing wrong but just not winning here lol. Copied ur text exact and still gt a issue. Do i need to wide cache or sumthing? I am about to giveup and live without the lights lol.
a newbie here with Android. Spending 4 hours reading, searching, using tools, but still no clue how to install this (or any other) rom.
Can't get in to recovery.
Is there a step-by-step guide for the not experienced people? Can't find it anywhere.
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?