Commit Graph

28 Commits

Author SHA1 Message Date
Arian
1f07b44542 sm8350-common: Set ro.media.xml_variant.profiles to choose media profiles
This was introduced with [1] and allows to choose target specific media
profiles without caf changes to frameworks/av. Unset media.settings.xml
so that the new property gets respected and drop copying the lahaina
config as media_profiles_vendor since we don't need a fallback anymore.

[1]: eaac82f33f#

Change-Id: I7ec306bf3dd595c09308ed26c9d3a6db8490c7f0
2022-04-01 17:51:57 +02:00
Arian
2257bcb986 sm8350-common: Unset media target, xml variant and netflix properties
These are set by init.qti.media.sh already with the correct values

Change-Id: I0ae5faa92127682b98607b254d2125a8b8419da8
2022-04-01 17:51:33 +02:00
Michael Bestas
a5d227a73a sm8350-common: charger: Enable offline charger suspend
Squashed in this commit:
Author: Yifan Hong <elsk@google.com>
Date:   Mon Jul 15 16:43:26 2019 -0700

    sm8350-common: Replace BOARD_CHARGER_ENABLE_SUSPEND with ro.charger.enable_suspend

    Test: charger mode
    Bug: 124118169
    Change-Id: I3825d08e38d677bd7154879609857de302348b6f

Change-Id: I27a642dbadfba1575ff2d8e96dc385fc19c0eaff
2022-04-01 17:39:06 +02:00
Arian
f1c1da34ea sm8350-common: Correct properties sorting
Change-Id: I390bc13f731cf703af9e5c85415789f8f2a440d6
2022-04-01 17:17:03 +02:00
Arian
eedc9b46e1 sm8350-common: Cleanup system/vendor property duplicates
Properties that cannot be set from vendor are removed from
vendor.prop, other properties are removed from system.prop.

Change-Id: I1e15db5e11121ded15b768bd559b161fbf0ecea7
2022-04-01 17:12:23 +02:00
Arian
12ce552a69 sm8350-common: Move fw bservie property to system
Change-Id: I5d3e77ea9634a1786d6c70df1e4a5096d26f66da
2022-04-01 17:12:23 +02:00
Arian
8513de536a sm8350-common: Move bluetooth soc property to system
Change-Id: I29cccd9eb52d5c00dd7a12d1187b43a3408895ce
2022-04-01 17:12:23 +02:00
Arian
9abb518cce sm8350-common: Drop media properties that are not set on odin V12.5.12.0.RKMCNXM
Change-Id: Ifc3f234ffb7e5e6be47aa2e1fd997db212326059
2022-04-01 17:12:23 +02:00
Erfan Abdi
fb1694e35f sm8350-common: Drop iorapd property
Change-Id: Iaa28072e1998126e7b9b6be5d188b0ec16d71acb
2022-04-01 17:12:23 +02:00
Erfan Abdi
c00004486b sm8350-common: Drop unused btstack property
Change-Id: I4ce46b5f6ab323c4c072614a810702aca9b7bb58
2022-04-01 17:12:23 +02:00
Erfan Abdi
da82d41259 sm8350-common: Drop unused ssr property
Change-Id: Ied22b4a11580963a1bcf744668a8e63293c662c8
2022-04-01 17:12:23 +02:00
Erfan Abdi
e728336d63 sm8350-common: Drop unnecessary wifi properties
Change-Id: Iec89e5d300a24d747426e00f6cb4c78c596d1d81
2022-04-01 17:12:23 +02:00
Erfan Abdi
ec8967887e sm8350-common: Drop camera.aux.packagelist
Change-Id: I0fd3607a1c09474fabde43614ff61a2ffad134ac
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
2022-04-01 17:12:23 +02:00
Cosmin Tanislav
437cbecf2f sm8350-common: allow com.android.camera to access aux cameras 2021-09-22 11:51:11 +03:00
Cosmin Tanislav
3cd3e1e8cb sm8350-common: set props that were set by init scripts 2021-09-20 20:41:20 +03:00
Cosmin Tanislav
536b929742 sm8350-common: set props that were set by init scripts 2021-09-20 06:37:55 +03:00
Cosmin Tanislav
d174b49d00 sm8350-common: allow overriding volte, vt and wfc 2021-09-09 20:34:43 +03:00
Cosmin Tanislav
8cd9540e39 sm8350-common: update system props 2021-09-07 11:50:30 +03:00
Volodymyr Zhdanov
25f9a71544 sm6250-common: add new surfaceflinger flags
* since [1] caf sets these for all platforms

[1] https://source.codeaurora.org/quic/la/platform/hardware/qcom/display/commit/?id=1b056c2223143ea401a47f8726a32b7e58656ab2
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
17e2b77fc5 sm6250-common: configure livedisplay
* reboot issue fixed with https://review.lineageos.org/c/LineageOS/android_hardware_lineage_livedisplay/+/291215

Revert "sm6250-common: Add config value for a11y color mode"

This reverts commit 97a37101a3208557fc0f701dfa60ca3f8bb2e311.

Revert "sm6250-common: Remove COLOR_MODE_SATURATED"

This reverts commit 05e88c788f1b53edc2df14d7eb8d8e1a673d77f4.

Revert "sm6250-common: Enable adaptive color mode"

This reverts commit 656110c04a11caca5dc3121dd1864d758e51c29c.

Revert "sm6250-common: Override config_availableColorModes"

This reverts commit b9c2b988f01ac77ff476956458783c38f796645f.

Revert "Revert "sm6250-common: add livedisplay support""

This reverts commit a3a4c1544ca797b54bcfe7d6cb195b5ca493cec4.

Revert "Revert "sm6250-common: enable default color mode""

This reverts commit 8cba7668001eff8dd695dbf93db63b6b1f763b49.

Partially revert "sm6250-common: add livedisplay support"
2020-12-05 00:36:18 +02:00
Danny Lin
08fb70c84d sm6250-common: Use EXPENSIVE_RENDERING power hint for blurs
We need to boost the GPU for smooth high-radius blurs as blurring is an
expensive rendering job.

Change-Id: Ia3968313601d2b04ce50c01ee61dc9944ee26187
2020-12-05 00:36:17 +02:00
Danny Lin
b0dea6e2e7 sm6250-common: Enable compositor background blurring
This allows us to create a "glass blur" look throughout the system for
improved visuals.

Change-Id: I77bb13a5711b05b43acf25e12abd9a2f5cd2502d
2020-12-05 00:36:17 +02:00
Rajathi S
5b4e29780f sm6250-common: Define ro.media.recorder-max-base-layer-fps
Define ro.media.recorder-max-base-layer-fps property to
60fps, so that layering will done only
when framerate is greater than max-base-layer-fps

CRs-Fixed: 2621390

Change-Id: I318024ac03a5f981df4310a48c294d90c0cd885a
2020-12-05 00:36:17 +02:00
Volodymyr Zhdanov
01913545a4 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-12-03 01:06:12 +02: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