Commit Graph

1168 Commits

Author SHA1 Message Date
Arian
002c333db5 sm8350-common: overlay: Drop brightness ramp rate configuration
Change-Id: I69b906fbc0ae18c4d5832fc642beaae38ff6d392
2022-04-01 17:37:30 +02:00
Arian
3b3e64454a sm8350-common: overlay: Update bluetooth power configs from odin MIUI V12.5.12.0.RKMCNXM
Change-Id: I0ab13fb86b352680439198058b615f29f76f0165
2022-04-01 17:36:54 +02:00
Murat Kozan
45f54b22ca sm8350-common: Enable vibration intensity control
* Activates some options on Settings>accessibility>vibration

Change-Id: I00e20f0d607736c04d5c2a0bd9c513c7f5fd8b41
2022-04-01 17:36:54 +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
e4e2055f2a sm8350-common: overlay: Add missing doze configurations
This fixes deep sleep on AOD. The values are from stock,
note that xiaomi did not use RRO for these values, hence
the values are changed in framework-res.apk directly.

Change-Id: I9c4ea935e7a7df4bd85e1884f91ab25805fe8959
2022-04-01 17:36:54 +02:00
Erfan Abdi
4211f1d2d7 sm8350-common: Drop TetheringConfig rro 2022-04-01 17:36:54 +02:00
David Su
4a1f2411ce sm8350-common: Don't sign Wifi RROs with platform cert
Preinstalled overlays needn't be signed with the same cert
as the package it overlays, simply being preinstalled is
enough. Sign with the default cert instead for now, which
provides fewer special privileges.

Bug: 162195999
Test: verify values still overlaid correctly
Change-Id: I017491fd383551c5aadf8648edb900e0c12a27b8
2022-04-01 17:36:39 +02:00
Arian
590bd924dd sm8350-common: WifiOverlay: Update config from MIUI V12.5.5.0.RKIMIXM
Change-Id: I37db0f8662f771885cf6e75027e23c62a51f7257
2022-04-01 17:35:02 +02:00
Chirayu Desai
71eb336e1b sm8350-common: rro_overlays: Move CarrierConfig to RRO
Change-Id: Ia57acd244608848f70fdcc30d5694c919db60671
2022-04-01 17:24:10 +02:00
Arian
767e2c13e0 sm8350-common: overlay: Sync CarrierConfig with LA.UM.9.14.r1-19100-LAHAINA.0
Change-Id: I274cd7c5e5e47b2e86dbc733b37960e1a5993e7a
2022-04-01 17:24:10 +02:00
Nolen Johnson
8e8bccf2d4 sm8350-common: bluetooth: Disable clean turn on
* This isn't needed anymore.

Change-Id: Ib77e5212099d82bbc07aea6044eb35109faff5cb
2022-04-01 17:24:10 +02:00
Arian
53ae7a5521 sm8350-common: bluetooth: Drop default name setup
There is already a fallback to the model name and using that
is perfectly fine.

Change-Id: I7900cc449cd36d327d35f0597eea6427dd710458
2022-04-01 17:24:10 +02:00
Albert I
07da74745e sm8350-common: rootdir: fstab: Handle avb= fs_mgr flags correctly
Specifying avb=<vbmeta-partition> is only necessary for first entry of
partition groups that use same vbmeta partition. The following entry can have
<vbmeta-parititon> part omitted.

Test: None
Link: https://source.android.com/devices/architecture/kernel/mounting-partitions-early#fstab-entries
Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: I5a42fd3de72c400acfae56d6a1e1b85c22a79537
2022-04-01 17:24:10 +02:00
Shawn Shin
e5daffb384 sm8350-common: qcc-tr: define new AID for qcc-trd
Change-Id: I47c9b034600c9b31a17de2808030af38f69e10e0
2022-04-01 17:24:10 +02:00
Ayishwarya Narasimhan
58bb71dc34 sm8350-common: config.fs: Add mapping for imsdaemon
Change-Id: I62629d99e0ace3e5cfa0bdef925e919ddd2ebe12
2022-04-01 17:24:10 +02:00
Edgar Flores
6e7afdb7a7 sm8350-common: config.fs: init: add AID_VENDOR_FASTRPC group for fastrpc
Add AID_VENDOR_FASTRPC group, so that fastrpc clients can be in
this group to get extra privileges on the remote subsystem, like
higher thread priority.

