Commit Graph

769 Commits

Author SHA1 Message Date
Diab Neiroukh
ae9d6537b9 sm7250-common: wifi: Enable channel bonding for Wi-Fi 4.
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 21:59:49 +05:30
Alastair Donaldson
a96406d9f8 sm7250-common: Add Vulkan dEQP feature flags
Change-Id: I55c39601687ab66745c17598ec08e3eee12bf84c
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 21:59:35 +05:30
aswin7469
7c63be3a8f Revert "sm7250-common: BoardConfig: Apply latest Kryo 785 & 385 Optmiziations"
This reverts commit 377add56440f2575579476c12451d1aad812eea9.
2023-01-05 21:59:19 +05:30
aswin7469
12c9486209 sm7250-common: label more wakeup nodes
log:

E android.system.suspend@1.0-service: Error opening event_count for wakeup104: Permission denied
E android.system.suspend@1.0-service: Error opening kernel wakelock stats for: wakeup24: Permission denied

Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 21:58:58 +05:30
MB
c17c94b335 sm7250-common: Improve haptic and vibe patterns 2023-01-05 21:58:49 +05:30
Venkata Sharath Chandra Manchala
15fc581ecf sm7250-common: wifi: Enable nl broadcast logging and disable packet logging
In Display ON DTIM power experiment it was found
that we have power saving with gMulticastHostFwMsgs=0
and gEnablePacketLog=0.

CRs-Fixed: 2506878
Change-Id: Ia4ea66c85c6ea3fd84f8f651de9db2c26fc134ed
Signed-off-by: Joey Huab <joey@evolution-x.org>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 21:58:40 +05:30
TheCrazyLex
1114bb3572 sm7250-common: wifi: Enable QPower and Deep sleep at the same time
* This enables Deep Sleep mode, additionally to QPower
* With this configuration, QPower manages the new Deep sleep mode
 -> Leads to amazing power savings

Change-Id: Ic4c23583cb008a5cfb14af15236f5aeba32f0f80
Signed-off-by: Joey Huab <joey@evolution-x.org>
2023-01-05 21:58:30 +05:30
Luk1337
ea6d8387cf sm7250-common: wifi: Disable RX wakelock feature
Change-Id: If79e1512a83f5162444683e1fa8f5560f98b6c9a
Signed-off-by: Joey Huab <joey@evolution-x.org>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 21:58:21 +05:30
ghostrider-reborn
7a9918cdf2 sm7250-common: Enable QCRIL radio power saving
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 21:58:13 +05:30
Adithya R
40d78cd290 sm7250-common: rootdir: Disable cnss_diag service
* useless for production builds, runs in background and
   sometimes spams logcat

Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 21:58:04 +05:30
Vaisakh Murali
17b308a944 sm7250-common: props: Use HintManager for HWUI
This will send HWUI timings to HintManager for better CPU scheduling.
Setting a 30% margin for CPU should heavily reduce CPU loads for HWUI and
use GPU for the rest.

Signed-off-by: drkphnx <dark.phnx12@gmail.com>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 21:57:55 +05:30
johnmart19
d972a291fc sm7250-common: Add android.hardware.media.c2@1.2 vendor version 2023-01-05 21:57:47 +05:30
Chenyang Zhong
cc3f770751 sm7250-common: Build media Codec2 modules 2023-01-05 21:57:27 +05:30
klozz
59a934bcda sm7250-common: media: satisfy C2 Codecs
We are using c2.qti codecs but satisfy aosp too
MediaCodecsXmlParser: MediaCodec: cannot update non-existing codec: c2.android.vp9.decoder at line 203 of /vendor/etc/media_codecs_performance.xml

Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 21:57:19 +05:30
KakatkarAkshay
bbbc1eb40a sm7250-common: Update Blobs from OOS 11.0.16.16.EB13DA 2023-01-05 21:57:08 +05:30
aswin7469
68031e1fee sm7250-common: include oneplus camera
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Manikantraaavi <raavimanikanta6595@gmail.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
Signed-off-by: Sandeep P S <sandymankara11@gmail.com>
2023-01-05 21:56:27 +05:30
Sandeep-FED
a0a2a575c1 sm7250-common: exclude WFDCommon
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 21:54:12 +05:30
XiNGRZ
b5984f28ca sm7250-common: overlay: Don't let burn-in protection shift too far
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
Signed-off-by: Manikantaraavi <raavimanikanta6595@gmail.com>
2023-01-05 20:38:25 +05:30
Keertesh
589743abf7 sm7250-common: Ignore neverallows 2023-01-05 20:38:10 +05:30
Akash Srivastava
f2b38cbae5 sm7250-common: Optimize art props
Ref: https://source.android.com/devices/tech/dalvik/configure#dex2oat_options
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2023-01-05 20:38:04 +05:30
srfarias
241e47a986 sm7250-common: add nodes to hide Magisk in banking apps
Some banking apps read the file /proc/net/unix to
find out whether things like Magisk are installed/running.

