View Single Post
Old 08-06-2014, 08:12 AM   #1
yip
Junior Member
yip doesn't litteryip doesn't litter
 
Posts: 1
Karma: 194
Join Date: Aug 2014
Device: Onyx T68
T68 Brightness hack ?

just got a T68. rooted, Booxtor ROM and debloated.

I've tried to dim the backlight a bit more, it is too bright even on lowest setting.
It's a fail, but here is some technical info on the brightness adjustement

-RootDim app does not work
-Xposed module(*) "wedymod-res" does not work

on a low-level the brightness is handled by the files in
Code:
/sys/class/backlight/pwm-backlight.0/
and in particular, the onyx "Light" app writes to
Code:
/sys/class/backlight/pwm-backlight.0/brightness
this "light" app is actually embeded inside the Onyx Launcher (Onyxlauncher-release.apk)
there is 11 levels of adjustement: 0,16,32,96...254 (0 off, 254 brightest)
this "app" simply writes one of these values in the
Code:
/sys/class/backlight/pwm-backlight.0/brightness
file
(one can also do it by hand with the command
Code:
echo 16 > brightness
for example)
I've tried modifying the launcher APK to change these values, also changed it with the shell, to no avail.
every value below 16 either turn off completly the light or is not recognized.

So, for now, it's a fail. Does someone have some technical info on this ?

(*) : to install the xposed framework, look for the "static" package on XDA. classic package will fail with "segmentation fault".
yip is offline   Reply With Quote