I want to reduce the minimal brightness from 20 to 10. Now I use the app YAAB, but can this easier?
I set in build.prop ro.lcd_min_brightness=10 and find this in /sys/class/backlight/panel/brightness correctly, but see no effect
rp158 said:
I want to reduce the minimal brightness from 20 to 10. Now I use the app YAAB, but can this easier?
I set in build.prop ro.lcd_min_brightness=10 and find this in /sys/class/backlight/panel/brightness correctly, but see no effect
Click to expand...
Click to collapse
Do you not have a brightness adjustment in your rom settings?
Darke5tShad0w said:
Do you not have a brightness adjustment in your rom settings?
Click to expand...
Click to collapse
Sorry, I gave too few info: I wonna stay on TW-base and there's only the slider, which doesn't make lower brightness than 20 (with the edits, I mentioned).
CM-, AOKP-roms offer manual adjustment and with that I got lower brightness.
I use this app when I'm reading something at night:
https://play.google.com/store/apps/details?id=pt.bbarao.nightmode
You may invert color to turn whites into black and reduce screen consumption, w/o installing or tweaking anything
I use black themes and I can adjust brightness lower than 20 by an app. My question is&was: how can I simply adjust it by system-value?
laxsrbija said:
I use this app when I'm reading something at night:
https://play.google.com/store/apps/details?id=pt.bbarao.nightmode
Click to expand...
Click to collapse
Thanks for the suggestion, good tip
I'm running the recent SlimKat (OmniRom-based) now. But I don't get brightness lower than 20 by settings, too, even if I set in build.prop ro.lcd_min_brightness=5 and in brightness-settings 0lux /0%. Strange...
I found this xposed module, 'screen filter', works great!
Hello, I use this application called screen filter, hope you serve https://play.google.com/store/apps/details?id=com.haxor
@bruno.filter: I use it, too. Slim and easy. @Joker87: I avoid xposed atm, because almost every discussion with dev's about any bug begins with 'if you use it, sorry...'
Related
So I was looking for a way to reduce brightness of the screen as i found it way too bright even at lowest setting and I found this info on SGSII forum so all credit goes to them. I just thought some of you might find it useful. So here it is.
desean said:
Thanks LockeOn for sharing.
Just a quick how-to for everyone else before more people post on how to apply the MOD, using APK manager (I think this is the easiest method)
Steps
Download APK manager and unpack somewhere
Grab framework-res.apk from your phone under \system\framework\ (e.g. adb pull) and place it in the "place-apk-here-for-modding" folder
Run Script.bat and select option 9
Once done, go to projects\framework-res.apk\res\values\arrays.xml and edit your values as per first post.
Once edited, compile the apk using option 11
Qn: Is this a system apk. Ans: y
Qn: Aside from the signatures, would .... least. Ans: y
Prompt: In the apk manager folder u'll find a keep folder..... done then press enter on this script. Press any key to continue . . . You have to go to "keep" folder and delete resources.arsc because arrays.xml have been changed. After this You can press any key in apk manager window.
Once done, input 22 in apk manager and select "unsignedframework-res.apk" by entering the number that stands for it. After selecting it You should see in apk main window in the top right corner "Current-App: unsignedframework-res.apk". Now press 5 to zipalign apk. You will find your completed, zipaligned apk under place-apk-here-for-modding\unsignedframework-res.apk
rename back to framework-res.apk and adb push the file back to your phone.
And here are the values I use, taking some values from my Hero days
Code:
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>5</item>
<item>25</item>
<item>60</item>
<item>125</item>
<item>255</item>
</integer-array>
Since some MOD (like APM for example) make changes to the framework-res.apk, it is better for you to do your own instead of begging others to do and post here.
Edit1: Updated steps as recommended by LockeOn
Edit2: using more aggressive values now after few days testing
Code:
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>2</item>
<item>15</item>
<item>32</item>
<item>100</item>
<item>200</item>
</integer-array>
before this, i was always using minimum brightness instead of auto brightness thus decided to set 32 and below for majority of the values. it works for me when i am indoor and outdoor under low light. when outdoors under brightness, the increase is bright enough for me so I believe i have found my sweet spot
note that my environment and preference may diff from everyone so what works for me may not work for you
Click to expand...
Click to collapse
Couple of steps that I did that are different are that I used root explorer to transfer files from and back to the phone. While you are doing this you can also edit the crt animation like i did. I'll attach my apk file and you could use it if you use stock rom I believe.
You are doing this on your own and keep that in mind.
Also note that this is going to reset your wallpaper and your gmail account(meaning you have to sign in again).
What's all the hubub about? Have you tried this, https://play.google.com/store/apps/...2ZWZpc2gud2lkZ2V0cy5icmlnaHRuZXNzbGV2ZWwiXQ.?
The difference between the app and this mod is the minimum brightness. With this mod you can go beyond minimum that is set by samsung. For example, minimum for stock has value of 32 and one that I edited is 2. Plus you can add crt effect when turning off screen.
edit: I forgot to add that if you are not using automatic brightness you can simply slide your finger over the notification bar to achieve the same results as the app is offering.
dacho said:
The difference between the app and this mod is the minimum brightness. With this mod you can go beyond minimum that is set by samsung. For example, minimum for stock has value of 32 and one that I edited is 2. Plus you can add crt effect when turning off screen.
edit: I forgot to add that if you are not using automatic brightness you can simply slide your finger over the notification bar to achieve the same results as the app is offering.
Click to expand...
Click to collapse
There are apps that can lower the brightness way below the minimum you can manually set in the settings.
Plexicle said:
There are apps that can lower the brightness way below the minimum you can manually set in the settings.
Click to expand...
Click to collapse
Not to 2. The lowest available to any market app is 10.
Sent from my SAMSUNG-SGH-I717 using xda premium
Well, with settings change that I did I get almost identical auto-brightness behavior as with galaxy nexus. I quite like it.
works great! thank you
The lowest setting is "way to bright "? Seriously?
I have mine set on half to bring out the beauty of the screen
Is that how yall getting 18 hours battery life by having screen set to pitch dark? I smh
SayWhat10 said:
The lowest setting is "way to bright "? Seriously?
I have mine set on half to bring out the beauty of the screen
Is that how yall getting 18 hours battery life by having screen set to pitch dark? I smh
Click to expand...
Click to collapse
The problem is that it IS too bright in a dark room. Not beautiful, bright.
Sent from my SAMSUNG-SGH-I717 using xda premium
If u use screen dim in the market it can go below the stock brightness control.
Sent from the Almighty Note!
borijess said:
If u use screen dim in the market it can go below the stock brightness control.
Sent from the Almighty Note!
Click to expand...
Click to collapse
ok? if you like somebody's work hit thanks, if not just don't comment at all. the screen dim you are talking about does not lower the brightness levels, it just dims the screen meaning your battery life doesnt improve. while this mod actually does REALLY lower your brightness=>better battery life as well!
this isnt to far off topic but is there any way to adjust the brightness of the touch buttons at the bottom of the phone....it seems like you should also have an adjustment on how bright or dim those buttons illuminate
Projectdwnshft said:
this isnt to far off topic but is there any way to adjust the brightness of the touch buttons at the bottom of the phone....it seems like you should also have an adjustment on how bright or dim those buttons illuminate
Click to expand...
Click to collapse
I just turned mine off. I know where each of the buttons is, and unless im in the dark, i can see them anyways. No need to have them illuminated in my opinion.
Sent from my SAMSUNG-SGH-I717 using Tapatalk
Underground_XI said:
ok? if you like somebody's work hit thanks, if not just don't comment at all. the screen dim you are talking about does not lower the brightness levels, it just dims the screen meaning your battery life doesnt improve. while this mod actually does REALLY lower your brightness=>better battery life as well!
Click to expand...
Click to collapse
No, dimmer does change the brightness to 10. Its below the default, but its still pretty bright in the dark.
Sent from my SAMSUNG-SGH-I717 using xda premium
Problem solved.
https://play.google.com/store/apps/details?id=org.projectvoodoo.displayfilter
Sent from my SAMSUNG-SGH-I717 using xda premium
AllTheWay said:
Problem solved.
https://play.google.com/store/apps/details?id=org.projectvoodoo.displayfilter
Sent from my SAMSUNG-SGH-I717 using xda premium
Click to expand...
Click to collapse
The only problem wiht all these apps is that they disable the functionality of the auto brightness.
I don't want to keep messing with the phone to get the right brightness
I may check your fix OP. Thanks for posting it.
Like this mod but would be great if it was a zip file. So we can flash it.
Sent from the Almighty Note!
borijess said:
Like this mod but would be great if it was a zip file. So we can flash it.
Sent from the Almighty Note!
Click to expand...
Click to collapse
it actually is easier than flashing a zip file. all you gotta do it use some kind of root explorer apk and copy paste the file. as it regards most apps in the market, I have the feeling they just put a tint on top of the screen and make it look less bright
Where do u place the file? I have root explorer and know how to use it.
Sent from the Almighty Note!
After downloading the apk file, it doesn't show up on in to-be-installed options list on the Apk Manager app.
I was messing around with the settings on my phone to try and eek out some more battery life. I noticed with the stock battery monitor that the screen was using the most battery (as is expected) so I turned the brightness setting all the way down using the slidebar in settings.
Then I went into the Sprint Zone app, clicked help, then my device, then power controls. There it shows what is turned on on the phone and a general breakdown of how much those things are drawing on the battery (kinda nifty). On the lowest possible brightness setting it says it's at 11% and that that's "medium" usage. Is there a way to get screen Brightness lower? I just find it odd that it still registers as medium usage on its lowest setting...
Also has anyone noticed that on the "Automatic" screen brightness setting that the screen doesn't go as dark as it could go when there is a low light condition? For example if I'm sitting in the dark with auto brightness on, I can turn it off then make the screen darker manually than it would go on auto.
Any thoughts? Or fixes?
Sent from my EVO using xda app-developers app
moses2303 said:
I was messing around with the settings on my phone to try and eek out some more battery life. I noticed with the stock battery monitor that the screen was using the most battery (as is expected) so I turned the brightness setting all the way down using the slidebar in settings.
Then I went into the Sprint Zone app, clicked help, then my device. There it shows what is turned on on the phone and a general breakdown of how much those things are drawing on the battery. On the lowest possible brightness setting it says it's at 11% and that that's "medium" usage. Is there a way to get screen Brightness lower? I just find it odd that it still registers as medium usage on its lowest setting...
Also has anyone noticed that on the "Automatic" screen brightness setting that the screen doesn't go as dark as it could go when there is a low light condition? For example if I'm sitting in the dark with auto brightness on, I can turn it off then make the screen darker manually than it would go on auto.
Any thoughts? Or fixes?
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
Try rootdim. Also, the screen brightness is going to be mostly controlled by the kernel, so try using a different kernel or build one from source.
sn0b0ard said:
Try rootdim. Also, the screen brightness is going to be mostly controlled by the kernel, so try using a different kernel or build one from source.
Click to expand...
Click to collapse
There's source?
Sent from my EVO using Tapatalk 2
It's not in the kernel, it's in an xml or something. There are seven brightness levels (I think it's seven) based on lumens, and there's an associated screen brightness value assigned to each on a scale of 0 to 255. Stock auto brightness levels set the bottom three levels to the same brigness value. I think it's 63. Setting the brightness manually, you can go as low as single digits, maybe even zero.
fachadick said:
It's not in the kernel, it's in an xml or something. There are seven brightness levels (I think it's seven) based on lumens, and there's an associated screen brightness value assigned to each on a scale of 0 to 255. Stock auto brightness levels set the bottom three levels to the same brigness value. I think it's 63. Setting the brightness manually, you can go as low as single digits, maybe even zero.
Click to expand...
Click to collapse
That's cool you can edit the XML files, but how can screen luminosity or display not be part of the kernel or kernel modules? I have an HD2 with CM7 on it, and through installing different kernels and whatnot, I can get different features for display like render effect, auto brightness, and whatnot. Is this only just for sense ROMs then?
---------- Post added at 09:11 PM ---------- Previous post was at 09:10 PM ----------
Kcarpenter said:
There's source?
Sent from my EVO using Tapatalk 2
Click to expand...
Click to collapse
Not right now there isn't. Would be nice if there was.
fachadick said:
It's not in the kernel, it's in an xml or something. There are seven brightness levels (I think it's seven) based on lumens, and there's an associated screen brightness value assigned to each on a scale of 0 to 255. Stock auto brightness levels set the bottom three levels to the same brigness value. I think it's 63. Setting the brightness manually, you can go as low as single digits, maybe even zero.
Click to expand...
Click to collapse
So maybe the stock rom doesn't let you zero it out? It's posting the lowest value as 11% as read by the Sprint Zone app. Maybe they do it as a safeguard against setting it too low and not being able to see the screen to turn it up when it gets in a brighter environment?
That's a funny thought, I could see me kicking myself over something like that. Would be nice if we could make that call on our own though, wonder how dim it is...and why not make the auto brightness go to the lowest setting (or perhaps even lower than the stock setting)? At least then it would ramp back up as needed.
Sent from my EVO using xda app-developers app
Did you try rootdim? I'm pretty sure you can dim the screen lower than stock with it on this phone. I've only used it on my HD2, but it worked well with it and It's free.
Nm rootdim only allows the screen to go down to a value of 30. You can set lower values, but it doesn't change the brightness.
Sent from an EVO 4G LTE using Tapatalk 2.
moses2303 said:
So maybe the stock rom doesn't let you zero it out? It's posting the lowest value as 11% as read by the Sprint Zone app.
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
Correct - stock only lets the brightness go down to 11%. I'm not sure if auto brightness will ever set it that low though, doesn't seem like it does.
jpbme said:
Correct - stock only lets the brightness go down to 11%. I'm not sure if auto brightness will ever set it that low though, doesn't seem like it does.
Click to expand...
Click to collapse
Yea that's what I'm saying it doesn't go to the minimum. I mean I'm sure the battery savings isn't much, but another usefulness of it going that dark is when you check your phone at night in the car you don't want the phone to be all lit up inviting attention.
Sent from my EVO using xda app-developers app
moses2303 said:
Yea that's what I'm saying it doesn't go to the minimum. I mean I'm sure the battery savings isn't much, but another usefulness of it going that dark is when you check your phone at night in the car you don't want the phone to be all lit up inviting attention.
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
I think 11% is probably dim enough for most cases. If you have a dark background that will help with the car situation. The only time I find it still too bright is when I'm laying in bed at night. I haven't rooted yet so I can't comment on the solutions others suggested but give that a try. You probably won't save that much battery though unless you're in the dark a lot.
Oh - and don't text and drive
I use an app called screen filter at night. It allows the screen to get MUCH dimmer.
jpbme said:
Oh - and don't text and drive
Click to expand...
Click to collapse
Haha I knew that was coming :thumbup:
Sent from my EVO using xda app-developers app
Hello Guys!!
Have anybody missed AUTO BRIGHTNESS feature in L9 because lack of Ambient Light Sensor,
If yes, the don't worry. I have an easy solution for Auto Brightness, Yes you can use Auto Brightness on LG Optimus L9:victory:
NO ROOT REQUIRED
Download and install These two app from following links:-
Lux Auto Brightness
Tasker
After Installing these apps follow these steps:-
Lux Auto Brightness:-
Go to Lux settings
Tap on Sample Collection
Tap on Select light reading source
Select Camera
Then get back to main settings menu
Tap on Mopdify linked samples
Tap on Luma TAB
Tap on ADD, set brightness (yello bar) to 4% Luma value to 1 and press ADD
Add 3 more links with these values= 35%-70|100%-80|50%-120|
Exit Lux
Tasker:
Open Tasker, tap on Plus Gign(+) on main screen
Tap on Event
Select Display in Event Category
Select Display On in Display Event
A blank screen will appear, do nothing just press BACK Button
TAP on New Task +
Enter Name to task or just tap on tick
A blank screen will Appear, tap on Plus Sign (+)
Select Plugin from action category
Select Lux Plug-in
Tap on Edit Button
Scroll Down and Tick in front of Refresh Backlight brightness? Under Force
Press Done, then press back and back again
Exit Tasker
Thats all work to do, now your dvice have Auto Brightness feature:silly:
To test, just press power button and lock the screen and then cover front camera with finger and press power button again, screen will Light up wait 1-2 seconds, Screen brightness will reduce, remove finger, lock unlock screen and brightness will resume to normal.
I have tested this for full day on my L9 and got no any battery drainage.
You can modify Linked Samples Values to your comfort zone for batter sample values you can also search other XDA forums.
Guys try it and let me know how you feel
if you got any issue please post, I'll try to solve it (Coz m also new to TASKER & LUX so may be it will take little bit time to Solve:fingers-crossed
EDIT: You can uncheck "Presistent notification" in general settings of Lux Auto Brightness, If you think it is draining your phone's battery. This will also disable the annoying Lux icon from notification.
HIT THANKS IF I DESERVE IT
Another mod we miss in our L9 just got fixed.
thanks for sharing
i'll try it as soon as i can and report back.
Is this battery hungry workaround ? Two apps must run in background so they must eat battery .
Is it possible to have a refresh .. for example every 10 minutes camera will check light to set brightness?
Found it's in lux settings!
hamdimo said:
Another mod we miss in our L9 just got fixed.
thanks for sharing
i'll try it as soon as i can and report back.
Click to expand...
Click to collapse
Thanks for your appreciation hamdimo:laugh:, i'll wait for your review...
sebx_g1 said:
Is this battery hungry workaround ? Two apps must run in background so they must eat battery .
Click to expand...
Click to collapse
No, I have tested this yesterday for full day and haven't noticed any battery drainage coz of these apps. According to me, besides draining battery this MOD should save battery by adjusting it according to Ambient Light.
Mr.Brown94 said:
Is it possible to have a refresh .. for example every 10 minutes camera will check light to set brightness?
Found it's in lux settings!
Click to expand...
Click to collapse
Yes Mr.Brown, you can set automatic refresh in general settings, but I'll never suggest you use automatic mode, it could drain your phones battery.
Do not use lux with easyeyez it will slow down your phone too much
bleuwave said:
Do not use lux with easyeyez it will slow down your phone too much
Click to expand...
Click to collapse
Yes bleuwavem you are absolutely right, that's why I am using tasker to initiate refresh process on display on. If you use lux individually then it will slow down your phone and drain the battery. In my tutorial actually lux is not running in background (if it is running you can kill it). Tasker plug in triggers it to refresh the brightness. Coz i have used it for hole day and currently using, I have not face any issues with device performance. If anyone body faced any issue can post here i'll try to solve it.
Sent from my LG-P765 using xda premium
Lux Auto is incompatibile in play store with P760 ?!! . Is Lux Auto Lite sufficient to work in this case ?
sebx_g1 said:
Lux Auto is incompatibile in play store with P760 ?!! . Is Lux Auto Lite sufficient to work in this case ?
Click to expand...
Click to collapse
I was also unable to find Lux in play store and its fully compatible with our device. I haven't tried light version, you may try it and plz let me know if it is working so i can attach light APK in first post.
Light version of LUX AUTO don't have option for using camera so it is usless , only paid version work but I don't want to pay for it just too test if whole mod work , not now .
sebx_g1 said:
Light version of LUX AUTO don't have option for using camera so it is usless , only paid version work but I don't want to pay for it just too test if whole mod work , not now .
Click to expand...
Click to collapse
Well then you will have to google for full version....
Sent from my LG-P765 using xda premium
How to set min brightness 40% in LUX ? How works those luma settings ?
sebx_g1 said:
How to set min brightness 40% in LUX ? How works those luma settings ?
Click to expand...
Click to collapse
in which condition you want set your brightness 40%. Like if you want to set brightness 40% in normal day light then, when you are in normal day light, go to Lux, tap on modify linked samples, tap on Luma. Here you will see Current Value: with some digits showing. Now here hold your phone in normal light and click on "tap to refresh". it will say reading for a second and then it will show you a value, mine was 118. Note that value. Now tap on add at the bottom. In "Add custom link" box, drag and adjust brightness (Yellow Bar) to 40% and in Luma enter value you have noted. then tap on Add. thats all, now your normal daylight brightness is 40%.
Try it:highfive:
My device works just wake mod only....i do not understand why need tasker app, works without
Noob Question: Why does a lux value of 120 set a brightness of 50% in the tutorial? I've set it to 100% for now till you reply.
Great solution OP! Also, why do we need tasker to force display brightness when there is a setting for adjust brightness on wake in the lux settings? Is it because it doesn't adjust it sometimes?
---------- Post added at 11:01 AM ---------- Previous post was at 10:55 AM ----------
I've also noticed that direct sunlight throws the lux reading off....(lux value becomes lower in direct sunlight than in shade in the same area)
AndroidSol said:
My device works just wake mod only....i do not understand why need tasker app, works without
Click to expand...
Click to collapse
bleuwave said:
Great solution OP! Also, why do we need tasker to force display brightness when there is a setting for adjust brightness on wake in the lux settings? Is it because it doesn't adjust it sometimes?
Click to expand...
Click to collapse
Yes bleuwave your right, I used Tasker for two reasons, first as you mentioned Lux's auto brightness Don't works some tims, so tasker force it to adjust. Second reason is this that using tasker you no need to keep lux app running in background, coz if we keep it running in backgroung it will slow down phone performance and drain it's battery. Using tasker you will never miss auto adjustment
bleuwave said:
Noob Question: Why does a lux value of 120 set a brightness of 50% in the tutorial? I've set it to 100% for now till you reply.
I've also noticed that direct sunlight throws the lux reading off....(lux value becomes lower in direct sunlight than in shade in the same area)
Click to expand...
Click to collapse
i have set 50% Brightness with value of 120, coz 120 is normal day light reading, so in normal day light 50% brightness is good enough to see the screen. 50% brightness is also no drain battery.
Yes this behave of lux also amazed me. it shows light reading value 80 in direct sunlight, in shade it shows 120. But the settings i have done, are working like charm even in sunlight also. as per my observation reason of low reading value in direct sunlight may be auto brightness setting of front camera ....What do you think about this..
Thank you very much....now my phone has auto brightness
Sent from my LG-P765 using xda app-developers app
Hmm ... it is strange today Lux Auto stoped - it just don't work . And I must say that combo of those to programs eats battery ,maybe for the reason I have not stock kernel ?
5% per hour vs 2.4% per hour with out them running .
sebx_g1 said:
Hmm ... it is strange today Lux Auto stoped - it just don't work . And I must say that combo of those to programs eats battery ,maybe for the reason I have not stock kernel ?
5% per hour vs 2.4% per hour with out them running .
Click to expand...
Click to collapse
Yes sebx its strange, Stock kernel may be an issue for this. I will suggest you to change some settings in Lux, keep every thing disabled in Lux settings, because Tasker is enough capable to run its services automatically and keeping everything disable in lux will reduce battery consumption also, so change setting and try it again.
is it just me perhaps,but i find my z2 tablet very bright,ive got it set on auto,.im interested in other peoples thoughts and if you find the same problem ,what were yoiur fixes,if any.cheers john
Er... simply turn off auto brightness and set it manually??
With root, you can install the Xposed module "Gravity Box", it contains an option to alter the brightness via swiping along the status bar (like on Galaxy phones).
hasenbein1966 said:
Er... simply turn off auto brightness and set it manually??
With root, you can install the Xposed module "Gravity Box", it contains an option to alter the brightness via swiping along the status bar (like on Galaxy phones).
Click to expand...
Click to collapse
Even on the lowest manual brightness it's rather bright. Brighter than many other tablets and because of it not as comfortable to use at night.
Quipeace said:
Even on the lowest manual brightness it's rather bright. Brighter than many other tablets and because of it not as comfortable to use at night.
Click to expand...
Click to collapse
The only solution I have found for this is to use an app called screen filter. It works and you can find it on play store.
Screen filter is not so good.
Take ScreenDim. That app is not working via color tricks, but really turns the backlight down.
Is available in test version, full version and root version (RootDim).
S20 Advanced Lockscreen on Play Store
S20 Advanced Lockscreen on Github
Download size: less than 1MB
Requires root.
This app will switch to 48hz when screen is locked and to 120 when screen is unlocked.
Battery saving.
Added version 1.1:
App totally reworked.
Fixed crashes.
Removed toggle.
Much easier to use.
How to disable the notification:
pham_dang:
" I think he meant when there is a notification coming --> your screen turns on = it immediately starts the high refresh rate (presumably you set it at higher than 60hz). Also when never you use Always on display, although it seems that just the clock or some notifications are showing on a completely black screen, the screen still has that high refresh rate (because you set it system-wide). What this app does is forcing the everything shows in the lockscreen and AOD to keep the refresh rate at 48hz (no matter what refresh rate you set your system at). Hope this cools down the heat guys "
Simple explanation:
-pressing power button while screen is unlocked will trigger 48hz.
-pressing power button while screen is locked and mostly black will trigger 120hz.
-anything that happens after pressing the power button (while unlocked) will be displayed in 48hz (AOD,charging status,notifications,call UI,etc).
TO DO:
Add settings so the user can choose the refresh rate to be set on SCREEN_ON (if asked).
I'm fairly sure that Samsung has 120hz implemented to be dynamic by default. 120hz on lineage feels very different because we don't have any of their OneUI parameters.
Just a hunch, I haven't really taken apart the OneUI ROMs.
ChongoDroid said:
I'm fairly sure that Samsung has 120hz implemented to be dynamic by default. 120hz on lineage feels very different because we don't have any of their OneUI parameters.
Just a hunch, I haven't really taken apart the OneUI ROMs.
Click to expand...
Click to collapse
The only way I could test this is by running one of my apps that reads the refresh rate from Android Studio while screen is off.The refresh rate remains the same when screen is closed.If 120 is set in settings,120 is always set (nothing dynamic).
I'm sure it feels better on your ROM.
TheViciousGames said:
The only way I could test this is by running one of my apps that reads the refresh rate from Android Studio while screen is off.The refresh rate remains the same when screen is closed.If 120 is set in settings,120 is always set (nothing dynamic).
I'm sure it feels better on your ROM.
Click to expand...
Click to collapse
So do you have all you work combined in one app now?
Nope
The GitHub repository doesn't contain any code. It's just readme.md file. Can you share the code?
Edit: Sorry I missed it. Thanks for the app.
vignesh188 said:
The GitHub repository doesn't contain any code. It's just readme.md file. Can you share the code?
Click to expand...
Click to collapse
Hello,sure.The code is there,pay attention to what is written in readme file "Full project can be found on master branch."
https://github.com/TheViciousGames/S20-Advanced-Lockscreen-ROOT/tree/master
Fixed app crashes.The app will no longer crash after enabling the service.
"Context.startForegroundService() did not then call Service.startForeground()" this was the error encountered.It's very common on stackoverflow.Finally fixed it.
If someone else has this problem,it was pretty easy to fix,all I had to do was to create a notification channel and a notification builder with an id higher than 0,basically creating a notification for the service.
New version will be released later today or tommorow.
Without root works?
Taz2016 said:
Without root works?
Click to expand...
Click to collapse
It doesn't,I'm sorry!
I was so tired last night that I uploaded the old version again.I'm sorry,it should update now on Play Store.
Today I'll upload 2 videos:
-how to disable the notification for this app
-48hz while screen off proof
*I keep saying lockscreen but it's about while the screen is off.My bad*
Is it possible by using adb?
Theo1218 said:
Is it possible by using adb?
Click to expand...
Click to collapse
I mean..you can change to 48hz using ADB but you cannot do that automatically while screen is off.
You would have to run the command manually (to 48 and to 120) 100 times a day,I think you do not want that
TheViciousGames said:
It doesn't,I'm sorry!
Click to expand...
Click to collapse
you can try something like that with bixby routines but just changing to 60hz
But, may I ask, what is the point of changing the refresh rate of the screen when it is off? I mean afaik when it is off, it already refreshes at 0Hz because, well, it is off.
davenasc said:
you can try something like that with bixby routines but just changing to 60hz
Click to expand...
Click to collapse
Right,you could probably do that but I'm always debloating everything and 48hz is lower.
stefan243546 said:
But, may I ask, what is the point of changing the refresh rate of the screen when it is off? I mean afaik when it is off, it already refreshes at 0Hz because, well, it is off.
Click to expand...
Click to collapse
You're wrong,you probably wanted to say 0 FPS and not 0 Hz.Changing this helps with AOD,clock,notifications,etc,that's when the display is not really off.
EDIT:
I meant 1 FPS,because nothing is moving.
How does it save battery when the screen is off... the screen isn't refreshing at 120hz because its off already? Makes no sense to me?
kevinireland11 said:
How does it save battery when the screen is off... the screen isn't refreshing at 120hz because its off already? Makes no sense to me?
Click to expand...
Click to collapse
You keep asking the same questions all over again. When the screen is off it still runs as a120hz screen. You could research how that works.