incorrect mapping from brightness slider to real system values Sorry in advance for bad english and also for a noob question.

I have a problem with brightness on my tablet Supra M94BG. There is a system brightness slider, the range is 0% -- 100% (as usual), and the problem is that 0% corresponds 0 value in /sys/devices/platform/leds-mt65xx/leds/lcd-backlight/brightness , and 100% corresponds 90 value, and not 255, as expected. Manual setting of value in /sys/.../brightness to 255 gives really maximum level of brightness (as desired), but this value resets to 90 after screen is locked.

How can I correct the mapping?
Maybe everytime you unlock the screen, the phone sets the brightness to the current brightness value specified (set) by the slider.

This is something that has to be changed in the framework-res.apk .

If you know how to edit it using APKtool, just proceed.

Otherwise, the most easiest way is using a Tasker app.
Just add a task to set (echo) the brightness to 255 everytime screen is unlocked.