Skip to content

Instantly share code, notes, and snippets.

@f355
Created May 25, 2019 07:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save f355/918b1e435f0da1f113fc6e0dbab6b2ee to your computer and use it in GitHub Desktop.
Save f355/918b1e435f0da1f113fc6e0dbab6b2ee to your computer and use it in GitHub Desktop.
Philips 55PUS6262 EDID fix

Why

Philips 55PUS6262 is a 4k TV that reports 1080p as its primary (native) resolution over HDMI in EDID. Because of that, macOS does not recognize it as capable of "retina mode" and DPI scaling does not work.

What

This is a patched EDID that changes the primary resolution to 60Hz 4k. Use at your own risk.

HowTo

  1. Download DisplayProductID-1ea.plist
  2. sudo mkdir -p /System/Library/Displays/Contents/Resources/Overrides/DisplayVendorID-410c
  3. sudo cp DisplayProductID-1ea.plist /System/Library/Displays/Contents/Resources/Overrides/DisplayVendorID-410c/DisplayProductID-1ea

Diff on decoded data:

diff --git a/original.txt b/patched.txt
index c4bf90a..6f31516 100644
--- a/original.txt
+++ b/patched.txt
@@ -6,12 +6,12 @@ basic params:    80 90 51 78 0a
 chroma info:     63 0d a6 55 53 96 25 0d 47 4a
 established:     21 08 00
 standard:        b3 00 95 00 a9 40 90 40 81 00 81 80 81 40 01 01
-descriptor 1:    02 3a 80 18 71 38 2d 40 58 2c 45 00 a0 2a 53 00 00 1e
-descriptor 2:    02 3a 80 d0 72 38 2d 40 10 2c 45 80 a0 2a 53 00 00 1e
+descriptor 1:    08 e8 00 30 f2 70 5a 80 b0 58 8a 00 a0 2a 53 00 00 1e
+descriptor 2:    02 3a 80 18 71 38 2d 40 58 2c 45 00 a0 2a 53 00 00 1e
 descriptor 3:    00 00 00 fc 00 50 68 69 6c 69 70 73 20 46 54 56 0a 20
 descriptor 4:    00 00 00 fd 00 30 3e 0f 46 3c 00 0a 20 20 20 20 20 20
 extensions:      01
-checksum:        90
+checksum:        46

 EDID version: 1.3
 Manufacturer: PHL Model 1ea Serial Number 16843009
@@ -38,20 +38,20 @@ Standard timings supported:
   1280x800@60Hz 16:10
   1280x1024@60Hz 5:4 HorFreq: 64000 Hz Clock: 108.000 MHz
   1280x960@60Hz 4:3 HorFreq: 60000 Hz Clock: 108.000 MHz
+Detailed mode: Clock 594.000 MHz, 1440 mm x 810 mm
+               3840 4016 4104 4400 hborder 0
+               2160 2168 2178 2250 vborder 0
+               +hsync +vsync
+               VertFreq: 60 Hz, HorFreq: 135000 Hz
 Detailed mode: Clock 148.500 MHz, 1440 mm x 810 mm
                1920 2008 2052 2200 hborder 0
                1080 1084 1089 1125 vborder 0
                +hsync +vsync
                VertFreq: 60 Hz, HorFreq: 67500 Hz
-Detailed mode: Clock 148.500 MHz, 1440 mm x 810 mm
-               1920 2448 2492 2640 hborder 0
-               1080 1084 1089 1125 vborder 0
-               +hsync +vsync
-               VertFreq: 50 Hz, HorFreq: 56250 Hz
 Monitor name: Philips FTV
 Monitor ranges (GTF): 48-62Hz V, 15-70kHz H, max dotclock 600MHz
 Has 1 extension blocks
-Checksum: 0x90 (valid)
+Checksum: 0x46 (valid)

 CTA extension block
 Extension version: 3
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>DisplayProductID</key>
<integer>16652</integer>
<key>DisplayVendorID</key>
<integer>490</integer>
<key>IODisplayEDID</key>
<data>AP///////wBBDOoBAQEBAQ8bAQOAkFF4CmMNplVTliUNR0ohCACzAJUAqUCQQIEAgYCBQAEBCOgAMPJwWoCwWIoAoCpTAAAeAjqAGHE4LUBYLEUAoCpTAAAeAAAA/ABQaGlsaXBzIEZUVgogAAAA/QAwPg9GPAAKICAgICAgAUYCA1XxV2FgX15dEB8gIiEFFAQTEgMRAhYHFQYBLAkfBxUHUD0HwFcGAIMBAABvAwwAIAA4PKApKQhgAQIDZ9hdxAF4gADiAEnkDwMAAOMFwADjBgUBCOgAMPJwWoCwWIoAoCpTAAAeAR2APnM4LUB+LEWAoCpTAAAeAAAAAAAAag==</data>
</dict>
</plist>
@davidbxrch
Copy link

Having problems with my android tv (Mi Box S) which connects as 4k on my pc monitor but not when plugging it in to my 55PUS6262, the option just doesn't show at all. Have you got a better explanation of how to install this patch maybe via usb update or another method?. Thank you.

@f355
Copy link
Author

f355 commented Dec 11, 2020

@davidbxrch this patch is to make the TV work with macOS, I have no idea how to do any of that on Android, sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment