[Root Required]Min Brightness Enabler - Nexus 6 Themes and Apps

The nexus 6 gets pretty dim, but you can make it dimmer than the slider allows.
Attached is an APK which will do it when opened. All it does is run the following command:
Code:
echo 1 > /sys/devices/fd900000.qcom,mdss_mdp/qcom,mdss_fb_primary.164/leds/lcd-backlight/brightness
I'm unsure how to get it to persist through turning the screen off and back on (it goes back to the default min brightness if you do this).
Full Source is available here:
https://github.com/chrisj951/MinBrightness

ChrisJ951 said:
The nexus 6 gets pretty dim, but you can make it dimmer than the slider allows.
Attached is an APK which will do it when opened. All it does is run the following command:
Code:
echo 1 > /sys/devices/fd900000.qcom,mdss_mdp/qcom,mdss_fb_primary.164/leds/lcd-backlight/brightness
I'm unsure how to get it to persist through turning the screen off and back on (it goes back to the default min brightness if you do this).
Full Source is available here:
https://github.com/chrisj951/MinBrightness
Click to expand...
Click to collapse
That's awesome, thanks. Is there any was to make the maximum brightness higher?

SeanPlunk said:
That's awesome, thanks. Is there any was to make the maximum brightness higher?
Click to expand...
Click to collapse
Still been trying to figure that out. It seems as that making it brighter may require building the OS or kernel from source to do.

You can also download Screen Filter ( no root required).... I use this at night when I'm in my car and don't want that bright glow on my face

irock1985 said:
You can also download Screen Filter ( no root required).... I use this at night when I'm in my car and don't want that bright glow on my face
Click to expand...
Click to collapse
Great app. Thanks for the tip.

Related

Auto adjust backlight...can we tweak?

Peoples....has anyone found a way to "tweak" the auto adjust backlight setting?? Would be nice to be able to set the light sensor to a pre-determined value so that it is always that value greater than the ambiant light...
Why??...well, I would like to continue using the same auto setting (saves battery, etc) but have it just a little bit brighter than what it is doing automatically at the moment.
I'm sure there is a way....would be great to have this in Shaps AC or Diamond Tweak....hmmm, perhaps post there to....
Thanks all
Not sure if this helps, but if you untick the box for auto brightness then you can slide the brightness control up and down to set the base setting then re tick the auto box. Let me know if this is what you are wanting. If not just ignore me
johnboywilson said:
Not sure if this helps, but if you untick the box for auto brightness then you can slide the brightness control up and down to set the base setting then re tick the auto box. Let me know if this is what you are wanting. If not just ignore me
Click to expand...
Click to collapse
Nice one, but unfortunetely does not have the desired effect (just checked)....
HOWEVER, this would be a great why to build it into the system i.e. manually set the level thats works best for you in the abient lighting of the moment....then set auto adjust to keep that differential...hmmm...
I would love to find a way to calibrate that. The backlight in darkness is too high for my eyes. When I set it manually I can decrease the brightness to a comfortable degree, but as soon as I turn automatic mode back on, it gets higher.
Agree
aydc said:
I would love to find a way to calibrate that. The backlight in darkness is too high for my eyes. When I set it manually I can decrease the brightness to a comfortable degree, but as soon as I turn automatic mode back on, it gets higher.
Click to expand...
Click to collapse
Same here.
Is there any reg key to set up the minimum value for bl when in darkness..?
Anybody knows ?
Thanks
advanced config v 3
try with it,i ran into few tweaks for light sensor,hope it'll help you
Nope, Advanced Config's light sensor tweaks are only for the new Phone app.
aydc said:
Nope, Advanced Config's light sensor tweaks are only for the new Phone app.
Click to expand...
Click to collapse
yeah you are right ...polling and stuff,i remember now
...quick look....no joy...
Nothing easy to recognise in the Registry...I think this might need a "power" developer...
....er, thats definately NOT me
i found this:
http://gadgetmix.com/index/?p=1109

[GUIDE][FIX] Nvidia PRISM/smartdimmer - fix screen washout after watching videos

