Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
IronBlossom
Old
(Last edited by IronBlossom; 14th February 2013 at 06:37 AM.)
#1  
IronBlossom's Avatar
Junior Member - OP
Thanks Meter 2
Posts: 14
Join Date: Jan 2013
Location: Dhaka
Question [Q]Changing Brightness of Notification LED while H/W button pressed!!!

Hi,
Xperia Ray(ST18i) user might noticed the Notification LED turns on( in white color) everytime whenever a H/W button is used(even the touch menu/back). I wonder someone could lower its brightness. I did some tweaks:
>> I put /etc/init.d/01BrightLedtweak.sh
i noticed the values are for green,red,blue
Quote:
#!/system/bin/sh
#
# Increase LED brightness

echo 20000 > /sys/class/leds/green/max_current
echo 20000 > /sys/class/leds/red/max_current
echo 20000 > /sys/class/leds/blue/max_current
>> My pre_hw_config.sh on /system/etc is:
Quote:
# LMU AS3676 Configuration before chargemon
dev=/sys/devices/i2c-0/0-0040/leds/
echo 0 > $dev/lcd-backlight/als/enable #Sensor on/off. 1 = on, reg 90h
echo 20000 > $dev/lcd-backlight/max_current
echo 2400 > $dev/red/max_current
echo 4200 > $dev/green/max_current
echo 3000 > $dev/blue/max_current
Device: Xperia Ray (ST18i)
Rom: ICED BEAN 3.0
Kernel: xKernel 9.587-C
(Rooted and BL Unlocked)

SO HOW TO LOWER THE BRIGHTNESS OF THE SPECIFIC WHITE COLOR? ( more like pinkish white :P)
 
sourabhp
Old
(Last edited by sourabhp; 17th May 2013 at 05:15 AM.) Reason: typos
#2  
Junior Member
Thanks Meter 0
Posts: 6
Join Date: Jan 2013
Location: Pune
Quote:
Originally Posted by IronBlossom View Post
Hi,
Xperia Ray(ST18i) user might noticed the Notification LED turns on( in white color) everytime whenever a H/W button is used(even the touch menu/back). I wonder someone could lower its brightness. I did some tweaks:
>> I put /etc/init.d/01BrightLedtweak.sh
i noticed the values are for green,red,blue


>> My pre_hw_config.sh on /system/etc is:


Device: Xperia Ray (ST18i)
Rom: ICED BEAN 3.0
Kernel: xKernel 9.587-C
(Rooted and BL Unlocked)

SO HOW TO LOWER THE BRIGHTNESS OF THE SPECIFIC WHITE COLOR? ( more like pinkish white :P)
Have you tried to change those values? Have you tried putting values for some other color like yellow, cyan, purple etc?
 
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...