# Fixing Android's 3-minute screen recording limitation

DevFeed: [Fixing Android's 3-minute screen recording limitation](<https://devfeed.tech/articles/fixing-android-s-3-minute-screen-recording-limitation-22886.md>)

Original publisher: [Read original article](<https://maestro.dev/blog/fixing-androids-3-minute-screen-recording-limitation>)

Author: Leland Takamine

Published: 2023-08-24T07:00:00Z

Content type: tutorial

Language: en

Sources: [mobile.dev - Medium](<https://devfeed.tech/sources/mobile-dev-medium.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [aosp](<https://devfeed.tech/topics/aosp.md>), [Code](<https://devfeed.tech/topics/code.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [FFmpeg (Fast Forward Moving Picture Experts Group)](<https://devfeed.tech/topics/ffmpeg.md>)

Tags: [adb](<https://devfeed.tech/tags/adb.md>), [android](<https://devfeed.tech/tags/android.md>), [aosp](<https://devfeed.tech/tags/aosp.md>), [code](<https://devfeed.tech/tags/code.md>), [ffmpeg](<https://devfeed.tech/tags/ffmpeg.md>), [tool](<https://devfeed.tech/tags/tool.md>), [video](<https://devfeed.tech/tags/video.md>)

## AI overview

The article explains how Maestro addressed Android ADB screen recording's 180-second limit for Maestro Cloud. After evaluating repeated recordings, source modification, scrcpy, and static linking, the team used binary rewriting to change the hardcoded maximum duration in the screenrecord binary.

## Source excerpt

How we used binary rewriting to remove the 3-minute screen recording limitation on Maestro Cloud