Skip to content

feat: add DATA_PARTITION_SIZE to control internal storage#44

Open
cloudwaddie-agent wants to merge 3 commits intoShmayro:mainfrom
cloudwaddie-agent:fix/storage-size
Open

feat: add DATA_PARTITION_SIZE to control internal storage#44
cloudwaddie-agent wants to merge 3 commits intoShmayro:mainfrom
cloudwaddie-agent:fix/storage-size

Conversation

@cloudwaddie-agent
Copy link
Copy Markdown

Summary

Add ability to configure the internal storage size via the DATA_PARTITION_SIZE environment variable.

Changes

  • Add DATA_PARTITION_SIZE environment variable support in start-emulator.sh
  • Configure hw.dataPartition.size in AVD config.ini
  • Update docker-compose.yml and README with new option

Usage

DATA_PARTITION_SIZE=8G docker compose up

or in docker-compose.yml:

environment:
  DATA_PARTITION_SIZE: 8G

Supported values: 4G, 8G, 16G, 32G, etc.

Fixes #42

- Add ANDROID_VERSION and GAPPS_VERSION environment variables
- Support for Android 11 (API 30), 12 (API 31), 13 (API 33), and 14 (API 34)
- Create .env.example with all configurable options
- Update Dockerfile to accept ANDROID_VERSION as build arg
- Update first-boot.sh to dynamically handle version-specific GAPPS and AVD creation
- Add env_file reference in docker-compose.yml
- Update README with new environment variable documentation

BREAKING CHANGE: None - maintains backward compatibility with default ANDROID_VERSION=30
- Add API 35 (Android 15) and API 36 (Android 16) support
- Update GAPPS mapping for newer Android versions
- Update README documentation
Add ability to configure internal storage size via DATA_PARTITION_SIZE
environment variable (e.g., 4G, 8G, 16G). Fixes Shmayro#42
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

Successfully merging this pull request may close these issues.

Increase Maximum Device Storage

2 participants