oculus-wireless-adb icon indicating copy to clipboard operation
oculus-wireless-adb copied to clipboard

How to prevent the libadb.so command from taking effect globally

Open cgapk123 opened this issue 1 year ago • 2 comments

Hi, I can call libadb.so to execute commands, how can I execute modification commands for a specific game? For example, I can execute adb shell setprop debug.oculus.textureHeight 3380 && adb shell setprop debug.oculus.textureWidth 3072 to modify the texture quality for the game com.beatgames.beatsaber, but it cannot be global and affect other games.

I know that Quest Games Optimizer can be effective for a specific game, but I don't know how it works.

cgapk123 avatar Aug 13 '24 16:08 cgapk123

Couldn't you save the default values, play Beat Saber with your custom values, and set the values back to default afterwards?

Also, looking at the commands, it doesn't look like it's possible to specify these modifications to a specific application, since it looks like you're changing a system-wide variable, but I could be wrong.

I believe you could find more of the help you're looking for on Android tinkering forums or Quest subreddit. I think the Quest subreddit also has a Discord, so if you have an account, you could check it out.

ShockedCoder avatar Oct 25 '24 14:10 ShockedCoder

Couldn't you save the default values, play Beat Saber with your custom values, and set the values back to default afterwards?

Also, looking at the commands, it doesn't look like it's possible to specify these modifications to a specific application, since it looks like you're changing a system-wide variable, but I could be wrong.

I believe you could find more of the help you're looking for on Android tinkering forums or Quest subreddit. I think the Quest subreddit also has a Discord, so if you have an account, you could check it out.

I've searched for a long time but there is no literature on this, I need to implement something like Quest Game Tuner and Quest Games Optimizer to perform texture optimization for individual games, but I don't know how to implement it and there is no open source information about it.

cgapk123 avatar Mar 14 '25 06:03 cgapk123