Yifan Lu attempts a PS Vita HDMI mod

sample_.png

A while ago, Yifan Lu, a member of PS Vita hacking group Team Molecule, posted a technical blog on his website, explaining how he attempted an HDMI mod for the OLED PS Vita and why it didn't end up as successful as he hoped it would be. He also explains the truth about the OLED's "mystery port", whether the Vita has any video output capabilities as well as other interesting discoveries. You can read the whole thing here.

He begins with explaining that the PS Vita's SoC, which is named Kermit, has two MIPI DSI output ports. Depending on the PS Vita model, the first port is connected to a custom 40-pin high speed board-to-board connector (OLED) or a ZIF connector (LCD), which are either connected to an OLED or LCD panel. The second port is only used in development kits and Vita TVs. There it is connected to an ADV7533 MIPI/DSI Receiver with HDMI Transmitter, which is why he suspects that the Vita has those two ports in the first place. He goes on making clear that the Vita's SoC lacks any native support for HDMI/TMDS signaling, shooting down any rumors of handheld PS Vita's with HDMI output capabilities. Remember the second port on OLED models that is often dubbed as "mystery port" and was rumored to be a scrapped HDMI port? That port is actually just a USB host port with a custom physical connector with no video output capabilities.

The pins of the second, unused MIPI DSI port are not routed and therefore it is impossible to use them for an HDMI mod. So Yifan Lu's idea was to intercept the DSI output to the OLED panel and let the same signals drive a custom board that can convert it to HDMI. After successfully soldering wires and locating test points for the desired signals, his original idea was to use the same MIPI DSI to HDMI conversion chip that the Vita TV uses. Unfortunately he had to scrap this due to a number of reasons quoted below:

  • I wanted to expose a mini-HDMI port on the bottom of the OLED Vita right next to the multi-connector. There is unused space inside the Vita near that region but it is only about 15mm x 15mm. That means all the components I choose will have to be extremely space efficient and therefore expensive.
  • The ADV7533 only comes in a 49-BGA package which means layout requires at least a 6 layer board with low pitch and drill sizes. This means that prototyping the boards will be very expensive. A normal 2 layer PCB with standard drills can be fabricated for about $10 for each prototype run. A 6 layer board with small drill sizes goes for about $300 for each prototype run.
  • I do not have the equipment to solder and test small pitch BGA parts which I would have to use to meet the space constraints.
  • You cannot buy the ADV7533 from standard US suppliers because the part is under NDA and requires you to have a HDMI license which costs thousands of dollars per year.

Because he wasn't going to make profit off these boards, he couldn't justify investing the time and money for this design, which leads to his next approach, cheap MCU evaluation boards with MIPI DSI support from ST. What follows was building a small 15mm x 15mm breakout board to be placed into the Vita and a host board that connects to that breakout board and the MIPI DSI adapter from ST. The host board is also connected to a RaspberryPi which supplies it with power and is used to program the ADV7533 MIPI/DSI Receiver of the Vita.

Next task is communicating with the ADV7533. Since it is under NDA, an official programming guide is not available to the public. So Yifan Lu looked at various open source implementations and was able to write a Python-based configuration sequence that allowed him to successfully build communication with the ADV7533. Under normal circumstances, video should show up now, but it didn't. Trying to figure out what's wrong, he brought out his trusty oscilloscope. An oscilloscope is a device that analyzes various signals and displays them as waveforms to observe changes in voltage. To summarize his fairly technical observations, he concluded that there is an issue with the ADV7533's clock and data lanes entering HS (high-speed) and LP (low-power) modes and the lack of any logic to handle clock lane LP transition. His tests showed that on the OLED Vita, it is not possible to have the OLED and HDMI working at the same time, but implies that it can be fixed with a hacked PS Vita. However, as he doesn't want to limit the adapter to hacked PS Vitas, he tried to find another solution but unfortunately without success.

Nonetheless, Yifan continued this project to hone his design skills and in the end was able to redesign his board and made it programmable without a RaspberryPi. He says he doesn't plan to pursue this project any more than that, but open sourced his designs in case others want to continue where he left off. In that case he provided a couple of tips to start:

  • If you only care about hacked Vitas, you can try to get the existing design to work with a custom driver that sets the auto clock configuration to output to the screen or to the external adapter. You can also try to find the test-points on a Vita slim. Finally, if you want sound, you need to find the an I2S output somewhere.
  • If you want to try another part, you can look at one of various MIPI DSI to eDP chips (for example this) and chain it with a DP to HDMI chip or with a DP cable. Make sure the chip you’re using supports LP mode!
  • If you want to design your own part using a FPGA, that might be the best route but you need to make sure your FPGA supports MIPI D-PHY, which most likely it won’t and you’ll have to make a level translation circuit. I think this is what the existing Vita video out mod does.

What do you think of this? The PS Vita TV aside, do you care about a Vita HDMI mod?

:arrow: Source
 

Attachments

  • mystery_port.jpg
    mystery_port.jpg
    12 KB · Views: 1,449

Enigma Hall

Well-Known Member
Member
Joined
Feb 6, 2013
Messages
723
Trophies
1
Age
44
XP
563
Country
Brazil
I think is very worth to continue the project to hacked vita and he should keep trying. Think about it, if he achieve the goal vita will become a true hybrid console. Portable, with lots of storage from sd to vita, multisystem from emulators and homebrew, ps3 controls for multiplayer. Yes I want it so mutch.
 

Enigma Hall

Well-Known Member
Member
Joined
Feb 6, 2013
Messages
723
Trophies
1
Age
44
XP
563
Country
Brazil
Anyway... why the pi need to be inside the vita? Cant just sold the wires to a port and plug the pi when want to use it. Like a oldschool rf cable.

Anyway two. If is expensive and protected to be buy alone, it cant be used from another product? I dont know, maybe a dvd player?
 
Last edited by Enigma Hall,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Xdqwerty @ Xdqwerty:
    good night
  • BakerMan @ BakerMan:
    as to you
  • K3Nv2 @ K3Nv2:
    How do you know if the night will be good when you're asleep
  • BakerMan @ BakerMan:
    because i didn't say i was asleep
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
    The Real Jdbye @ The Real Jdbye: never had that i don't think