Enable DCI-P3 for OP3T with S6E3FA5 display panel

Search This thread

soccerwuedo5

Senior Member
Aug 26, 2011
71
35
Phoenix
Update: Thanks to @MishaalRahman for the great summary article. More discussion there.
Update: Thanks to @GR0S for the app solution, available in this post
Update: Thanks to @doubleaykay for the magisk module, available in this post

I am no developer but I was researching the OP5 DCI-P3 calibration, saw that some international users were able to activate the calibration on their OP3T, and thought I would share what I have found so far. Long story short, this probably works if your device is a OP3T with the S6E3FA5 display panel, but not if your device is a OP3T with the S6E3FA3 display panel.

Note: I believe this changes the actual calibration for the "Default" selection in the display settings, but you will not see the name "Default" change to "DCI-P3"

Sources:
Credit to @rquandt on Twitter for getting the ball rolling: Tweet
Proposed command-line solution from ITHome: Link
Proposed modified apk solution from OnePlusBBS: Link
More discussion from OnePlusBBS: Link
Even longer thread (86 pages) from OnePlusBBS: Link
Even longer thread (583 pages) from OnePlusBBS: Link
This post to Weibo discusses S6E3FA5 vs S6E3FA3 compatibility: Post


Procedure:
  1. Find out if your display panel is compatible (looking for S6E3FA5)
    Install AIDA64 and check Display > "Panel ID"

    (optional) I also checked to see if the profiles were available on my OP3T running Oxygen OS Open Beta 9 using a file explorer.
  2. Open Terminal Emulator on your phone and enter these two commands:
    Code:
    su
    echo 1 > sys/devices/virtual/graphics/fb0/DCI_P3

The changes will revert to previous configuration on reboot, so this must be re-applied after reboot.

To revert changes
  • Open Terminal Emulator on your phone and enter these two commands:
    Code:
    su
    echo 0 > sys/devices/virtual/graphics/fb0/DCI_P3
 
Last edited:

redsmith

Senior Member
Apr 11, 2011
748
391
I'm on VertexOS and DCI-P3 profile is not available in said location. Will flash OB9 and report back.

---------- Post added at 03:53 PM ---------- Previous post was at 03:20 PM ----------

It works perfectly, no need to reboot. Looks great, think I will keep it for a while.
 
  • Like
Reactions: soccerwuedo5

twoxa

Senior Member
Jun 10, 2009
1,550
465
Boston
I have S6E3FA5. DCI-P3 file is available in it's location. Just tried on Freedom OS 4.1.6, and nothing. Phone switches back to sRGB after reboot... not sure how to actually confirm it's DCI-P3....
 

redsmith

Senior Member
Apr 11, 2011
748
391
I have S6E3FA5. DCI-P3 file is available in it's location. Just tried on Freedom OS 4.1.6, and nothing. Phone switches back to sRGB after reboot... not sure how to actually confirm it's DCI-P3....

You can immediately see the difference in color after issuing the command on Terminal Emulator, especially if sRGB is enabled. DCI-P3 is a lot more colorful, but not quite as the default calibration, which is borderline psychodelic. The selected calibration will still read "sRGB" though, as this new standard isn't officialy included in OP3T software. And yes, after a reboot, calibration will return either to standard values, or sRGB.
 
  • Like
Reactions: soccerwuedo5

soccerwuedo5

Senior Member
Aug 26, 2011
71
35
Phoenix
You can immediately see the difference in color after issuing the command on Terminal Emulator, especially if sRGB is enabled.

Cool, sounds like it works even if you don't select "Default" before running the commands. Thanks!

It works perfectly, no need to reboot. Looks great, think I will keep it for a while.
Phone switches back to sRGB after reboot...
after a reboot, calibration will return either to standard values, or sRGB.

I'll update the instructions accordingly. Thanks!
 
Last edited:
  • Like
Reactions: Jole7 and redsmith

soccerwuedo5

Senior Member
Aug 26, 2011
71
35
Phoenix
Still trying to see if there's a way to enable a setting to allow this to work on S6E3FA3 display panels.

Found this mention of a "OPScreenColorMode.java" configuration file on the OP3T but I can't find where that would be on the device.

I decompiled the Settings.apk and couldn't find the file, but I did see a mention of that synonym (as well as OPNightMode and OPReadingMode) inside "display_settings.xml":
Code:
<PreferenceScreen android:title="@string/oneplus_night_mode_enabled_op" android:key="oneplus_night_mode" android:fragment="com.oneplus.settings.better.OPNightMode" />
<PreferenceScreen android:title="@string/oneplus_reading_mode" android:key="oneplus_reading_mode" android:fragment="com.oneplus.settings.better.OPReadingMode" />
<PreferenceScreen android:title="@string/oneplus_screen_color_mode_title" android:key="screen_color_mode" android:fragment="com.oneplus.settings.better.OPScreenColorMode" />

