cancel
Showing results for 
Search instead for 
Did you mean: 

Renderdoc Meta Fork 44.1 - Failed to install Android remote server

SomethingMauser
Honored Guest

Hi, I've been having this really frustrating issue with Renderdoc Meta Fork (previously called Renderdoc for Oculus).

When selecting replay context (both Oculus Quest 2 and Oculus Quest 2 Profiling Mode) I'm getting a following error message: "Failed to install Android remote server for unknown reasons: Couldn't install APK(s). stderr: . lease check that your device is connected and accessible to adb, and that installing APKs over USB is allowed."

 

Of course I have adb configured and Quest 2 in developer mode. I am able to install any apk's and when using regular Renderdoc (not the oculus-specific fork) the replay context attaches successfully.

 

I've been able to succesfully connect with previous version of this tool (v40.1) in the past. However, when I downgraded today, even the old version showed the same error.

 

I have no idea why this issue magically popped up, but I would be really glad if something could be done about this. Here's the renderdoc log if this is of any importance:

 

RDOC 008684: [13:09:16] core.cpp( 497) - Log - RenderDoc v1.22 Windows 64-bit Release (RENDERDOC_FOR_META_QUEST) loaded in replay application
RDOC 008684: [13:09:16] core.cpp( 500) - Log - Packaged for RenderDoc Meta Fork (44.1) - www.oculus.com
RDOC 008684: [13:09:16] core.cpp( 508) - Warning - Couldn't open socket for target control
RDOC 008684: [13:09:16] settings.cpp( 460) - Log - Loading config from C:\Users\<user>\AppData\Roaming\RenderDocMetaFork\renderdoc.conf
QTRD 008684: [13:09:16] qrenderdoc.cpp( 169) - Log - QRenderDoc initialising.
QTRD 008684: [13:09:16] mainwindow.cpp( 270) - Log - Disabling error reports due to invalid commit hash
QTRD 008684: [13:09:16] mainwindow.cpp(3202) - Log - Couldn't load layout from "C:/Users/<user>/AppData/Roaming/QRenderDocMetaFork/DefaultLayout.config" "Nie można odnaleźć określonego pliku."
RDOC 008684: [13:09:16] android_tools.cpp( 347) - Log - Initialising adb using 'C:\Program Files\Android\platform-tools\adb.exe'
QTRD 008684: [13:09:16] toolwindowmanager.cpp(1548) - Warning - area parameter ignored for this type
RDOC 008684: [13:09:16] d3d11_replay.cpp( 142) - Log - Running replay on nVidia / NVIDIA GeForce RTX 3060 31.0.15.1694
RDOC 008684: [13:09:17] android_tools.cpp( 321) - Log - COMMAND: C:\Program Files\Android\platform-tools\adb.exe '-s 1WMHHA6DBG1454 root'
RDOC 008684: [13:09:17] android_tools.cpp( 321) - Log - COMMAND: C:\Program Files\Android\platform-tools\adb.exe '-s 1WMHHA6DBG1454 shell getprop ro.product.manufacturer'
RDOC 008684: [13:09:17] android_tools.cpp( 321) - Log - COMMAND: C:\Program Files\Android\platform-tools\adb.exe '-s 1WMHHA6DBG1454 shell getprop ro.product.model'
RDOC 008684: [13:09:17] android_tools.cpp( 321) - Log - COMMAND: C:\Program Files\Android\platform-tools\adb.exe '-s 1WMHHA6DBG1454 shell getprop ro.build.version.sdk'
RDOC 008684: [13:09:17] android_tools.cpp( 321) - Log - COMMAND: C:\Program Files\Android\platform-tools\adb.exe '-s 1WMHHA6DBG1454 shell "getprop ro.product.manufacturer"'
RDOC 008684: [13:09:17] streamio.cpp( 428) - Warning - Socket unexpectedly disconnected during reading
RDOC 008684: [13:09:17] remote_server.cpp(1211) - Warning - Didn't get proper handshake
RDOC 008684: [13:09:17] streamio.cpp( 428) - Warning - Socket unexpectedly disconnected during reading
RDOC 008684: [13:09:17] remote_server.cpp(1211) - Warning - Didn't get proper handshake
RDOC 008684: [13:09:18] d3d12_sdk_select.cpp( 370) - Log - System D3D12 runtime is version 2
RDOC 008684: [13:09:18] d3d12_replay.cpp( 111) - Log - Running replay on nVidia / NVIDIA GeForce RTX 3060 31.0.15.1694
RDOC 008684: [13:09:18] vk_replay.cpp(4711) - Log - Created device.
RDOC 008684: [13:09:24] streamio.cpp( 428) - Warning - Socket unexpectedly disconnected during reading
RDOC 008684: [13:09:24] remote_server.cpp(1211) - Warning - Didn't get proper handshake
RDOC 008684: [13:09:24] android_tools.cpp( 321) - Log - COMMAND: C:\Program Files\Android\platform-tools\adb.exe '-s 1WMHHA6DBG1454 shell getprop ro.build.version.sdk'
RDOC 008684: [13:09:24] android_tools.cpp( 321) - Log - COMMAND: C:\Program Files\Android\platform-tools\adb.exe '-s 1WMHHA6DBG1454 shell "getprop ro.product.manufacturer"'
RDOC 008684: [13:09:24] android_tools.cpp( 321) - Log - COMMAND: C:\Program Files\Android\platform-tools\adb.exe '-s 1WMHHA6DBG1454 shell pm list packages com.oculus.renderdoccmd'
RDOC 008684: [13:09:24] android_tools.cpp( 321) - Log - COMMAND: C:\Program Files\Android\platform-tools\adb.exe '-s 1WMHHA6DBG1454 shell getprop ro.product.cpu.abi'
RDOC 008684: [13:09:24] android.cpp(1187) - Log - Starting RenderDoc server, supported ABIs:
RDOC 008684: [13:09:24] android.cpp(1189) - Log - - armeabi_v7a
RDOC 008684: [13:09:24] android.cpp(1189) - Log - - arm64_v8a
RDOC 008684: [13:09:24] android_tools.cpp( 321) - Log - COMMAND: C:\Program Files\Android\platform-tools\adb.exe '-s 1WMHHA6DBG1454 shell getprop ro.product.cpu.abi'
RDOC 008684: [13:09:24] android.cpp( 480) - Log - Checking for server APK in C:\Program Files\RenderDocForMetaQuest/plugins/android/
RDOC 008684: [13:09:24] android.cpp( 487) - Log - APKs found: C:\Program Files\RenderDocForMetaQuest/plugins/android/
RDOC 008684: [13:09:24] android_tools.cpp( 321) - Log - COMMAND: C:\Program Files\Android\platform-tools\adb.exe '-s 1WMHHA6DBG1454 shell getprop ro.build.version.sdk'
RDOC 008684: [13:09:24] android_tools.cpp( 321) - Log - COMMAND: C:\Program Files\Android\platform-tools\adb.exe '-s 1WMHHA6DBG1454 install -r -g "C:\Program Files\RenderDocForMetaQuest/plugins/android/com.oculus.renderdoccmd.arm32.apk"'
RDOC 008684: [13:09:29] android.cpp( 538) - Log - Installed package 'C:\Program Files\RenderDocForMetaQuest/plugins/android/com.oculus.renderdoccmd.arm32.apk', checking for success...
RDOC 008684: [13:09:29] android.cpp( 374) - Log - Checking installed version of com.oculus.renderdoccmd.arm32 on 1WMHHA6DBG1454
RDOC 008684: [13:09:29] android_tools.cpp( 321) - Log - COMMAND: C:\Program Files\Android\platform-tools\adb.exe '-s 1WMHHA6DBG1454 shell pm dump com.oculus.renderdoccmd.arm32'
RDOC 008684: [13:09:29] android.cpp( 416) - Log - Installed server version (122:441) is compatible
RDOC 008684: [13:09:29] android_tools.cpp( 321) - Log - COMMAND: C:\Program Files\Android\platform-tools\adb.exe '-s 1WMHHA6DBG1454 shell getprop ro.build.version.sdk'
RDOC 008684: [13:09:30] android_tools.cpp( 321) - Log - COMMAND: C:\Program Files\Android\platform-tools\adb.exe '-s 1WMHHA6DBG1454 install -r -g "C:\Program Files\RenderDocForMetaQuest/plugins/android/com.oculus.renderdoccmd.arm64.apk"'
RDOC 008684: [13:09:34] android.cpp( 538) - Log - Installed package 'C:\Program Files\RenderDocForMetaQuest/plugins/android/com.oculus.renderdoccmd.arm64.apk', checking for success...
RDOC 008684: [13:09:34] android.cpp( 374) - Log - Checking installed version of com.oculus.renderdoccmd.arm64 on 1WMHHA6DBG1454
RDOC 008684: [13:09:34] android_tools.cpp( 321) - Log - COMMAND: C:\Program Files\Android\platform-tools\adb.exe '-s 1WMHHA6DBG1454 shell pm dump com.oculus.renderdoccmd.arm64'
RDOC 008684: [13:09:35] android.cpp( 416) - Log - Installed server version (122:441) is compatible
RDOC 008684: [13:09:35] android_tools.cpp( 321) - Log - COMMAND: C:\Program Files\Android\platform-tools\adb.exe '-s 1WMHHA6DBG1454 shell pm list packages com.oculus.renderdoccmd'
RDOC 008684: [13:09:35] android.cpp( 573) - Error - Couldn't install APK(s). stderr:
RDOC 008684: [13:09:35] android.cpp(1216) - Error - Failed to install RenderDoc server app

 

