Commit Graph

51 Commits

Author SHA1 Message Date
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
Arian
1c56ed3a29 sm8350-common: Import qcv init scripts and unset sku property
Change-Id: I28dbc3821c52f850b8425afcd1f5589bf31806df
2022-04-01 17:51:33 +02:00
Arian
79799b0637 sm8350-common: Drop QSPM HAL
Change-Id: Ic5217d9a9a473e99121f6d30e23aff6d455a823c
2022-04-01 17:48:31 +02:00
Gil
bb4f7c3efa sm8350-common: Enable adaptive color mode
Enable Adaptive color mode setting.

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

Change-Id: I969ec6c3cb1d092a33c0e3a028ff38ad7115dfe2
2022-04-01 17:36:54 +02:00
Arian
f3a9c1cf55 sm8350-common: Update soundtrigger properties from odin V12.5.12.0.RKMCNXM
Change-Id: I22fd75dd3bc726f3254ee85177538f551b8b80b4
2022-04-01 17:19:07 +02:00
Arian
b967e75f28 sm8350-common: Update audio feature configurations from odin V12.5.12.0.RKMCNXM
Change-Id: I5355fb99322bf192542695048321d9b63c2b53ca
2022-04-01 17:17:25 +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
Erfan Abdi
40eb48528c sm8350-common: Set default_network to 33 for 5G
Change-Id: I2bc72646528ad38fb281a6ae573b9681a78da3d2
2022-04-01 17:12:23 +02:00
Erfan Abdi
5ff6288d96 sm8350-common: Enable iwlan
Change-Id: I61196210f01281eb2158ec179d7defb30f4b8271
2022-04-01 17:12:23 +02:00
Arian
f4d47329d7 sm8350-common: Correct sf idle timer value
Change-Id: I0a1b58a6527b5c58ab977a1db908ade1b93fa089
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
0b29ede3fb sm8350-common: Drop unnecessary audio properties
They are not set on stock either

Change-Id: Ic5e54eb61d1c4cf3f39779034b8ffda577082bb5
2022-04-01 17:12:23 +02:00
Arian
225066c907 sm8350-common: Drop unused ucdetect radio property
Change-Id: Ia186b3dc5ad4887dd4ed1cdd88014b415d9b30e5
2022-04-01 17:12:23 +02:00
Arian
4ed406a51a sm8350-common: Drop unused usb diag function name property
Change-Id: I96c9e17efdb0eb20697625edc0d46422d16244b8
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
Arian
8510c96eeb sm8350-common: Drop custom media volume steps
MIUI uses 15 steps, which is the default.

Change-Id: I3b3d4ce3ffacf5330f0a19b7f5deb70d26b4b102
2022-04-01 17:12:23 +02:00
Arian
3b3a17bc7b sm8350-common: Drop unnecessary DRM property
Change-Id: I2768470ad1ec8a20d4a1a858bb203d7ccd70b0e3
2022-04-01 17:12:23 +02:00
Erfan Abdi
bdfefb8cce sm8350-common: Drop unused ril libpath property
Change-Id: Icc6bf7e47c89a81b949b230330b8f5175b022ac8
2022-04-01 17:12:23 +02:00
Erfan Abdi
431ed73e3d sm8350-common: Drop privapp permissions enforce property
This is handled in vendor/lineage

Change-Id: Ie42d690928ffc483292345af11c8d73a0a537833
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
c53064216c sm8350-common: remove unused audio and bluetooth props that fail to be set by vendor 2021-10-21 10:03:53 +03:00
Cosmin Tanislav
437cbecf2f sm8350-common: allow com.android.camera to access aux cameras 2021-09-22 11:51:11 +03:00
Cosmin Tanislav
72fd25c30c sm8350-common: remove ssr restart level prop 2021-09-20 20:41:20 +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
9b901a06e4 sm8350-common: remove touchfeature props 2021-09-20 20:41:20 +03:00
Cosmin Tanislav
00038649aa sm8350-common: remove display feature props 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
237d3e4b1a sm8350-common: add prop previously set based on sku in display sh file 2021-09-09 20:34:43 +03:00
Cosmin Tanislav
cadc744413 sm8350-common: lower number of media volume steps 2021-09-07 18:13:16 +03:00
Cosmin Tanislav
faa7d0216d sm8350-common: add vendor surface flinger props 2021-09-07 12:01:02 +03:00
Cosmin Tanislav
0bae9fb2c9 sm8350-common: remove test apps from auxiliary camera package list 2021-09-07 11:50:57 +03:00
Cosmin Tanislav
20e5e95999 sm8350-common: remove unused vendor props 2021-09-07 11:40:01 +03:00
Cosmin Tanislav
a63ec23f44 sm8350-common: update vendor props 2021-09-07 10:48:40 +03:00
Volodymyr Zhdanov
d5665da9e6 sm6250-common: update props from curtana RKQ1.200826.002 2020-12-06 22:48:36 +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
Erfan Abdi
79c63fe4bd sm6250-common: Enable fluence for voicerec and audiorec
Change-Id: I5dab22b816aab7cccdd1a84a0ffa31b203b9bde8
2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
1329d72594 sm6250-common: set higher priority to c2 than OMX 2020-12-05 00:36:18 +02:00
Volodymyr Zhdanov
cd2c0611fe sm6250-common: enable fluence mode
* this fixes incall mic for oss audio hal
2020-12-05 00:36:17 +02:00
Manisha Agarwal
82624895bf sm6250-common: rename property violating sepolicy
rename property to be inline with sepolicy rules

Change-Id: I83cd5d3cd6f5f21bf2701151624bd0f255a1a823
2020-12-05 00:36:17 +02:00
Fawad Shaukat
b66f59fc82 sm6250-common: Enable MPEG-H decoder property
-Enable on Kona
-Enable on Lito
-Enable on Lahaina
-Enable on Bengal
-Enable on Atoll

Change-Id: Icc921e52ecef64c4fc99f7f127059b18436aa876
2020-12-05 00:36:17 +02:00
Sujin Panicker
f020550025 sm6250-common: Add property for timecheck timeout duration.
Timecheck timeout set to 20sec based on the property
vendor.audio.hal.boot.timeout.ms before system is ready.
It updates to default timeout of 5sec once the system
is ready.

Change-Id: I6d13eb8b8d06f279261cbcb81053f9a1389d073e
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
Purushottam Kushwaha
6488335a93 sm6250-common: NAN: set property 'wifi.aware.interface' to use separate interface
This CL is to set 'wifi.aware.interface' property for the targets
where separate NAN discovery interface is supported.

Change-Id: Ib892f2207a9366a5a86071fd6d3c4b37e174b08c
CRs-Fixed: 2680050
2020-12-05 00:36:17 +02:00
David Sehr
c08843c949 sm6250-common: Use dex2oat64
Enable dex2oat64 use.

Bug: 153380900
Test: boot and install an application
Change-Id: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
(cherry picked from commit 126f03be80f57a8a0411842011152d9381589b78)
Merged-In: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
2020-12-05 00:36:17 +02:00
AtlanPrime
36a30fd72d sm6250-common: Priv-app permissions changed to log
*temporary
2020-12-03 02:33:33 +02:00
Demon000
e9365a682c sm6250-common: add display props 2020-07-16 18:27:33 +03:00
Demon000
cd3781c8be sm6250-common: define vendor properties
Unused:
av.offload.enable=true
bt.max.hfpclient.connections=1
debug.egl.hw=0 # used to be surfaceflinger props in fw/base, (fw/native) but are since long gone
debug.mdpcomp.logs=0 # defaults to NULL if not set, having the same effect as '0
debug.sf.hw=0 # used to be used in gralloc, but not present in sm8150 display HAL
dev.pm.dyn_samplingrate=1
media.aac_51_output_enabled=true
mmp.enable.3g2=true
persist.debug.coresight.config=stm-events
persist.fuse_sdcard=true
persist.mm.enable.prefetch=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.timed.enable=true
persist.vendor.max.brightness=455
persist.vendor.qcomsysd.enabled=1 # controls qcom-system-daemon start but qcom-systeam-daemon binary doesn't exist
qcom.hw.aac.encoder=true
rild.libpath=/vendor/lib64/libril-qc-hal-qmi.so # unsed because we use vendor ril daemon
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
tunnel.audio.encode=true
use.voice.path.for.pcm.voip=true
sys.vendor.shutdown.waittime=500

Used on MIUI only:
persist.audio.button_jack.profile=volume
persist.audio.button_jack.switch=0
persist.backup.ntpServer=0.pool.ntp.org
persist.demo.hdmirotationlock=false
persist.sys.mcd_config_file=/system/etc/mcd_default.conf
ro.config.alarm_alert=Alarm_Classic.ogg
ro.config.notification_sound=pixiedust.ogg
ro.config.ringtone=Ring_Synth_04.ogg
ro.vendor.audio.sos=true
ro.vendor.audio.voice.volume.boost=manual
sys.haptic.down.normal=2
sys.haptic.down.strong=5
sys.haptic.down.weak=0
sys.haptic.down=5,2
sys.haptic.flick.light=5,2
sys.haptic.flick=5,2
sys.haptic.hold=6,0
sys.haptic.long.press=0,1
sys.haptic.mesh.heavy=8,2
sys.haptic.mesh.light=5,1
sys.haptic.mesh.normal=8,2
sys.haptic.motor=linear
sys.haptic.pickup=0,2
sys.haptic.popup.light=6,1
sys.haptic.popup.normal=6,2
sys.haptic.runin=13
sys.haptic.scroll.edge=5,0
sys.haptic.switch=9,2
sys.haptic.tap.light=5,2
sys.haptic.tap.normal=3,2
sys.haptic.trigger.drawer=2,0
ro.miui.notch=1
ro.nfc.port=I2C
ro.qc.sdk.audio.ssr=false
ro.vendor.type=eSE,HCE,UICC
sys.qca1530=detect
sys.thermal.data.path=/data/vendor/thermal/

Used but make no sense:
qemu.hw.mainkeys=0
ro.carrier=unknown
ro.com.android.dataroaming=false
ro.kernel.qemu.gles=0

Set from BoardConfig:
ro.apex.updatable=true
ro.board.platform=atoll
ro.boot.dynamic_partitions=true

Set by build system:
ro.bootimage.build.date.utc=1583779344
ro.bootimage.build.date=Tue Mar 10 02:42:24 CST 2020
ro.bootimage.build.fingerprint=Redmi/curtana/curtana:10/QKQ1.191215.002/V11.0.4.0.QJWINXM:user/release-keys
ro.hwui.use_vulkan=
ro.product.board=curtana
ro.product.first_api_level=29
ro.product.vendor.brand=Redmi
ro.product.vendor.device=curtana
ro.product.vendor.manufacturer=Xiaomi
ro.product.vendor.model=Redmi Note 9 Pro
ro.product.vendor.name=curtana
ro.vendor.build.date.utc=1583779344
ro.vendor.build.date=Tue Mar 10 02:42:24 CST 2020
ro.vendor.build.fingerprint=Redmi/curtana/curtana:10/QKQ1.191215.002/V11.0.4.0.QJWINXM:user/release-keys
ro.vendor.build.id=QKQ1.191215.002
ro.vendor.build.security_patch=2020-02-01
ro.vendor.build.tags=release-keys
ro.vendor.build.type=user
ro.vendor.build.version.incremental=V11.0.4.0.QJWINXM
ro.vendor.build.version.release=10
ro.vendor.build.version.sdk=29
ro.vendor.product.cpu.abilist32=armeabi-v7a,armeabi
ro.vendor.product.cpu.abilist64=arm64-v8a
ro.vendor.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi

Set from init:
dalvik.vm.heapmaxfree=8m
dalvik.vm.heapminfree=512k
dalvik.vm.heapsize=36m
dalvik.vm.heapsize=512m
dalvik.vm.heapstartsize=8m
dalvik.vm.heaptargetutilization=0.75

Most of those are unused, some of them are set via BoardConfig rules.
2020-07-15 23:03:28 +03:00