How to make screenshot from app runned on 4K Select stick?

Hello!

Formelly have a problem with LinearGradient. Looks like it always vertical (not see useAngle={true} angle={250} ).
So want to capture this behavior.
But how to make screenshot from app runned exactly on stick (not VVD - dont work in Ubuntu 22.04 - another problem)?
Try Appium but with no success.
Also this dont work:
vda shell screenshooter -r /data/screen.png
creating a buffer file for 8294400 B failed: Permission denied
error marshalling arguments for shoot (signature oo): null value passed for arg 1
Error marshalling request: Invalid argument

May be exist another correct method?

Hi @DJArty,

Thank you for your question about taking screenshots on the Fire TV 4K Select Stick.

The issue is that you’re using the wrong command. The correct tool for Vega devices is gwsi-tool-screenshooter, not screenshooter.

Solution:
Take screenshot : adb shell gwsi-tool-screenshooter /tmp/screenshot.png
Pull to your computer: adb pull /tmp/screenshot.png

This will capture a 4K screenshot from your device. Note that gwsi-tool-screenshooter only works on physical devices, not on Vega Virtual Device (VVD).

For more details, see the VDA Reference | Vega CLI Tools

Thanks for helping us improve the Vega platform.

Warm regards,
Aishwarya

Thank you!
So, maybe
vega exec vda shell gwsi-tool-screenshooter /tmp/screenshot.png
more relevant to use with Vega.
Just strange - search “screenshot vega” in Amazon Developer Documentation (exactly for Vega) give link to VDA Reference only at 3rd page, so dont found gwsi-tool-screenshooter info.

Hi @DJArty,

Good point! Yes, vega exec vda shell gwsi-tool-screenshooter /tmp/screenshot.png is the more Vega-native way to run it. Both approaches work, but vega exec is preferred when working within the Vega toolchain.

Noted on the discoverability issue, will pass it on to the respective team to take a look at this.

Thanks for the feedback!

Warm regards,
Aishwarya

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.