6 REPLIES 6

Ianos_07
Protege

@SomethingMauser have you found anything. I am able to connect with 44.1 but capture button is not working

Ianos_07
Protege

Seems like regressing to 30.8 fixed it for me

 

SomethingMauser
Honored Guest

There's something really wrong with renderdoc captures right now on quest 2.

I am able to get the capture to work after like 3-5 attempts to connect. The error mentioned above magically disappeared, but now the connection to "Profiling Mode" is very unstable and problematic.

It's a shame because Renderdoc was my go-to tool for profiling.

It also seems that reliability of capture is dependent on headset software version, but I am unable to confirm this for sure.

I'll try your solution of regressing to 30.8 next week, but I was hoping to make use of the new features in 44.1

Maybe our only option is to wait until the next Renderdoc Meta Fork update and hoping they will notice this problem and fix it 😔

MJO_Unity
Honored Guest

SomethingMauster - I had a similar problem and took me a while to fix it and get Meta Fork v44.1 working with my Quest, but it is now working and taking captures.  

Not sure if it will be the same for you, but I did the following:

1. I did was a complete uninstall of RenderDoc for Oculus and/or Renderdoc for Meta on my PC.

2. Did a reinstall of the latest version of Renderdoc for Meta on my PC.


3. I connected my Quest, opened a commmand prompt window and called   adb devices to make sure I could see my Quest and it was the only device connected.

4. I ran the following commands:

adb uninstall com.oculus.renderdoccmd.arm32
(You should receive a Success response here)

adb uninstall com.oculus.renderdoccmd.arm32
(You should receive a Success response here)

These commands are to ensure that the renderdoc apk software was uninstalled on the device.
I had previously tried to uninstall the Renderdoc software in the headset, and it looked like it had gone but it somehow still remained on the Quest 2 and that was the cause of the problem for me. 

5. Now try again to make your connection to the Quest through RenderDoc Meta Fork.

I had been getting very similar error messages to you, so I hope this helps you solve your issue. 

BiomedKUL
Explorer

Your solution solved the issue but there's an error in your answer.

You need to apply the following 2 commands:

adb uninstall com.oculus.renderdoccmd.arm32
(You should receive a Success response here)

adb uninstall com.oculus.renderdoccmd.arm64
(You should receive a Success response here)

I then removed my old renderdoc installation (windows)
The, I downloaded (current v55) and installed it.
https://developer.oculus.com/downloads/package/renderdoc-oculus/

Thanks Biomed, great spot. I think I copied that first command but looks like I forgot to change the second command to 64 afterwards 🙂  Glad you got that solved - it's certainly a frustrating issue.  Best of luck with your project 🙂