As not possible on Xiaomi Mi A3 stock ROM.
Would help [Benjamin_Loison/WhatsApp/issues/15](https://codeberg.org/Benjamin_Loison/WhatsApp/issues/15).
+4
scrollscreenshot has 719 stars and last commit was 10 years ago.
With Google flavor long press of power button results in voice assistant, see [Benjamin_Loison/Voice_assistant/issues/7#issue-1475654](https://codeberg.org/Benjamin_Loison/Voice_assistant/issues/7#issue-1475654).
DuckDuckGo and Google search *adb scrolling screenshot*.
[The Stack Overflow question 72804636](https://stackoverflow.com/q/72804636) and [the Android Stack Exchange question 35012](https://android.stackexchange.com/q/35012) raise this question, the latter has answers but nothing absolutely clean to me.
[scrollscreenshot](https://github.com/PGSSoft/scrollscreenshot) has 719 stars and last commit was 10 years ago.
usage: screencap [-ahp] [-d display-id] [FILENAME]
-h: this message
-a: captures all the active displays. This appends an integer postfix to the FILENAME.
e.g., FILENAME_0.png, FILENAME_1.png. If both -a and -d are given, it ignores -d.
-d: specify the display ID to capture (If the id is not given, it defaults to 4619827259835644672)
see "dumpsys SurfaceFlinger --display-id" for valid display IDs.
-p: outputs in png format.
--hint-for-seamless If set will use the hintForSeamless path in SF
If FILENAME ends with .png it will be saved as a png.
If FILENAME is not given, the results will be printed to stdout.
```bash
adb exec-out screencap --help
```
<details>
<summary>Output:</summary>
```
usage: screencap [-ahp] [-d display-id] [FILENAME]
-h: this message
-a: captures all the active displays. This appends an integer postfix to the FILENAME.
e.g., FILENAME_0.png, FILENAME_1.png. If both -a and -d are given, it ignores -d.
-d: specify the display ID to capture (If the id is not given, it defaults to 4619827259835644672)
see "dumpsys SurfaceFlinger --display-id" for valid display IDs.
-p: outputs in png format.
--hint-for-seamless If set will use the hintForSeamless path in SF
If FILENAME ends with .png it will be saved as a png.
If FILENAME is not given, the results will be printed to stdout.
```
</details>
does not have the scrolling aspect, but maybe the Safety app Features tab does not support it.
```bash
adb exec-out screencap --hint-for-seamless -p > test.png
```
does not have the scrolling aspect, but maybe the *Safety* app *Features* tab does not support it.
DuckDuckGo and Google search Linux grep to variables and Linux grep groups to variables.
```bash
xmlstarlet select --template --value-of '//node[@text="Screenshot"]/@bounds' input.xml
```
```
[712,415][808,434]
```
DuckDuckGo and Google search *Linux grep to variables* and *Linux grep groups to variables*.
REGEX="\[([0-9]+),([0-9]+)\]\[([0-9]+),([0-9]+)\]"bounds='[12,34][56,78]'if[[$bounds=~ $REGEX]]thenecho$BASH_REMATCHfor v in "${BASH_REMATCH[@]}"doecho"|$v|"doneecho"1:|${BASH_REMATCH[1]}|"echo"2:|${BASH_REMATCH[2]}|"echo"3:|${BASH_REMATCH[3]}|"echo"4:|${BASH_REMATCH[4]}|"fi
`\d` and `\\d` do not work in the following.
[The Stack Overflow answer 1892107](https://stackoverflow.com/a/1892107) helps.
<details>
<summary>Bash script:</summary>
```bash
REGEX="\[([0-9]+),([0-9]+)\]\[([0-9]+),([0-9]+)\]"
bounds='[12,34][56,78]'
if [[ $bounds =~ $REGEX ]]
then
echo $BASH_REMATCH
for v in "${BASH_REMATCH[@]}"
do
echo "|$v|"
done
echo "1:|${BASH_REMATCH[1]}|"
echo "2:|${BASH_REMATCH[2]}|"
echo "3:|${BASH_REMATCH[3]}|"
echo "4:|${BASH_REMATCH[4]}|"
fi
```
</details>
<details>
<summary>Output:</summary>
```
[12,34][56,78]
|[12,34][56,78]|
|12|
|34|
|56|
|78|
1:|12|
2:|34|
3:|56|
4:|78|
```
</details>
get_ui results in ERROR: could not get idle state. on my Debian 13 GNOME laptop Virtual Machine Manager LineageOS (trust) virtual machine:
Left icon results in:
does not help.
`get_ui` results in `ERROR: could not get idle state.` on my Debian 13 GNOME laptop Virtual Machine Manager *LineageOS (trust)* virtual machine:


Left icon results in:

does not help.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
As not possible on Xiaomi Mi A3 stock ROM.
Would help Benjamin_Loison/WhatsApp/issues/15.
+4
Related to Benjamin-Loison/android/issues/59#issuecomment-2629144502.
With Google flavor long press of power button results in voice assistant, see Benjamin_Loison/Voice_assistant/issues/7#issue-1475654.
DuckDuckGo and Google search adb scrolling screenshot.
The Stack Overflow question 72804636 and the Android Stack Exchange question 35012 raise this question, the latter has answers but nothing absolutely clean to me.
scrollscreenshot has 719 stars and last commit was 10 years ago.
Output:
does not have the scrolling aspect, but maybe the Safety app Features tab does not support it.
Should investigate https://www.reddit.com/r/NothingTech/comments/191dix2/how_to_take_scrolling_screenshot/
Related to Benjamin_Loison/Backup_Android_apps/issues/26.
Related to Benjamin_Loison/One_UI/issues/2.
does not return anything and (un)locks the screen.
Output:
does not return anything, but works quite as wanted:
Related to Benjamin_Loison/YouTube/issues/1.
Related to Benjamin-Loison/android/issues/17.
Benjamin-Loison/android/issues/310 would help.
DuckDuckGo and Google search Linux grep to variables and Linux grep groups to variables.
\dand\\ddo not work in the following.The Stack Overflow answer 1892107 helps.
Bash script:
Output:
DuckDuckGo search Bash function return.
The Stack Overflow answer 17336953 helps.
~/.bashrc:adb pullinstead ofinotifywaitends up with the screenshot taken without scrolling.I edited above
take_scrolling_screenshotto work fine with spaces in file name.Could delete the associated screenshot(s) on the device.
Let us prefer clicking on Capture more text middle than the associated symbol.
In Shelter in-app settings:
UI dump where expect Capture more seems to contain it anyway:
but it does not seem to actually show it and work as wanted.
#18 may help.
get_uiresults inERROR: could not get idle state.on my Debian 13 GNOME laptop Virtual Machine Manager LineageOS (trust) virtual machine:Left icon results in:
does not help.