yashsingh1/xdaforums huggingface dataset:
[LG G5 Accessories] rothas:
And it works

I've received the adapter this week. It works as advertised for playing individual VR video files and Youtube VR streams. I had to download the VR Player from the manufacturer's website and it appears like a modified version of CodePlex VR Player. It includes a device preset for the LG headset. It also installed the K-lite codec pack and VLC automatically.

Head tracking works, video was a bit jittery as I could only test it on my laptop under W10 with an Intel IGP. The manual specifies Intel Graphics are not recommended. My desktop is sitting waiting for memory modules and I will test again once fixed.

One thing to note - as I connected the glasses through the adapter Windows set them up as a second monitor at their native resolution however I couldn't see anything. The glasses only fired up as I've opened the VR Player. However, after closing the player, the glasses still showed the desktop, but it was rotated by 90 degrees. I will try to rotate the desktop on my PC and see if I can have the picture laid out properly. If it works, it might allow me to play my flight sim on the headset.

Long story short, if you want to watch VR videos on the computer, the dongle will work. I've got the LG 360 VR for $60 off ebay and ended up spending more for the dongle ($90). All together it came down to less than a brand new LG 360 VR bought from LG.
[LG G5 Accessories] alanma75:
whereto download this vr player?

hi Rothas, I tried to plug lv 360 directly into my NUC which has usb-c (thunderbolt 3, compatible with displayport over usb c), it recognizes it as a display 1440*960. but like you said below, nothing is shown on the goggle. want to try this vr player - you said you had to download from manufacturer's website? can't find the website even :), can you help?

thanks

Wei

---------- Post added at 02:46 PM ---------- Previous post was at 02:40 PM ----------

https://drive.google.com/drive/folders/0B0LTVBpzZVOLRkx4NEhrelR5RE0
[LG G5 Accessories] rothas:
VR Player

Good to see you found it, could you let us know if it works on the NUC without the dongle?

Also, make sure you select the LG device in the player, that is what brings the picture up on my headset. Thanks.
[LG G5 Accessories] alanma75:
It worked !!!

wow, good news everyone, this really rocks: get LG 360 plug in to a displayport over usb c compatible computer (NUC 7th gen for example).

and fires up this vr player - so far the image are 90 degree turned - I am so excited so need to share the news first. will tweak more and let you guys know.

---------- Post added at 06:15 PM ---------- Previous post was at 05:53 PM ----------

everything works inside vr player once the tracker is set to LG ER1 - I guess it tells VR player to align the orientation from the goggle.

can't seems to get it to work directly - it shows the screen but are 90 degree turned, one clock wise and the other eye counter clockwise, so you can't even change alignment in display setting to fix both eyes :)

overall I am very happy, just saved $100 on this Vagle if your computer is able to output displayport over USB C directly - it works exactly as the adapter does.

thanks Rothas for this great finding, I wouldn't even think it is possible if I did not read your post.
[LG G5 Accessories] rothas:
Great

Oh, I forgot to mention to load up the .json preset included with the player, it does something to the viewing plane.

I still haven't tested rotating the display in W10 due to lack of time, I'll post something once I'm done.

I wish I could've saved the $100 but my desktop doesn't have native USB-C :laugh:
[LG G5 Accessories] lenreed:
Installed the player and it sort of works. I get the 90" rotated display in the player. Unfortunately my windows doesn't see the glasses driver.Any ideas?
[LG G5 Accessories] game-genie:
I was able to get my hands on a R100 VR headset for a real bargain.

To get it to work in my use case (As FPV glasses for my racing drone) I need help from someone owning the VRD-1000 "transformer":

Could someone owning said converter please open it up and take pictures of both sides of the PCB? I want to gather some information on the SLIMPORT chipset they used so I can hack together my own adapter.

I am not able to purchase the VRD-1000 it here in europe and importing it would cost me over 200 USD which is quite a bummer :(

Help would be greatly appreciated! Of course Ill share my findings if this leads to something!
[LG G5 Accessories] rothas:
VRD-1000

Will PM you tonight
[LG G5 Accessories] game-genie:
You are my hero!

I'll update ASAP with my findings
[LG G5 Accessories] snap3D:
There was a question about components used in that Data Transformer dongle. It's not a direct answer, but the following press note lists the components used in LG G5 phone and in glasses themselves (google for the following title):

"Analogix and LG Take Mobile VR to the Next Level with LG 360 VR"

The components are:

LG G5: SlimPort ANX7816 transmitter and ANX7418 USB-C switch and controller;

LG 360 VR: SlimPort ANX7737 converter and ANX7402 USB-C controller.

I have a question to alanma75. What happens when you plug LG glasses to your NUC, without starting that VR prlayer? What do you need to do to force the glasses to show anything?

I have access to one Win7 and one Win10 laptops with USB-C interface. When I connect glasses to them, laptops recognize an external display of 1440x960 resolution, I can extend the desktop to that space, I can drag the windows there, but the glasses remain dark. For a moment I thought that simply there is no back-light triggered, but I don't see any activity on those LCD pa panels (yes, I unscrewed the lenses to look directly at LCDs). What needs to be done to kick-start the goggles?
[LG G5 Accessories] 0TheRain0:
Just picked up one of these headsets for $20, B&H photo has them refurb for that right now. Have had my eyes on these to try and hack and mod a bit.

But reading over the info, it's gonna be a tough one, maybe not really worth it.

The Vagle VRD-1000 is pretty interesting, this PDF has some interesting details about what it does internally:

http://tvlogic.tv/VR/vagle(VRD-1000) Product Profile_v1.0(ENG).pdf

Interesting parts: I see HDMI to Display Port and DDC. DDC appears to be "Display Data Channel" which is an i2c protocol. See here for some info on that and how that fits in to USB - C https://www.mouser.com/applications/usb-type-c-adds-hdmi/

Perhaps DDC is used to instruct the goggles how to display - for instance it's been mentioned of people getting images, but 90 degrees rotation? Perhaps DDC is used to instruct the goggle how to orient the image, etc.

Then also I see mentioned "Coordination info" this is probably motion tracking info I'm guessing. Personally I'm not as interested in this aspect, I'm more interested in just being able to control the displays, maybe get general HDMI input working.

Here is an interesting github project that appears to be using or attempting to use the VRD-1000 along with this headset https://github.com/TrueOpenVR
[LG G5 Accessories] 5casper5:
How about an adapter Type C to USB 3.0, somebody tried, it works?

The code for get orientation data from USB сan be found after decompiled "Vr Player.Trackers.LgeR1360Tracker.dll" (C#, decompiled without problems with using ILSpy). File "Vr Player.Trackers.LgeR1360Tracker.dll is located in the player folder [1][2]

There can do support for SteamVR and other vr programs.

snap3D, it is probably necessary to send the packet over USB to enable it. LG G5 (or Vagle VRD-1000) most likely sends a special package to turn on the displays. Probably it's done so people do not try to connect to the PC. Need to capture the usb packet (from Vagle).
[LG G5 Accessories] snap3D:
I also have G5 phone (and obviously VR360 glasses light up when LG app is running and glasses proximity sensor is covered; glasses immediately turn off when proximity sensor is uncovered), but unfortunately no access to USB-C analyzers. It would be interesting to see if the glasses connected to PC (via Vagle adapter or directly through USB-C interface) can continue to show the image after initial packet trigger. To test that theory I ordered a "MeeGoPad T09" micro computer (for $130 from "geekbuying" Asian site), which is less than $10 more expensive than the Vagle adapter (and as a bonus I'll have a tiny PC running Win10 OS; you can go even smaller with PC-stick "MeeGoPad T08"; both MeeGoPads have USB-C interface). I'll try to install that proprietary VR player s/w (link provided earlier in this thread) on MeeGoPad and we will see what happens.
[LG G5 Accessories] 0TheRain0:
I think that "USB Packet" might actually be an i2c packet over a wire that's a part of the USB C spec. The DDC "Display Data Channel" signal I mentioned before. So might be easier to reverse engineer than a USB packet would.
[LG G5 Accessories] 5casper5:
del
[LG G5 Accessories] 0TheRain0:
So I took my goggles apart just to look around inside. Noticed these test pads on the main PCB, labelled GND, 5V, D-, D+ and B. So that looks like USB to me, but not sure what B is. These might just be some kind of ISP firmware update pads or something though. I might try to solder a USB A cable to them, plug it in to my computer and see what happens. Also here's a picture of the back side of the board just for info. Let me know if anyone wants a picture of something specific.
[LG G5 Accessories] 5casper5:
0TheRain0, yes, I wonder what will happen.
[LG G5 Accessories] knickerblogger:
Does my $75 solution work better LG G4 with the Oneplus loop VR?
[LG G5 Accessories] yamate55:
I would love to use these on a plane/train with a GPD win
[LG G5 Accessories] snap3D:
I received a MeeGoPad T09 micro-computer. It's one of those very few models that has native USB-C interface and runs Win10 OS. So, after attaching it to HDMI TV, I also plugged LG glasses into it. Sure enough, MeeGoPad reported the second display of Toshiba type (must be a Toshiba chip inside LG), as long as I kept covered proximity sensor on LG. I set MeeGoPad to duplicate displays (it's much easier to control the screen content this way (because later LG show the same in split vertical). But so far LG remained dark. So, I installed that special VR player s/w on MeeGoPad (mentioned here earlier).

As soon as LG specific tracker was selected in that VR player, the LG glasses lit up and they remained active even after special VR player was closed/terminated, as long as then proximity sensor remains covered.

I prepared two of my own 3D photos in that vertical split format. Turns out, such format is exactly the same as TriDelta-Top-to-Top format, which SPM already supports as 3D input. My gosh, how much nicer my photos look in those LG glasses, when you compare the viewed content shown by LG G5 phone from its fuzzy looking VR defaults. Now if only we could get SPM TriDelta TT output support as well. How difficult would it be to get it implemented? After all it's already there as an input!!!

Yes, I can see a bit of screen-door effect, but it's faint enough to not to disturb me. The big benefit of those LG glasses is that they are very lightweight and comfortable, much nicer to wear than those dive-mask style cumbersome VR headsets.

So, the experiment is a full success. We can use those LG glasses for our own 3D VR content viewing on the off-the-shelf micro-PC ... but first we need to get SPM or other s/w to on the fly convert MPOs to TriDelta TT output format.
[LG G5 Accessories] 5casper5:
snap3D, it would be interesting to know whether it will work through usb 3.0 (type c to usb 3.0 adapter).

The device (tracker) did not ask for any drivers? Recognized as a universal device?
[LG G5 Accessories] snap3D:
> it would be interesting to know whether it will work through usb 3.0 (type c to usb 3.0 adapter).

I was thinking about the same, but I can't find anywhere the adapter for USB-C female to USB-3.0 male (all adapters that I saw so far are reversed; everybody wants to use old USB-3.0 peripherals with new USB-C interface, not the opposite). I also doubt that USB-3.0 standard supports DisplayPort-over-USB protocol (which is present in USB-C specs).

> The device (tracker) did not ask for any drivers? Recognized as a universal device?

As soon as you plugin the glasses into USB-C interface on micro-PC (and keep the proximity sensor covered all the time), the Win OS automatically detects an external display of 1440x960 resolution. No specific s/w drivers are needed for that. The problem is that LG glasses remain dark. To kick the glasses started, special VR player s/w package needs to be installed and specific tracker format must be selected from VR player pull-down menu. That lights up the LCD in the glasses and also changes the image orientation into dual top-to-top vertical format (the same exact format was used by TriDelta 3D lens adapter during negative/slide film cameras era). So yes, we need that special piece of VR player s/w to get any light coming out of LG glasses (but that most likely is a simple single command that could be sent by any simple script; we just need to know what it is).
[LG G5 Accessories] marian_86:
Hi all, and thanks to alanma75 for plugging it in to the NUC.

That was the reason for me to buy one of the "worst 3d Glasses", even if i don't own an USB-Type-C equipped PC (yet).

Thanks 0TheRain0 for posting the pictures of the main board.

If you're in a hurry and don't want to read all

Spoiler content hidden.
[LG G5 Accessories] Supportit:
Hi, i am also trying to make these glasses to work with my Samsung Galaxy S8+ Smartphone,

i decompiled the original Android app and it seems pretty easy, the "Enable Command" is Just a Simple "VR App Start" you can send it to the usb receive endpoint of the glasses but unfortunatly right now it does not work completly for me, i can see all the messages with my own app that are coming from the glasses but i cannot send someting here are some examples of the received date:

event.value.signals(4), now sleep mode (1)

Set_Earjack_Remove

MAX98091_HEADSET_Off >> END

Power_SleepMode: now sleep mode(2)

INPUT_EVENT_EARJACK_REMOVE

If i cover the proximity sensor i get these messages:

Proximity NEAR

Power_Task: proxi_value = 0

Proximity FAR

Power_Task: proxi_value = 5

as you can see it is just plain text, there is also much more junk but i think that this is the head tracker that looks like this:

E_ﾋﾺ￢￀;￵tﾋ:f￦￈=ﾚ)ￂ﾿ￍAￖﾛﾖ

E_ﾋﾺﾻￋﾋ:￵tﾋ:ffﾰ=3ￛ￁﾿3<Aﾻ-ﾣﾖ

E_ﾋﾺﾻￋﾋ:￵tﾋ:ffﾰ=3ￛ￁﾿

E_ﾋﾺXﾠﾋﾺV&ﾶﾚ﾿=ﾚ)ￂ﾿ￍOAﾓￓﾱﾖ

E_ﾋﾺXﾠﾋﾺV&ﾶffﾰ=ﾚ)ￂ﾿fcAﾳ!ﾹﾖ

