11 Commits

Author SHA1 Message Date
Danny Lin
d1427534f2 sm6250-common: props: Switch Skia rendering backend to Vulkan
This results in slightly lower frame times in most UiBench tests:

Skia + Adreno OpenGL:
Score Jank Frames Bad Frames Avg Frame Time (ms)
Overdraw Test 1 0.01% 0.06% 3.16
Edit Text Input 5 0.13% 4.99% 7.79
High-hitrate text render 1 0.01% 0.51% 6.81
Image List View Fling 1 0.01% 0.32% 6.73
Bitmap Upload Test 0 0.01% 0.99% 9.38
Low-hitrate text render 1 0.01% 0.49% 7.08
List View Fling 23 0.12% 0.78% 6.61
Shadow Grid Fling 16 0.10% 0.94% 7.32

Skia + Adreno Vulkan:
Score Jank Frames Bad Frames Avg Frame Time (ms)
Overdraw Test 1 0.01% 0.06% 2.94
Edit Text Input 6 0.13% 4.60% 8.00
High-hitrate text render 1 0.01% 0.28% 6.29
Image List View Fling 1 0.01% 0.36% 5.96
Bitmap Upload Test 1 0.01% 0.15% 9.25
Low-hitrate text render 1 0.01% 0.33% 6.71
List View Fling 16 0.09% 2.70% 6.62
Shadow Grid Fling 11 0.07% 0.49% 6.98
2020-10-11 13:23:01 +00:00
Ady Abraham
a30159e7e4 sm6250-common: add surface flinger idle timer value
Set SurfaceFlinger idle timer to 50ms.

Test: flashall the build and observe idle timer value
Bug: 126270036
Change-Id: I26a0b3f9f1efedd05f164cdda1d6a1bbd07ba7e5
2020-10-11 13:16:27 +00:00
Gil
e2f8f06f05 sm6250-common: Enable adaptive color mode
Enable Adaptive color mode setting.

Bug: 143513730
Test: Boot test and measure the adaptive color value

Change-Id: I969ec6c3cb1d092a33c0e3a028ff38ad7115dfe2
2020-10-11 13:16:27 +00:00
Peiyong Lin
914f312f8f sm6250-common: Turn on GPU protected composition.
BUG: b/130435822, b/130442144
Test: Verified with Youtube
Change-Id: I782b6db6150845c211c991b2587cdb7c6421bc82
2020-10-11 13:16:08 +00:00
Astile
ae53fed5e2 sm6250-common: import hwui properties from stock
> imported from https://github.com/Astile97/dummy_device_xiaomi_curtana
>miui version :11.0.10.0 GLOBAL
2020-09-04 17:23:47 +03:00
Miguel de Dios
a001168d9c sm6250-common: Port over surface flinger vsync offsets from B1C1
Bug: 127860147
Test: manual - check builds and device boots
Change-Id: Icb82133a37c6ef1537356d221e0cbaebb9b21215
Signed-off-by: Miguel de Dios <migueldedios@google.com>
2020-08-31 14:29:09 +03:00
Volodymyr Zhdanov
ac3fb4ca01 sm6250-common: set stock configstore flags as props
/sbin # ./configstore-dump
  TARGET_HAS_WIDE_COLOR_DISPLAY := true
  TARGET_HAS_HDR_DISPLAY := true
  TARGET_FORCE_HWC_FOR_VIRTUAL_DISPLAYS := true
  MAX_VIRTUAL_DISPLAY_DIMENSION := 4096
  NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3
2020-08-31 14:29:09 +03:00
LuK1337
5990d2daa0 sm6250-common: Add debug IMS props to workaround CarrierConfig restrictions
We support IMS features on carriers not listed in the CarrierConfig,
so let's use the props to enable it everywhere.

Change-Id: Id3ad71d522a22048f7ad86d89695ad262361632d
2020-07-25 13:10:47 +03:00
Demon000
72ff21d3d6 sm6250-common: add charging prop 2020-07-16 18:25:23 +03:00
Demon000
bbf1892498 sm6250-common: define system properties
Unused:
av.offload.enable=true
config.disable_rtt=true
dalvik.vm.heapsize=36m
dev.pm.dyn_samplingrate=1
media.aac_51_output_enabled=true
mm.enable.smoothstreaming=true
mmp.enable.3g2=true
persist.rild.nitz_long_ons_0=
persist.rild.nitz_long_ons_1=
persist.rild.nitz_long_ons_2=
persist.rild.nitz_long_ons_3=
persist.rild.nitz_plmn=
persist.rild.nitz_short_ons_0=
persist.rild.nitz_short_ons_1=
persist.rild.nitz_short_ons_2=
persist.rild.nitz_short_ons_3=
persist.radio.apm_sim_not_pwdn=1
persist.mm.enable.prefetch=true
persist.fuse_sdcard=true
persist.debug.coresight.config=stm-events
persist.enable_task_snapshots=false
net.bt.name=Android
rild.libpath=/vendor/lib64/libril-qc-hal-qmi.so # unused because we use vendor ril daemon
persist.rmnet.data.enable=true
persist.sys.force_sw_gles=1
persist.vendor.overlay.izat.optin=rro
persist.timed.enable=true
ro.hwui.drop_shadow_cache_size=6
ro.hwui.gradient_cache_size=1
ro.hwui.layer_cache_size=48
ro.hwui.path_cache_size=32
ro.hwui.r_buffer_cache_size=8
ro.hwui.text_large_cache_height=1024
ro.hwui.text_large_cache_width=2048
ro.hwui.text_small_cache_height=1024
ro.hwui.text_small_cache_width=1024
ro.hwui.texture_cache_flushrate=0.4
ro.hwui.texture_cache_size=72
ro.hardware.wlan.chip=
ro.hardware.wlan.mimo=
ro.hardware.wlan.vendor=qcom
ro.nfc.port=I2C
tunnel.audio.encode = true
use.voice.path.for.pcm.voip=true
sys.qca1530=detect

