Posts by jjtech@infosec.exchange
 (DIR) Post #ATvnpw44nEtZUMhjur by jjtech@infosec.exchange
       2023-03-22T19:55:50Z
       
       1 likes, 0 repeats
       
       @siguza @rotopenguin @zhuowei This is the best I could convince it to respond with...
       
 (DIR) Post #AUpBG9iw1Gh4P6O5j6 by jjtech@infosec.exchange
       2023-04-19T22:49:50Z
       
       0 likes, 0 repeats
       
       @jschauma (I just had to look it up, here's the explanation I found: https://stackoverflow.com/a/7576975)
       
 (DIR) Post #AW1wZnaHTjj1t6ycro by jjtech@infosec.exchange
       2023-05-26T00:39:07Z
       
       0 likes, 0 repeats
       
       @simon ... if you just got it, how is it so dirty already? And how can you stand not dusting your laptop?!
       
 (DIR) Post #AWvvTG9uIy1BuuZf72 by jjtech@infosec.exchange
       2023-06-22T00:50:37Z
       
       0 likes, 0 repeats
       
       @zhuowei Do you think it would be possible to plug in 3DOF tracking into the simulator? and perhaps get it to output in 3D SBS?
       
 (DIR) Post #AWvx990NOOWXqYeUzY by jjtech@infosec.exchange
       2023-06-22T00:54:21Z
       
       1 likes, 0 repeats
       
       @zhuowei @ShinyQuagsire I only have a #NrealAir, but it would be especially cool if the background was just black, since then the transparent OLED would pass through without the fancy cameras (though obviously worse, but also $3000 cheaper)
       
 (DIR) Post #AWxyWsM1RLZZQQZoZs by jjtech@infosec.exchange
       2023-06-22T18:35:01Z
       
       0 likes, 0 repeats
       
       @zhuowei Any luck yet? I think that the way to do it might be in the xrOS .simdeviceui? I'm not having great luck with it because I'm bad with Swift stuff, but I'm seeing all the interactions (hover, orbit, etc)...and it seems to be interacting with a standard RealityKit CameraPerspective somehow hooked into the simulator?
       
 (DIR) Post #AWxyWuGQL8HbLdyN84 by jjtech@infosec.exchange
       2023-06-22T19:42:09Z
       
       0 likes, 0 repeats
       
       @zhuowei Well, I tried just replacing the .simdeviceui with one I compiled, but ofc Library Validation is in my way...Not sure what the cleanest way around it is, either resigning the simulator with the disable library validation entitlement or see if I can somehow create something to patch it in at runtime...EDIT: Just realized that sudo defaults write /Library/Preferences/com.apple.security.libraryvalidation.plist DisableLibraryValidation -bool true still works, for some reason I thought that was removed. Yay!
       
 (DIR) Post #AX0APdcfOuCfTWb5IO by jjtech@infosec.exchange
       2023-06-23T00:59:22Z
       
       0 likes, 0 repeats
       
       @ShinyQuagsire Yeah, I figured that part out. When I try and replace it, I now get an error like this...Failed to load simdeviceui bundle for device SimDevice : Apple Vision Pro (E6C5AC55-1A25-40D7-ABBD-1799DF149581) : state={ Booted } deviceType={ com.apple.CoreSimulator.SimDeviceType.Apple-Vision-Pro: SimDeviceType : Apple Vision Pro (com.apple.CoreSimulator.SimDeviceType.Apple-Vision-Pro) } runtime={ com.apple.CoreSimulator.SimRuntime.xrOS-1-0: SimRuntime : visionOS 1.0 (1.0 - 21N5165g) - com.apple.CoreSimulator.SimRuntime.xrOS-1-0 }: The operation couldn’t be completed. (SimulatorKit.SimDeviceUserInterface.LoadError error 1.)Not sure how to debug it, "error 1" isn't very useful...
       
 (DIR) Post #AX0APeJYpQVxcYfL9c by jjtech@infosec.exchange
       2023-06-23T18:13:43Z
       
       0 likes, 1 repeats
       
       @ShinyQuagsire @zhuowei I now have https://github.com/JJTech0130/XRGyroControls loading! Now I need to actually implement functionality, but I at least know my functions are being called.(The Xcode project is a mess, as usual, so it probably won't build for anyone not on my machine...)
       
 (DIR) Post #AX4ev4sKNxRiIALOYi by jjtech@infosec.exchange
       2023-06-25T12:55:06Z
       
       0 likes, 0 repeats
       
       @keithahern @ShinyQuagsire @zhuowei Well, I'm making progress. I actually think I'm managing to send HID messages, though there isn't any reaction right now because the messages are nonsense.It's a bit slow since I barely understand SIMD stuff, and the poses do complicated math with it, but I think I should be able to get something that just resends pre-calculated messages soon enough.
       
 (DIR) Post #AX4ev5fFS4ZsjtESoK by jjtech@infosec.exchange
       2023-06-26T04:22:34Z
       
       0 likes, 1 repeats
       
       @keithahern @ShinyQuagsire @zhuowei Ok, definitely making progress. XRGyroController can now flip camera directions on a timer. I need to figure out the actual pose math, but for now it can replay   the final bytes and get it to go to that position!EDIT: WOW, I was dumb. All the complicated maths was irrelevant. Format is literally X, Y, Z, 1.0, Pitch, Yaw, Roll, 1.0EDIT2: :tada: XRGyroControls can now tell it to go to an arbitrary XYZPYR pose. Next step, the pointer.
       
 (DIR) Post #AXARBcpdfcMZpWqHb6 by jjtech@infosec.exchange
       2023-06-27T03:30:01Z
       
       0 likes, 0 repeats
       
       @keithahern @ShinyQuagsire @zhuowei so... making progress? dunno if you guys read the comments on my latest commit, but basically I got the sending of the manipulate HID command working, but I don't understand 3D maths enough to actually get it to work with a mouse cursor.Maybe it could directly be fed eye tracking data, but I don't have a headset with eye tracking.I guess tomorrow if nobody else does it I will watch a lot of YouTube until I understand the 3D stuff.......
       
 (DIR) Post #AXBnONrb1g51JwCsAS by jjtech@infosec.exchange
       2023-06-29T16:25:26Z
       
       0 likes, 0 repeats
       
       @zhuowei I mean I thought you were working on it so I left it alone lol
       
 (DIR) Post #AXCpkFF89RQO1Qj63M by jjtech@infosec.exchange
       2023-06-30T02:25:16Z
       
       0 likes, 1 repeats
       
       @zhuowei Uh, so... noticing in the IndigoHID stuff it's possible for it to send a "DigitalDial" event: is this related? In SimulatorKit there is a mention of "DigitalCrown" events too but xrOS doesn't use that, only DigitalDial
       
 (DIR) Post #AXI8l0c2tz1tr7K2pk by jjtech@infosec.exchange
       2023-07-02T17:36:23Z
       
       0 likes, 0 repeats
       
       @zhuowei Well, now I'm a bit conflicted at how to proceed. I was originally trying to use the original system as much as possible, so I made a proper .simdeviceui and .simdevicetype so that nothing is patched, you just select a different device type. So I could replace the entire .simruntime for XROS too... but hooking it seems way easier, especially if it doesn't require disabling SIP or library validation...
       
 (DIR) Post #AXI8l1R5qBrYPRCoOu by jjtech@infosec.exchange
       2023-07-02T17:55:08Z
       
       0 likes, 0 repeats
       
       @zhuowei also... can dyld interposing be done with Swift stuff?
       
 (DIR) Post #AcWMeSqfdgh4OyqHfk by jjtech@infosec.exchange
       2023-11-20T02:16:53Z
       
       0 likes, 0 repeats
       
       I just came up with the coolest trick for debugging system LaunchAgents, the ones that appear and disappear so fast you can't attach:cp /System/Library/LaunchAgents/com.apple.imtransferagent.plist ~/Library/LaunchAgentsOpen the plist in Xcode and add WaitForDebugger: YES to the root of the plistlaunchctl unload /System/Library/LaunchAgents/com.apple.imtransferagent.plistlaunchctl load ~/Library/LaunchAgents/com.apple.imtransferagent.plist(replace com.apple.imtransferagent with your LaunchAgent of choice)