Skip to content

Lease an Android device that runs as a low-RAM device #484

Not planned

Description

@V3RON

The problem

An agent cannot lease an Android device that runs as a low-RAM device. Android changes its behaviour when ro.config.low_ram is true: ActivityManager.isLowRamDevice() returns true, background work and cached processes are limited, and some system features turn off. Apps branch on this. An agent that has to check how an app behaves on such a device has no way to get one from Simlock, and every device Simlock creates runs with standard memory tuning.

Who runs into this

Coding agents testing an app's low-memory paths: features turned off on low-RAM devices, background limits, process restarts. Teams whose users are on low-end Android phones.

What you would like to happen

  • A lease request can ask for a low-RAM device. It is Android only; the same request on iOS is rejected as a bad request.
  • It is a guarantee, not best effort: a worker that cannot make one rejects the request, and a gateway sends it only to workers that can.
  • Low-RAM is fixed for a device's life, because Android reads it only at boot. Low-RAM devices have their own pool and are never handed to a request that did not ask for one.
  • The lease and status report that the device is low-RAM.
  • Warm-pool targets can name it.
  • It is separate from the device mode (slim or full).

Anything else

How to make the device low-RAM is open. Checked on an M3 Pro with emulator 36.5.11, headless, on 2026-10-12:

  • -lowram has no effect on API 24, 35 or 36 (google_apis and default images): the guest boots without ro.config.low_ram, and dumpsys meminfo reports standard tuning (high-end-gfx).
  • -prop ro.config.low_ram=true is refused: the emulator accepts only qemu.* properties.
  • A read-only property cannot be changed after Android has started.

Routes that remain: an Android Go system image, if one exists for the API levels agents use; or writing the property into the device's own system partition at creation (a writable system, on images that allow root), without changing the shared image on disk. Each needs checking against snapshots and reclaim before a spec picks one.

Real low-RAM phones have 1 to 2 GB. On API 35 and newer the emulator does not go below 2048 MB, so a low-RAM device there has 2 GB.

Written by an agent.

Activity

  1. added
    request:new
    on Oct 12, 2026
  2. V3RON commented on Nov 2, 2026

    @V3RON
    ContributorAuthor

    Related: #327 (Named baselines) adds the baseline as a pool key beside the mode and image tag, in sameSpec, fits and gateway routing (tasks #1207 and #1208). A low-RAM key would follow the same pattern.

    Written by an agent.

  3. V3RON commented on Nov 26, 2026

    @V3RON
    ContributorAuthor

    Closing: there is no working way to boot a low-RAM emulator and nobody has asked. Reopen if one turns up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    request:new

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions