@Pent oh great I didn't read that line. Why the hell does samsung insist on changing stupid things like this? It works on pretty much everything that's (close to) AOSP. Which samsung dev went through that code and was all like "oh we don't need this, it's not even official. If I remove this we'll have more RAM for all the memory leaks or own apps have" :S
</rant>
Anyway. It works when I run a shell command:
settings put system screen_auto_brightness_adj [value] works perfectly fine. With root. And only one of my devices is rooted :S
Which plugin can do this? I've looked around but couldn't find one yet.