Commit Graph

823 Commits

Author SHA1 Message Date
Cassie
5761196822 sm7250-common: overlay: Use the new auto network selection UI
Change-Id: I76698911103601d5f3ad67e1099790af8c2fdc18
Signed-off-by: Sandeep P S <sandymankara11@gmail.com>
2023-01-05 22:52:49 +05:30
KakatkarAkshay
efd25e2bc1 sm7250-common: Update carrierconfigs from latest OOS 2023-01-05 22:48:04 +05:30
TheScarastic
8924d1d3b4 rootdir: Disable few debug services
Change-Id: I7de43f5849a97ee2b1894caeec1c7ecbb5df2777
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:47:56 +05:30
Kshitij Gupta
c2a5c2be5c sm7250-common: sepolicy: dontaudit untrusted_app to open ashmem_device
- Fixes scroll lag in many apps, such as Twitter:
    W RenderThread: type=1400 audit(0.0:12371): avc: denied { open } for path=/dev/ashmem dev=tmpfs ino=10848 scontext=u:r:untrusted_app:s0:c123,c256,c512,c768 tcontext=u:object_r:ashmem_device:s0 tclass=chr_file permissive=0 app=com.twitter.android

- Apps are no longer allowed open access to /dev/ashmem, unless they
  target API level < Q.

- 8b12ff5f21

Change-Id: I6405786fea05891642d8437acafcd8c891d75912
2023-01-05 22:47:50 +05:30
Alex Naidis
1add6a0350 sm7250-common: wifi: tune bmps listening interval
Tune the BMPS listening interval for the moderate power level to achieve
power savings during wifi idle.

Change-Id: I0f5f8fafb6f6b3eaa6a855aa1a7dc12c3886ddce
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
Signed-off-by: Albert I <krascgq@outlook.co.id>
Signed-off-by: karthik1896 <karthik1896@outlook.com>
Signed-off-by: Cykeek <Cykeek@proton.me>
2023-01-05 22:47:44 +05:30
manikantaraavi
0c74aa8e55 sm7250-common:overlay:config_roundedCornerMultipleRadius
Signed-off-by: manikantaraavi <raavimanikanta6595@gmail.com>
2023-01-05 22:47:34 +05:30
Sandeep-FED
97d87e7a6e sm7250-common: set kernel toolchain path
*git clone --depth=1 https://github.com/kdrag0n/proton-clang prebuilts/clang/host/linux-x86/clang-proton

Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:47:29 +05:30
Siddeswar Aluganti
0b6bc1943b sm8250-common: gpt-utils: Update PTN_SWAP_LIST and handle multiimg(oem/qti)
* Update PTN_SWAP_LIST to reflect partition entry changes
   to BOOT LUN and handle "multiimgoem", "multiimgqti"
   partitions, similar to other BOOT LUN partitions.

Change-Id: I3fb2934c44f3c2555ef36437ae97c9a47bb874ed
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:47:23 +05:30
Sandeep-FED
53550a2c1b sm7250-common: cleanup some sepolicy
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:47:16 +05:30
Ziauddin Sameer
10ad5b35cd sm8250-common: Wipe resource cache on boot
Fixes resource derp issue

Signed-off-by: manikantaraavi <raavimanikanta6595@gmail.com>
2023-01-05 22:47:11 +05:30
manikantaraavi
6452684b14 sm7250-common: Use Proton CLANG
Signed-off-by: manikantaraavi <raavimanikanta6595@gmail.com>
2023-01-05 22:47:06 +05:30
Kujou Yuko
d7f24cb3e5 sm7250-common: Enable Audio Support for Hearing Aids central support
Signed-off-by: Kujou Yuko <i@779.moe>
Change-Id: I792a9715f17c1f17fb8b9a524cabed901d3e6f4a
2023-01-05 22:46:57 +05:30
Sal Savage
78f9472446 sm7250-common: Update LE Audio profile properties to match spec and implementation
Bug: 217448211
Test: atest BluetoothInstrumentationTests
Change-Id: I1260e95d357bd86099f75b910e0d744f97513fbc
2023-01-05 22:46:50 +05:30
Sal Savage
d905efc99b sm7250-common: Enable bluetooth profiles with system_ext.prop
Bug: 217448211
Test: make -j
Change-Id: I0d06b46910e42346653bea3484636f4129592ce3
Signed-off-by: manikantaraavi <raavimanikanta6595@gmail.com>
2023-01-05 22:46:44 +05:30
weichinweng
8a68b5c624 sm7250-common: Align ASHA prop with BluetoothProperties
* Modify bluetooth.profile.asha.central to
  bluetooth.profile.asha.central.enabled

Tag: #feature
Test: manual
Bug: 211570675
Bug: 218454632
Change-Id: I8e1f49034e5a675b29fba747e634c9f7c6c29c50
Signed-off-by: manikantaraavi <raavimanikanta6595@gmail.com>
2023-01-05 22:46:38 +05:30
Sal Savage
cae587bb82 sm7250-common: Set default the Bluetooth class of device
The class of device is a string with a list of uint8t values:
90,2,12

The meaning is as follows:
{Service Field, Major class, Minor class}

Service Field: 0x5A -> 90
    Bit 17: Networking
    Bit 19: Capturing
    Bit 20: Object Transfer
    Bit 22: Telephony
MAJOR_CLASS: 0x02 -> 2 (Phone)
MINOR_CLASS: 0x0C -> 12 (Smart Phone)

Bug: 217452259
Test: make -j; -- check that bluetooth.device.class_of_device is
correct

Change-Id: I07e83ca352ff969be0e53a0f63b6c940b6c34dfb
2023-01-05 22:46:29 +05:30
Etienne Ruffieux
5dbd0af893 sm7250-common: Added new vendors for Bluetooth config migration
Tag: #feature
Test: manual
Bug: 211570675
Change-Id: Id74ec5e1b30f21c534c35b212a2fb297e9d591fb
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:46:23 +05:30
Josh Wu
1c490fe100 sm7250-common: Switch BtAudio to AIDL
Test: m
Bug: 203490261
Change-Id: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
Merged-In: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
2023-01-05 22:46:16 +05:30
Akshay Kakatkar
8450fb0f17 sm7250-common: Switch to AOSP BT Stack
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:46:06 +05:30
Keertesh
c13e9f282a sm7250-common: SEPolicy: Address denial for hal_fingerprint_default
*W HwBinder:1461_1: type=1400 audit(0.0:546): avc: denied { write } for name="touch_hold" dev="proc" ino=4026534068 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=0
2023-01-05 22:46:01 +05:30
Keertesh
75162adc10 sm7250-common: Change gsi_keys to developer_gsi_keys
*Deleted in a13
2023-01-05 22:45:54 +05:30
Keertesh
abd911b9c0 sm7250-common: SEPolicy: Cleanup
*throws errors

Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:45:47 +05:30
Gabriel Biren
413ca1aa8b sm7250-common: roodir: Update init script to use Supplicant AIDL interface.
Bug: 196235436
Bug: 213271543
Test: m
Change-Id: I35ffd5390ba835e3b35e55ea38b27f1ab924b291
2023-01-05 22:45:41 +05:30
Lucas Dupin
45a3b5eae8 sm7250-common: overlay: Fix Fingerprint Wake-up Animation
Test: visual
Fixes: 147705230
Change-Id: I81071e87a4d945cf243a288acf97586a4f63c3fa
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:45:36 +05:30
Sandeep-FED
058d8522b7 overlay: disable night light fod
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
Signed-off-by: Sandeep P S <sandymankara11@gmail.com>
2023-01-05 22:43:49 +05:30
Jun Wang
e7f1277914 sm7250-common: perf: Enable the pre-rendering feature
* Pre-rendering feature can improve FPS and reduce the janks
   in scrolling cases.

Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 22:39:44 +05:30
zljing
b5ad74a0ce sm7250-common: Enable dex2oat64 to do dexopt
CR-Fixed: 2989784
Change-Id: Ibe30b53251b26d611ce93714d9521a933aca2227
2023-01-05 22:39:39 +05:30
aswin7469
196f4506d3 sm7250-common: remove unneeded ro.surface_flinger.use_color_management
* color management is turned on by default on android 12

Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:39:24 +05:30
Adlai Holler
37d7daf3eb sm7250-common: Enable skia reduceOpsTaskSplitting
Bug: 183612348
Change-Id: Iefde4a449f78c2298190d1a0a2d059788ed27bb2
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 22:39:19 +05:30
aswin7469
7a788d3a99 sm7250-common: overlay: warp charging
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 22:39:06 +05:30
aswin7469
da13ced8b9 sm7250-common: reduce TARGET_SCREEN_DENSITY
* matches pixels with similar display size

Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 22:39:01 +05:30
Sandeep-FED
4b59886315 sm7250-common: set default refresh rate to 0
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:38:52 +05:30
Anirudh Gupta
cdb005fc97 sm7250-common: overlay: Define slow brightness ramp animation rate
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
Change-Id: I00a4303a1a6e237ea0241e539ce635c0d4b9790f
Signed-off-by: Pranav <npv12@iitbbs.ac.in>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 22:38:44 +05:30
TH779
4d17856c81 sm7250-common: Declare OpenGL ES dEQP level
Signed-off-by: TH779 <i@779.moe>
Change-Id: Ia3a840b993c646ce1b017f4f55aef94d13040266
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 22:38:36 +05:30
HotDogfinba11
65ea78171c sm7250-common: Adaptive charging xml
Allows to enable adaptive charging toggle.

Signed-off-by: sakhiofsakshi <imsakshisharma04@gmail.com>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 22:36:56 +05:30
Park Ju Hyung
5cc57c3755 sm7250-common: device: Relax timers for automatic refresh rate switching
* Due to visible gamma shifts on our panels, we should
   make the switchings to happen conservatively.

 * With idle timer >= touch timer, idle timer now always
   takes precedence, but we're leaving touch timer property
   to immediately switch back to 120Hz on touch input events.

 * Display power timer is left untouched as it's responsible
   for display mode changes such as Doze.

Change-Id: If8b1e00a2d2213c4d2288ab28fad4ba0826a36e8
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 22:36:43 +05:30
Danny Lin
01b17acae3 sm7250-common: overlay: Enable subtle tick vibration when revealing shelf
The stock ROM enables this because our vibrator supports subtle "tick"
vibration effects. Enable it in our device tree as well to make pulling
down the notification shade/QS panel feel slightly more interactive.

Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:36:34 +05:30
hpnightowl
9ffab294f4 sm7250-common: common: Drop audio.a2dp.default
* Building from here:
   https://github.com/LineageOS/android_build/blob/lineage-18.1/target/product/full_base.mk#L35

Change-Id: Ib71c1abd381468ec3621d60e5ca959f738f51168
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
Signed-off-by: rany <ranygh@riseup.net>
2023-01-05 22:36:24 +05:30
Chandu Dyavanapelli
60b91c0696 sm7250-common: rootdir: Update scripts from LA.UM.9.12.r1-14200-SMxx50.QSSI13.0
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 22:36:17 +05:30
Midas Chien
ea3a9386c9 sm7250-common: add display fps deferral
The FPS deferral property allows deferring clock/bandwidth votes
when switching from high refresh rate to low in case hardware
takes some extra time to change refresh rate.

Bug: 152468927
Bug: 154607334
Test: 60/90 switching, no noise line
Test: systrace to check vsync period
Change-Id: I47284578d13c203b14b3213081faf258dd9a542b
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 22:36:10 +05:30
Ramisky
8b97ab3a18 sm7250-common: set Surfaceflinger refresh rate timers
This to allow us to idle to lower refresh rates even if the app is requesting a higher one if it's idle to save battery life, or boost even on apps that don't request a certain high refresh rate to get a smoother experience

Change-Id: Ie611283e1d75a31b218454073e85742be91fdf07
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 22:36:04 +05:30
Ramii Ahmed
bf913e6885 sm7250-common: props: Enable content based SF refresh rate setting
Change-Id: I6a79a172df58f724e1d43ae527bc5fbd3ec7ea67
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:35:57 +05:30
Akash Srivastava
e7fb163ef0 sm7250-common: Optimize art props
Ref: https://source.android.com/devices/tech/dalvik/configure#dex2oat_options
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
Signed-off-by: Sandeep P S <sandymankara11@gmail.com>
2023-01-05 22:35:39 +05:30
hkuang
df2eee5d0c sm7250-common: Add transcoding related property
Bug: 175231451
Test: CtsMediaTranscodingTestCases:MediaTranscodeManagerTest
Change-Id: I439ca19f718b9ea0d2fe0eb6f6960a4aa80d915d
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 22:31:53 +05:30
wenchangliu
2ccd595f04 sm7250-common: Codec2: Set minQP to 1 for IMS VT Call
We can not reach to the target bitrate in CBR mode with default minQP
when VT Call set iframe interval = -1. Set minQP=1 to generate enough
bits from encoder in CBR mode.

Bug: 155482704
Test: reproduce steps in bug
Change-Id: If59cf475683eb4cf8b83d02653272a1cd8294dd5
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 22:31:47 +05:30
Sebastiano Barezzi
e8e59cd57d sm7250-common: Stop explicitely building netutils-wrapper-1.0
* Built by default

Change-Id: Id6666535bb8d0b84d2d0a8d19411fafa49df3d68
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 22:31:41 +05:30
Sebastiano Barezzi
4f16df691b sm7250-common: Drop QTI camera device usage
* qcom-camera topic hasn't been ported to 19.1
* Keep building vendor.qti.hardware.camera.device@1.0 interface lib, IMS stack and possibly camera HAL still needs it

Change-Id: I87bcd5b54ad986d5844df50de243fc1a18507198
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:31:35 +05:30
Sebastiano Barezzi
1748d6510c sm7250-common: Remove USE_DEVICE_SPECIFIC_CAMERA
* Doesn't exist
* also remove unused TARGET_CAMERA_NEEDS_CLIENT_INFO_LIB := true

Change-Id: I10fc7de8721f3c871d00522e1d85c2a8d8c18160
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:31:30 +05:30
Sebastiano Barezzi
0ef94be9da sm7250-common: Remove TARGET_ENABLE_MEDIADRM_64
* It's only used when building drm@1.0 HIDL

Change-Id: I06412e2dd2bb48d798be4ef6e9a26a17b65277a7
2023-01-05 22:31:24 +05:30
aswin7469
cd7d09b9d9 sm7250-common: nuke non-existent oneplus gpudriver prop
* we switched to caf graphics blobs

Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 22:31:16 +05:30