Need help regarding automatic brightness levels tweaking - Desire HD Android Development

Hi all experienced cooks here, can I ask, how do I edit the automatic brightness levels manually, because on cm7 I've already set my values and I'm thinking of coming back to arhd, but I'm not sure if this is possible? Much help is appreciated!
Sent from my Desire HD using XDA App

Frostyeo said:
Hi all experienced cooks here, can I ask, how do I edit the automatic brightness levels manually, because on cm7 I've already set my values and I'm thinking of coming back to arhd, but I'm not sure if this is possible? Much help is appreciated!
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
this is the wrong place to ask questions man.. this thread will probably be moved soon..
if u want to adjust auto brightness on sense roms, it's a lot more complicated than on cm7, i believe u have to decompile framework-res.apk and edit /res/values/arrays.xml. But to what values specifically, u're on your own..

Frostyeo said:
Hi all experienced cooks here, can I ask, how do I edit the automatic brightness levels manually, because on cm7 I've already set my values and I'm thinking of coming back to arhd, but I'm not sure if this is possible? Much help is appreciated!
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
Here's a small guide by enf70: http://forum.xda-developers.com/showthread.php?p=10660706&highlight=auto-brightness#post10660706
He's describing the procedure for leedroid's rom but it's just the same for arhd.
Important note: a lot of themes include changes in the framework-res.apk, so if you want to use a theme make sure that either the framework-res is not touched or change it again based on that guide.
btw: could you share your settings for cm7? I'm using it now and it'd be much appreciated.

lukesky said:
this is the wrong place to ask questions man.. this thread will probably be moved soon..
if u want to adjust auto brightness on sense roms, it's a lot more complicated than on cm7, i believe u have to decompile framework-res.apk and edit /res/values/arrays.xml. But to what values specifically, u're on your own..
Click to expand...
Click to collapse
Sorry I didn't know which should this be in, please advise where should I ask this?
Sent from my Desire HD using XDA App

Tantin said:
Here's a small guide by enf70: http://forum.xda-developers.com/showthread.php?p=10660706&highlight=auto-brightness#post10660706
He's describing the procedure for leedroid's rom but it's just the same for arhd.
Important note: a lot of themes include changes in the framework-res.apk, so if you want to use a theme make sure that either the framework-res is not touched or change it again based on that guide.
btw: could you share your settings for cm7? I'm using it now and it'd be much appreciated.
Click to expand...
Click to collapse
With the default levels of brightness I edited the 3rd column values to
1
20
35
40
45
50
55
60
65
75
85
140
These are my values for relatively energy saving xD so the screen in normal conditions with brightness at around 15-25% then in sunlight it will go to about 55%, because you don't really need 100% brightness to look at words, you can edit them accordingly to your needs
Note, tick the Allow light decrease, so that when the conditions are not that bright, it will decrease screen brightness according to the levels you have set, and the decrease levels I've set it to 70%, working qquite well for me
Hope this helped!
Sent from my Desire HD using XDA App

Related

This is getting tiresome... When?

After months of whining... One last try.
When will someone finally make a legitimate Sense app to adjust autobrightness light levels?
The default autobrightness is too bright in the dark, too dim in sunlight. I want to be able to check that autobrightness box once, and forget about it, yet still have pleasant to the eye brightness in all conditions.
CM6 has had that feature for months. Can no one hack Sense autobrightness?
nabbed said:
After months of whining... One last try.
When will someone finally make a legitimate Sense app to adjust autobrightness light levels?
The default autobrightness is too bright in the dark, too dim in sunlight. I want to be able to check that autobrightness box once, and forget about it, yet still have pleasant to the eye brightness in all conditions.
CM6 has had that feature for months. Can no one hack Sense autobrightness?
Click to expand...
Click to collapse
Simple fix learn to code and port it
from my phone duh
Bumping.
Any news?
I heard myn was working on something like that.
Is that true? Any success?
CheesyNutz said:
Simple fix learn to code and port it
from my phone duh
Click to expand...
Click to collapse
+1
Sent from my PC36100 using XDA App
CheesyNutz said:
Simple fix learn to code and port it
from my phone duh
Click to expand...
Click to collapse
Not everyone has the time or resources to learn everything. In fact, this community is here to help people who don't have that knowledge
I believe calkulin's evio rom has this in it
nabbed said:
After months of whining... One last try.
When will someone finally make a legitimate Sense app to adjust autobrightness light levels?
The default autobrightness is too bright in the dark, too dim in sunlight. I want to be able to check that autobrightness box once, and forget about it, yet still have pleasant to the eye brightness in all conditions.
CM6 has had that feature for months. Can no one hack Sense autobrightness?
Click to expand...
Click to collapse
I use widgetsoid2.x to do this along with many other things. Free app from the market.
devnulldroid said:
I use widgetsoid2.x to do this along with many other things. Free app from the market.
Click to expand...
Click to collapse
Widgetsoid is a great app, buy not what he the OP wants. I would love this though, so a +1 from me too!
Sent from my iPhone 6

Where to change Lcd density?

Hey just wondering where we can change the lcd density. If anyone knows please let me know.thanks
Sent from my SCH-I510 using XDA Premium App
Funzy32 said:
Hey just wondering where we can change the lcd density. If anyone knows please let me know.thanks
Sent from my SCH-I510 using XDA Premium App
Click to expand...
Click to collapse
Sorry if this comes out sounding wrong, but why do you need to change your LCD Density. If you know "WHY" you need to change it. You should already know how. This process is not for people that do not know what they are doing and should not be done unless you have a good amount of experience doing so, as messing with the file settings could brick your device, or send you into a boot loop. Hope for the boot loop. But i won't be responsible for telling the masses how to do it. If you really think you need to do it. Answer the question of WHY, and i'll message you. or you can google the process.
Funzy32
Heres a link to the info you need.
Please read carefully.
http://forum.xda-developers.com/showthread.php?t=1101189
Once you do adjust your settings, you will find that your phone keypad layouts are not adjusted to fit your new screen size
This is my question to older members
How do you fix the phone keypad layout and other screens that dont fit?
SoM3_Idi0t said:
Funzy32
Heres a link to the info you need.
Please read carefully.
http://forum.xda-developers.com/showthread.php?t=1101189
Once you do adjust your settings, you will find that your phone keypad layouts are not adjusted to fit your new screen size
This is my question to older members
How do you fix the phone keypad layout and other screens that dont fit?
Click to expand...
Click to collapse
The apk has to be decompiled, scaled and recompiled to fix the resolution change. Once again, this is why you don't just change the screen resolution because someone said it could be done. We usually change it for a specific reason.
Humble 1.3 comes with a LCD density change and I don't notice any issues with layouts.
Sent from my Droid Charge
Hey guys. Thanks for all the info. I am running the latest humble froyo and lcd was set at 200 which affected the dialer screen and such. That's the only reason i switched it back to a density of 240. Thanks for the help.
Sent from my SCH-I510 using XDA Premium App
Funzy32 said:
Hey guys. Thanks for all the info. I am running the latest humble froyo and lcd was set at 200 which affected the dialer screen and such. That's the only reason i switched it back to a density of 240. Thanks for the help.
Sent from my SCH-I510 using XDA Premium App
Click to expand...
Click to collapse
How did you do this? I an having the same issue with humble on my charge.

Brightness

Anybody know how to mod the brightness levels. in HTC roms it was in the framework-res.apk then u would modify the arrays.xml. any help appreciated
settings>display>brightness. I think
zecstone said:
Anybody know how to mod the brightness levels. in HTC roms it was in the framework-res.apk then u would modify the arrays.xml. any help appreciated
Click to expand...
Click to collapse
What exactly are you looking to do?
cv81 said:
What exactly are you looking to do?
Click to expand...
Click to collapse
I think he is trying to modify the % change at the system level.
Sent from my SAMSUNG-SGH-I727 using XDA App
Kind of on topic, one great tip for the SR is to tap and hold on the status bar and slowly slide left or right to adjust brightness levels on the fly. Love this phone!

[GUIDE] CM9 Auto Brightness Values