To prevent that, chmod it 440.
This file isn't needed by any other process when boot is finished.

I've tested this and banking apps that did not work before
and recognized Magisk being installed now don't recognize
that and work just fine.

Signed-off-by: aswin7469 <aswinas@pixysos.com>
2023-01-05 20:37:55 +05:30
Hernán Castañón Álvarez
19b503385a sm7250-common: Enable Alert Slider UI
Signed-off-by: CryllicBuster273 <cryllicbuster273@pixelexperience.org>
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Sipun Ku Mahanta <sipunkumar85@gmail.com>
Change-Id: I18d0a0a21c5b5793dc12acae8ccdf18335719038
2022-04-09 11:13:37 +00:00
Midas Chien
78fe83ac2b sm7250-common: enable idle timer with kernel support
Enable display kernel driver idle timer, which allows dropping to lower
refresh rate earlier and without additional overhead.

Bug: 160682800
Test: track idle timer through systrace
Test: zone test, scrolling
Change-Id: I6e82b58026d7b31cf0cabc0db7bb6277f6731d12
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Manikantaraavi <raavimanikanta6595@gmail.com>
2022-04-08 19:53:09 +00:00
Eamon Powell
0cc060fa35 sm7250-common: Add task profiles for API 31
This is necessary in order for stune boost to work.

Change-Id: Icc3444be95a177fb4b6ef77cbf582d696381b9cb
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Manikantaraavi <raavimanikanta6595@gmail.com>
2022-04-08 19:52:34 +00:00
PainKiller3
c58e44d7d4 sm7250-common: prop: Disable vsync for CPU rendered Apps
* Choreographer VSync has some performance impact for CPU rendered apps
as the app has to wait for VSync to start a new frame draw. When the
frame draw time exceeds one VSync, this has a direct impact on the FPS.
debug.cpurend.vsync property controls the VSync for CPU rendered apps.

Disable VSync for CPU rendered app, by setting this property to false.

Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
Signed-off-by: Manikantaraavi <raavimanikanta6595@gmail.com>
2022-04-08 19:51:58 +00:00
kunalshah
f49a0b06b2 sm8250-common: Disable config_displayBlanksAfterDoze
*This fixes ambient display

Signed-off-by: kunalshah <kunalshah912@gmail.com>
Signed-off-by: Manikantaraavi <raavimanikanta6595@gmail.com>
2022-04-08 19:48:59 +00:00
alk3pInjection
dce9f79f6b sm7250-common: sepolicy: label new fod status nodes
* Required for our fod hack.

Change-Id: I999b33ca675da101c58af79dc3b3363594fe25b9
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Manikantaraavi <raavimanikanta6595@gmail.com>
2022-04-08 19:40:01 +00:00
johnmart19
149dcdad46 sm7250-common: BoardConfig: Apply latest Kryo 785 & 385 Optmiziations
- Kryo 785 for 64 bit Operations
- Kryo 385 for our Cortex A55 small cores
---------------
This change require commits in system:
build_soong: PixelPlusUI-SnowCone/build_soong@3ccb23e5f4
bionic: PixelPlusUI-SnowCone/bionic@d9150457a9
art: PixelPlusUI-SnowCone/art@47b140b6e9

Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
Signed-off-by: Manikantaraavi <raavimanikanta6595@gmail.com>
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
2022-04-08 19:38:42 +00:00
sthomsonpl
725f3e9d73 sm7250-common: Silence clang warnings during kernel compile
*clang-11: warning: argument unused during compilation:
'-fuse-ld=lld' [-Wunused-command-line-argument]

Signed-off-by: Manikantaraavi <raavimanikanta6595@gmail.com>
2022-04-08 19:33:28 +00:00
John Galt
5589919dff sm7250-common: overlay/fwb/config: Actually enable adaptive AOD brightness
Signed-off-by: aswin7469 <aswinas@pixysos.com>
Signed-off-by: Manikantaraavi <raavimanikanta6595@gmail.com>
2022-04-08 19:32:32 +00:00
xdevs23
cc422f3fab sm7250-common: rootdir: Hide Magisk Better
* Some banking apps read the file /proc/net/unix to
find out whether things like Magisk are installed/running.

To prevent that, chmod it 440.
This file isn't needed by any other process when boot is finished.

I've tested this and banking apps that did not work before
and recognized Magisk being installed now don't recognize
that and work just fine.

Signed-off-by: Manikantaraavi <raavimanikanta6595@gmail.com>
2022-04-08 19:30:51 +00:00
Daniel Solomon
798b78c656 sm7250-common: Add config for display composition color spaces
* Currently we use the Display-P3 color space for display composition
   across all color modes on op8. We do this to facilitate a new version
   of Adaptive color mode; this forces display to always use P3 color
   calibration.

 * It turns out that in op8's case using P3 color calibration for sRGB
   content, even when the content is accurately converted to P3, degrades
   color accuracy for certain sRGB colors. To fix this, we revert back to
   pre-op8 behavior, where we let SurfaceFlinger choose the most
   appropriate color space for composition, for all color modes used on op8
   *except* for Adaptive color mode.

Bug: 137140317
Bug: 137053654
Change-Id: I8670f76aa8c7c513e5a6db291c970a20609d032d
2022-04-01 16:51:37 +05:30
Jake Weinstein
19b73df61d sm7250-common: Set display calibration on color mode settings
* sRGB on Natural and Boosted
   Unmanaged on Saturated
   P3 on Automatic

Change-Id: Ida1a64ff2ea99973f2e2a0fa7ca062c75b7c4831
2022-04-01 16:51:29 +05:30
Jake Weinstein
c5c683c160 sm7250-common: Configure available color modes
* Stock already enables Natural, Boosted, and Adaptive.
   We add Saturated to give more options.

Change-Id: Ie8bb08e2cac9f6facdf64f5aebfa2b195a841b43
2022-04-01 16:51:26 +05:30
maxwen
38f99fb7f6 sm7250-common: overlay: Hide sRGB toggle in developer options
* This is only available on Nexus/Pixel devices. Already implemented
   in LiveDisplay for devices that have the proper profile in the
   QDCM calibration file or provide the commands via sysfs node.

Change-Id: I1dbeafdef930bcfeb2b950b3adce293307abff85
2022-04-01 16:51:22 +05:30
Rohan Hasabe
93dc1146df Revert "sm7250-common: Map our display modes out using AOSP overlays"
This reverts commit 62a57c7eaabee925d3332ff0fce990bd662cb24e.
2022-04-01 16:51:17 +05:30
Albert Wang
ba1ef84271 sm7250-common: Update USB HAL to V1.3 implementation
Supports to enable/disable USB data signaling

Bug: 161414036
Test: Pass USB V1.3 HIDL tests
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: Iffe00f8753206fb66cd3ab96cae5aa5ad9c410cd
2022-04-01 16:40:24 +05:30
KakatkarAkshay
029bb8b7f2 sm7250-common: sepolicy: Get rid of persist.vendor.bluetooth.a2dp. property context
Duplicate prefix match detected for 'persist.vendor.bluetooth.a2dp.'
2022-03-28 23:51:39 +05:30
KakatkarAkshay
582ee73ed8 Revert "sm7250-common: Update qcom sepolicy include path"
* Merged in default branch now

This reverts commit 548aa839d0.
2022-03-28 23:51:39 +05:30
KakatkarAkshay
a61a2dffe4 Revert "sm7250-common: Switch to seperate repo for WfdCommon jar"
This reverts commit f85b8c31f5.
2022-03-28 23:51:39 +05:30
KakatkarAkshay
2ddaf2d87d sm7250-common: Use thermal-engine from OOS
* Causes "Device too hot" in google photos
2022-03-28 23:51:39 +05:30
LuK1337
947995ce82 sm7250-common: sepolicy: Allow camera to access vendor_xdsp_device
Change-Id: I59ee2b5a5f37690c2d55f8ee3acb0cdfb127e678
2022-03-28 23:51:39 +05:30
Dyneteve
427bce6e7a sm7250-common: Disable SIM {1|2} is HD capable notification
Change-Id: I2f3f2fc9f0e797170ab34d82b00b46259a5c7348
2022-03-28 23:51:39 +05:30
Bruno Martins
e378f9d95e sm7250-common: overlay: Enable smooth display with 120Hz
There's no point to keep using custom pref to set minimum refresh rate
when AOSP smooth display feature behaves in the exact same way in
our case.

Change-Id: I497918a9c9687443a9438fb6291769f6e51d9379
2022-03-28 23:51:39 +05:30
Michael Bestas
9ee20a9def sm7250-common: Build fastboot mock HAL
* This adds all the missing methods and makes fastbootd
  wipe work properly.

Change-Id: I4906f6e9dcc00d37a7fa97e0139ba536f00755fa
2022-03-28 23:51:39 +05:30
KakatkarAkshay
6b68c634cc sm7250-common: Update WFD Blobs from from LA.UM.9.12.r1-13400.02-SMxx50.QSSI12.0
* LA.QSSI.12.0.r1-04900.02-qssi.0
2022-03-28 23:51:39 +05:30
aswin7469
58cd1c84e1 sm7250-common: address denials for gcam
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2022-03-28 23:51:39 +05:30
aswin7469
885bb9c7eb sm7250-common: allow nfc data to read write
Signed-off-by: aswin7469 <aswinas@pixysos.com>
2022-03-28 23:51:39 +05:30
Akshay Kakatkar
5dc90dd003 sm7250-common: Drop op extras 2022-03-28 23:51:39 +05:30
KakatkarAkshay
c968f435a0 sm7250-common: Hardcode branch for hw/op 2022-03-28 23:51:39 +05:30