Not sure where to go from here, though.
 
  • Like
Reactions: redsmith

doubleaykay

Senior Member
Nov 8, 2013
157
107
Hi all,

I packaged this into a Magisk module for everyone to enjoy. It simply runs the provided command as part of the Magisk late_start service.

Here is a link to the GitHub repo: https://github.com/doubleaykay/DCI-P3_Enabler_OP3T. I have submitted it to the repo.

In the meantime, I have attached a zip you can install in Magisk.

I have tested it on my own device and it works perfectly!

Enjoy!

Edit: Yes, this allows it to persist through reboots!
 

Attachments

  • DCI-P3_Enabler_OP3T.zip
    7.2 KB · Views: 4,228
Last edited:

soccerwuedo5

Senior Member
Aug 26, 2011
71
35
Phoenix
It won't be there on not supported devices as there is a condition to remove that preference as shown in your attached screenshot.

Thanks for taking a look! It seems the guys on OnePlusBBS have overridden that removal for compatible devices to add the menu items back in on the OP3T. It's over my head but maybe someone can replicate their efforts here.
 

doubleaykay

Senior Member
Nov 8, 2013
157
107
I have the A5 panel on my 3T, and magisk module isn't working for me. Currently running FreedomOS 2.11.2 with Blu_Spark kernel r151 and Magisk v13. Let me know if there's any other information I should add.

That is bizzare, maybe it's an issue with Magisk v13. Could you post your Magisk log?

I am using Magisk v12, the stable release, and it works perfectly fine for me.... odd.

Could we have more people test the Magisk module to make sure it works?
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 38
    Hi all,

    I packaged this into a Magisk module for everyone to enjoy. It simply runs the provided command as part of the Magisk late_start service.

    Here is a link to the GitHub repo: https://github.com/doubleaykay/DCI-P3_Enabler_OP3T. I have submitted it to the repo.

    In the meantime, I have attached a zip you can install in Magisk.

    I have tested it on my own device and it works perfectly!

    Enjoy!

    Edit: Yes, this allows it to persist through reboots!
    23
    Update: Thanks to @MishaalRahman for the great summary article. More discussion there.
    Update: Thanks to @GR0S for the app solution, available in this post
    Update: Thanks to @doubleaykay for the magisk module, available in this post

    I am no developer but I was researching the OP5 DCI-P3 calibration, saw that some international users were able to activate the calibration on their OP3T, and thought I would share what I have found so far. Long story short, this probably works if your device is a OP3T with the S6E3FA5 display panel, but not if your device is a OP3T with the S6E3FA3 display panel.

    Note: I believe this changes the actual calibration for the "Default" selection in the display settings, but you will not see the name "Default" change to "DCI-P3"

    Sources:
    Credit to @rquandt on Twitter for getting the ball rolling: Tweet
    Proposed command-line solution from ITHome: Link
    Proposed modified apk solution from OnePlusBBS: Link
    More discussion from OnePlusBBS: Link
    Even longer thread (86 pages) from OnePlusBBS: Link
    Even longer thread (583 pages) from OnePlusBBS: Link
    This post to Weibo discusses S6E3FA5 vs S6E3FA3 compatibility: Post


    Procedure:
    1. Find out if your display panel is compatible (looking for S6E3FA5)
      Install AIDA64 and check Display > "Panel ID"

      (optional) I also checked to see if the profiles were available on my OP3T running Oxygen OS Open Beta 9 using a file explorer.
    2. Open Terminal Emulator on your phone and enter these two commands:
      Code:
      su
      echo 1 > sys/devices/virtual/graphics/fb0/DCI_P3

    The changes will revert to previous configuration on reboot, so this must be re-applied after reboot.

    To revert changes
    • Open Terminal Emulator on your phone and enter these two commands:
      Code:
      su
      echo 0 > sys/devices/virtual/graphics/fb0/DCI_P3
    11
    Attached 3T-switcher.apk just modified Chinese character and changed the Chinese name of the app
    obtained from bbs.onelplus forum working well in my 3T
    9
    Root required
    Will add srgb button tomorrow
    7
    I made custom controls in Kernel Adiutor (it only has the option to toggle sRGB) and thought it would be convenient for those who use it.

    Not sure why json files are not allowed on xda, just rename the files to .json and import them in Kernel Adiutor under the custom controls section.