googlevr / gvr-android-sdk

Google VR SDK for Android
http://developers.google.com/vr/android/
Other
3.28k stars 1.28k forks source link

Hooking into IPC between any App and VrCoreListenerService #575

Closed Harsh2098 closed 6 years ago

Harsh2098 commented 6 years ago
  1. Is it possible to intercept binder/IPC calls between any random VR app (which uses GVR-sdk) and the VrCoreListenerService?

  2. Are the calls/messages encrypted between app and the service? (Please, at least tell Yes/No)

I want to apply custom distortion to any VR app using GVR-sdk for my custom headset. Consider we have permissions and this is for development purpose.

sigmaxipi commented 6 years ago

In general, the Android Binder system doesn't let you intercept or forge calls without a rooted device.

If your headset is a standard Cardboard headset, you can force Daydream apps to run by skipping the compatibility check. This isn't a supported way of using custom headsets and may break in the future, but it should work for now.

Harsh2098 commented 6 years ago

Thanks !