yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S9+ Themes, Apps, and Mods] kimush:
I installed it but it won't run, s7 stock rooted.
[Samsung Galaxy S9+ Themes, Apps, and Mods] andriprstn:
Great apps work on my s8
[Samsung Galaxy S9+ Themes, Apps, and Mods] rtyuakatsuki:
What kind of flickering? I my side use s8+ android 9 work well and have greenscreen issue when hot use this app even is hot like hell work fine no greenscreen coming
[Samsung Galaxy S9+ Themes, Apps, and Mods] ameetpatel1:
This is great app. But now when i have upgraded android 10 (heads rom) TO android 13 lineage os in samsung s8 (dreamlte). The flickering problem has come...pwmfree 1.3 not working in android 13 for me.flickring only stops whe brightness is set to 100% without pwmfree app. (with pwm installed nothing works)

Please help me guys.. Give solution or any update version of PWMFree.

Thanks in advance.
[Samsung Galaxy S9+ Themes, Apps, and Mods] Vipxpert:
Mind u can u make an option to disable 100% brightness all the time? Thank u
[Samsung Galaxy S9+ Themes, Apps, and Mods] Riski34:
Pwmfree
[Samsung Galaxy S9+ Themes, Apps, and Mods] LeDjibrilSur90Hz:
IPS LCD 4 EVAH!!!
[Samsung Galaxy S9+ Themes, Apps, and Mods] lavshyak:
Why does this application have a brightness setting? I didn't find this useful
[Samsung Galaxy S9+ Themes, Apps, and Mods] Vipxpert:
In case you cant read the thread. This app make Amoled screens good for your eyes
[Samsung Galaxy S9+ Themes, Apps, and Mods] lavshyak:
I saw that at the same brightness as without this application, the PWM became smaller. or I'm wrong?
[Samsung Galaxy S9+ Themes, Apps, and Mods] Vipxpert:
How do you "see" the PWM? My best method is shaking the screen to see if it flicker. It's apparently that after using this app, my phone doesnt flicker at any given brightness
[Samsung Galaxy S9+ Themes, Apps, and Mods] Hunter_20:
View the screen with the camera app of a different phone, you will see the screen flickering
[Samsung Galaxy S9+ Themes, Apps, and Mods] MhRana:
Can't give the app accessibility , is there any alternative?? Thanks in advance 🙂🙂
[Samsung Galaxy S9+ Themes, Apps, and Mods] Baraxador:
You're a lifesaver! You probably hadn't this in mind while making this app, but I have an old phone with a cracked screen that kept flickering. I thought the flickering might be connected to PWM and just like I thought, this app fixed the flickering! Thank you so much!
[Samsung Galaxy S9+ Themes, Apps, and Mods] Fahrioki:
S8+
[Samsung Galaxy S9+ Themes, Apps, and Mods] rildoaraujo.araujo@gmail.:
Yes
[Samsung Galaxy S9+ Themes, Apps, and Mods] Pras@2692:
Braitnees problem
[Samsung Galaxy S9+ Themes, Apps, and Mods] Maddi.Ganesh:
Google Play is showing as risky app, is it safe to use ?
[Samsung Galaxy S9+ Themes, Apps, and Mods] Ade irsan:
Green screen display
[Samsung Galaxy S9+ Themes, Apps, and Mods] Wootever:
[MENTION=5067294]kimush[/MENTION]

Found the causing issue with the help of the android emulator.

I updated the download link on the original post, please try if it's working correctly now.
[Samsung Galaxy S9+ Themes, Apps, and Mods] odysseus84:
Maybe version numbers are a good idea...
[Samsung Galaxy S9+ Themes, Apps, and Mods] Wootever:
Maybe i should clarify that this application is still in a experimental state, which requires testing, bugfixing and updating.

It will get a proper versioning once it's stable enough.
[Samsung Galaxy S9+ Themes, Apps, and Mods] odysseus84:
Well, in this case it doesn't looks like a proper development... nothing forbiden about give the version number an "a" for alpha.

good luck and bye
[Samsung Galaxy S9+ Themes, Apps, and Mods] Wootever:
There is a note in the orignal post, apart from this the usual rules apply: if you don't agree with the terms you are not forced to stay.

That should be enough off-topic now.
[Samsung Galaxy S9+ Themes, Apps, and Mods] kimush:
Yes now it works thanks, but i can only control the brightness from the app.
[Samsung Galaxy S9+ Themes, Apps, and Mods] parser:
I really don't understand some people. Instead of giving some positive feedback, they insist on being toxic.
[Samsung Galaxy S9+ Themes, Apps, and Mods] Wootever:
Small update, brightness can now be controlled from the notification bar:
[Samsung Galaxy S9+ Themes, Apps, and Mods] parser:
Enabled on S8+, dont get the brightness bar in notification bar. Actually no brightness control at all.
[Samsung Galaxy S9+ Themes, Apps, and Mods] Wootever:
[MENTION=3687397]parser[/MENTION]

Edit:

Fixed version is added on the original post.
[Samsung Galaxy S9+ Themes, Apps, and Mods] parser:
Working now! Thanks mate.

Are u planning to make it as a full fledged app like the old auto brightness apps? (I. E. lux auto brightness) it would be really user oriented.
[Samsung Galaxy S9+ Themes, Apps, and Mods] Nojevah:
This is really original and interesting to follow. Thanks for this.

Some questions for the uninitiated like me:

- Is there a cost in term of battery ? (nvm, I missed answer in post #18)

- Is there a risk for hardware ? Will it shorten screen lifetime ?

- Looking at graphs, it looks like your solution is better. Why Samsung would not use it in the first place ?
[Samsung Galaxy S9+ Themes, Apps, and Mods] Wootever:
Highly unlikely, oled lifetime is mainly shortened due to high brightness usage. They are also designed to work without PWM, nowadays it is mostly used to stabilize image quality on lower brightness.

This was a design choice introduced with the Galaxy S3, mostly as countermeasure to mura defects:

(excerpt from the Samsung patent description)

Since then the amoled production process has significantly improved, they could probably built pwm free panels by default.
[Samsung Galaxy S9+ Themes, Apps, and Mods] Nojevah:
Thanks for these answers. It works on my S8 (Exynos). I'll watch battery stats in coming weeks.

As others stated, I hope you'll manage to make use of ambient light sensor since stock auto-brightness is disabled.

Also, It would be better if there were a way to hide the notification without losing the ability to change luminosity. For now, if we hide notification, it's impossible to change luminosity. Maybe a widget ?
[Samsung Galaxy S9+ Themes, Apps, and Mods] Wootever:
Maybe, although i would like to keep it as simple as possible.

Unfortunately only possible with root, as the lights library needs to be deactivated to allow the android brightness system to properly work without actually changing the kernel brightness.

The only other possible option would be reading directly from the light sensor and built a improvised autobrightness handler.
[Samsung Galaxy S9+ Themes, Apps, and Mods] parser:
Works perfect on s8+

Also I would love to see that root version :)
[Samsung Galaxy S9+ Themes, Apps, and Mods] milojoseph:
I actually like the plus and minus
[Samsung Galaxy S9+ Themes, Apps, and Mods] kimxk:
On my stock Samsung S8 Oreo, pressing either the plus or minus generates a notification sound.

Works as expected other than that.
[Samsung Galaxy S9+ Themes, Apps, and Mods] parser:
Me too, also I really think this app needs auto brightness function. I hope you are working on it too mate :)
[Samsung Galaxy S9+ Themes, Apps, and Mods] milojoseph:
One problem in have is their should be a setting page to disable the app when phone reaches below 5% because I have my phone in power saving mode and my phone gets really dark with pwm kicking in.

Second a quick setting option to disable the app. The app blocks me from deactiving device admin because its an overlay
[Samsung Galaxy S9+ Themes, Apps, and Mods] VictoSab:
Working on my Galaxy A3 2017 and Galaxy A5 2017.

Thank you for your work ! :good:

However, I would like to understand how it works....Even translating your explanations into French with Google translation, I did not understand how you do it ? On an LCD screen, we put the brightness at 100% and we play with the contrast, but on OLED ?

[IMG="Galaxy A 2017 - With PWMfree & Stock"]https://album.zaclys.com/download.php?z=2&doc_id=5677141[/IMG]
​

Galaxy A5 2017 - Left : With pwmfree | Right : Stock​
[Samsung Galaxy S9+ Themes, Apps, and Mods] Wootever:
That should be fixed on the newest build, it is also labeled with a version number to make it easier distinguishable.

It's currently not a top priority, but i might add a simple autobrightness handler based on AutomaticBrightnessController.java later.

That is next on my to-do list.

This is probably due to the concept of OLED and the implementation of SurfaceFlinger which allows digital contrast or overlays to basically work the same way as native dimming.

Here are two more comparison photos:

(tested with a oscilloscope on lowest brightness)

(recorded with the slow motion camera function)
[Samsung Galaxy S9+ Themes, Apps, and Mods] kimxk:
Fixed the notification sound issue, thanks.

Had to uninstall and reinstall, but all good now.
[Samsung Galaxy S9+ Themes, Apps, and Mods] kangshoo:
nice try bro

but i found a issue that black crush shows again.

earliy time many s9+ user found the screen had the problem,then samsung fixed it,but when runs the pwmfree, the notice black crush in that scene again.

More Information:

some information 1

xda discussion
[Samsung Galaxy S9+ Themes, Apps, and Mods] Wootever:
[MENTION=4438294]kangshoo[/MENTION]

Yes, i noticed that the overlay is slightly worsening the black level:

However, the initial problem goes back to the S3, ever since the first 1.5% have been crushed.
[Samsung Galaxy S9+ Themes, Apps, and Mods] kangshoo:
I hope you can fixed the issue finally.
[Samsung Galaxy S9+ Themes, Apps, and Mods] Wootever:
Version 1.3:

added proper notification layout for portrait and landscape mode.

adjusted brightness steps.

small bugfixes.

Version 1.2:

added shortcut to accessibility settings on first start.

fixed an issue with the rotation listener.

Version 1.1:

added simple interface with brightness slider and function toggle.

Version 1.0:

initial release.

Download:

pwmfree_1.3.apk
[Samsung Galaxy S9+ Themes, Apps, and Mods] qb74:
So anything below 95% brightness on your app slider, the fix doesnt work, is this correct? It seems like the normal slider thats usually used for brightness doesnt affect anything?
[Samsung Galaxy S9+ Themes, Apps, and Mods] Wootever:
[MENTION=7900737]qb74[/MENTION]

You may have to uninstall the current version, then download and re-install the app again.
[Samsung Galaxy S9+ Themes, Apps, and Mods] qb74:
I don't really have an issue with the app itself, using version 1.1 right now.

Just curious if I can have PWM-free screen with a lower brightness than 95%, because it's kinda annoying to look at the "Sun" (bright screen) as soon as you wake up :D

Overall, very straightforward experience.

Running official Oreo (last build before Pie), because of GCam's portrait and HDR+ not being available for Pie Exynos. Does that matter for this app?
[Samsung Galaxy S9+ Themes, Apps, and Mods] Wootever:
[MENTION=7900737]qb74[/MENTION]

Then i misunderstand your question, the regular android brightness control slider is overridden to always use the maximum display brightness.

Here is a small explanation to why this is necessary:

Most AMOLED panels doesn't utilize PWM at 100% brightness, only the 59hz vsync signal is issued:

If the brightness is set below <100% it starts utilizing PWM (with 240hz) to dim the brightness:

The idea of the pwmfree app is to add a transparent overlay in which the transparency can be adjusted by the user, basically working like a simple brightness control.

This is possible due to the functioning of AMOLED in combination with android's SurfaceFlinger, it will pretty much act the same way as native dimming but without requiring PWM in the process:

Edit:

This is actually the intended usage of this app :)

If you have another smartphone with a slow-motion recording function, you can easily check if it's correctly working:

(left side: 240hz pwm, right side: 59hz vsync)

It should work for every AMOLED device with Marshmallow upwards.
[Samsung Galaxy S9+ Themes, Apps, and Mods] Hybrid Soldier:
I just installed the app

I noticed that when I take a screenshot the picture is darker than the original...

Probably because when I press to take the screenshot there's an animation that darker the screen... There's a way to fix it?

Also I think that slide the bar is better than have to press where I want to set the brightness..

Thank you
[Samsung Galaxy S9+ Themes, Apps, and Mods] Swothra:
I got the SS issue too.

But I really cant uderstand this app.
[Samsung Galaxy S9+ Themes, Apps, and Mods] VictoSab:
+1 for the two requests :good:

Wootever, how can we give you a donation ?
[Samsung Galaxy S9+ Themes, Apps, and Mods] amakuramio:
Screenshots are very dark...
[Samsung Galaxy S9+ Themes, Apps, and Mods] pshrey:
Yeah can confirm this on my phone too it's probably because it's an overlay and also affects the screenshots
[Samsung Galaxy S9+ Themes, Apps, and Mods] amakuramio:
Sigh I wonder why I bought s9, should have sruck with xz premium, amoled gives me horrible headaches and brain fog
[Samsung Galaxy S9+ Themes, Apps, and Mods] Wootever:
This is the basic operating principle of the overlay, you need to deactivate it before taking a screenshot.

It is unfortunately not possible to add a slider to the notification bar, the clickable semi-seekbar is already the best possible compromise.
[Samsung Galaxy S9+ Themes, Apps, and Mods] pshrey:
Or increase the brightness to Max before taking the screenshot
[Samsung Galaxy S9+ Themes, Apps, and Mods] amakuramio:
Or smash the s9 in pieces and get a non oled based screen

---------- Post added at 01:43 AM ---------- Previous post was at 01:39 AM ----------

My head hurts so badly my god. Lol
[Samsung Galaxy S9+ Themes, Apps, and Mods] Near_07:
Thank you for this. .is this still working on android pie? Im still on oreo
[Samsung Galaxy S9+ Themes, Apps, and Mods] Wootever:
[MENTION=6008647]Near_07[/MENTION]

It should work for every AMOLED device with Marshmallow (and upwards).
[Samsung Galaxy S9+ Themes, Apps, and Mods] Near_07:
Thanks .hoping for an update soon for tasker. Example while watching on mx player the brightness will increase to a certain percent. . That feature would be so useful . ?
[Samsung Galaxy S9+ Themes, Apps, and Mods] Matr0x:
Or a great addition to Vanced_tube app also !

[MENTION=4709667]Wootever[/MENTION], thanks A LOT for such an awesome life saving app ! Now i can consider to order s9+ because of its awesome camera ! woohooo ! )
[Samsung Galaxy S9+ Themes, Apps, and Mods] VictoSab:
[MENTION=4709667]Wootever[/MENTION] : Auto-brightness planned soon ? :fingers-crossed:
[Samsung Galaxy S9+ Themes, Apps, and Mods] Wootever:
I will check if it's possible to retrieve the brightness setting from mx player.

That's good to hear :)

It's pretty much the same case for me, while the PWM is somewhat acceptably for short-time usage, it quickly becomes irritating especially at lower brightness.

Here is a very experimental version that uses the ambient light sensor to set the brightness: pwmfree_test.apk

(please note that this build is only intended to check if the screen brightness corresponds roughly to the ambient light)
[Samsung Galaxy S9+ Themes, Apps, and Mods] VictoSab:
+1 for MX Player :good:

On my Galaxy A3 2017 :

Apk test 1 : Auto-brightness don't work (but the manual adjustment of the brightness in landscape mode is much better!)

Apk test 2 : Work but brightness change too fast, but it's a very good beginning :)
[Samsung Galaxy S9+ Themes, Apps, and Mods] parser:
Trying the test 2, auto brightness works fine but on lower brightness it leaves a greenish color on screen, like I have pulled a green curtain between my eyes and screen. It's alitte too green.

S8+
[Samsung Galaxy S9+ Themes, Apps, and Mods] DarkAngel-81:
In test2 on the Samsung s9 +, the brightness adjustment works only to reduce. Back is not restored. In test1, the brightness adjustment does not work.
[Samsung Galaxy S9+ Themes, Apps, and Mods] Near_07:
hi if it is possible to add one click on and off, 20%, 50%, 80% screen brightness as a widget to homescreen? this would be useful in tasker app. by launching mx player or any app. we can set the command by its widget. thanks
[Samsung Galaxy S9+ Themes, Apps, and Mods] Ferit Askerov:
İf pwm isn't here anymore, does that mean there shouldn't be any black crush and black smear on display? Since it is 59hz. BTW thanks for the app. Another question, does color accuracy remaining same when i dimmed the screen?
[Samsung Galaxy S9+ Themes, Apps, and Mods] Matr0x:
Strange bug with v1.3.1

Its not working well with Sams G9+ G965 with custom LightROM_v27 8.0 oreo but on STOCK kernel, while v1.3 is working fine.

https://xdaforums.com/galaxy-s9/samsung-galaxy-s9--s9-cross-device-development/rom-lightrom-t3770243

Its starting up, but immediately lowering brightness to a certain very low level and stays there ignoring prefered brightness setting of PWMfree slider auto-lowering it again (by equal steps) until it reaches that very low level.

ps. maybe i can debug it somehow for you ?
[Samsung Galaxy S9+ Themes, Apps, and Mods] Wootever:
[MENTION=400371]Matr0x[/MENTION]

I accidentally uploaded a debug build, the link is fixed now.
[Samsung Galaxy S9+ Themes, Apps, and Mods] Matr0x:
You made me a heart attatck ! )) Thanks
[Samsung Galaxy S9+ Themes, Apps, and Mods] kevlarr:
I tested the v1.3 apk with my wife's Note 8, and it works beautifully. I can now use my wife's phone for more than 20 minutes in one go. Well done wootever, no need to root is a big plus (can use our banking app). Now I can buy a samsung phone for myself. Thinking of buying a note 8 as that is already proven to work, but I'm thinking of buying the Note 9. Will the pwmfree app work on the Note 9? Has anyone actually tried it on the Note 9?
[Samsung Galaxy S9+ Themes, Apps, and Mods] milojoseph:
the link is dead
[Samsung Galaxy S9+ Themes, Apps, and Mods] Imaginous_One:
Source code

[MENTION=4709667]Wootever[/MENTION] Would you like to share the source code with us?

I'm a (Windows) developer myself and as a hobby I venture into other worlds of programming. I also made my own domotica system. Especially so I could PWM my LEDs at much higher PWM frequencies. I'm also prone to flickering light sources, like many in this thread I believe.

The app sonfar works quite well. I'm missing the auto brightness feature (and I'm too dumb to find the link to the test versions). Also Tasker plugin support would be great.

It could control the on off state as wel as the brightness.

If I had the sources I could try to add this functionality and share the code with you.
[Samsung Galaxy S9+ Themes, Apps, and Mods] Matr0x:
It would be great to exclude it affect from taking screenshots (lower brightness) and more useful, to make brightness control accessible from external apps like: mxplayer, youtubeVanced, SimpleGallery (image viewer), etc.
[Samsung Galaxy S9+ Themes, Apps, and Mods] kevlarr:
So I decided to risk it, and bought myself a new Note 9. It came with Android Pie. Installed the pwmfree apk v1.3.3, and it doesn't seem to work. I still get some flickering, see photos attached.

My wife's Note 8 is on Android 8.0, and the pwmfree apk (v1.3) works on it. So I downgraded my Note 9's OS to Android 8.1 (stock ROM). This is the lowest the Note 9 can go, as there are no Android 8.0 stock ROM for Note 9. Anyway, with Android 8.1, I installed the v1.3 and it works. Phew. Thanks wootever.

After using the phone for a few days, I would really like to suggest, if you can, to add in auto-brightness. Having PWM-free is great, and I can live with the dark screenshots (I just need to disable the app first before taking screenshots). Not a big deal. But not having having auto-brightness is another thing. The phone would get too dark or too bright when i walk into rooms/areas with different lighting condition, or going outdoor and back indoor. Having to constantly adjust the brightness manually is....not the best experience.

Another small suggestion, since the app doesn't have auto-brightness (yet), it would be good if the slider box can be placed slightly lower on the screen to make it easier to change the brightness with just one hand, especially when user have adjust the brightness manually, quite a lot of times in a day. Anyway, if the app has auto-brightness, then this shouldn't be an issue.