THE PROBLEM
To save battery while playing video Tegra intelligently decreases the backlight while increasing color brightness and contrast. Because it monitors on a frame by frame basis the changes are often unnoticable. You basically end up with the same displayed image using less backlight.
Unfortunately it seems to get stuck even after you leave the video and the changes are very noticeable as the changes were specific to the video frame you just left and not your homescreen.
This also may be the cause of some ghosting issues and for some it seems to eliminate any ghosting problems for them.
MANUAL FIX
(will reset at each reboot)
In terminal -
(You may need to type "su" and press enter before entering these commands)
To turn it off
echo "0" > /sys/devices/tegradc.0/smartdimmer/enable
To change how aggressive it is (untested)
echo "#" > /sys/devices/tegradc.0/smartdimmer/aggressiveness
Note: battery life while watching videos WILL decrease if you turn it off or decrease the aggresiveness
AUTOMATIC FIX
Trickster Mod
- has the ability to disable PRISM and set it to disable on boot.
N7scripts.rar
- A collection of scripts compiled by hamdir which, in conjunction with Script Manager (available in the market) will allow you to toggle smartdimmer/PRISM on and off at will.
- You can also use script manager to toggle it at boot if you want.
- Also includes a script to disable 3D scaling which may improve 3D gaming performance (untested)
Thanks to hamdir for his pack of scripts and for convincing me to make a new post for these fixes.
I may use this for other sysfs tweaks... mine for now.
Thanks. Easier to save and flash then manually entering in these values each time I crackflash.
If the T3 can increase the color saturation and gamma while decreasing backlight, wonder if we can increase the colors while leaving the backlight alone. All of the N7s I've played with have a dull washed out look with a warm tone for whites.
Sent from my Nexus 7 using xda premium
does flashing the .zip just delete the PRISM file? cuz when I manually enter the command after flashing it via CWM it doesn't allow me to any more.
"
ROM may flash stock recovery on boot? Fix?
No
.
.
.
.
.
Yes - Disable Recovery flash
.
.
.
+++ Go back +++
which reboots if you "go back" what is this?
-------------------------------------------------------------------------
How do you set up the script? I have script manager and the Scrip.rar saved onto my SD card. Thanks in advance!
player911 said:
Thanks. Easier to save and flash then manually entering in these values each time I crackflash.
If the T3 can increase the color saturation and gamma while decreasing backlight, wonder if we can increase the colors while leaving the backlight alone. All of the N7s I've played with have a dull washed out look with a warm tone for whites.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Messing with the kernel I haven't had any luck. You could ask Morfic. He might be able to make something happen.
Also prism increase color BRIGHTNESS for the most part (you said saturation). That's why the homescreen ends up looking washed out and bright and not oversaturated when PRISM fails to shut off.
Sent from my Nexus 7 using xda premium
sharp2G said:
does flashing the .zip just delete the PRISM file? cuz when I manually enter the command after flashing it via CWM it doesn't allow me to any more.
"
ROM may flash stock recovery on boot? Fix?
No
.
.
.
.
.
Yes - Disable Recovery flash
.
.
.
+++ Go back +++
which reboots if you "go back" what is this?
-------------------------------------------------------------------------
How do you set up the script? I have script manager and the Scrip.rar saved onto my SD card. Thanks in advance!
Click to expand...
Click to collapse
There's no prism file. These tweaks are changing a sysfs value. There's no file. The flashable zip adds an init.d file that runs the manual command at every boot.
In your case CWM is complaining about a file that flashes stock recovery on boot and overwrites CWM. These are completely different things. Let CWM "disable recovery flash" and you'll be good to go.
Sent from my Nexus 7 using xda premium
This is awesome. It definitely needs to be implemented in a ton of ROMs
so does flashing this decrease battery life when watching videos? im confused by op..
awesome post, thx!
yes this fix, completely get rid of the grey levels washout issues!!! and greatly improves the quality of the display, it will cost some battery life, but any boost to this average screen is welcome
now about ghosting it did reduce it a lot but sadly it didn't kill it, i still get the very random occasion of faint LCD ghosting
finally we really need to find out a way to fix the stupid low saturation, in particularly the greens are very low
google....these screen issues, lack of tablet UI and launcher rotation issues, makes want to smash it through the wall
Nice find. Hopefully Google/Nvidia/Asus will fix this in an update.
Thank you very much for this! While I don't own a Nexus 7, I *do* own an Asus TF700T and this problem also exists on it. On the TF700, this "mode" is active all of the time, no matter what you are doing and it is *very* noticeable and distracting, especially when watching videos (but it *is* noticeable everywhere else as well).
Disabling this "Feature" makes the problem go away. At the very least, you can enable/disable as needed now.
Thanks again!
Sent from my ASUS Transformer Pad TF700T using Tapatalk 2
Hello from Germany,
my Nexus is unlocked and rooted
Terminal:
su
cd /sys/devices/tegradc.0/smartdimmer
./enable
"Permission denied"
change user rights:
chmod 744 enable
(old settings are 644)
./enable
./enable[1]: 1: not found
so where is my fault?
ever since i disabled this gamma destroying feature and my screen keeps getting better and better
starting to fall in love with it really
Riquelme10 said:
Hello from Germany,
my Nexus is unlocked and rooted
Terminal:
su
cd /sys/devices/tegradc.0/smartdimmer
./enable
"Permission denied"
change user rights:
chmod 744 enable
(old settings are 644)
./enable
./enable[1]: 1: not found
so where is my fault?
Click to expand...
Click to collapse
you didn't even enter the command line properly...
Sent from my Nexus 7
sharp2G said:
you didn't even enter the command line properly...
Sent from my Nexus 7
Click to expand...
Click to collapse
Care to post how it should be done then? Might be a little bit more helpful
Also, does this affect battery life overall? Or just while watching movies?
Riquelme10 said:
Hello from Germany,
my Nexus is unlocked and rooted
Terminal:
su
cd /sys/devices/tegradc.0/smartdimmer
./enable
"Permission denied"
change user rights:
chmod 744 enable
(old settings are 644)
./enable
./enable[1]: 1: not found
so where is my fault?
Click to expand...
Click to collapse
You do not "run" the "enable" file. You need to do this:
echo "0" > /sys/devices/tegradc.0/smartdimmer/enable
or
echo "0" > enable (if you are already in that dir).
That will disable the SMartDimmer "feature". Echoing a "1" will re-enable it. I have not noticed any battery life difference....
Sent from my ASUS Transformer Pad TF700T using Tapatalk 2
espionage724 said:
Care to post how it should be done then? Might be a little bit more helpful
Also, does this affect battery life overall? Or just while watching movies?
Click to expand...
Click to collapse
yes its an LCD battery saving feature and so disabling it will definitely reduce battery life
choose between battery life or quality display
hamdir said:
yes its an LCD battery saving feature and so disabling it will definitely reduce battery life
choose between battery life or quality display
Click to expand...
Click to collapse
Yes as said in the OP smart dimmer analyzes the video frames and determines whether it can lower the backlight while increasing the color brightness and maintain almost the same image. Lower backlight = better battery life.
Sent from my Nexus 7 using xda premium
After I turned off the dimmer, the screen got a little brighter, so I manually turned down my normal 40% brightness to 30% brightness. So in the end I don't think I'm losing any battery life at all.
Ravynmagi said:
After I turned off the dimmer, the screen got a little brighter, so I manually turned down my normal 40% brightness to 30% brightness. So in the end I don't think I'm losing any battery life at all.
Click to expand...
Click to collapse
I agree - I think any battery life reduction will be *very* minor for most people... I certainly haven't noticed any difference...
Sent from my ASUS Transformer Pad TF700T using Tapatalk 2

screen too bright

hello my s5 mini, when exposed to sun for example, automatically increases the screen brightness...altought so much bright that even the colors became strange. anyway, since i am rooted, to change the maximum brightness allowed in auto mode?
mclaudio said:
hello my s5 mini, when exposed to sun for example, automatically increases the screen brightness...altought so much bright that even the colors became strange. anyway, since i am rooted, to change the maximum brightness allowed in auto mode?
Click to expand...
Click to collapse
I've just read an article pointing out this weird thing:
http://www.androidcentral.com/samsung-galaxy-s5-mini-review
I've just tested this on my S5 mini, wow! I see what they mean by colours going psychedelic.
I don't think you have any control at all under Auto Brightness. You'd have to switch Auto Brightness off then slide the brightness to Max.
ShadowFlare said:
I've just read an article pointing out this weird thing:
http://www.androidcentral.com/samsung-galaxy-s5-mini-review
I've just tested this on my S5 mini, wow! I see what they mean by colours going psychedelic.
I don't think you have any control at all under Auto Brightness. You'd have to switch Auto Brightness off then slide the brightness to Max.
Click to expand...
Click to collapse
I absolutely know what you mean, same here...
maxpower_303 said:
I absolutely know what you mean, same here...
Click to expand...
Click to collapse
maybe some moding?
Maybe this is due to a feature named "Adjust Display". Go to Settings > Screen > Screen Mode. By default, it's set to Adjust Display, so the screen will automatically change its colors depending on ambient lightning.

Reduce minimum brightness

Hello, some one please guide me so i can reduce the min brightness in lollipop, even the lowest is too bright and hurts my eyes at night,
I want to change settings in the rom and dont want to use apps
Take a look at this thread: http://forum.xda-developers.com/showthread.php?t=2893061 is for KK but I think is almost the same for LP
DorianX said:
Take a look at this thread: http://forum.xda-developers.com/showthread.php?t=2893061 is for KK but I think is almost the same for LP
Click to expand...
Click to collapse
Thabks, i tried it already and searched all what i could get from google, still nothing works and most mods need custum kernel or patching service jar which is a bit of a head ache of steps
If i could mod build prop or a sys file
My other phones where already dim at low or i could mod their brightness throu build prop or lcd min value but none is possible on this phone
Gamer4Life said:
Hello, some one please guide me so i can reduce the min brightness in lollipop, even the lowest is too bright and hurts my eyes at night,
I want to change settings in the rom and dont want to use apps
Click to expand...
Click to collapse
#!/system/bin/sh
#night mode
echo 1 > /sys/class/leds/wled:backlight/max_current
Can be used as script or via terminal emulator
If you need more brightness change value after echo
My value>
1 for lowest
3 for normal
25 for max
Yenkazu said:
#!/system/bin/sh
#night mode
echo 1 > /sys/class/leds/wled:backlight/max_current
Can be used as script or via terminal emulator
If you need more brightness change value after echo
My value>
1 for lowest
3 for normal
25 for max
Click to expand...
Click to collapse
Explain little more please?
Okay, fir now i lowered the max current, now the display is really nice and dim how just how i like it
But max brightness is very low now, only if i could only changr thr min value
You can use apktool to decompile framework-res.apk and change the lcd backlight related numbers in /res/values/ files. The lowest setting that I can still see my screen was 2. The lowest manual setting changes but the adaptive brightness doesn't go to the new minimum. But sometimes the framework-res.apk doesn't rebuild properly and you need to restore with recovery and ADB.
Gamer4Life said:
Okay, fir now i lowered the max current, now the display is really nice and dim how just how i like it
But max brightness is very low now, only if i could only changr thr min value
Click to expand...
Click to collapse
Just change value to 25
But you need change this value every time each reboot.
Not a permanent, but a handy solution :3
For me, I made 3 script as widget (in small app), so I can change brightness value as I like.
Yenkazu said:
Just change value to 25
But you need change this value every time each reboot.
Not a permanent, but a handy solution :3
For me, I made 3 script as widget (in small app), so I can change brightness value as I like.
Click to expand...
Click to collapse
I will be grateful if you share with us how to make these shortcuts in small app menu.
Also which setting do you use for night?
For me i tried 3 and i like it. My eyes are very sensitive to light and will make them dry and bit sore

Disable Night mode?

Does anyone know how to disable "night mode" under dispaly brightness settings. (not reading mode and dark mode)
This night mode pushes screen to warmer tone right after 8.00pm
I played with the sliders given, but still can't get it off.
Check the screenshot ?
No one?
GTRanushka said:
Does anyone know how to disable "night mode" under dispaly brightness settings. (not reading mode and dark mode)
This night mode pushes screen to warmer tone right after 8.00pm
I played with the sliders given, but still can't get it off.
Check the screenshot
Click to expand...
Click to collapse
If system brightness is not set to the minimum available or automatic in low light conditions then night mode shouldn't get enabled
Bro, just drag the "nightmode color temperature" to zero. Left side.
nakulp said:
If system brightness is not set to the minimum available or automatic in low light conditions then night mode shouldn't get enabled
Click to expand...
Click to collapse
ntmalol said:
Bro, just drag the "nightmode color temperature" to zero. Left side.
Click to expand...
Click to collapse
I found that if i don't restore the phone in a fresh install i don't get that issue. Later one xda memeber has posted the same thing and he found that it has something to do with google backup. It's like reading mode, but auto activated exactly at 8.00pm.
I fixed it with a fresh install and skip restore.
Thanks for helping me out. :highfive:

Categories

Resources