Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save fionn/a30cc2815347d5437838f95d25c37e03 to your computer and use it in GitHub Desktop.
Save fionn/a30cc2815347d5437838f95d25c37e03 to your computer and use it in GitHub Desktop.
Android virtual device hardware profile options
PlayStore: Does the device supports Google Play?
PlayStore.enabled [no]:
avd home that was used during the construction of this hardware.ini: This can be used by post processing tools to migrate snapshots
android.avd.home []:
sdk root that was used during the construction of this hardware.ini: This can be used by post processing tools to migrate snapshots
android.sdk.root []:
ID of the AVD being run:
avd.id [<build>]:
Name of the AVD being run:
avd.name [<build>]:
Cache partition support: Whether we use a /cache partition on the device.
disk.cachePartition [yes]:
Cache partition: Cache partition to use on the device. Ignored if disk.cachePartition is not 'yes'.
disk.cachePartition.path []:
Cache partition size:
disk.cachePartition.size [66MB]:
Initial data partition: If not empty, its content will be copied to the disk.dataPartition.path file at boot-time.
disk.dataPartition.initPath []:
Path to data partition file: Path to data partition file. Cannot be empty. Special value <temp> means using a temporary file. If disk.dataPartition.initPath is not empty, its content will be copied to the disk.dataPartition.path file at boot-time.
disk.dataPartition.path [<temp>]:
Ideal size of data partition:
disk.dataPartition.size [0]:
Path to encryption key partition file: Path to encryption key partition file. Should be at least 16K bytes empty disk without any filesystem on it.
disk.encryptionKeyPartition.path []:
Path to the ramdisk image: Path to the ramdisk image.
disk.ramdisk.path []:
Path to snapshot storage: Path to a 'snapshot storage' file, where all snapshots are stored.
disk.snapStorage.path []:
Initial system partition image:
disk.systemPartition.initPath []:
Path to runtime system partition image:
disk.systemPartition.path []:
Ideal size of system partition:
disk.systemPartition.size [0]:
Initial vendor partition image:
disk.vendorPartition.initPath []:
Path to runtime vendor partition image:
disk.vendorPartition.path []:
Ideal size of vendor partition:
disk.vendorPartition.size [0]:
Configure setting xml file for Android Window Manager:
display.settings.xml []:
Always use cold boot: If set, AVD will always use the full cold boot instead of snapshot-based quick boot process
fastboot.forceColdBoot [no]:
Accelerometer: Whether there is an accelerometer in the device.
hw.accelerometer [yes]:
Chrome OS device (App Runtime for Chrome): The emulated device is a Chrome OS machine.
hw.arc [no]:
Auto login for Chrome OS devices: Used to enable auto login into Chrome OS devices
hw.arc.autologin [no]:
Audio recording support: Whether the device can record audio
hw.audioInput [yes]:
Audio playback support: Whether the device can play audio
hw.audioOutput [yes]:
Battery support: Whether the device can run on a battery.
hw.battery [yes]:
Configures camera facing back: Must be 'emulated' for a fake camera, 'webcam<N>' for a web camera, or 'none' if back camera is disabled.
hw.camera.back [emulated]:
Configures camera facing front: Must be 'emulated' for a fake camera, 'webcam<N>' for a web camera, or 'none' if front camera is disabled.
hw.camera.front [none]:
CPU Architecture: The CPU Architecture to emulator
hw.cpu.arch [arm]:
CPU model: The CPU model (QEMU-specific string)
hw.cpu.model []:
SMP CPU core count: Number of cores in a simulated SMP CPU.
hw.cpu.ncore [2]:
DPad support: Whether the device has DPad keys
hw.dPad [yes]:
Screen density of the second display:
hw.display1.density [0]:
the flag to use when the second display is initialized in the Android system.:
hw.display1.flag [0]:
Pixel height of the second display:
hw.display1.height [0]:
Pixel width of the second display:
hw.display1.width [0]:
the horizontal offset of the second display with respect to the host QT window.:
hw.display1.xOffset [-1]:
the veritcal offset of the second display with respect to the host QT window.:
hw.display1.yOffset [-1]:
Screen density of the third display:
hw.display2.density [0]:
the flag to use when the third display is initialized in the Android system.:
hw.display2.flag [0]:
Pixel height of the third display:
hw.display2.height [0]:
Pixel width of the third display:
hw.display2.width [0]:
the horizontal offset of the third display with respect to the host QT window.:
hw.display2.xOffset [-1]:
the veritcal offset of the third display with respect to the host QT window.:
hw.display2.yOffset [-1]:
Screen density of the fourth display:
hw.display3.density [0]:
the flag touse when the fourth display is initialized in the Android system.:
hw.display3.flag [0]:
Pixel height of the fourth display:
hw.display3.height [0]:
Pixel width of the fourth display:
hw.display3.width [0]:
the horizontal offset of the fourth display with respect to the host QT window.:
hw.display3.xOffset [-1]:
the veritcal offset of the fourth display with respect to the host QT window.:
hw.display3.yOffset [-1]:
Vertical size of the sub-region:
hw.displayRegion.0.1.height [0]:
Horizontal size of the sub-region:
hw.displayRegion.0.1.width [0]:
Horizontal offset of the sub-region:
hw.displayRegion.0.1.xOffset [-1]:
Vertical offset of the sub-region:
hw.displayRegion.0.1.yOffset [-1]:
Vertical size of the sub-region:
hw.displayRegion.0.2.height [0]:
Horizontal size of the sub-region:
hw.displayRegion.0.2.width [0]:
Horizontal offset of the sub-region:
hw.displayRegion.0.2.xOffset [-1]:
Vertical offset of the sub-region:
hw.displayRegion.0.2.yOffset [-1]:
Vertical size of the sub-region:
hw.displayRegion.0.3.height [0]:
Horizontal size of the sub-region:
hw.displayRegion.0.3.width [0]:
Horizontal offset of the sub-region:
hw.displayRegion.0.3.xOffset [-1]:
Vertical offset of the sub-region:
hw.displayRegion.0.3.yOffset [-1]:
Feature flags: A comma-separated list of feature flags to enable or disable, such as 'Enabled,-Disabled'.
hw.featureflags []:
Transport used to run graphics:
hw.gltransport [pipe]:
For address space graphics, the size of the ring used to transfer larger buffers.:
hw.gltransport.asg.dataRingSize [32768]:
For address space graphics, the total size of the write buffer the guest can write into:
hw.gltransport.asg.writeBufferSize [1048576]:
For address space graphics, the max size of each guest-to-host transaction.:
hw.gltransport.asg.writeStepSize [4096]:
Interval over which to flush draw calls (balance host gpu starve vs pipe notif overhead):
hw.gltransport.drawFlushInterval [800]:
GPS support: Whether there is a GPS in the device.
hw.gps [yes]:
GPU emulation: Enable/Disable emulated OpenGLES GPU
hw.gpu.enabled [no]:
GPU emulation mode: This value determines how GPU emulation is implemented.
hw.gpu.mode [auto]:
GSM modem support: Whether there is a GSM modem in the device.
hw.gsmModem [yes]:
Gyroscope: Whether there is a gyroscope in the device.
hw.gyroscope [yes]:
Initial screen orientation: Setup initial screen orientation, can be rotated later on.
hw.initialOrientation [portrait]:
Keyboard support: Whether the device has a QWERTY keyboard.
hw.keyboard [no]:
Keyboard charmap name: Name of the system keyboard charmap file.
hw.keyboard.charmap [qwerty2]:
Keyboard lid support: Whether the QWERTY keyboard can be opened/closed.
hw.keyboard.lid [yes]:
LCD backlight: Enable/Disable LCD backlight simulation,yes-enabled,no-disabled.
hw.lcd.backlight [yes]:
Abstracted LCD density: A value used to roughly describe the density of the LCD screen for automatic resource/asset selection.
hw.lcd.density [160]:
LCD color depth: Color bit depth of emulated framebuffer.
hw.lcd.depth [16]:
LCD pixel height:
hw.lcd.height [640]:
LCD VSYNC rate:
hw.lcd.vsync [60]:
LCD pixel width:
hw.lcd.width [320]:
Logcat Output File Path:
hw.logcatOutput.path []:
Hardware Back/Home keys: Whether there are hardware back/home keys on the device.
hw.mainKeys [yes]:
Device ram size: The amount of physical RAM on the device, in megabytes.
hw.ramSize [0]:
Rotary input support: Whether the device has rotary input
hw.rotaryInput [no]:
Touch screen type: Defines type of the screen.
hw.screen [multi-touch]:
SD Card support: Whether the device supports insertion/removal of virtual SD Cards.
hw.sdCard [yes]:
SD Card image path:
hw.sdCard.path []:
Enalbe hinge angle sensor.:
hw.sensor.hinge [yes]:
hinge areas on the display, format is percentage_of_screen-width, e.g., 33.3-0, 66.6-10 for two sensors. Or x-y-width-height, e.g., 600-0-0-1200, 1200-0-10-1200 for two sensors.:
hw.sensor.hinge.areas []:
Provides hinge angle sensor count.:
hw.sensor.hinge.count [0]:
default angel for each hinge sensor, e.g., 180, 90 for two sensors.:
hw.sensor.hinge.defaults []:
set folded status at a certain posture, e.g, fold-out device, posture flipped:
hw.sensor.hinge.fold_to_displayRegion.0.1_at_posture [1]:
angel ranges for each hinge sensor, e.g., 0-360, 0-180 for two sensors.:
hw.sensor.hinge.ranges []:
Provides hinge angle sensor sub type. 0 (invisible hinge, fold on screen) and 1 (hinge):
hw.sensor.hinge.sub_type [0]:
Provides hinge angle sensor type. 0 (horizontal) and 1 (vertical):
hw.sensor.hinge.type [0]:
angles ranges for each posture in posture_list.:
hw.sensor.hinge_angles_posture_definitions []:
list of supported postures by index. 0: unknown, 1: closed, 2: half-open, 3: open, 4: flipped, 5: tent:
hw.sensor.posture_list []:
Enalbe rollable sensor.:
hw.sensor.roll [no]:
rollable sensor count.:
hw.sensor.roll.count [0]:
defaults percentage of display width or height which is rolled.:
hw.sensor.roll.defaults []:
rolling direction starting from open posture. 0: left-to-right or top-to-buttom, 1: right-to-left or bottom-to-top:
hw.sensor.roll.direction []:
roll radious of display width or height.:
hw.sensor.roll.radius []:
the pecentage of display width or height which is rollable.:
hw.sensor.roll.ranges []:
resize default display to display region 0.1 when rolling to a posture state:
hw.sensor.roll.resize_to_displayRegion.0.1_at_posture [6]:
resize default display to display region 0.2 when rolling to a posture state:
hw.sensor.roll.resize_to_displayRegion.0.2_at_posture [6]:
resize default display to display region 0.3 when rolling to a posture state:
hw.sensor.roll.resize_to_displayRegion.0.3_at_posture [6]:
angles ranges for each posture in posture_list.:
hw.sensor.roll_percentages_posture_definitions []:
Uncalibrated gyroscope support: Provides uncalibrated gyroscope sensor values.
hw.sensors.gyroscope_uncalibrated [yes]:
Humidity support: Whether there is a relative humidity sensor in the device
hw.sensors.humidity [yes]:
Light support: Whether there is a light sensor in the device
hw.sensors.light [yes]:
Magnetic field support: Provides magnetic field sensor values.
hw.sensors.magnetic_field [yes]:
Uncalibrated magnetic field suport: Provides uncalibrated magnetic field sensor values.
hw.sensors.magnetic_field_uncalibrated [yes]:
Orientation support: Provides orientation sensor values.
hw.sensors.orientation [yes]:
Pressure support: Whether there is a pressure sensor in the device
hw.sensors.pressure [yes]:
Proximity support: Whether there is an proximity in the device.
hw.sensors.proximity [yes]:
Temperature support: Provides temperature sensor values.
hw.sensors.temperature [yes]:
Track-ball support: Whether there is a trackball on the device.
hw.trackBall [yes]:
Deprecated option. Ignored.: Used to specify the Ext4 partition image type. This is now autodetected.
hw.useext4 [yes]:
Does the kernel require a new device naming scheme?: Used to specify whether the kernel requires a new device naming scheme. Typically for Linux 3.10 and above.
kernel.newDeviceNaming [autodetect]:
kernel boot parameters string.:
kernel.parameters []:
Path to the kernel image: Path to the kernel image.
kernel.path []:
Does the kernel supports YAFFS2 partitions?: Used to specify whether the kernel supports YAFFS2 partition images. Typically before 3.10 only.
kernel.supportsYaffs2 [autodetect]:
Delay sending data to guest adb until guest completed booting:
test.delayAdbTillBootComplete [0]:
Monitor Adb messages between guest and host. Default: Disabled.:
test.monitorAdb [0]:
Quit emulator after guest boots completely, or after time out. Default: end of universe.:
test.quitAfterBootTimeOut [-1]:
Max VM application heap size: The maximum heap size a Dalvik application might allocate before being killed by the system. Value is in megabytes.
vm.heapSize [0]:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment