How To Guide How to force HDR and maximum brightness on Samsung flagships

Search This thread
I didn't find any tutorial to do this, so i started searching by myself, i almost fried my S21 Ultra but it was worth it. Now i can provide a working tutorial to everyone. This works on S21s for sure, it should also work on other models

18/08: I MADE A VIDEO TUTORIAL (ONLY FOR HDR)
HERE

i'll make another one for the brightness

1 - Forcing HDR: only available on HDR(10+) videos. Now you can force this yellow-ish tint and better color accuracy everywhere (yes, even when gaming)

i strongly recommend you to use FX explorer.

Create a xbin folder in /system (this is important, don't create it elsewhere)
Inside, create an empty file with no extension: hdr
Open it as text, write 1 and save it
Create a second empty file, name it forcehdr (you can name it whatever you want, make sure you'll remember it later)
Open it as text, and write this:

cp /system/xbin/hdr /sys/devices/platform/panel_drv_0/lcd/panel/mdnie

Save it, and give it execute permissions (octal: 0755). Now you can execute it in a terminal or directly from FX explorer (as root of course !)

----------

2 - Maximum brightness: you already know that your screen gets significantly brighter under the sunlight. Now you'll be able to force this level anytime:

Go to /sys/devices/platform/panel_drv_0/backlight/panel
Take a look at the max brightness value of your screen ("max_brightness") mine is 561 (this value may change a little bit depending of your model)

Go to /system/xbin
Like before, create an empty file, you'll call it "brightness"
And an executable file

Repeat the same process: write your max brightness value inside "brightness" file, save it. Open your executable and write this

cp /system/xbin/brightness /sys/devices/platform/panel_drv_0/backlight/panel

Execute it in a terminal or in FX

You can go back to SDR by making another hdr file and executable, but this time, write 0 instead of 1
 
Last edited:

rogeros123

Senior Member
Sep 21, 2015
65
8
Kraków
Create a xbin folder in /system (this is important, don't create it elsewhere)
Inside, create an empty file with no extension: hdr
Open it as text, write 1 and save it
Create a second empty file, name it forcehdr (you can name it whatever you want, make sure you'll remember it later)
Open it as text, and write this:

cp /system/xbin/hdr /sys/devices/platform/panel_drv_0/lcd/panel/mdnie

I tried to do it on Note 10+ android 12 but stopped at the command. I have a "[email protected]" directory on my device. Your comment doesn't work and changing the command directory to my "[email protected]" also doesn't work.
 
I tried to do it on Note 10+ android 12 but stopped at the command. I have a "[email protected]" directory on my device. Your comment doesn't work and changing the command directory to my "[email protected]" also doesn't work.
That's why i said "it should" (to make people understand that it may not work on their devices)

The Note 10+ is old compared to S21s.
This doesn't surprise me...

Since i don't have a Galaxy N10, i can't make all the work and tell you how to do it, you'll have to search by yourself, like i did, but i can help.

Search manually or automatically in screen related folders (panel-x, panel_xxx_xxx etc...) for HDR related files (basically a boolean). Don't be afraid to do some tests and open files to change a 0 to a 1.

Once you found the correct file which controls HDR, repeat the same process, create an executable, empty file...

But i have one question (i mean two), when you execute yours, do you have an error as output ? If yes, what is it ?
 

Paauul

New member
Aug 12, 2019
4
0
Yes it does, but it's not a drama if you root your Samsung !

Most phones have the same rooting procedure, unlock the bootloader, flash the TWRP for your phone model, then magisk
I'd root it if i could. The U1 (US Unlocked) Models don't support OEM/Bootloader unlocking sadly.

But achieving higher brightness is only possible with root, right?
 

Energixia

Senior Member
Nov 23, 2011
66
8
I tried all this but I don't know if really works hdr 10. My max brightness is 561 like you and it goes via Fx, but when I retry to set brightness from the upper slide doesn't arrive at 561 but i think less.

How is it possible fix this? I would like have really maximum brightness

Thank you
 
I tried all this but I don't know if really works hdr 10. My max brightness is 561 like you and it goes via Fx, but when I retry to set brightness from the upper slide doesn't arrive at 561 but i think less.

How is it possible fix this? I would like have really maximum brightness

Thank you
Yeah, it's normal. The brightness slider only goes from 0 to 255 and is overrode by the light sensor when it's too bright around you

Just before executing the brightness script in FX, click on the 3 dots icon and select "add shortcut". Now you can access it directly from your launcher
 

Energixia

Senior Member
Nov 23, 2011
66
8
Ok thank you, but there is a way to increase that 255 value on the slider? Sorry for the partial OT 😅
 
Ok thank you, but there is a way to increase that 255 value on the slider? Sorry for the partial OT 😅
Yes, The brightness slider is controlled by Android itself, so i have to make a custom rom... but i can't, I'm not a dev, i hate coding and i'm probably a bit young to learn this x)

If you have skills in programming, maybe you can try to compile a custom rom for the S21 ? ;)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Oh God, i wish it but I'm too much noob to do this sadly. I never did it and perhaps I don't have these skills 😅