Thanks again for your making this app. Hope you can consider adding auto-brightness.
[Samsung Galaxy S9+ Themes, Apps, and Mods] pzoleex:
+1 for the source code sharing, would be nice to see it on github.

Anyway, a big thanks to this app. I tried it on huawei mate 10 pro of my wife and it works, and on samsung s10e and still works.

I just simply don't understand samsung why they don't have an option to disable pwm if someone is sensitive for this. It could be even in a hidden menu...

Again, thank you!
[Samsung Galaxy S9+ Themes, Apps, and Mods] Exand:
Thanks for app! Works great on s8+.

So it uses MAXIMUM kernel brightness to disable pwm? Does it lead to faster overbrun of Amoled panels?
[Samsung Galaxy S9+ Themes, Apps, and Mods] prz13:
Thank you! on the Note 9 works great!
[Samsung Galaxy S9+ Themes, Apps, and Mods] Conito11:
Just for know more about this... this represent another benefit for the phone, I mean battery save or something like that?
[Samsung Galaxy S9+ Themes, Apps, and Mods] DarkAngel-81:
Version 1.3 not install. Samsung s9+, PIE.
[Samsung Galaxy S9+ Themes, Apps, and Mods] lillo9546:
Meizu 16s

Hi! For exampke if i will use this app on the Mi9 SE or on the Meizu 16s, Will completely eliminate the pwm frequency? Or it will just absorb and release less? Because if Pwm still there at high freq, i will suffer anyway. I only have and use lcd smartphones and tvs because even little pwm will hurt me (i make sure they are flickrr free)
[Samsung Galaxy S9+ Themes, Apps, and Mods] VictoSab:
On my two smartphones (Samsung Galaxy A3 and Galaxy A5) this app had completely eliminate PWM (verifiable by photographing the screen like you can see on my previous post). So no worries on that side. Il I were you, I will first make sure that the application works on the Mi9 SE.
[Samsung Galaxy S9+ Themes, Apps, and Mods] lillo9546:
Okay thanks!

To be perfectly sure i wait the reply of the developer of this script! I would love a report from him, if its safe to use at all brightnesses for me! Thanks!

Does it work with mi9 se? Anyone tried?

And how its this different from the DC DIMMING feature on the mi9? Thanks!
[Samsung Galaxy S9+ Themes, Apps, and Mods] amakuramio:
Oled saver app any different?
[Samsung Galaxy S9+ Themes, Apps, and Mods] VictoSab:
Unfortunately, he hasn't answered since few months :rolleyes:
[Samsung Galaxy S9+ Themes, Apps, and Mods] Near_07:
I am using s8+ lightrom pie pls help force close app
[Samsung Galaxy S9+ Themes, Apps, and Mods] VictoSab:
Hi,

I don't see your picture.
[Samsung Galaxy S9+ Themes, Apps, and Mods] Near_07:
Its ok now there are permissions in services that needs to be manually switch on

---------- Post added at 11:04 AM ---------- Previous post was at 10:59 AM ----------

Good day sir thanks for this app. Can we have a black background for this? If you have time it would be great.
[Samsung Galaxy S9+ Themes, Apps, and Mods] amakuramio:
still experience eye strain and depression nausea etc

gonna sell s9+ and get xz2 instead.

there's something else than pwm in amoled that hurts my eyes
[Samsung Galaxy S9+ Themes, Apps, and Mods] epik808:
Thanks this works perfectly on my S9+
[Samsung Galaxy S9+ Themes, Apps, and Mods] amakuramio:
There is something else about amoled that still annoys my eyes, guess back to xz premium or xz2
[Samsung Galaxy S9+ Themes, Apps, and Mods] Matr0x:
Is there a way to implement autodisable when taking screenshots feature ?
[Samsung Galaxy S9+ Themes, Apps, and Mods] xdausr123:
a dark theme version to match samsungs night mode would be nice
[Samsung Galaxy S9+ Themes, Apps, and Mods] wewe_charming:
Hello sir.

Your apps was very great.

Thanks for your hard work.

If you don't mind, I'd like to suggest adding a shortcut tile from drop down menu. So we can easily turn on/off when we're taking screenshots, or watching youtube.

Thanks in advance sir,

Good day