Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
View Poll Results: What do you think of me as a developer?
You really suck 14 6.57%
You're not that good 3 1.41%
You're ok 37 17.37%
You're just good 46 21.60%
You're really great 113 53.05%
Voters: 213. You may not vote on this poll

 
Post Reply+
Tip us?
 
mo786wp
Old
#1631  
Senior Member
Thanks Meter 1
Posts: 138
Join Date: Feb 2012
Location: Cape Town
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?
 
Daniel D.
Old
#1632  
Daniel D.'s Avatar
Senior Member
Thanks Meter 152
Posts: 617
Join Date: Apr 2012

 
DONATE TO ME
In /system/etc edit the file hw_config.sh and change the line in the # LMU AS3676 Configuration block to your needs:

echo xxx > $dev/button-backlight/max_current

Change xxx to a value. 1000 is low, 5000 is bright. You've to try a little bit. After changing the value save the file and re-boot.
Sony Xperia Arc S (BL unlocked) - My Custom ROM - Stock Kernel / LuPuS
The Following 2 Users Say Thank You to Daniel D. For This Useful Post: [ Click to Expand ]
 
mo786wp
Old
#1633  
Senior Member
Thanks Meter 1
Posts: 138
Join Date: Feb 2012
Location: Cape Town
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.
 
Daniel D.
Old
(Last edited by Daniel D.; 10th July 2012 at 11:44 AM.)
#1634  
Daniel D.'s Avatar
Senior Member
Thanks Meter 152
Posts: 617
Join Date: Apr 2012

 
DONATE TO ME
I'll post my file later.

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
The Following User Says Thank You to Daniel D. For This Useful Post: [ Click to Expand ]
 
vjetaa
Old
(Last edited by vjetaa; 10th July 2012 at 12:05 PM.) Reason: wrong section
#1635  
vjetaa's Avatar
Member
Thanks Meter 8
Posts: 46
Join Date: Jun 2012
Location: Ghent
Edit
 
mo786wp
Old
#1636  
Senior Member
Thanks Meter 1
Posts: 138
Join Date: Feb 2012
Location: Cape Town
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.
 
Daniel D.
Old
#1637  
Daniel D.'s Avatar
Senior Member
Thanks Meter 152
Posts: 617
Join Date: Apr 2012

 
DONATE TO ME
Try this from version KA20.1:

Code:
# LMU AS3676 Configuration
dev=/sys/devices/i2c-0/0-0040/leds
echo 1,65,255,24,24,5,128 > $dev/lcd-backlight/als/curve  # ALS curve for group1
echo 2,0,0,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 450 > $dev/button-backlight/max_current
Change the 450 in the last line to something bigger if it won't work.
Sony Xperia Arc S (BL unlocked) - My Custom ROM - Stock Kernel / LuPuS
The Following User Says Thank You to Daniel D. For This Useful Post: [ Click to Expand ]
 
redgirl
Old
#1638  
Junior Member
Thanks Meter 0
Posts: 8
Join Date: Jul 2008
Location: Oudenbosch
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.

The zip file is on my intern SD. and then what?
 
Daniel D.
Old
#1639  
Daniel D.'s Avatar
Senior Member
Thanks Meter 152
Posts: 617
Join Date: Apr 2012

 
DONATE TO ME
Please provide more infos: Unlocked bootloader? Root access?
Sony Xperia Arc S (BL unlocked) - My Custom ROM - Stock Kernel / LuPuS
 
OceanXRun
Old
#1640  
Senior Member
Thanks Meter 7
Posts: 148
Join Date: Aug 2011
Location: Ho Chi Minh City
This ROM good like Arconium v4 ICS ?

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...