Powered by Blogger.
I've found the way to enable ALS on Ray:Using root explorer Change this value in hw_config.sh(inside system/etc):# LMU AS3676 Configurationdev=/sys/devices/i2c-0/0-0040/leds/echo 0,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 90hecho 12900 > $dev/torch/max_currentTo# LMU AS3676 Configurationdev=/sys/devices/i2c-0/0-0040/leds/echo 3,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 90hecho 12900 > $dev/torch/max_currentOptional:replace als_curve.ini with the one i provide(is from arc):for me is better.source