Unable autobrightness

Autobrightness work only when enable "Light sensor filter" and "Allow light decrease"
in "CyanogenMod settings" - "Display" - "Automatic backlight"
Fix rotation photos and update media_profiles