+1 vote
by (170 points)

Hi. I'm creating an update system for rapidly updating the PUI version, OpenXR runtime and application on our Pico devices before sending them to customers.

I currently have a script that is able to install OpenXR, our app and transfer every additional file to the device in one go.

My problem is that I am not able to install the newest PUI from my script as I cannot obtain root access to push files in production builds.

Is there any way to bypass this? I would really like it if I could automatically update our headsets without individually connecting them to the internet and downloading each update separately.

Thank you.

adb response when trying to push update file and obtain root priviliges

1 Answer

0 votes
by (170 points)

I found an answer to this. It is possible. I was just using "\" in the destination path in the adb push command, when I should have been using "/". This made it request root access.

...