ﾧﾊﾻ[ﾋ-5￵tﾋ:ﾚﾙﾦ=

in the app is also a firmware file for the glasses if you decompile it you can see every command that can be used to send here are also some examples:

getDebugInfo

getAATResult

Accel On

Accel Off

Accel Cal

Accel Selftest

Accel Get XYZ

Gyro On

Gyro Off

Gyro Cal

Gyro Selftest

Gyro Get XYZ

Compass On

Compass Off

Compass Get XYZ

Proximity On

Proximity Off

Proximity Cal

Proximity Get Data

Proximity Get Crosstalk'

Proximity Set Regi

Proximity Get Regi

isDisplayReady

Reboot

Set Brightness

Set Mode

Set Backlight Control

Set LCD Pattern Test

R1 Shutdown

VR App Start

Sleep Disable

Read MiniOS Result

Write Motion Result

Write Proximity Result

Write Key Result

Write Earphone Result

Write HDMI Result

Write LCD Result

Write Reset Result
[LG G5 Accessories] marian_86:
Very interesting.

The only Type-C Device i own is my Huawei Nova (not rooted).

I already tried to install those LG apps, but none worked with the glasses.

I also don't know if my Device is capable to provide Video out over USB-C.

Can you provide your Test-App?
[LG G5 Accessories] Supportit:
The app is very buggy at the moment and is still not working to output a picture, if i connect the glasses without any app to my phone i get a toast message that says HDMI connected, if you get this message it will work with your phone, if not it is possible that it works and just dont shows the message.

I will make the app puplic when it works
[LG G5 Accessories] Supportit:
So i am a little bit further in to it now,

The test app is still not working but i made another app to update the firmware on the vr goggles.

I made a new thread for it because it is more android related than this topic

https://xdaforums.com/lg-g5/accessories/update-lg-vr360-goggles-phone-t3777892
[LG G5 Accessories] Supportit:
Sorry for repost.

I just found another way of updating the firmware on the goggles, this time with a windows pc

STM Provides an DFUse Programm that you can get here: http://www.st.com/en/development-tools/stsw-stm32080.html

with this program you can get the current firmware from the goggles and also you can upload the new firmware to it, to get the newest firmware you need to take it out of the android app vr manager from lg.

The only problem is that you have to open the goggles and bridge the test point pin B and 5V to bring the Goggles in the DFU mode from STM, the LG DFU mode does not work this time, while pluging it in.

the B pin is the Boot0 pin of the STM32F411 on the mainbard in the googles .

After that your Pc should recognise a new device you must install the driver from DFUse called STM in Dfu Mode.

Maybe someone has an old firmware on the goggles and can read it out and upload it somewhere i would like to take a look inside of it.

With this information it is also possible to write a whole new firmware for the Google because we have always the fallback and can restore Original Firmware.

STM is providing a very nice programming Option

In the DFUse Programm is also an application called "DFU file manager" with this you are able to pack or unpack a dfu file to bin, hex, or S19 files. this should be easier to decompile.
[LG G5 Accessories] marian_86:
Thanks for the Informations.

Too bad that i already upgraded my firmware. I also can't find an old VR-Manager App version for download.

If we are lucky a Friend of mine will also buy a Headset.

I think he will also buy a brand new one, then i can download the old Firmware.

I'll keep you up to date.
[LG G5 Accessories] Supportit:
Thank you for that, i already bought another goggles and they where with the old firmware 10a i think this is the first one, i am getting deeper and deeper into the goggles :D

Here i found some nice information about the HDMI and Displayport in the goggle, theoretical it should be possible to make an displayport to usb-c cable to use it as a monitor without the 100$ adapter.

http://www.pieeco.com/pdf/2016arvr_guigusm.pdf

The biggest problem i have right now is that my Samsung S8+ and my Samsung S9+ sees the Goggles only as one 640x480 display and not the right resolution, there are even no other display modes in /sys/class/graphics/fb01/modes, even with the enabled goggles i only have back light without a picture.
[LG G5 Accessories] marian_86:
Interesting Information.

I already looked up all the IC and USB-C specs/pinouts and hacked together a USB2.0 to USB-C cable.

As far as i understand the spec-sheets from VESA , i think it should be possible to add a Displayport connection to my adapter.

Im not sure if it will detect the googles because i did not find any information on the HPD (Hot-Plug-Detect) ...yet. But i will just try to ghetto-solder random wires together and hope for the best.

I'll let you know...
[LG G5 Accessories] alakimaki:
It should certainly be possible to drive these goggles with displayport graphics card. My wild guess would be that it is stm32f4 that enables backlight since it handles usb seperate from displayport and that would make power saving easier to do maybe. https://en.wikipedia.org/wiki/DisplayPort#USB-C pretty much spells out the wiring. The only problem one could run into is if this stm32f4 that uses usb shares some of the pins with displayport and messes something up. Then again one could program stm32f4 to not use usb if nothing else helps. I guess easiest way to do the wiring would be "type C Connector 24 Pins Female pcb" found on ali.

It should be possible to capture usb data with https://sourceforge.net/projects/usbsnoop/ but as it is somewhat old program it might not work anymore. Using VirtualBox and usbmon on lunix is another option
[LG G5 Accessories] alakimaki:
Looking at

https://www.vesa.org/wp-content/upl...ys-DisplayPort-Alternate-Mode-2016-final4.pdf and https://www.displayport.org/wp-content/uploads/2014/09/DP-Alt-Mode-Overview-for-VESA-v1.pdf there is a way for legacy displayport(both source and sink) device to work with usb type c but there will be no usb. It does not collide with the usb 2.0 pins though so could still work. The full shabang uses something like

PS8740. So display port AUX+ and AUX- connect to SBU1 SBU2 on usb type c(https://training.ti.com/sites/default/files/docs/USB_3.1_Type-C_solutions_TIpart_0.pdf) but there needs to be bidirectional level converter(https://electronics.stackexchange.com/questions/180699/disabling-displayport-hot-plug-detect). I am not sure what that ID block is... It also says that DP HPD signal is embedded into USB PD message. I would not be surprised if some extension to lunix kernel would be able to do this negotiation with usb 3.1 but that is probably quite difficult to do. https://www.embedded.com/design/pow...ower-delivery-101-----Power-delivery-protocol saysit is 300khz line so one could use microcontroller to enter this alternative mode. Yeah, so close...
[LG G5 Accessories] marian_86:
Hi alakimaki, thanks for the links.

Damn, i really need up to date Equipment for this kind of hacking :(

(still no DP source or USB-C host)

I found an interesting Document wich describes the DP-Alt Mode negotiation and and the HPD part over USB-PD Protocol.

http://www.st.com/content/ccc/resou...df/jcr:content/translations/en.DM00479305.pdf

I also probed all Pins in the Connector from the googles.

Right now there are two options:

1. Ghetto-Soldering an Adapter DP + USB2 => USB-C (and pray)

2. Recording and analyzing the Handshake with logic analyzer, do some uC magic and emulate the Handshake + HPD

From my experience, Devs are cooking with water and often they don't even use hot water... So maybe option 1 will work.
[LG G5 Accessories] alakimaki:
I would not be very hopeful it working just by soldering the wires. It kind of seems that usb power delivery is there also to agree on signal levels and devices that would not comply with usb power delivery could be hazardous to other devices.

Cypress seems to have such controllers that can do the job http://www.cypress.com/products/ez-pd-cmg1-usb-c-emca-controller . There are reference design for CCG1/2/3 .

There are usb type c to display port cables on aliexp that have this box at the displayport side which contain the chip. "ICZI USB 3.1 Type C to DisplayPort Adapter" shows renders with the chip(48QFN). Perhaps this actually is cypress chip inside and you can reprogram it via usb or i2c. "FOINNEX usb-c to displayport cable" also claims cypress chip.

I am still hesitating a bit still because I would have to upgrade my video card to display port.
[LG G5 Accessories] alakimaki:
I found HP type c to displayport adapter on discount so I though to have a look.

I melted the plastic case corners with soldering iron and found metal box with STM32F072 inside which suggest it is based on http://www.st.com/en/evaluation-tools/steval-usbc2dp.html reference design. There are 9 test points on board so pretty sure there is SWI on board to program it somehow.

It seems that part of the software is at https://github.com/st-one/X-CUBE-USB-PD but actual sources for usb c to displayport are still missing.

I still have no idea whether one would actually need to update firmware on either st or cypress chips for it to work in reverse direction. Most of the docs seem to imply that usb c is your pc and dp is monitor.

This EZ-PD Configuration Utility(https://www.youtube.com/watch?v=WVjqEb4bGgQ) which you can download from cypress site sure looks nice. I suppose one would at least have to add source PDO or else the goggles might be confused where it is getting power from.

There are actually few type c female to female adapters on aliexp so one could plug in that directly. You would have to open the thing and use the solder pads to power it up though.