Michael Bestas
9426afc79d
sm6150-common: Remove deprecated config_mobile_tcp_buffers/networkAttributes
...
Change-Id: Ieda947e283cde11cf74a01dc1b438e1deeb902c9
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:10 +00:00
Ethan Chen
e3a11dd7b0
sm6150-common: Remove wigig leftover
...
Change-Id: If730bffdf749f30ddf0dfeec8ce769848b19b17e
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:10 +00:00
Cassie
c7355c5c9e
sm6150-common: overlay: Use the new auto network selection UI
...
Change-Id: I76698911103601d5f3ad67e1099790af8c2fdc18
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:10 +00:00
Cosmin Tanislav
064eea7f58
sm6150-common: Remove unused config_speed_up_audio_on_mt_calls
...
Change-Id: I2860ab34e0252418236a4d90623b4fbfc6ad994a
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:10 +00:00
Alexander Koskovich
52a7855c2e
sm6150-common: Enable concurrent restricted connectivity
...
Change-Id: I4258a337503e9dc9dea8e35b326a78fbec86bb88
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:10 +00:00
Danny Lin
722845628f
sm6150-common: Enable USB and skin temperature warnings
...
Change-Id: I951f60579a4b7fa2dcc270b5acd433ad1ecb083c
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:10 +00:00
Yan Yan
f3bdcb730e
sm6150-common: Add feature flag for IPSEC_TUNNEL_MIGRATION
...
This commit adds the IPSEC_TUNNEL_MIGRATION feature flag,
with XFRM_MIGRATE used as the implementation
Bug: 273379472
Test: build, flash and verify with "adb shell pm list features"
Test: atest IpSecManagerTunnelTest
Change-Id: Id2ee3e65183e32ea63f6251ba921e1e4c6b09ed0
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:10 +00:00
Pranav Vashi
4a72844b69
sm6150-common: sepolicy: Label props to address denials
...
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:10 +00:00
Pranav Vashi
db40a6c29d
sm6150-common: sepolicy: Do not audit surfaceflinger denials
...
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:10 +00:00
chrisl7
deadfd1b61
sm6150-common: sepolicy: Allow vendor_hal_usb_qti to acess vendor_sysfs_usb_controller
...
Change-Id: Ia6b9546fb951b4f2cbe80c2b67848c932f8f9160
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com >
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:10 +00:00
LuK1337
6460f75bb9
sm6150-common: init: Add formattable flag for /data fstab entry
...
Otherwise it results in broken data wipe in recovery.
Change-Id: I42bde849dc872f1d4d282c8bda3a87703c0eeebe
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:10 +00:00
Pranav Vashi
c4338f2280
sm6150-common: rootdir: Set up read ahead values properly
...
* QCOM sets up for dm-0, dm-1 and dm-2 on boot via init.qcom.rc and for sda* via post boot script.
* Also set watermark_scale_factor and watermark_boost_factor basis QCOM recommendation.
* Reduce swappiness to 60.
* Modify configure_read_ahead_kb_values to set nr_requests value.
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:10 +00:00
firebird11
e377ac3bc7
sm6150-common: Add back Saturated color
...
Change-Id: I34b1447dcebf59b6f468e7a671516c4ae86067c7
Signed-off-by: firebird11 <hbgassel@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:10 +00:00
Pranav Vashi
c4a6a68889
sm6150-common: overlay: Disable 5G toggle
...
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:10 +00:00
Pranav Vashi
4164dcec15
sm6150-common: configs: Update wcnss config from sm8150
...
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:10 +00:00
Pranav Vashi
d7833b9429
sm6150-common: overlay: Remove 5G specific config
...
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:10 +00:00
Pranav Vashi
7fb18748e0
sm6150-common: Use jemalloc to fix MIUI camera
...
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:10 +00:00
iovxw
c911863768
sm6150-common: audio: Remove FM Tuner from input devices
...
* This fixes google voice recorder.
Change-Id: Ibe1fb52ebee738b26e73ba9b45915a0317113de1
Signed-off-by: Andrzej Perczak <linux@andrzejperczak.com >
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:10 +00:00
markakash
9ec241ece2
sm6150-common: audio: Add wired headset mic source for voip_tx
...
* Fix mic issues in apps like WhatsApp
Change-Id: I2b178a7284038f7ed22449576b7f050d6c9d66bd
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:10 +00:00
Pranav Vashi
3a08fdd70f
sm6150-common: Move wide display prop to system.prop
...
* Vendor partition is RO and prop cannot be changed there to
disable wide color gamut.
Change-Id: Ie5d90bc608f428c2be11d5159aaec98a6cdfbd03
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:10 +00:00
ghostrider-reborn
56471e2a91
sm6150-common: overlay: Disable alpha compositing in WM
...
* Completely eliminates occasional jank in few animations
Change-Id: Ia4cb48664a52242374419a923d07fcf584fe50cf
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:10 +00:00
Pranav Vashi
5da1c3bb36
sm6150-common: Enable memcg on boot
...
Change-Id: I39707749b8df4505488e0e59667445ba1dd99790
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:10 +00:00
Pranav Vashi
5bd4e0c616
sm6150-common: sepolicy: Allow binder call for hal_camera_default
...
Change-Id: I661e3374947a4a4dff12164cad3a2e05bfce8ab4
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:10 +00:00
Adithya R
28bcb03e77
sm6150-common: Disable backpressure propagation in SF
...
* based on 7e86e7588a
* depends on 3bc0f96f58
Change-Id: I4816ba34e0ddf96c9d6f1c049bf584a4190c9a8e
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:10 +00:00
Pranav Vashi
867a7c6679
sm6150-common: Set TARGET_PACKAGE_NAME for miui camera
...
Change-Id: If6ad715b836d5650443002a41f789ebc5ec490f8
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:48:05 +00:00
chrisl7
da6c785129
sm6150-common: sepolicy: Label ro.vendor.ril.oem.wifimac property
...
[1] - E init : Unable to set property 'ro.ril.oem.wifimac' from uid:1000 gid:1000 pid:1362: SELinux permission check failed
[2] - W libc : Unable to set property "ro.ril.oem.wifimac" to "48:87:59:3f:ad:53": error code: 0x18
[3] - W /system/bin/init: type=1107 audit(0.0:61): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=ro.ril.oem.wifimac pid=1362 uid=1000 gid=1000 scontext=u:r:vendor_wcnss_service:s0 tcontext=u:object_r:radio_prop:s0 tclass=property_service permissive=0'
Change-Id: I1acac81964074aeb66e2f17970407ebe9744855f
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com >
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:00:27 +00:00
Pranav Vashi
84d24851b3
sm6150-common: sepolicy: Label fortsense prop
...
07-06 17:44:29.521 11518 11518 W android.hardwar: type=1400 audit(0.0:1502): avc: denied { read } for name="u:object_r:system_prop:s0" dev="tmpfs" ino=9574 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:system_prop:s0 tclass=file permissive=0
07-06 17:44:29.524 11518 11518 W libc : Access denied finding property "persist.sys.sw.dbg.en"
Change-Id: I07cf8a837b7e617a6727137035e7d8376b685ac5
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:00:27 +00:00
Pulkit077
6cf8efcf5f
sm6150-common: sepolicy: Label UFS discard_max_bytes
...
* Allow init.rc to write to discard_max_bytes
Change-Id: I91e2b6d1471eeaa91e1dd6fe9d26257de224405f
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:00:27 +00:00
Pranav Vashi
bb88e28fc9
sm6150-common: sepolicy: Allow init script access proc
...
Change-Id: I6a5b0350eb4b7bde5ccb44f8af1fff1dbcf38ecc
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:00:27 +00:00
ShevT
5a47f23074
sm6150-common: sepolicy: Label extcon sysfs
...
Fix warnings like:
W ExtconUEventObserver: Unable to read /sys/devices/platform/vendor/vendor:extcon_usb1/extcon/extcon3/cable.1/name. This probably means the selinux policies need to be changed.
W ExtconUEventObserver: Unable to read /sys/devices/platform/vendor/vendor:extcon_usb1/extcon/extcon3/cable.0/name. This probably means the selinux policies need to be changed.
Change-Id: I1859028d973246064f18efe47e95a7ff8eec657b
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 13:00:27 +00:00
Pranav Vashi
e575aef583
sm6150-common: sepolicy: Label camera props
...
Change-Id: Ib4e62c05abb875c8d59a0973b2f702ace3f24f8c
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:59:17 +00:00
Alexander Martinz
5c2efe2ee5
sm6150-common: lmkd: kill heaviest task instead of any eligible task
...
Also remove min oom_adj score override for critical tasks as well
as log_stats, which is true by default already.
Change-Id: I1ac259ccd21b4e9c56822bf55f243877979852e1
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com >
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:59:17 +00:00
althafvly
7e06c0ccb1
sm6150-common: Update CarrierConfig from munch V816.0.2.0.ULMMIXM
...
Change-Id: I4df6ab6ac380b3eeed1ab6ed64f64bc0e0d0ed3f
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:59:17 +00:00
Pranav Vashi
1a99a64259
sm6150-common: Setup zram with post-boot script
...
* This way zram size can be optimized.
Change-Id: Ida4fca8aab88ab5af3dcba166e98cf722bab6614
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:59:14 +00:00
Pranav Vashi
38fd4cd494
sm6150-common: rootdir: Configure buffered background throttling
...
Change-Id: I13b0677e2654ad40ee966b58b7b4427202af5f79
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:58:21 +00:00
Pranav Vashi
716efc3989
sm6150-common: sepolicy: Allow parts to set haptic intensity
...
Change-Id: I94774ccf021eb7713b41fc9d5ad6bb6979ca5d95
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:57:52 +00:00
Pranav Vashi
29b74efa2c
sm6150-common: sepolicy: Allow parts to modify thermal config
...
Change-Id: I940a6deef33df856f0e093c3d048708271e9ef2f
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:57:52 +00:00
Pranav Vashi
642251df47
sm6150-common: Set display props from stock
...
Change-Id: I0e2eb326c3e89f127c71e702645b26e1a009d74a
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:57:52 +00:00
Pranav Vashi
0431271ab6
sm6150-common: overlay: Configure turbo charging
...
Change-Id: I48bfe9d53b1d5887f653c14ab37a16f12d9b905f
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:57:45 +00:00
Pranav Vashi
3a8cd2847f
sm6150-common: Add back camera aux and privapp props
...
* Some blobs check these props directly.
Change-Id: I38d7f52d8ecbdfa4e17eb6f2fe250eebcbc8ed01
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:56:34 +00:00
helliscloser
8e67006761
sm6150-common: Explicitly disable "Enable GL comp backpressure"
...
When blur is enabled,
There is severe lag in; Launcher3 while scrolling apps in App drawer, Scrolling through recents and occasionally on QS pull down.
Enabling or completely removing the prop here d6233e0e7c doesn't seem to make an effect.
Explicitly disabling the "Enable GL comp backpressure" prop seems to slove the issue.
Lag & janks are gone now, even with blur.
Signed-off-by: helliscloser <mrumais@gmail.com >
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:55:55 +00:00
Pranav Vashi
bd4a67d192
sm6150-common: rootdir: Switch to lmkd
...
Change-Id: Iaa4ac06f35710231f53adff488c211404bf0cd43
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:55:55 +00:00
Pranav Vashi
f489c33789
sm6150-common: Remove XiaomiParts doze
...
Change-Id: Ie16ddda3347682b103217bd304d1b170f88654f0
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:55:22 +00:00
Pranav Vashi
774f4d6eef
sm6150-common: Disable zram writeback
...
* Disabled on many devices with reports to lagginess in long term and random reboot in some instances.
Change-Id: I73985159766da08cd35b0288db29cfafc7db62b0
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:55:22 +00:00
Pranav Vashi
028564770e
sm6150-common: sepolicy: Correctly label miui props
...
Change-Id: I2ddb25206d3452d28004ba1e186ca2285f51f306
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:52:56 +00:00
Alex Buynytskyy
157575378b
sm6150-common: Enable Incremental on new devices.
...
Bug: 185298880
Fixes: 185298880
Test: atest IncrementalFeatureTest
Change-Id: I06dcb75307d71e693ad58150889b208c063c664a
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:52:55 +00:00
Midas Chien
5af1c15be4
sm6150-common: Don't latch unsignal buffers
...
Set debug.sf.latch_unsignaled=1 is used to allow surfaceflinger to
latch unsignal buffers that can give more time for buffer to render.
But if the buffer takes longer time to finish, it will block whole
display pipeline result to jank.
Bug: 157964883
Test: scrolling, launch
Change-Id: I56c3e05921de5fc9569bf3f93fde03022a64b6a4
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:51:37 +00:00
Pranav Vashi
b9efdb26c7
sm6150-common: Use appropriate arch setup
...
Change-Id: Ib687617676ee308b4336a9a8be76777821009f0a
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com >
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:51:37 +00:00
basamaryan
f32066f19c
sm6150-common: Drop TARGET_KERNEL_CONFIG
...
Change-Id: Ic6401b4f5a33ff6ff2881705f51b7e4c57eaa172
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:44:34 +00:00
Adithya R
988be1072d
sm6150-common: sepolicy: Allow system_server to read fastcharge node
...
* required for oem fast charger detection
Change-Id: Ide02d4a2161b4e0d023eba18626aebe8cd3e11f9
Signed-off-by: therealmharc <therealmharc@gmail.com >
2025-05-09 12:44:32 +00:00