CBPS Forums

Console Hacking => PS Vita => Reverse Engineering => Topic started by: dots_tb on June 10, 2020, 10:48:31 PM

Title: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: dots_tb on June 10, 2020, 10:48:31 PM
Warning Sys and I are total retards!:

It started with a shitpost that Sys made to me with the totally original idea of getting the Accessory Port to work, as every good CBPS projects start. Initially, I was not interested, but Sys is my bestest e-friend of all time, so I had to consider the proposition. However, I did not know this blind friendship would lead to uncovering the biggest Vita Hack Elite conspiracy

Not knowing where to start, we initially went to Xerpi who suggested we look at usbd, a good suggestion which would help later.

However, SilicaAndPina, who caught wind of the project, noticed some edits done to the Henkaku wiki that removed some information related to pinouts and probable cables:

Before: https://wiki.henkaku.xyz/vita/index.php?title=EHCI&oldid=8707
 (https://wiki.henkaku.xyz/vita/index.php?title=EHCI&oldid=8707)
After Vita Hack Elite Meddling: https://wiki.henkaku.xyz/vita/index.php?title=EHCI&direction=next&oldid=8707 (https://wiki.henkaku.xyz/vita/index.php?title=EHCI&direction=next&oldid=8707)

Could this be censorship by the VITA HACK ELITES to hide the truth about the Mystery Port? What else could be hidden…?

Sys built up the courage to confront a Vita Hack Elite insider about the EHCI matter, or the claims that the Vita Hack Elites had made about Accessory Port being removed in 1.69 according, to the EHCI article on the Henkaku wiki.

We found the response very interesting:

(https://i.ibb.co/862FRY1/1.png) (https://imgbb.com/)

SilicaAndPina was perceptive and realized how fishy a “-1 return” would be, in fact it is the behavior that is experienced when the function is imported from another module. I had never personally seen Sony EVER stub a function with a “-1”, it would most likely be totally removed or changed to an error code.
We then came to the conclusion that perhaps Vita Hack Elites forgot to run a Vita Loader in IDA… Or perhaps it was misdirection?

Then finally Sys found the smoking gun. The Vita Hack Elites added to the Henkaku wiki:
https://wiki.henkaku.xyz/vita/SceUsbServ
 (https://wiki.henkaku.xyz/vita/SceUsbServ)
Code: [Select]
sceUsbServAccessoryDeactivate
sceUsbServAccessoryActivate

After seeing this, that’s when I decided to go all in, the Vita Scene needs to know the TRUTH!


Making the ECCHI cable:


Sys had a test board in transit, however I don’t like waiting on things so I just decided to find a way to make a breakout for the Accessory Port. I looked at all the cables I had and found that a mini USB cable had a close enough pin arrangement with the same amount of pins as the Accessory Port.

I later found out someone else had the same idea a while back:  http://wololo.net/talk/viewtopic.php?t=40198 (http://wololo.net/talk/viewtopic.php?t=40198)
This also extends to the meme dev RichDevX: https://twitter.com/RichDevX/status/817189122578255873 (https://twitter.com/RichDevX/status/817189122578255873)

We will refer to this Accessory Port cable as an ECCHI cable. This name is derived from the port being called EHCI.

In order to accomplish this, the shielding is removed along with any other cable insulation on the connector to expose the plastic that the connector pins rest on. This cable is then trimmed because the bed of pins within the connector of the accessory port has raised edges, along with the mini USB connector having raised edges. The resulting bed of pins on the mini USB connector must within the width of 0.5cm.

The pins + the connector bed of the cable is too short height wise to create good mechanical contact, so hot glue is used to fill the space. This is accomplished by putting a dab glue on the non-pin side, pressing a piece of paper, and then dragging the paper in a quick motion creating a thin layer of glue.

We have found that many cables either do not populate the 5th pin or are too fragile. I had only found 1 cable out of 7+ that actually worked well for this method. A better solution should be thought of in the future. These cables must be remade after like 4 uses.

(https://i.ibb.co/Hx5WTnb/2.png) (https://imgbb.com/)

(https://i.ibb.co/BqYNHCY/3.png) (https://imgbb.com/)

Thus, the original ECCHI cable (pictured) is long broken, however I will provide photos of the one used in SO CBPS later on.

Getting the Accessory Port to work:

Knowing that there was a function sceUsbServAccessoryActivate, we used the kernel equivalent SceUsbServForDriver_AA6D4409.

Pinout:
1GND (On the side with the mounting hole that has threads)
2ID (1.8v)
3D-
4D+
5VBUS (3.3v)

On calling SceUsbServForDriver_AA6D4409, it seems that once the ID pin is shorted to ground, 3.3v is sent to VBUS. Most commercial devices require 5V, so I used a Y-cable to provide 5V from a PC. You may use hardware to step up the 3.3v

Initially, I had the data pin swapped in accordance of mini USB pinouts. After mass logging both usbd and usbserv to gather info, I was able to find and correct this mistake. Then, with retesting with the port activated by the function mentioned before, a USB device not supported message popped up. This is similar to what Zexceil had experienced on this thread: https://gbatemp.net/threads/usb-port-mod.472355/ (https://gbatemp.net/threads/usb-port-mod.472355/)

I felt like this was enough to prove that it worked so I did not test anything further because what the hell it basically works.

USB storage or any USB device was not tested until 3 days before SO CBPS. I didn't format the USB drive at the time since it had my homework on it.

Funny enough apparently someone has attempted this as far back as 2017:
https://twitter.com/AryAlvkv/status/846575526324056064
 (https://twitter.com/AryAlvkv/status/846575526324056064)

Is this why the VITA HACK ELITES wanted to silence developers like RichDevX? YOU DECIDE!

Overall, it took less a week to figure out how to use the Accessory Port with basically no hardware knowledge outside of basic soldering. It was at this time we thought it’d be funny to hold a press conference with this as the one more thing, which became SO CBPS.

(https://i.ibb.co/Jj2YVGJ/4.png) (https://ibb.co/0yZ0T6b)

Thin layer of hot glue:
(https://i.ibb.co/K2wbFp6/5.png) (https://ibb.co/k415QsK)

The cable deteriorates after a few uses:
(https://i.ibb.co/RgM2rvv/6.png) (https://ibb.co/Gd17Yxx)

Another note, when I went to test it 3 days before SO CBPS, I installed Graphene's Vita Shell modification (that is unofficial), since it looks more impressive.

It did not work with USB mounting which gave me quite a scare. However, Graphene fixed it just enough that day so I could do the filming.

Getting PSV 2000 to work:


Since the Accessory port was so easy to get working, we thought we might as well try to replicate that success with PSV2000 OTG.

The benefits are obvious, it would allow the use of a more standard cable. However, little did I know that this would drag on to 2 days before SO CBPS.

Luckily, Sys owns one of the few rare PSV2000 Testkit Ethernet adapters thanks to his friend “pix”.

It is the one pictured on the Henkaku wiki: https://forum.devchroma.nl/index.php/topic,194.msg448.html#msg448 (https://forum.devchroma.nl/index.php/topic,194.msg448.html#msg448)

This Testkit Ethernet Adapter was a rare piece of hardware, so Sys didn’t feel comfortable ripping it apart. So I just asked him to measure the resistance between GND and the ID pin. These pin are used to indicate the type of device plugged in.

Pinout (It's just micro USB):
1GND
2ID (1.8v)
3D-
4D+
5VBUS (3.3v)

Sys didn’t have a multi-meter to measure the resistance on, he ended up using an Arduino with a voltage divider to measure the resistance with known values. The pins of the micro USB on the Testkit adapter were accessible by plugging it into another micro-controller.

He measured the resistance 1.5k. It's worth also noting that plugging in the adapter into an Android phone does not seem to show up under USB descriptor reading apps.

Sys then ordered micro USB breakouts, but then realized he only had a butane soldering iron that melted them.

So running out of time before SO CBPS, we decided to branch out and found it challenging to find a PSV2000 that could do hardware related tasks, at the very least solder

It would be a long road finding someone like this, along with scheduling, bring us up to the 2 days before SO CBPS.

Our first PSV2000 tester was Lyzzz, who was able to test the 1.5k resistance with no results, however he became extremely busy and was no longer able to test.

We then contacted CHΞCKΞR, whom started making a cable but never responded after.

Then I noticed that SceSysconForDriver_D6F6D472 was used to control the OTG activation for the 2000.

On the Ethernet adapter, this would return 0x200 into a variable whom's pointer is passed into the function. Thus, the project shifted to getting 0x200 out of a resistance value.

Finally, we found Usagi-chan whom had SMD resistors, a PSV2000, and could solder (kinda).

And the results came in.

1.5k definitely does not work.

After asking Usagi-chan to test several known resistors and compiling tests previously done with Sys, we came up with the following values:

HEXDECWHAT IT IS
0x100 256Google Glass Headphones (Sysie)
0x200512Ethernet Adapter (Sysie)
0x5001280100k ohms (Usagi-Chan)
0x60015361.5k ohms (Usagi-Chan)
0x7001292OTG cable (1.5 ohms) (Usagi-Chan)

Usagi-chan's Y-Cable:
(https://i.ibb.co/q7VwYvK/1.jpg) (https://ibb.co/GnNjQqy)

So the tests lead me to believe it was measuring voltage, at least for the last few values.

Other than that, I had no idea how the 0x200 value of the Ethernet was obtained and just gave up...

I also had realized Sys did not properly clean his logs out.

And that 0x700 is returned for all stock OTG cables, or a normal short.

So to make it work, we just made 0x700 return the required 0x200:
https://github.com/dots-tb/ecchi-otg-2000 (https://github.com/dots-tb/ecchi-otg-2000)

Because the Ethernet adapter requires external power, it became a reasonable assumption that you would need a Y-cable. Which turned out to be the case.

As far as I know, there is no official hardware that would enable VBUS or voltage out from the micro USB port.


So finally, at the 2 days before SO CBPS mark, it was tested.

Where to go from here?

The PSV2000 can utilize a normal Y-cable, however this will be detrimental for portability. Perhaps there is a hidden function for activating VBUS to power devices plugged in without the need for external power.

As stated before, no PSV2000 to play with personally or official peripherals make this job harder.

The PSV1000 is a different story because the obscurity of the connector.

We are working with Zexceil, whom has done some manufacturing for the Switch scene, to figure out discrete hardware solution for this. No promises though.

Teakhanirons and Sys also worked on a PCB for it, but it was just for breakouts since they couldn't get the ECCHI cable to work.

I personally have no idea why no one bothered to try this stuff, but I'm happy I got a 20 min shitpost out of it because everyone else was too lazy.

I'll post some more RE information that anyone could probably get in this thread.

Credits:

TEAM IOWA:
Sys - Project manager, PSV2000 Testkit tester, and PSV2000 Testkit Ethernet Adapter
dots_tb - Head RE

With help from:
teakhanirons - I forgot what he did...
lyzzz - PSV2000 tester
CHΞCKΞR- Almost PSV2000 tester
realusagichan - PSV2000 tester, made a Y-cable
CelesteBlue - RE help
Princess of Sleeping - Pictures of PSV2000
SilicaAndPina - PSV1000 Devkit tests
Zexceil - for being interested in hardware manufacturing

And everyone else on CBPS!

Thanks also to:
The VITA HACK ELITE contributors to Henkaku wiki and psvitadevwiki (when its not deleted).
Xerpi - for usbd lead
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: sysie on June 10, 2020, 10:59:45 PM
Warning Sys and I are total retards!:

can confirm
(https://i.ibb.co/HDNHNDx/image0.jpg) (https://ibb.co/fY8x8Yn)
Anyways here's the image of the testkit adapter
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: dots_tb on June 10, 2020, 11:10:52 PM
USB ports:
Port 0 – Accessory port, host mode only. There seems to be no code allowing client mode in udcd.
Port 1 – Internal USB port, used on Devkit in client mode. Host mode on 3G vita.
Port 2 – Host mode/Client mode Micro USB PSV2000, multi-ctn PSV1000

PS TV USB port (?)

Event Flags Bits in Usbserv:
0x5 – New Event
0x2 – multi-ctn connect
0x4 – multi-ctn disconnect
0x8 – Accessory connect
0x10(?) – Accessory disconnect
0x40 – 2000 OTG mode connect (only on Ethernet adapter)
0x80 – 2000 OTG mode state change

Some misc functions:
SceSysconForDriver_A26586B2(0x81000049,0); // set callback for the 100 OTG multi-ctn
SceSysconForDriver_67A4CB9F(0x81000029,0); // set callback for 2000 OTG
SceSysconForDriver_4A42712F(0x8100000d,0); //set callback for accessory port plugin
SceSysconForDriver_3274A925(1); //PSTV USB power set
SceSysconForDriver_B1F88B11(1); //devkit USB power set

SceUsbServ.yml with help with CelesteBlue:
Code: [Select]
  SceUsbServ:
    nid: 0xAE54F579
    libraries:
      SceUsbServForDriver:
        nid: 0xA75BBDF2
        kernel: true
        functions:
          SceUsbServForDriver_30AE5F66: 0x30AE5F66 //activate usb on pstv
          SceUsbServForDriver_6D738018: 0x6D738018 //is pstv
          sceUsbServMacSelectForDriver: 0x7AD36284
          sceUsbServAccessoryDeactivateForDriver: 0x853CB8E4
          sceUsbServAccessoryActivateForDriver: 0xAA6D4409
          SceUsbServForDriver_D787B191: 0xD787B191 //deactivate/suspend usb on pstv
          sceUsbServMacGetForDriver: 0xF0553A69
      SceUsbServ:
        nid: 0xDA3C0EF0
        kernel: false
        functions:
          sceUsbServAccessoryDeactivate: 0x154246A9
          sceUsbServAccessoryActivate: 0xB33AA2EB
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: Nkekev on June 10, 2020, 11:11:23 PM
reTards
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: dots_tb on June 10, 2020, 11:22:07 PM
I obtained the Panasonic K1HA14AD000.

The cable will not work, do not try it as it will break your accessory port. There is raised edges within the Accessory Port connector, while the Panasonic cable has a larger pin bed that is flat across. The raised edges will cause no mechanical contact between pins and maybe break your Accessory Port.

You may try to drill the offending areas out or trim the bed, the cable I got off Amazon had all pins populated, I am not sure about the pin arrangement though.

The metal shielding is also too tall making a snug fit, with it being too shinny width wise where the metal bumps that form the bottom inverted U. It is a very snug fit.
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: dots_tb on June 10, 2020, 11:33:05 PM
SO CBPS Explanation:


PSV1000:
An Accessory port Y-cable (ECCHI cable) is used with a 16gb USB jumpdrive and is plugged into the accessory port.

VitaShell is then loaded with an attempt to mount uma0, which does not work due to no other devices (such as SD2Vita or psvd).

Also its worth nothing that VitaShell will initialize the Accessory Port, it is not initialized pior.

Power, which is disconnected on the Y-cable on the Accessory Port connector, is connected to another cable which is then plugged into a power bank to provide 5v, as the Accessory Port only provides 3.3v.

It is then mounted in Vitashell.

PSV2000:
A normal USB Y-cable is used, however the version in the video has 100k pulldown on the ID pin from testing. This requires 0x500 to be changed to 0x200 in the plugin provided in the OP. It could be changed to any value on the chart.

Power and USB device must be connected before plugging in, as all needed factors to initialize USBD are done at plug-in.

When plugged in, VitShell is then used to mount the device.
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: Princess of Sleeping on June 11, 2020, 12:53:54 AM
PCH-2000

(https://i.ibb.co/XJ5KpXG/20200530-115148.jpg) (https://ibb.co/Lpgc6Ss)

(https://i.ibb.co/7tb0GXz/20200530-115344.jpg) (https://ibb.co/gZ6cD37)
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: dots_tb on June 11, 2020, 01:13:33 AM
I forgot to mention I got the idea to use mini USB from this article abut Coder Cables on the Dreamcast:

http://www.thedreamcastjunkyard.co.uk/2016/02/guest-article-great-serial-connector.html (http://www.thedreamcastjunkyard.co.uk/2016/02/guest-article-great-serial-connector.html)
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: W00fer on June 11, 2020, 01:25:44 AM
I hope CBPS is going to work with China making a proper accessory port cable to USB-A. Just 15 cm should be enough in Y form to connect the needed power for thumbdrives. Don't know if external wired controllers need such power, most of them work under low milliamps.

Having external controller support (like USB-HID) is a highly requested addition by the gaming community as not all controllers have bluetooth.
DS3Vita and so on are via Bluetooth. Another option is to buy a PSTV with a very expensive Cronusmax with crappy firmware.

Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: dots_tb on June 11, 2020, 01:39:56 AM
I hope CBPS is going to work with China making a proper accessory port cable to USB-A. Just 15 cm should be enough in Y form to connect the needed power for thumbdrives. Don't know if external wired controllers need such power, most of them work under low milliamps.

Having external controller support (like USB-HID) is a highly requested addition by the gaming community as not all controllers have bluetooth.
DS3Vita and so on are via Bluetooth. Another option is to buy a PSTV with a very expensive Cronusmax with crappy firmware.

Y-cable not required for Accessory Port cable as it provides 3.3v that can be stepped up to 5v. I think an adapter could be done under way under that size so its not too much of an eye sore and is more portable, also.

I could test controller support if you want, if it works on the PSTV, it should work on the PSV.
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: depression on June 11, 2020, 01:53:28 AM
another solution to get yourself an internal usb port if your good at soldring
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: teakhanirons on June 11, 2020, 03:03:28 AM
One thing I should mention, there exist 3.3V USB devices (SD readers, small USB flash drives) so no wire no buck converter dongles are possible on accessory port (and possibly Slim USB OTG if someone can get the VCC working on it).
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: skyl4nk on June 11, 2020, 03:13:31 AM
i failed, sorry

(https://pbs.twimg.com/media/EaMMEmSXsAAgSUM?format=jpg&name=medium)
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: SonicMastr on June 11, 2020, 04:49:05 AM
Many will remember this image when it first shown to the community. At the time, nobody had concrete evidence about what the card seemingly connected to the accessory port was.

(https://i.ibb.co/bKpxfXR/image.png) (https://ibb.co/P6BRSgz)

Many went straight to saying what most thought. "It's plugged into the mystery port". Others had the stance that it was simply an instrument to measure EMF radiation, but when it all came down to it, nobody could really prove what exactly it was.

But by actually reading FCC documents located here (https://fccid.io/document.php?id=1566063) we can actually get more info about the test and all the equipment shown.

(https://i.ibb.co/0hJDtb0/image.png) (https://ibb.co/D5KVp2B)

You may have noticed an odd piece of equipment listed referred to as an "Accessory box" with a serial number of "1" and manufactured by "Sony Computer Entertainment Inc." This serial number is obviously extremely odd and indicates that it could be first product of an in-house prototype. But why just rely on speculation when the FCC document also confirms that?

It seems as though everybody who looked at this report seems to have looked over this listing because using another one of the provided images shows you everything that's listed. Here you can see the Display (Monitor), Switching Hub (White Box on the table), Laptop, and multiple power adapters along with the Vita and its internal Memory Card (Card Media2).

(https://i.ibb.co/hg5Jz45/image.png) (https://ibb.co/D1XH2vX)

Now we're left with one more thing to determine. Is that mysterious card the "Accessory box" prototype? Or is it simply a device for measuring EMF?

Well, this image in the document confirms that the card is definitely not the instrument used for measuring the EMF radiation, and we can actually see the real instrument in the background.

(https://i.ibb.co/YT7crhJ/image.png) (https://ibb.co/XkZ7wt6)

We already know that everything in the listed equipment is on the table, leaving the card as the only other candidate for the Accessory box. The answer to what the mystery port was all along was right in front of us, and the only reason we didn't see it was because we didn't read through the documentation. That Accessory box was a likely Sony prototype and used in this test to be able to measure the EMF radiation that potential devices in the future may emit.
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: cuevavirus on June 11, 2020, 05:30:36 AM
It's also indicated in this diagram from the FCC document

(https://i.ibb.co/b7nhSJ1/firefox-2020-06-10-23-26-35.png)

From the table in the SonicMastr' s post:

A is the devkit
D is the accessory box

Clearly the thing attached to the top of the devkit is the accessory box.
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: dots_tb on June 11, 2020, 08:47:04 AM
Panasonic K1HA14AD000 shield (modified as some parts have been clipped off):

(https://i.ibb.co/Rb2g7QJ/13.png) (https://ibb.co/NCxF7WG)

(https://i.ibb.co/pxmB76F/14.png) (https://imgbb.com/)

(https://i.ibb.co/SdfMGb6/15.png) (https://imgbb.com/)

(https://i.ibb.co/6XvyhNZ/16.png) (https://ibb.co/GHsdwFJ)

(https://i.ibb.co/crt1zfk/1.png) (https://imgbb.com/)

(https://i.ibb.co/kSY5j1W/4.png) (https://imgbb.com/)
 
(https://i.ibb.co/Wfc2Tdq/5.png) (https://imgbb.com/)

(https://i.ibb.co/K5FjtQF/7.png) (https://ibb.co/b6zg4yz)

(https://i.ibb.co/6WLhntz/9.png) (https://ibb.co/KrSZ0sd)

(https://i.ibb.co/bH5zKPh/10.png) (https://ibb.co/XyxSCbB)

Accessory Port:

(https://i.ibb.co/HhgLMCY/12.png) (https://ibb.co/BnsH7Gj)
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: Lazyox199 on June 11, 2020, 09:08:01 AM
[ all you really need to up volt from 3.3 to 5v is an lm7805
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: Lazyox199 on June 11, 2020, 09:37:02 AM
 im wrong, aperantly this one steps down the voltage
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: Lazyox199 on June 11, 2020, 09:40:28 AM
Panasonic K1HA14AD000 shield (modified as some parts have been clipped off):

(https://i.ibb.co/Rb2g7QJ/13.png) (https://ibb.co/NCxF7WG)

(https://i.ibb.co/pxmB76F/14.png) (https://imgbb.com/)

(https://i.ibb.co/SdfMGb6/15.png) (https://imgbb.com/)

(https://i.ibb.co/6XvyhNZ/16.png) (https://ibb.co/GHsdwFJ)

(https://i.ibb.co/crt1zfk/1.png) (https://imgbb.com/)

(https://i.ibb.co/kSY5j1W/4.png) (https://imgbb.com/)
 
(https://i.ibb.co/Wfc2Tdq/5.png) (https://imgbb.com/)

(https://i.ibb.co/K5FjtQF/7.png) (https://ibb.co/b6zg4yz)

(https://i.ibb.co/6WLhntz/9.png) (https://ibb.co/KrSZ0sd)

(https://i.ibb.co/bH5zKPh/10.png) (https://ibb.co/XyxSCbB)

Accessory Port:

(https://i.ibb.co/HhgLMCY/12.png) (https://ibb.co/BnsH7Gj)
interesting how it fits
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: dots_tb on June 12, 2020, 12:13:22 AM
Multi-ctn:

(https://i.ibb.co/jJFLqp8/17.png) (https://ibb.co/9ZjqBMp)
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: realusagichan on June 12, 2020, 12:58:24 AM
Here's the cable in the 2000 SO CBPS video after securing it.

(https://i.postimg.cc/bvj6HHsT/Screenshot-2020-06-12-00-52-46.png)
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: Asdron on June 12, 2020, 11:40:09 PM
This got me interested in the vita again.
Rebuilt the cable that I used back in 2017 (but somehow threw away when I stoped working on stuff in the vita scene..)
Used a female mini usb connector because it has those bent pins that make sure it makes contact. Also its very durable.
Already unplugged and replugged it like 50 times without breaking it.

(https://i.ibb.co/GQxF1cm/image.png) (https://imgbb.com/)

To manufacture it just remove the shielding of the female usb mini connector and file it down from the side without pins
(https://i.ibb.co/j4FpJ18/image.png) (https://imgbb.com/)

Was able to sand it down even more to make it fit even better
(https://i.ibb.co/MPx40ZW/image.png) (https://imgbb.com/)

Next step will be to add a boostconverter to make it work without external power.. and maybe also create a 3dprinted shell for it to make it even more durable

Update:
(https://i.ibb.co/19KHs16/image.png) (https://ibb.co/30Wtf2z)
Still has some issues - disconnects after mounting. will report back when fixed.

Update 2:
Turns out the power which can be delivered by the 3.3V rail from the vita is extremely low. By optimizing the circuit I used I could achieve filetransfers but not very stable.
My USB drive only used 0.02A during write. It was the only one out of 15 pcs that kinda worked.
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: dots_tb on June 13, 2020, 03:21:37 AM
Accessory Port power delivery on 3.3v VBUS....

0.02 amps on 10A mode
15.85 on 300mA mode
200 ohm load

Not looking good.

I might be a retard though.
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: dots_tb on June 13, 2020, 05:24:10 AM
Accessory Port is theorized to be MHL by Deppressiety, here is some evidence we gathered to support it:
MHL standard was created in June 2010, development known to be starting as early as 2010, with Sony co-developing: https://en.wikipedia.org/wiki/Mobile_High-Definition_Link (https://en.wikipedia.org/wiki/Mobile_High-Definition_Link)

The PS VITA was released Dec 2011 in Japan: https://en.wikipedia.org/wiki/PlayStation_Vita (https://en.wikipedia.org/wiki/PlayStation_Vita)

The Galaxy S2, one of the first devices to support MHL doesn't seem to have dedicated HDMI/MHL hardware: https://news.samsung.com/global/galaxy-s-ii-teardown-splitting-8-9-mm-of-the-latest-samsung-technologies (https://news.samsung.com/global/galaxy-s-ii-teardown-splitting-8-9-mm-of-the-latest-samsung-technologies)

5 Pins is enough to do MHL 1.0.

20mA can't power most shit.

HDMI CEC is connected to Syscon on PS4 and PS3. The ID pin on the Vita would be CEC on MHL and is connected to the Syscon.

This is all speculative and is what Sony may have used the port for, there is no evidence that MHL would actually work.
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: Asdron on June 16, 2020, 09:23:36 PM
Was able to pull a lot more current (up to 300mA @ 5V).
Usb drives now work mostly stable but I need to wait for parts to arrive to make it completly stable
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: Asdron on June 21, 2020, 01:02:24 AM
(https://i.ibb.co/2cPjSZS/image.png) (https://ibb.co/QYn6kDk)
Say hello to Ecchissory Box  :D
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: dots_tb on June 22, 2020, 06:55:35 AM
Looking at the Chinese forums, it seems that there exists multi-ctn that has all the pins populated.

Link to original thread: https://tieba.baidu.com/p/5299733246?pn=1 (https://tieba.baidu.com/p/5299733246?pn=1)

Picture by OP:
(https://i.ibb.co/gy7YkXt/0a96c23eb13533fa9330a2e1a2d3fd1f43345bcc.jpg) (https://ibb.co/LSPKVq9)

This is most likely a micro-usb to multi-ctn adapter that can be found on Aliexpress, you can search for "PSV1000 adapter micro".

There are some on Amazon that command a hefty price tag:

JP: Click here (https://www.amazon.co.jp/%E3%82%A2%E3%82%AF%E3%83%A9%E3%82%B9-PSVita1000%E7%94%A8%E5%A4%89%E6%8F%9B%E3%82%A2%E3%83%80%E3%83%97%E3%82%BF%E3%80%90%E3%81%8B%E3%82%93%E3%81%9F%E3%82%93%E5%A4%89%E6%8F%9B%E3%82%B7%E3%83%AA%E3%83%BC%E3%82%BA-microUSB%E2%87%92PSVita1000%E7%94%A8%E3%80%91/dp/B013SEYNXY/)

US: Click here (https://www.amazon.com/PSVita1000%E7%94%A8%E5%A4%89%E6%8F%9B%E3%82%A2%E3%83%80%E3%83%97%E3%82%BF%E3%80%90%E3%81%8B%E3%82%93%E3%81%9F%E3%82%93%E5%A4%89%E6%8F%9B%E3%82%B7%E3%83%AA%E3%83%BC%E3%82%BA-microUSB%E2%87%92PSVita1000%E7%94%A8%E3%80%91/dp/B013SEYNXY/)
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: lyzzz on June 22, 2020, 07:16:10 PM
This is most likely a micro-usb to multi-ctn adapter that can be found on Aliexpress, you can search for "PSV1000 adapter micro".

Here's a link to the original product site: http://www.k-aclass.com/product/sasp0328.html
Easily 100 yen onwards from YAJ: https://page.auctions.yahoo.co.jp/jp/auction/u364879928
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: W00fer on June 28, 2020, 03:16:14 PM
It was rumored that the converters from Aliexpress for PSV1000 from the port on the bottom to microUSB are only for charging, not for data transfer.
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: cuevavirus on July 11, 2020, 09:47:04 PM
I can confirm that DS3/DS4 controllers can be used in the same way as on the PSTV using an OTG y cable, the same syscon patch, and minivitatv. Controller can be used while wired and will automatically pair.

Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: maxlemiskis on July 27, 2020, 04:29:53 PM
Well, first of all great job. I'm total newbie to vita hacking and recently made my vita 2000 come back from death with a reflow.
My initial plan was to connect a generic usb controller to It to play some arcade games with an otg cable. Maybe write something with vita sdk. I've tried with a normal otg but It don't work.
Then I got here. Questions:

1) With an Y otg cable and some sort of power It works?
2) This https://github.com/dots-tb/ecchi-otg-2000 needs to be install on vita?
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: cuevavirus on July 27, 2020, 05:12:40 PM
Well, first of all great job. I'm total newbie to vita hacking and recently made my vita 2000 come back from death with a reflow.
My initial plan was to connect a generic usb controller to It to play some arcade games with an otg cable. Maybe write something with vita sdk. I've tried with a normal otg but It don't work.
Then I got here. Questions:

1) With an Y otg cable and some sort of power It works?
2) This https://github.com/dots-tb/ecchi-otg-2000 needs to be install on vita?

That's right you'll need those two things, as well as https://github.com/TheOfficialFloW/MiniVitaTV and a dualshock 3 or 4. Generic controllers may or may not work.
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: maxlemiskis on July 27, 2020, 07:04:18 PM
That's right you'll need those two things, as well as https://github.com/TheOfficialFloW/MiniVitaTV and a dualshock 3 or 4. Generic controllers may or may not work.

Sooo...I need to make a plugin of the ecchi-otg-2000?
Thanks in advance!
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: teakhanirons on July 27, 2020, 09:01:30 PM
Sooo...I need to make a plugin of the ecchi-otg-2000?
Thanks in advance!
What does that mean? Do you mean compiling? Yes, you'd need to compile the plugin to use it.
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: maxlemiskis on July 27, 2020, 09:19:07 PM
What does that mean? Do you mean compiling? Yes, you'd need to compile the plugin to use it.

Yep, this! Sorry, I'm total noob  :-X
Title: Re: ECCHI PROJECT - the road Accessory Port to and OTG
Post by: ryanrudolf on July 03, 2021, 02:43:55 PM
thanks for the plugin! i was able to compile it and it works.

im using external hdd for my Vita 2000. external ssd also works.

(https://i.ibb.co/MZB32KR/storage.jpg) (https://ibb.co/tQLWmnb)