Used on MIUI only:
persist.audio.button_jack.profile=volume
persist.audio.button_jack.switch=0
persist.backup.ntpServer="0.pool.ntp.org"
persist.camera.privapp.list=org.codeaurora.snapcam
persist.power.useautobrightadj=true
persist.miui.density_v2=440
persist.sar.mode.switch.on=true
persist.service.logd.enable=
persist.sys.df.extcolor.proc=0
persist.sys.mitalk.enable=true
persist.sys.timezone=Asia/Shanghai
persist.sys.watchdog_enhanced=true
persist.vendor.camera.privapp.list=org.codeaurora.snapcam
persist.vm.stackdump.threshold=0
ro.config.alarm_alert=Alarm_Classic.ogg
ro.config.elder-ringtone=Angel.mp3
ro.config.media_vol_default=10
ro.config.notification_sound=pixiedust.ogg
ro.config.ringtone=Ring_Synth_04.ogg
ro.config.sms_delivered_sound=MessageComplete.ogg
ro.config.sms_received_sound=FadeIn.ogg
ro.com.google.clientidbase=android-xiaomi
ro.com.google.ime.theme_file=xiaomi_theme_20171222.zip
ro.com.google.ime.themes_dir=/system/etc/gboard_theme
ro.colorpick_adjust=true
ro.malloc.impl=jemalloc
ro.mi.development=false
ro.miui.build.region=in
ro.miui.customized_clientid=2
ro.miui.has_handy_mode_sf=1
ro.miui.has_real_blur=1
ro.miui.pm.movedtodata.apps=com.google.android.apps.photos,com.google.android.apps.docs,com.google.android.music,com.google.android.videos,com.google.android.apps.tachyon
ro.miui.restrict_imei=1
ro.miui.ui.version.code=9
ro.miui.ui.version.name=V11
ro.miui.version.code_time=1578240000
ro.fota.oem=Xiaomi
ro.hardware.fp.sideCap=true
ro.rom.zone=2
ro.vendor.build.software.version=Android10_11
ro.wifi.channels=
ro.wlan.chip=wcn3991
ro.wlan.mimo=enable
ro.wlan.vendor=qcom
ro.vendor.df.effect.conflict=1
setupwizard.feature.baseline_setupwizard_enabled=true
sys.miui.shutdown.waittime=500
sys.paper_mode_max_level=255
sys.provision.mtd=
vendor.camera.aux.packagelist.ext=com.longcheertel.AutoTest
vendor.camera.aux.packagelist=org.codeaurora.snapcam,com.longcheertel.cit,com.xiaomi.cameratest,com.xiaomi.runin

Used but make no sense:
qcom.hw.aac.encoder=true
qemu.hw.mainkeys=0
ro.com.android.dataroaming=false
ro.com.android.mobiledata=false
ro.kernel.qemu.gles=0

Set from BoardConfig:
ro.sf.lcd_density=440

Set by build system:
ro.build.date.utc=1583773252
ro.build.date=Tue Mar 10 01:00:52 CST 2020
ro.build.flavor=qssi-user
ro.build.hardware.version=J6-1
ro.build.host=c5-miui-ota-bd15.bj
ro.build.id=QKQ1.191215.002
ro.build.keys=test-keys
ro.build.project=
ro.build.system_root_image=false
ro.build.tags=release-keys
ro.build.type=user
ro.build.user=builder
ro.build.version.all_codenames=REL
ro.build.version.base_os=
ro.build.version.bsp=0.0.1_191001
ro.build.version.codename=REL
ro.build.version.external=
ro.build.version.incremental=V11.0.4.0.QJWINXM
ro.build.version.internal=
ro.build.version.min_supported_target_sdk=23
ro.build.version.preview_sdk=0
ro.build.version.preview_sdk_fingerprint=REL
ro.build.version.release=10
ro.build.version.sdk=29
ro.build.version.security_patch=2020-02-01
ro.build.version.type=
ro.product.cpu.abi=arm64-v8a
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=arm64-v8a
ro.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi
ro.product.cuptsm=XIAOMI|ESE|02|01
ro.product.locale=en-GB
ro.product.manufacturer=Xiaomi
ro.product.mod_device=curtana_in_global
ro.product.mod_device=curtana_in_global
ro.product.property_source_order=odm,vendor,product,product_services,system
ro.product.system.brand=qti
ro.product.system.device=qssi
ro.product.system.manufacturer=Xiaomi
ro.product.system.model=qssi system image for arm64
ro.product.system.name=qssi
ro.system.build.date.utc=1583773252
ro.system.build.date=Tue Mar 10 01:00:52 CST 2020
ro.system.build.fingerprint=qti/qssi/qssi:10/QKQ1.191215.002/V11.0.4.0.QJWINXM:user/release-keys
ro.system.build.id=QKQ1.191215.002
ro.system.build.tags=release-keys
ro.system.build.type=user
ro.system.build.version.incremental=V11.0.4.0.QJWINXM
ro.system.build.version.release=10
ro.system.build.version.sdk=29
ro.treble.enabled=true
2020-07-15 23:03:28 +03:00
Demon000
db8ed7dc9c sm6250-common: create dummy property files 2020-07-15 23:03:28 +03:00