Make avd config as close to Pixel2 default config as possible

This commit is contained in:
Aleksei Rodionov
2020-03-19 13:55:49 +07:00
parent e5cf329ccb
commit eace997379

View File

@@ -1,39 +1,53 @@
avd.ini.encoding=UTF-8
AvdId=Pixel2 AvdId=Pixel2
PlayStore.enabled=true PlayStore.enabled=true
abi.type=x86_64
avd.ini.displayname=Pixel2 avd.ini.displayname=Pixel2
disk.dataPartition.size=2048M avd.ini.encoding=UTF-8
# Real Pixel2 ships with 32GB
disk.dataPartition.size=2048M # previously - '800M'
astboot.forceColdBoot=no
hw.accelerometer=yes hw.accelerometer=yes
hw.audioInput=no hw.audioInput=yes # previously - 'no'
hw.battery=yes hw.battery=yes
hw.camera.back=none hw.camera.back=none # 'emulated' by default
hw.camera.front=none hw.camera.front=none # 'emulated' by default
hw.cpu.arch=x86_64 hw.cpu.ncore=2 # '4' by default
hw.cpu.ncore=2
hw.dPad=no hw.dPad=no
hw.device.hash2=MD5:1be89bc42ec9644d4b77968b23474980 hw.device.hash2=MD5:bc5032b2a871da511332401af3ac6bb0
hw.device.manufacturer=Google hw.device.manufacturer=Google
hw.device.name=Nexus 5X
hw.gps=yes hw.gps=yes
hw.gpu.enabled=on hw.gpu.enabled=yes # previously - 'on'
hw.gpu.mode=swiftshader_indirect hw.gpu.mode=auto # previously - 'swiftshader_indirect'
hw.initialOrientation=Portrait hw.initialOrientation=Portrait
hw.keyboard=no hw.keyboard=yes # previously - 'no'
hw.lcd.density=160
hw.mainKeys=no hw.mainKeys=no
hw.ramSize=1536 hw.ramSize=4096 # previously - '1536'
hw.sensors.orientation=yes hw.sensors.orientation=yes
hw.sensors.proximity=yes hw.sensors.proximity=yes
hw.trackBall=no hw.trackBall=no
image.sysdir.1=system-images/{{ platform }}/google_apis/x86_64/
runtime.network.latency=none runtime.network.latency=none
runtime.network.speed=full runtime.network.speed=full
showDeviceFrame=no vm.heapSize=512 # previously - '192'
skin.dynamic=yes
skin.name=480x800
skin.path=_no_skin
skin.path.backup=_no_skin
tag.display=Google APIs tag.display=Google APIs
# Set some
hw.lcd.density=440 # previously - '160'
hw.lcd.height=1920 # previously - '800'
hw.lcd.width=1080 # previously - '480'
# Unused
# hw.sdCard=yes
# sdcard.size=512M
tag.id=google_apis tag.id=google_apis
vm.heapSize=192 abi.type=x86_64
hw.cpu.arch=x86_64
image.sysdir.1=system-images/{{ platform }}/google_apis/x86_64/
# End of default configuration
# Old params not set in default Pixel2 configs
# hw.device.name=Nexus 5X
# showDeviceFrame=no
# skin.dynamic=yes
# skin.name=480x800
# skin.path=_no_skin
# skin.path.backup=_no_skin