Commit Graph

720 Commits

Author SHA1 Message Date
KakatkarAkshay
014e9efda0 avicii: Import automatic brightness overlays from AC2003_11_F.17
Change-Id: I5d5d476530bfcd09533ac38de45866f31207d628
2023-03-09 16:33:03 +05:30
Anton Hansson
10e9beeaea avicii: Use TARGET_SCREEN_DENSITY
This variable is used to auto-populate the ro.sf.lcd_density as
well as selecting density bucket for resources in recovery.

Bug: 118676832
Test: adb shell getprop ro.sf.lcd_density
Test: boot into recovery
Change-Id: Ib383d18b61e7a2058a69ae26136aa053fdba4df2
2023-03-09 16:33:03 +05:30
KakatkarAkshay
1ae21d7dda avicii: Introduce fstab from LA.UM.9.12.r1-14300.01-SMxx50.QSSI13.0
Change-Id: I8b4708d1f1b3f2968d0bfa03deac0191ee9c3d15
2023-03-09 16:33:03 +05:30
Alexander Koskovich
843217dbad avicii: Disable the usage of ConfigStore.
* As per commit 11a113a67e ("Add disable_configstore").

Change-Id: I5482989a8a96227a3e2a5317eacf613c641bfa8e
2023-03-09 16:33:03 +05:30
Bruno Martins
52d3e5f9bf avicii: Migrate to AIDL ClearKey DRM HAL
Change-Id: Iad5cc1176978137c647069197b33f49fb4d98ab2
2023-03-09 16:33:03 +05:30
KakatkarAkshay
aa3962fef0 avicii: Remove custom apn configuration
* Nord isn't available in US

Change-Id: Ic307575a033ac6b1a7e0ba7a0274a22fd202b84d
2023-03-09 16:33:03 +05:30
KakatkarAkshay
6f44295d83 avicii: Set Boot animation resolution
Change-Id: I69eddc4ea95f356f88529154ff3de939cb352bb8
2023-03-09 16:33:03 +05:30
LuK1337
0462bbdf24 avicii: Set BOARD_ONEPLUS_DYNAMIC_PARTITIONS_SIZE to (super / 2 - 4M)
Change-Id: I37c1757d481b62895cb9f577b4ed649b912da6dc
2023-03-09 16:33:03 +05:30
LuK1337
39f391d776 avicii: Declare super partition size 2023-03-09 16:33:03 +05:30
LuK1337
37997f8190 avicii: Set reserved partition sizes on !WITH_GMS 2023-03-09 16:33:03 +05:30
Tao Bao
55721883cf avicii: Set recovery margin height to avoid clipping
Change-Id: Iaaaabd13de384a0ebfff9f527fcdd0338c3f99bc
2023-03-09 16:33:03 +05:30
Bruno Martins
3a986430e3 avicii: Consider lineage_avicii product via the AOSP way
Change-Id: Iab7b6c4d2817af88a133945df8fcc7fb964e35e9
2023-03-09 16:32:37 +05:30
LuK1337
679858f2aa avicii: Switch MDM remote fs symlinks to MSM
7250 has MSM baseband rather than MDM

Change-Id: Ie70a0c5dce177f293ccc0ff1b46a642527f85549
2023-02-19 00:07:52 +01:00
KakatkarAkshay
5b5560dc65 avicii: Correct WLAN Symlink
* sm7250 doesn't use qca6390
2023-02-08 18:37:55 +05:30
Alexander Koskovich
285584e76c avicii: Set the shipping API to 29 (Android 10)
Change-Id: I0739afc923402038f9cff5b9b87accc8e98ebea2
2023-02-06 01:11:21 +05:30
KakatkarAkshay
9b2d4d1ecf avicii: Initial rename from sm8250-common
Change-Id: Ied88e7cdac0624470c40d734957db1b4695d9021
2023-02-06 01:11:12 +05:30
LuK1337
b3996b9e9b sm8250-common: Register wise light as android.sensor.light
Sadly a lot of apps aren't aware of config_displayLightSensorType.

Change-Id: Ib1c2f0ba8305dbfe262722f2a1862dafaac973df
2023-01-21 01:50:46 +01:00
LuK1337
b572742ed2 sm8250-common: Unpin WFD system stack
Change-Id: I2d844412768c0468fe03ae11ea9a181267777acb
2023-01-15 13:22:19 +01:00
jabashque
852815b998 sm8250-common: init: Move VOOC-related writes back to init
This allows these same writes to happen in both Android and offline
charging mode, thus enabling VOOC during offline charging.

Change-Id: Iacf85966b5fa37eedb42887d666369fb63e13c33
2023-01-13 12:25:20 +01:00
Edwin Moquete
d62a96ef8d sm8250-common: Add missing vendor.qti.hardware.btconfigstore@2.0 impl
Change-Id: I93d20f9ab01f330da3060a25a9869d45e0269615
2023-01-13 13:23:26 +02:00
Michael Bestas
87cb64eee0 sm8250-common: Remove unused a2dp_audio_policy_configuration.xml
Change-Id: I36a06d3829b0ec2fd89ae49899f3ed268f6d9993
2023-01-09 17:59:40 +01:00
llololo
8244196031 sm8250-common: Remove A2DP input module in audio policy configuration
No Pixel device support A2DP sink functionality.

Bug: 163050296
Test: A2DP related test.
Change-Id: I269220cf29451ea79362fc004fa073713f72fdb2
2023-01-09 17:59:40 +01:00
Alice Kuo
9d8d2c79a1 sm8250-common: Disable LE audio related profiles
Bug: 231671426
Test: build
Change-Id: I57eaa7abe70e4c7739c707b09dc95530e10b5586
2023-01-09 17:59:40 +01:00
LuK1337
7ef0e52de4 sm8250-common: Update from OOS 11.F.15
Change-Id: If46b0ab89648c902be840b32e7420da68c35ada3
2023-01-09 01:16:03 +01:00
Edwin Moquete
e53be2ef64 sm8250-common: Remove unused persist.bluetooth.a2dp_offload.cap property
This prop has no effect as of T QPR1.

See: cf25e33147

Change-Id: Ic762812dd59429d344ccc55c01bf96b0ffd6dbab
2023-01-07 09:30:54 +00:00
Edwin Moquete
04e09521ef sm8250-common: Restore vendor bluetooth props
These are read by the BT audio blobs, even without the
QTI BT stack.

Change-Id: Ia2335bedfd7e19899c2cb32c23fcc664f2cfe8ce
2023-01-07 09:20:21 +00:00
LuK1337
bb5ca4c5c7 sm8250-common: Pull CarrierConfig overlay from OOS 11.F.13
Change-Id: Iff51b578735ec208427dd8f506d8119f8ec1be8c
2022-12-21 22:22:58 +01:00
LuK1337
bf4440b788 sm8250-common: Update from OOS 11.F.13
Change-Id: I4abe5d56416fdf5e1a41b62f2217c70ae15d21a7
2022-12-21 22:22:58 +01:00
LuK1337
faeaa51dee sm8250-common: Add stmvl53l1 TOF sensor support
Change-Id: Ic310be7daf4ff3f8700383fd1f8731c6bce62d56
2022-12-21 20:56:07 +01:00
LuK1337
8fa430ac92 sm8250-common: Update from OOS 11.C.36
Change-Id: Ia70263b10d0455e9c74a1481e50f795ddcafcb15
2022-11-26 16:16:43 +01:00
LuK1337
6fa8797615 sm8250-common: Use libcamera_metadata_shim for unlocking cameras
Change-Id: I985c6e317b36d8cdc6b41a9f9f625b293a8987eb
2022-11-25 15:48:13 +01:00
Michael Wright
0bd5603fc5 sm8250-common: overlay: Enable haptic text cursor
Support has landed in WebView, so time to turn it on in framework!

Change-Id: I064cf3512928637895932b3405adaec74b1ceed2
2022-11-16 13:21:20 +01:00
Dan Pasanen
f49ac8cad2 sm8250-common: Enable config_vibrateOnIconAnimation
* Need those sexy vibes.

Change-Id: If5671135879f6f4069d0ed881b41b0a243890349
2022-11-16 13:21:19 +01:00
Michael Bestas
1866366baf sm8250-common: overlay: Drop deprecated config_udfpsHbmType
Change-Id: Ie5aec6f2046a8eb9f0abb0913b675d291a242c1a
2022-11-16 13:21:17 +01:00
LuK1337
dd44d9bf8a sm8250-common: Update patched PowerOffAlarm.apk sha1sum
Somehow, the old patched PowerOffAlarm.apk got lost, so we have to
re-patch this apk again to not require oplus-specific permissions.
Update the sha1sum hash to match the new patched apk.

Change-Id: Id419245e7943de99d2316060205404b5c706f292
2022-11-10 12:05:48 +00:00
jabashque
9a408f0743 sm8250-common: Disallow aux cam usage for Zoom
Zoom seems to try using camera ID 2 for the back camera instead of
camera ID 0. Block access to aux camera for Zoom to force it to use
camera ID 0 for the back camera.

Change-Id: I99d79259a2a3adefb72a5ffed5fbbb37bd8b756d
2022-11-05 17:53:05 +00:00
LuK1337
ee35037bbb sm8250-common: Migrate vendor.camera.aux.packageexcludelist to overlay
Change-Id: Iee884cc98b5fada492b27e8085de98ae08406cf4
2022-11-04 20:30:09 +01:00
LuK1337
3892302e92 sm8250-common: overlay: Fix code formatting in config.xml
Change-Id: I5f1b157b01fd4e0beccd3fb7ed948f829a9f0b88
2022-11-04 20:29:08 +01:00
jabashque
af8b4dcede sm8250-common: Don't process display brightness on pxlw disp mode change
In libpwirissoft.so's `pxlw` class, `qcomSetDisplayMode()` ends up
calling `irisSetConfigEx()` with `brightness_level_` as one of the
parameters. `irisSetConfigEx()` ends up passing that `brightness_level_`
param to `processDisplayBrightness()`, which seems to do some sort of
additional dimming of the display output depending on what the current
brightness level is.

On AOSP, it looks like `brightness_level_` doesn't get set properly.
After hwcomposer is initialized for the first time (or terminated and
restarted), if we turn the panel off and back on at least once, and then
try changing display modes, hwcomposer seems to apply a constant dimming
of the display output regardless of the backlight level.

Let's work around that by nop-ing out the `irisSetConfigEx()` call in
`qcomSetDisplayMode()`. That way, `processDisplayBrightness()` won't get
called, and we will not get that dimming.

Change-Id: Ied87b229d596bcc597b9ccb0a47368cbcb97f54b
2022-10-17 18:27:36 +02:00
LuK1337
dc06d08c16 sm8250-common: Unlock more camera capabilities
Even though we now have gc5035 unlocked by default, this patch seems
to still be required to achieve the following:

* enables 48MP RAW10 Capture on third party camera apps
* enables long exposure capture support on all package names
* removes the 1/30s shutter speed cap from the viewfinder on third party
  camera apps
* enables support for the MFNR viewfinder on auxiliary lenses

Change-Id: If321a31aeffe22b471a08a58432096c9653c2f64
2022-10-16 23:39:54 +02:00
LuK1337
0f9d1c4d6a sm8250-common: Prevent adding same dependency twice in blob_fixup
Change-Id: Idedeb51e027a09f64a29ac67a3a2f2a0594213f6
2022-10-15 23:08:15 +02:00
LuK1337
82fe945b20 sm8250-common: Update WFD system stack from IN2020 11.F.06
Change-Id: I68b9187bb67275ff759fcfa42c41db9d9d208a17
2022-10-12 09:42:14 +02:00
AnierinB
4dfab1039e sm8250-common: Remove disabled and seclabel from wlchgmonitor.rc
* We aren't shipping wlchgmonitor for all devices, thus `disabled` is
  not necessary.
* Because we are properly labeling wlchgmonitor, we don't need
  `seclabel` either.

Change-Id: Ic0a28f6cef3a8dfeda560f6f04dc23feed0a601a
2022-10-04 20:09:48 +02:00
Michael Bestas
5256591ff9 fixup! sm8250-common: Build fastboot custom HAL
Change-Id: If8b60462306f2f92789f57749e9c6dcb81e2d096
2022-10-03 03:49:23 +03:00
Bruno Martins
4c81196793 sm8250-common: Import common bdroid_buildcfg
Now that BTM_DEF_LOCAL_NAME is gone (migrated to a sysprop)
we can commonize the header.

Change-Id: I67da0b9f877da358f71c7afdca448fc8cc58773e
2022-09-19 16:27:33 +02:00
Michael Bestas
172439ee05 sm8250-common: Fix disabling A2DP offload
Change-Id: I49c717a19afb2491b6280670fdbfe8765813a4dc
2022-09-19 16:27:33 +02:00
LuK1337
670bcba9dd sm8250-common: Pull appropriate USB props from vendor_product.mk
Change-Id: I93b25c5d0989c83d1c8d7b7946a083771febdddd
2022-09-19 16:27:33 +02:00
Alexander Koskovich
310cdffbc9 sm8250-common: Switch to AOSP NXP NFC HAL
Test: Verified NFC turns on, can read tags, and went
      to a Dunkin Donuts and used Google Pay.

Change-Id: I8cd8815ab883d83a5c07c8f01a9bdeff594c470b
2022-09-19 16:27:33 +02:00
Alexander Koskovich
d71fe353e7 sm8250-common: Update device that aptX is pulled from
* Same SHAs, but nice to note that it's the same on
   the newest release available.

Change-Id: I5c862470ac6f54251c8fa61984c734a51d89a750
2022-09-19 16:27:33 +02:00
Bruno Martins
4045d01d6a sm8250-common: Remove QTI BT stack bits
Change-Id: Ice6c2b0735aa7cb4b2e638a794c778883e706c97
2022-09-19 16:27:30 +02:00