*These values also work for CM7*
I personally take no credit for this as i was searching how to set proper settings for my auto brightness using Team DIRT v1.7, so i searched all over Google and came across these settings that were recommended by the user "brkshr" over at rootzwiki, so all credit goes to him as i'm only basically copying and pasting what he has over there, hopefully it's not a big deal, if so, we can always remove this. They seem to be working just fine for me, but if any of you would like to give it a go, go ahead. I'm not responsible if your phone blows up, make a nandroid backup before you ever play with your phone settings. Shout outs to Team DIRT, CM Team for everything they've provided to us for our beloved Evil (Evo) OG (4G). If you don't find it too much to ask for, please thank the guy i bit this off of. "brkshr"
Menu > System Settings > Display > Automatic Backlight
jrollercoasters said:
For anyone that wants haptic lights on in the dark I put the first 3 levels to 50 and it works perfect
Sent from my PC36100 using xda premium
Click to expand...
Click to collapse
*This would be under "Buttons" near the top.*
Light Sensor Filter - Enabled
Window Length - 5 sec
Reset threshold - disabled
Sample Interval - 5 sec
Light Levels - Use custom checked
Screen dim level - 1
Edit other levels - See attachments (Scroll to the bottom and select "Set number of levels, and type in 20)
Allow light decrease - Checked
Decrease hysteresis - 50%
Once done, click on "Save and Apply" and you should be good to go!
(Hope i didn't violate any rules, i gave credit where i could)
thanks for the guide want to use it but dont quite get the attachment.. im on CM7 reloaded rom and thought it would be the same had all the same stuff... just not as much values.. in other levels.. :/
jrollercoasters said:
thanks for the guide want to use it but dont quite get the attachment.. im on CM7 reloaded rom and thought it would be the same had all the same stuff... just not as much values.. in other levels.. :/
Click to expand...
Click to collapse
First, I think you mean Deck's Reloaded ROM. Second, if you want to emulate the number of levels in the OP, just hit the button at the bottom that says "set number of levels."
Sent from my PC36100 using XDA
shinesthru said:
First, I think you mean Deck's Reloaded ROM. Second, if you want to emulate the number of levels in the OP, just hit the button at the bottom that says "set number of levels."
Sent from my PC36100 using XDA
Click to expand...
Click to collapse
^what he said^
They didn't change to those values tho..
Sent from my PC36100 using xda premium
Oh nvm >.> I'm an idiot srry, will 10secs work for window length? You can't change it to 5 on cm7 appearntly ..
Sent from my PC36100 using xda premium
Excellent find Great way to lower the display usage of CM and save some battery!
For anyone that wants haptic lights on in the dark I put the first 3 levels to 50 and it works perfect
Sent from my PC36100 using xda premium
jrollercoasters said:
For anyone that wants haptic lights on in the dark I put the first 3 levels to 50 and it works perfect
Sent from my PC36100 using xda premium
Click to expand...
Click to collapse
cool, ill put that in the OP
madunix said:
cool, ill put that in the OP
Click to expand...
Click to collapse
I feel special haha
Sent from my PC36100 using xda premium
This should be stickied in general section cause this comes in handy in any cm based Rom.. which a lot ppl use and it works very fluent, productive, smooth, and gets the perfect ammount of brightness
Sent from my PC36100 using xda premium
Sorry for the noob question here but I've been away from aosp for awhile. Does this thread mean auto brightness is finally working properly in cm9 roms? And the compass works too? Did I miss when this bug got fixed?
mertin said:
Sorry for the noob question here but I've been away from aosp for awhile. Does this thread mean auto brightness is finally working properly in cm9 roms? And the compass works too? Did I miss when this bug got fixed?
Click to expand...
Click to collapse
It means you can perfect your brightness so its not so bright all the time.. you can customize with lux auto brightness (app) also
Sent from my PC36100 using xda premium
mertin said:
Sorry for the noob question here but I've been away from aosp for awhile. Does this thread mean auto brightness is finally working properly in cm9 roms? And the compass works too? Did I miss when this bug got fixed?
Click to expand...
Click to collapse
i haven't heard anything new on the compass so I'm assuming it's working just fine, i use googles maps without any issues so i would say yes it's fixed. as far as the auto brightness features, if you follow this guide, it will set your values up in a sense that it covers all types of lighting situations. i tried it out yesterday in doors and out, i'd have to say i was quite happy with the results. very responsive as well.
Am I doing something wrong? I tried following the steps here but my screen was so dim that I could barely see it indoors.
I am on Deck's Reloaded and I changed the number of levels to 20 and tried to mimic the settings but didn't have any luck. When I change the number of levels the "upper" value (that can't be changed) are all 0...Do I need to do something to change that? I tried just going through and setting it like in the attachments but maybe I did something wrong.
Dannyman23 said:
Am I doing something wrong? I tried following the steps here but my screen was so dim that I could barely see it indoors.
I am on Deck's Reloaded and I changed the number of levels to 20 and tried to mimic the settings but didn't have any luck. When I change the number of levels the "upper" value (that can't be changed) are all 0...Do I need to do something to change that? I tried just going through and setting it like in the attachments but maybe I did something wrong.
Click to expand...
Click to collapse
Change the entries under "screen" to something higher until it looks good to u. I like mine a little brighter, so I started with "0,80,0" as the first line, and then increased as I went down the list. Hope this makes sense.
drtwrk127 said:
Change the entries under "screen" to something higher until it looks good to u. I like mine a little brighter, so I started with "0,80,0" as the first line, and then increased as I went down the list. Hope this makes sense.
Click to expand...
Click to collapse
I ended up raising my values up a tad bit as well.. it has definetely been helping me get my screen brightness adjusted accordingly, which is great.
Sent from my PC36100 using xda premium
I think you guys misunderstood my question earlier. Last time I tried cm9 (about two weeks ago) the custom auto brightness settings could not be changed, they would revert as soon as you exit the menu even after hitting save and apply. Also the time it took to adjust to changing light conditions was +10 seconds and basically unusable. (I saw in the changelog it was this way because they werent able to get custom auto brightness and the compass working at the same time). So am I to believe this is not the case anymore?
mertin said:
I think you guys misunderstood my question earlier. Last time I tried cm9 (about two weeks ago) the custom auto brightness settings could not be changed, they would revert as soon as you exit the menu even after hitting save and apply. Also the time it took to adjust to changing light conditions was +10 seconds and basically unusable. (I saw in the changelog it was this way because they werent able to get custom auto brightness and the compass working at the same time). So am I to believe this is not the case anymore?
Click to expand...
Click to collapse
no longer the case. make sure your auto brightness is actually checked.. i was having issues until i realized it wasn't checked to begin with.
Works well on CM7 as well :thumbup:
Sent By Morse Code

Reduce screen voltage??

So is there a way to reduce brightness further than the stock settings? It seems all the ROMs are too bright in a dark room. Is there something I can adjust in a file or is a kernel the only way? I have added "ro.lcd_min_brightness=0" to the build.prop but it's still not enough. I'm not looking to use an app with a filter to do the job. I just want to do it the proper way. Any help is greatly appreciated. Thanks guys!
Edit.
doesn't seem to work. Sorry, I just got this phone.
Have you tried AdjBrightness?
I used to use it on my dx but sometimes the setting wouldn't stick on reboot.
bobAbooE said:
Edit.
doesn't seem to work. Sorry, I just got this phone.
Have you tried AdjBrightness?
I used to use it on my dx but sometimes the setting wouldn't stick on reboot.
Click to expand...
Click to collapse
I see what you saying but I really don't want another service running in the background. This also won't drop the screen voltage and will lose the nice contrast ratio we have. I really want to drop the LCD lighting voltage.
razz1 said:
So is there a way to reduce brightness further than the stock settings? It seems all the ROMs are too bright in a dark room. Is there something I can adjust in a file or is a kernel the only way? I have added "ro.lcd_min_brightness=0" to the build.prop but it's still not enough. I'm not looking to use an app with a filter to do the job. I just want to do it the proper way. Any help is greatly appreciated. Thanks guys!
Click to expand...
Click to collapse
You could decompile framework-res and adjust the auto brightness setting to your own liking. I've done that. Used a guide here on xda somewhere, give it a try. You do need adb set up and 7zip and notepad++. But its fairly simple.
Sent from my SCH-I535 using Tapatalk 2
countryfolk07 said:
You could decompile framework-res and adjust the auto brightness setting to your own liking. I've done that. Used a guide here on xda somewhere, give it a try. You do need adb set up and 7zip and notepad++. But its fairly simple.
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
Great thanks! Definitely going to give it a shot. I had a Bionic before this GS3 and everything was far more difficult or impossible to tweak. That darn locked bootloader.
This.
http://forum.xda-developers.com/showthread.php?t=1904691
Sent from my SCH-I535 using Tapatalk 2
Thanks
thank so much

Categories

Resources