Change-Id: Icb8e418cfe66d696cad9d608d30f4b3f2a02bef8
2022-04-01 17:24:10 +02:00
Arian
99e97f29a8 sm8350-common: rootdir: Add sdcard mount entries
Change-Id: I0ca98738e4964d23614df797b1faaebe0058a451
2022-04-01 17:24:10 +02:00
Arian
b481a5f286 sm8350-common: rootdir: Update copyright header from lahaina fstab
The copyright header has been modified by caf while the initial lahaina
tree whose fstab we use.
Specifically from https://source.codeaurora.org/quic/la/platform/vendor/qcom/lahaina/tree/fstab.qcom?h=LA.UM.9.14.r1-18900-LAHAINA.QSSI12.0&id=b403cbb26431c57a8590f94307f12443a55e29e2

Change-Id: I1dd07a729feeded6478e095573070fde532f2f02
2022-04-01 17:24:10 +02:00
Benergy Meenan Ravuri
fe715bfa51 sm8350-common: rootdir: Remove start console
Remove start console

Change-Id: I1041fa446499cd82bcbf6d5b86cb25a9a88fa90c
CRs-Fixed: 2977860
2022-04-01 17:24:10 +02:00
Ziqi Chen
3ba9fbc3d6 sm8350-common: rootdir: Tuning UFS clkgate and ah8 during boot time
Disabling UFS clkgate and ah8 during boot time helps in reducing
IO delays, which helps in reducing the total boot time. This change
will disable UFS clkgate and ah8 during early-init and then enable
it back after boot completion.

Change-Id: I6a10cd57a30fe3bdc4fba72a0d84cdfa3b1fd513
2022-04-01 17:24:10 +02:00
Vaibhav Agrawal
8cd50b7bf2 sm8350-common: shima: Support ufs and emmc variant fstab files
Two fstabs are needed to support different data unit number (dun)
size for ufs and emmc hardwares. This needs different encryption
flag in fstab to address the difference in dun size.

[ArianK16a: don't add the emmc fstab since all our devices are ufs]

Test: Verified bootup, vts_kernel_encryption, fscryptctl.

Change-Id: Iff03422d39c789c544bdd86faef070ae46eb4e0e
2022-04-01 17:24:10 +02:00
Benergy Meenan Ravuri
57f5133467 sm8350-common: shima: Fix eMMC bootup issue
Remove the hard-coded path for /dev/block/bootdevice.
Instead use the bootdevice property.

Change-Id: I194587e250f1d24f677c6fd3f34a23f146d4bc7e
2022-04-01 17:24:10 +02:00
Michael Adisumarta
eac08cecb1 sm8350-common: init.target.rc: remove ipa fw loading in post-fs
Removing command to load ipa fw from post-fs, where FW mount
is not guaranteed.

Change-Id: I426bcfd2d9e0fb9f09a360374fe05b653676cf4b
CRs-Fixed: 2819603
2022-04-01 17:24:10 +02:00
Christopher Braga
f58b667d1f sm8350-common: rootdir: Update QMCS partition to mount with noatime
QMCS partition is not a read only partition, and risks the danger
of causing unnecessary disk churn when QMCS files are read.

Update QMCS partition to be mounted with the noatime option.

Change-Id: Icf7e565d0e1c990131ad090c2f466bea419b4ad4
2022-04-01 17:24:10 +02:00
Benergy Meenan Ravuri
637840c1e2 sm8350-common: init.target.rc: move spunvm partition out of lahaina/shima fstab
move spunvm partition out of fstab and mount in init.target.rc
only for lahaina as shima doesn't have spunvm partition.

Change-Id: I2b19c7cf84f23c0f73103fff2a2a7ae5a7dd186a
CRs-Fixed: 2801834
2022-04-01 17:24:10 +02:00
Arian
77842cb102 sm8350-common: rootdir: Fix creating persist display folder
Change-Id: I929324ff494ecbf5a0672e503980a547ee0c66ce
2022-04-01 17:22:23 +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
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
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
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
Erfan Abdi
eee102f62f sm8350-common: Drop unused EGL lib symlinks
* They’re not even added to installed modules
2022-04-01 17:12:23 +02:00
Luca Stefani
1275ef272b sm8350-common: Set linker to LLD
Change-Id: Ia165daa55ff707725b0619af12bf3a2e6e79c981
2022-04-01 17:12:23 +02:00