Can someone assist me with some instructions on how I can pull the necessary file to modify mentioned settings, then push it back. I've found other threads on this but nothing specifically for our device.
I'm just sayin!
princeasi said:
Can someone assist me with some instructions on how I can pull the necessary file to modify mentioned settings, then push it back. I've found other threads on this but nothing specifically for our device.
I'm just sayin!
Click to expand...
Click to collapse
Look in questions and answers.this is the wrong section to post this.google it
From a galaxy better than yours.
tennandcoz1 said:
Look in questions and answers.this is the wrong section to post this.google it
From a galaxy better than yours.
Click to expand...
Click to collapse
1) I've already posted in Q&A a couple days ago and no response
2) I googled it before I posted the question in Q&A and in here, and nothing was specific to the Tmobile sgs2. Since it's a modding question I thought development would be an appropriate place, but if i've stepped out of line, then excuse my ignorance.
I'm just sayin!
Wish I knew lol...oh how I miss the features of CyanogenMod.
You can try this:
http://forum.xda-developers.com/showthread.php?t=1235212
Although I wouldn't recommend copying over his framework-res.apk. I would do it from scratch using apk manager or something.
Not to mention the kernel has to support lower brightness values.
darkamikaze said:
You can try this:
http://forum.xda-developers.com/showthread.php?t=1235212
Although I wouldn't recommend copying over his framework-res.apk. I would do it from scratch using apk manager or something.
Not to mention the kernel has to support lower brightness values.
Click to expand...
Click to collapse
Thanks for the input. Basically I'd like to slightly raise the brightness under the lowest lighting conditions. Reason being, is to help mask the blobs while watching Netflix, YouTube, and other videos with a low lit environment.
I'm just sayin!
On a Samsung T-Wizz ROM, this may be quite difficult to find. You can Tasker to do what you requested though.
Create a new profile that is activated whenever you launch one of the apps in question.
Have the profile turn off auto brightness and set the screen brightness to x.
Set the end-profile condition to when the apps is closed and the end profile action to set auto-brightness back on.
There is a root application that does this, Lux or something like that, I can't think of it off the top ofmy head right now.
}{Alienz}{ said:
On a Samsung T-Wizz ROM, this may be quite difficult to find. You can Tasker to do what you requested though.
Create a new profile that is activated whenever you launch one of the apps in question.
Have the profile turn off auto brightness and set the screen brightness to x.
Set the end-profile condition to when the apps is closed and the end profile action to set auto-brightness back on.
Click to expand...
Click to collapse
Thanks, I'll first try to modify the framework-res.apk to see if I can get some results from that. If not, then this definitely sounds like a good workaround!
I'm just sayin!
Related
The screen auto brightness has always bothered me. I love the convenience of using it but it simply doesn't work like I believe it should.
For example. At night while laying in bed in a completely dark room I'd expect the screen to dim to it's lowest setting. When in actuality it does not, and it always seems to bright. On the other hand when I'm outside in direct sunlight I'd like for the brightness to be at 100%. Again this doesn't appear to be the case.
So what's the issue here? Is there a dev out there who has found a better solution?
I agree with you on this one. The automatic brightness on the EVO is just silly. Its lowest is 25%, by the way. There should be a way to choose what you want the minimum/maximum brightness to be :\
I've seen this question before, some time ago, but still no solution. I've seen someone say use total screen control trial (free in market) and tweak the filter settings to essentially do the dimming value you want.
blakeboys said:
I've seen this question before, some time ago, but still no solution. I've seen someone say use total screen control trial (free in market) and tweak the filter settings to essentially do the dimming value you want.
Click to expand...
Click to collapse
I have been searching and searching for an answer to this. I don't want to have to use third party programs if I could just change the thresholds myself.
In Calkulins rom he says he lowered the maximum auto brightness to save on battery, and this question has been asked there, with no answer (except for the usual "just use this program to do it").
Someone has to know where the settings for this are. I'm getting more advanced at dealing with apk's, jars, etc... But I haven't been able to find which one controls this. Build.prop has some brightness settings in it, but it's just the default setting when not using auto-brightness (I think).
Anybody ?!?!?!?!?!?!?!?!?
I know it's possible, because Cyanogenmod has the option to tweak the levels in CM Settings.
I just know I've seen an app here on xda, but don't remember what it was.
plainjane said:
I know it's possible, because Cyanogenmod has the option to tweak the levels in CM Settings.
I just know I've seen an app here on xda, but don't remember what it was.
Click to expand...
Click to collapse
I know it must be here too but but searching comes up with nothing new. I've tried autobrightness, auto-brightness, with min and max levels, thresholds, custom settings and every other search I could think of.
Maybe I'm leaving out the one keyword that would finnd it... lol
http://forum.xda-developers.com/showthread.php?t=901540 he had some settings for it he might be able to help
Sent from my unrEVOked using xda app
roscoenr said:
http://forum.xda-developers.com/showthread.php?t=901540 he had some settings for it he might be able to help
Sent from my unrEVOked using xda app
Click to expand...
Click to collapse
Thanks for looking, but unfortunately I've been there already. It basically allows you to toggle between auto brightness and a variety of static levels, but doesn't affect the min and max of auto brightness when you are in that mode.
I'm trying to be able to leave the phone in auto brightness mode all the time and just have the screen get to it's max available brightness when I'm in a bright area, and minimum available brightness in a dark area.
fgr said:
I know it must be here too but but searching comes up with nothing new. I've tried autobrightness, auto-brightness, with min and max levels, thresholds, custom settings and every other search I could think of.
Maybe I'm leaving out the one keyword that would finnd it... lol
Click to expand...
Click to collapse
I did a quick search too, but I couldn't come up with what I saw before. I remember thinking "neat, but I don't need that because it's built into the Rom". It's driving me nuts now too :/
You could always contact one of the devs from CM & find out what files need to be edited.
Basically it sucks. It actually drives to crazy so I just don't use it anymore. When I am on tapa I put the background to black so it's a bit easier on the eyes when I am laying in bed going through the forums before sleep
So as everyone knows our brilliant screen and auto brightness eat batteries like candy. Many people, understandably, disable auto brightness to conserve battery life. I haven't gone that far yet as I do use my phone in many different environments and enjoy the dynamic brightness. With that said auto brightness does set the brightness unnecessarily high.
Would it be possible to adjust auto brightness so that it still functions but sets brightness 10-20% (or a user specified value) lower than normally?
I'm not sure this would save as much battery as statically setting the brightness (is it the "auto" adjustment that drains battery or the brightness it sets it at?) but I'm sure it would be better than stock auto brightness.
You cannot do this from stock rom to my knowledge, but I'm sure there is a custom rom that will allow you to do this. You might have to search around a bit though.
I wrote an app that allows you to set custom auto brightness behaviour. You can check out the free version here.
Cyb3rGlitch said:
I wrote an app that allows you to set custom auto brightness behaviour. You can check out the free version here.
Click to expand...
Click to collapse
Cool, question: will this actually reduce battery usage or possibly cause more by enabling so many extra features?
If you're willing to rebuild android from source you could try changing device/samsung/tuna/overlay/frameworks/base/core/res/res/values/config.xml to have a more subtle brightness adjustment.
Or maybe running yet another app is easier in the meantime... But maybe someone who builds custom roms might want to hack at it...
The juice defender app has a schedule for brightness i believe, So it will come on automatic during the times frames you set..good luck
textshell said:
If you're willing to rebuild android from source you could try changing device/samsung/tuna/overlay/frameworks/base/core/res/res/values/config.xml to have a more subtle brightness adjustment.
Or maybe running yet another app is easier in the meantime... But maybe someone who builds custom roms might want to hack at it...
Click to expand...
Click to collapse
Ah thanks that's what I was looking for. You can't mod this file directly without rebuilding from source? Would be cool to be able to apply this to any ROM.
Sent from my Galaxy Nexus using XDA App
wish777 said:
The juice defender app has a schedule for brightness i believe, So it will come on automatic during the times frames you set..good luck
Click to expand...
Click to collapse
Thanks, not exactly what I was looking for though. It has to be more dynamic than a hard schedule.
Sent from my Galaxy Nexus using XDA App
Editing default auto brightness levels was a Cyanogen 7 feature. If it hasn't yet been added into CM9, it'll eventually get there.
Sent from my Galaxy Nexus using Tapatalk
phishie said:
Ah thanks that's what I was looking for. You can't mod this file directly without rebuilding from source? Would be cool to be able to apply this to any ROM.
Click to expand...
Click to collapse
Seems this thread has figured out a lot more about this http://forum.xda-developers.com/showthread.php?t=1377410
I don't know how easy it is to patch the existing apk. Seems possible.
Cyb3rGlitch said:
I wrote an app that allows you to set custom auto brightness behaviour. You can check out the free version here.
Click to expand...
Click to collapse
Sounds good, unfortunately useless in free version and I have no card to buy payed one
pesho00 said:
Sounds good, unfortunately useless in free version and I have no card to buy payed one
Click to expand...
Click to collapse
Why is it useless? I have been playing with it since yesterday and really like it, much better than system auto brightness. I don't really feel it's missing anything it the free version though I'm pretty sure I'll buy it just to support the developer. Very nice app.
pascanu said:
Why is it useless? I have been playing with it since yesterday and really like it, much better than system auto brightness. I don't really feel it's missing anything it the free version though I'm pretty sure I'll buy it just to support the developer. Very nice app.
Click to expand...
Click to collapse
Same here, it is a very nice app! I love how I can customize the brightness to match my environment and needs.
In my case, I selected "auto brightness inly on wake" in Lux Auto Brightness and it is draining battery. I paid for it but I am going to uninstall it.
Please Vito, let us know how to improve battery with Lux configurations. Thaks
While I can't provide any input on Lux, I also wrote an custom auto brightness application which can be found on Market here.
The market version isn't really good on Gnex though, you may just contact me and I'll send you the last dev version, it is now alright. I myself have a GNex and now it's alright. It would take me about 2 weeks till I'll be able to update Market version, most likely - there are enough things to add.
Screen Dimmer
The minimum screen brightness is too damn bright to use in the dark.
Run the app, click "Load" next to "n5dim", change your brightness to the minimum (and then up a bit and back down) and notice how much dimmer it is.
The brightness at all other levels stay the same.
Source: https://github.com/mzhou/n5dim
Fast Charge
This works by setting the registers on the bq24192 charger chip to allow as much input current (from USB/AC) as possible, as well as allowing as high a charge current as possible (to the battery).
From limited tests I've performed in the past, this actually isn't enough to get faster charging, so further investigation will be needed, though your testing will be much appreciated.
It will take effect on the first time you plug in after clicking "Load". If you're already plugged in, you need to unplug and replug for it to take effect.
Source: https://github.com/mzhou/n5charge
General
To use either of these, you need any kernel which supports modules (CONFIG_MODULES=y).
I've attached (modules_boot.img) a stock kernel with the config changed to support modules.
modules_441_boot.img is for 4.4.1, while modules_boot.img is for 4.4.0.
Does this dim further than setting '1' in /sys/devices/mdp.0/qcom,mdss_fb_primary.160/leds/lcd-backlight?
(Also I noticed your CSE email, a fellow UNSW student?)
Cyb3rGlitch said:
Does this dim further than setting '1' in /sys/devices/mdp.0/qcom,mdss_fb_primary.160/leds/lcd-backlight?
(Also I noticed your CSE email, a fellow UNSW student?)
Click to expand...
Click to collapse
Yes. Dragging the brightness slider to the minimum already sets 1 there.
There's values hard coded in the platform data to internally restrict the value to a minimum of 5 (but that's of little consequence).
The main gain is is from the "full scale current" (you can find an explanation in the datasheet for lm3630) which has been hard coded to 18 in the platform data. Bringing it down to 0 makes a huge difference.
(sup)
Nice work! I wonder why they limited it. Possibly to stop people putting their phone into an unusable state during the day?
Cyb3rGlitch said:
Nice work! I wonder why they limited it. Possibly to stop people putting their phone into an unusable state during the day?
Click to expand...
Click to collapse
I've done it to myself many times when I did this to my old phone.
Also updated the attachment in the OP to be compatible with more kernels.
Tested working on Franco.
Very cool! :good:
AWESOME! Is there maybe a mod like this for the NN7 (new nexus 7 )
Is there any advantage to this method over using an app like lux?
Sent from my Nexus 5 using XDA Premium 4 mobile app
adzjwarner said:
Is there any advantage to this method over using an app like lux?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
No app will be able to get the backlight this dark.
I'm not sure what Lux does, but if it modifies the colours to produce a darkening effect, then the contrast will be very bad.
adzjwarner said:
Is there any advantage to this method over using an app like lux?
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Hey there, I'm actually the developer of Lux. The main purpose of Lux is to replace your auto brightness system without the need for root access. That being said, there's no reason why this neat kernel module couldn't be added to a root plugin for Lux.
Cyb3rGlitch said:
Hey there, I'm actually the developer of Lux. The main purpose of Lux is to replace your auto brightness system without the need for root access. That being said, there's no reason why this neat kernel module couldn't be added to a root plugin for Lux.
Click to expand...
Click to collapse
Ah cool.
I tried out Lux and I'm not sure if it's a limitation in the free version, but it only sets the backlight brightness (/sys/class/leds/lcd-backlight/brightness) to a minimum of 10 before it starts doing colour adjustment instead.
My module treats the value 1 as special for making the backlight super dark. Dragging Android's built in brightness slider uses the full range of values 1-225 inclusive.
There's no reason it couldn't just map the full 1-255 to a wider range, but I initially wanted to lean towards keeping things as stock as possible.
arararagi said:
Ah cool.
I tried out Lux and I'm not sure if it's a limitation in the free version, but it only sets the backlight brightness (/sys/class/leds/lcd-backlight/brightness) to a minimum of 10 before it starts doing colour adjustment instead.
My module treats the value 1 as special for making the backlight super dark. Dragging Android's built in brightness slider uses the full range of values 1-225 inclusive.
There's no reason it couldn't just map the full 1-255 to a wider range, but I initially wanted to lean towards keeping things as stock as possible.
Click to expand...
Click to collapse
It does that because some devices do silly things near 0 like putting the device to sleep. You can change the minimum brightness in settings to 1 which should fix this (although I suspect it might round 0.01*255 to 2. I'll have to check my codebase).
Cyb3rGlitch said:
It does that because some devices do silly things near 0 like putting the device to sleep. You can change the minimum brightness in settings to 1 which should fix this (although I suspect it might round 0.01*255 to 2. I'll have to check my codebase).
Click to expand...
Click to collapse
Somehow overlooked that when I was skimming the settings. (And it does round to 2 ).
I could make 2 or anything less than 5 special so that Lux users can benefit. Or maybe just make it configurable with a parameter at insmod time...
arararagi said:
Somehow overlooked that when I was skimming the settings. (And it does round to 2 ).
I could make 2 or anything less than 5 special so that Lux users can benefit. Or maybe just make it configurable with a parameter at insmod time...
Click to expand...
Click to collapse
Whatever you feel works best. A parameter sounds like the most flexible solution though.
This is exactly what I was looking for!
Could I get a bit more explanation of how to install this though? Do I flash the kernel in recovery and then run the command from a shell on my phone, or on my computer?
Thanks for making this.
Sent from my Nexus 5 using xda app-developers app
I'll be watching this thread intently. I currently use lux as well.
rockingondrums said:
I'll be watching this thread intently. I currently use lux as well.
Click to expand...
Click to collapse
Ditto!
Sent from my Nexus 5 using XDA Premium 4 mobile app
Nelsocracy said:
This is exactly what I was looking for!
Could I get a bit more explanation of how to install this though? Do I flash the kernel in recovery and then run the command from a shell on my phone, or on my computer?
Thanks for making this.
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
Flash the kernel in whatever normal way you choose.
Extract and copy n5din.ko to your phone.
Use root and put it in /data so that apps with SD card access can't mess with it.
Run "insmod /data/n5dim.ko" on your phone. This can be with a terminal emulator or adb or script manager.
I'm probably gonna be making more modules so I might make an app to simplify the process.
Cyb3rGlitch said:
Hey there, I'm actually the developer of Lux. The main purpose of Lux is to replace your auto brightness system without the need for root access. That being said, there's no reason why this neat kernel module couldn't be added to a root plugin for Lux.
Click to expand...
Click to collapse
OhHai! Big fan of the app, it's saved my eyes when internetting in bed for many many months now! (Though I probably should just not internet at night)
I'll leave the plugin stuff to somebody who knows how to do that and rejoice when(if) it happens. :good:
arararagi said:
Flash the kernel in whatever normal way you choose.
Extract and copy n5din.ko to your phone.
Use root and put it in /data so that apps with SD card access can't mess with it.
Run "insmod /data/n5dim.ko" on your phone. This can be with a terminal emulator or adb or script manager.
I'm probably gonna be making more modules so I might make an app to simplify the process.
Click to expand...
Click to collapse
That worked perfectly, thanks.
This is really dim! I'm impressed. If you ever decide to modify it like you mentioned earlier so that the full brightness adjustment was available I'd be interested. It would be useful to have access to all the brightness levels between yours and the ordinary minimum brightness.
Sent from my Nexus 5 using xda app-developers app
Apologies if this has already been asked.
When I open S Note my device goes to full brightness and ignores whatever brightness level set. Is this normal?
Edit. Just found a thread, apologies...
Also, what does Reading Mode do?
Thanks
kempas said:
Also, what does Reading Mode do?
Thanks
Click to expand...
Click to collapse
Slighly changes the screen to make it easier on the eyes when reading for long periods. I havent used it so cant say if it works or not.
One of the more pleasant surprises I got when I bought this phone was how dark the screen could get for night tile viewing. With Night Mode and the lowest brightness, I could browse my phone first thing in the morning without dying.
Now, on Nougat, Night Mode just adds a yellowish tint - probably reducing blue light or whatever - and brightness doesn't seem to go as low now. Kinda blinded this morning...
Is there some way of fixing this?
1.
2.
3.
And many more..
I probably should've specified I wasn't looking for a separate app for this purpose. I know that much!
Just wondering if I can get the built in function to be sensible again.
Rizaria said:
I probably should've specified I wasn't looking for a separate app for this purpose. I know that much!
Just wondering if I can get the built in function to be sensible again.
Click to expand...
Click to collapse
Surely.
No you can't.
Well,
Currently looking into downgrading to Marshmallow then. Newer doesn't always equal better, sigh~
MOD EDIT
Rizaria said:
MOD EDIT
Click to expand...
Click to collapse
This is an international FORUM. People are from different cutural backgrounds, ethnicity, religion, beliefes......
What might be acceptable, might not be for others.
Please be careful in your words
Thanks
No idea what I said, but okay.