Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android documentation correction #2023

Open
solidpixel opened this issue Feb 14, 2025 · 0 comments
Open

Android documentation correction #2023

solidpixel opened this issue Feb 14, 2025 · 0 comments

Comments

@solidpixel
Copy link

solidpixel commented Feb 14, 2025

The current Android docs say:

If external storage cannot be used, internal storage may be used instead. While these locations require no additional permissions, they may require adb root access to retrieve the resulting capture files and/or copy them to a location that the replay tool can read.

You need root to adb pull from these locations, but there is a workaround to access files for any debuggable application by using adb exec-out to pipe to a local file.

adb exec-out run-as <package_name> cat <file_name> > <host_file>

Example code from Arm here:

https://github.com/ARM-software/libGPULayers/blob/d9a109499885d547ccf03f50a32df46c13117d63/lglpy/android/filesystem.py#L218

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant