KakatkarAkshay
419a5b32d9
sm7250-common: Initial common device tree conversion
2021-09-26 09:18:39 +02:00
LuK1337
43591c3713
sm8250-common: Switch to hardware/oneplus components
...
Change-Id: I26ba94eac5d7a0cdad07559afe55e6cabe2e161e
2021-09-20 15:05:35 +02:00
Bowgo Tsai
1bf94e3dc1
sm8250-common: Including product partition into vbmeta_system.img
...
vbmeta_system.img should include HASHTREE descriptors for system.img,
system_ext.img and product.img, which will be updated in a system-only
OTA manner.
Bug: 170180068
Test: Tree Hugger
Change-Id: Iaf81dc11313826d146adb31d4edfbbd5310c48f6
2021-09-03 14:49:33 +02:00
LuK1337
7ad5bbf53f
sm8250-common: RIP remove_packages
...
No longer necessary since now we can just pass `OVERRIDES` to extract
utils and it'll handle it automatically for us :^)
Change-Id: I19c97f5daa72d809dae2442fcb2b8b81a702aaf2
2021-08-23 18:52:01 +02:00
Bruno Martins
e628853f9c
sm8250-common: Update ODM features list from OSS 11.2.8.8
...
Change-Id: I77e406f109815aec52ff6c9fd931dd1e17746452
2021-08-18 15:38:48 +02:00
Bruno Martins
8dbce66838
sm8250-common: Update ODM features list from OSS 11.2.7.7
...
Change-Id: Ic9138245adc8819c7662e933f3bbe6df062801e5
2021-08-18 14:25:10 +02:00
Bruno Martins
a625cadbd5
sm8250-common: Sync ODM features list with OnePlus framework
...
Change-Id: I5ee53189cb0783d7d2acec584aef6cecc7d612de
2021-08-18 14:25:00 +02:00
LuK1337
a980329556
sm8250-common: Update blobs from OOS 11.0.8.8
...
Change-Id: I60f5d95c8aa1a478466c359ec15b4116bce0a569
2021-08-18 14:19:45 +02:00
LuK1337
7ec6643321
sm8250-common: Include device FCM from vendor/lineage
...
Sadly we aren't able to include it globally without breaking other
devices ;((((
Change-Id: Ia29d6fb047a09a2b4767312cb2a3252c87095723
2021-08-02 22:54:23 +02:00
LuK1337
cb0dd0b4d4
sm8250-common: Remove all lineage HALs from FCM
...
No longer needed since we added device framework matrix in
vendor/lineage, see 78870c2.
Change-Id: I00233e7588dcfcd4bb66c42c52edb34cdff4376e
2021-08-02 15:56:57 +02:00
AnierinB
6a844cface
sm8250-common: FCM: Remove leftover IDisplayModes entry
...
- Follow up to commit Iba9d570dd7cef116e18f3e327c8ab5f5e63f2697
Signed-off-by: AnierinB <anierin@evolution-x.org >
Change-Id: If5a6e11d983161beee93e0770fdcce2311e9d417
2021-07-29 02:24:15 +00:00
Omkar Chandorkar
51943f7a17
sm8250-common: Use prebuilt vendor libdisplayconfig.qti.so
...
There are several VMTs inside that library that are prone to change
on CAF merges.
So far, last LA.QSSI.11.0.r1-12300-qssi.0 merge already modified
ConfigInterface VMT in a way that's not backwards compatible thus
it'd be better if we provided a prebuilt library instead.
Change-Id: I25fe58e6721b8d0e67882f576cfaf288c9992fc9
2021-06-28 13:35:47 +02:00
chandra
dc976b0c66
sm8250-common: Enable config_powerDecoupleInteractiveModeFromDisplay
...
* It's set to true on stock.
Change-Id: I23220f18e8376d05c769c01a289d27f658372cbc
2021-06-27 10:27:45 +02:00
LuK1337
a866a168f7
sm8250-common: rootdir: Strip out unnecessary SKU customization
...
I'd rather never wake up to wake_up_samurai.ogg.
Change-Id: Id52e643546b2e3e0a3eab8690188004c7a2386df
2021-06-21 09:25:54 +02:00
Bruno Martins
8ffaa9403b
sm8250-common: Copy haptics exclusion config directly from QTI repo
...
Change-Id: I9758f359c4be549b334e487bbc49ca34b749efc3
2021-06-19 14:06:34 +02:00
Bruno Martins
f0a77ac18c
sm8250-common: Remove unused keylayout and input device config files
...
Change-Id: Iddd5298bb0d9a7e2944166faf2811b780cf2c141
2021-06-19 13:27:07 +02:00
LuK1337
ae3fe29be1
sm8250-common: doze: Enable proximity sensor check for raise to wake
...
Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/3646
Change-Id: Ic546b25126e0dc44af444179f7041f6b5fe51763
2021-06-19 11:01:36 +02:00
Bruno Martins
eae431410f
sm8250-common: overlay: Set IWLAN data service package name
...
Change-Id: I0f6a7531f57eaf293299b72e9ced9de70cc32477
2021-06-17 11:09:50 +02:00
Fenglin Wu
e39871a9de
sm8250-common: vibrator: Add logic to detect QTI haptics device
...
Check input device name to make sure a real QTI vibrator device is
detected instead of other input FF device with the same capability
being recognized wrongly as a QTI vibrator.
Change-Id: I54f00e777212b3bd19088faa183b0ff41019dfcc
2021-06-17 10:50:00 +02:00
Bruno Martins
1b5b17e9ed
sm8250-common: Drop TARGET_QTI_USB_SUPPORTS_AUDIO_ACCESSORY
...
It is no longer necessary as per the latest QTI USB HAL update
(LA.UM.9.12.r1-11500-SMxx50.0).
Change-Id: I3caf226de247ac45bdcb9b35ab3a4c5b959dc1dd
2021-06-15 23:16:54 +02:00
LuK1337
bc32893867
sm8250-common: Update blobs from OOS 11.0.7.7
...
Change-Id: Iaf5c72c7c5b840afedbae498fd4d25c6aee74514
2021-06-12 19:04:02 +02:00
Arne Coucheron
04a49dee44
sm8250-common: Remove obsolete TARGET_BOARD_PLATFORM_GPU
...
Change-Id: I40a14bce12ee4725af17a3e8fbc05143e5577f8e
2021-06-11 12:07:22 +02:00
Sebastiano Barezzi
ce49dcdd35
sm8250-common: Remove USE_XML_AUDIO_POLICY_CONF
...
* Dead since Q, where XML audio policies weren't enforced yet
Change-Id: I302a0ed97964b052176dc3bb0141db1ba85e78c8
2021-06-08 13:50:08 +02:00
Sebastiano Barezzi
0e9898d708
sm8250-common: fod: Move to AOSP Soong conditionals
...
Change-Id: Iaf7c291d2f08262d9f578901d688eb98ade4beba
2021-06-08 13:37:11 +02:00
P.Adarsh Reddy
20a3d8694e
sm8250-common: Enable incremental FS feature.
...
Change-Id: I23e19b4fd6f65d9abeabb50b7b417db966717ccd
2021-06-07 10:41:49 +08:00
Anish Pratheepan
f5b4164b68
sm8250-common: Pull init.oem.rc changes from OOS 11.0.6.6
...
Change-Id: Ib091133baaebc703fc4905255a12b6694304edb2
2021-06-04 21:38:32 +02:00
Bruno Martins
d7b2e5ff2c
sm8250-common: Unset config_vendorPlatformSignatures
...
There's no need to respect OnePlus's platform key anymore as we are
building our own vendor image and thus we are resigning all apps.
Change-Id: I49d97df08c448cad95b2ce1356a30aac49774148
2021-06-03 10:18:49 +02:00
Bruno Martins
03e16e41d5
sm8250-common: sepolicy: Move tri-state-key labels to genfs_contexts
...
Change-Id: I072c2aaf5c9aae231c68bc9e55806eb59fa7f665
2021-06-02 11:42:54 +02:00
Bruno Martins
2bee5a8ca6
sm8250-common: Move "proprietary" seccomp policies to vendor
...
Also discard unused qspm.policy as we don't ship qspm.
Change-Id: Icc1b978d373de8b0b7bc3e483c088c2cdeb5d325
2021-06-01 10:56:16 +02:00
Bruno Martins
191c30fbd9
sm8250-common: Prepend "system/" before paths where necessary
...
Change-Id: I29a61453565d0b2a27c601b8e58edbe1bad3ec9a
2021-06-01 10:40:49 +02:00
Bruno Martins
70bd2661d2
sm8250-common: Ditch rild.libpath prop
...
This is only needed for AOSP rild services. It's currently
unused since the move to QCRIL.
Change-Id: I5eb4d0bc2d086d5a2f29e3c3f5ee2d8f0220f5f5
2021-06-01 10:23:44 +02:00
LuK1337
647b59d0c5
sm8250-common: overlay-lineage: Unset def_clock_position as 2 is default
...
Change-Id: Ic59ef7269eb211c6b784d6c7a003ac3083d4693c
2021-05-31 22:57:10 +02:00
Bruno Martins
6d2fb2f68b
sm8250-common: overlay-lineage: Place volume panel on the left by default
...
Change-Id: Iffcfad9af472ada48c0dc12cf238fd959355bc6a
2021-05-31 22:56:02 +02:00
Bruno Martins
919636446c
sm8250-common: Move unnecessary WFD priv-app permissions whitelist
...
Our apk does not have these permissions in AndroidManifest.xml.
Change-Id: I5c8adf64e83a570f8c6a90ad7f082c78b707cb07
2021-05-28 00:14:43 +02:00
LuK1337
f972f8c9fb
sm8250-common: Update blobs from OOS 11.0.6.6
...
Change-Id: I5b0519136cbca2b94c90fbae114197f4f1d4416e
2021-05-27 14:26:19 +02:00
LuK1337
ce7f97800c
sm8250-common: Decommonize voice call volume steps
...
Apparently there are issues on non-8T with vol steps set to 9.
Change-Id: Icc8f1dd75c67cf2cc247301ec8606326e4b6f3d5
2021-05-20 09:33:00 +02:00
Hikari-no-Tenshi
756ac6b751
sm8250-common: fod: Remove no longer needed chown/chmod and sepolicy
...
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev >
Change-Id: Id7d6c7e1196db020673ea92f691d93ca3511dcf4
2021-05-18 16:52:03 +02:00
alk3pInjection
e57d3a223a
sm8250-common: fod: Properly set dim
...
Matches the behavior of stock rom
Co-authored-by: Hikari-no-Tenshi <kyryljan.serhij@gmail.com >
Signed-off-by: alk3pInjection <webmaster@raspii.tech >
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev >
Change-Id: I76566f0cf427dcf858fae222e71090ed82eeb710
2021-05-18 16:52:03 +02:00
Art_Chen
2a0985f372
sm8250-common: fod: Return touched z-order only
...
OnePlus places FP layer upon the dimlayer, causing the former one
highlighted. Only return the z-order with fingerprint pressed to
target the layer we need.
Signed-off-by: alk3pInjection <webmaster@raspii.tech >
Change-Id: I4666718018aa135a7d6387d957f136f23a5a5670
2021-05-18 16:52:03 +02:00
Nauval Rizky
1a67d0fdc2
sm8250-common: doze: Introduce raise to wake gesture
...
* Highly inspired by iOS raise to wake
- Adapted to OnePlus sm8250 doze
sm8250-common: doze: Add min interval for raise2wake
* avoid having early wakeup
* also fix typo in acquire timeout
sm8250-common: doze: Enable pickup when raise to wake is toggled
- This is needed in order for raise to wake to function properly.
sm8250-common: doze: Fix pickup status for raise to wake
Co-authored-by: AnierinB <anierinb@evolution-x.org >
Co-authored-by: AshutoshSundresh <ashutoshsundresh@gmail.com >
Co-authored-by: LuK1337 <priv.luk@gmail.com >
Signed-off-by: AnierinB <anierinb@evolution-x.org >
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev >
Signed-off-by: LuK1337 <priv.luk@gmail.com >
Change-Id: I5df0c4f11f1b24ab813abc393960c5f03f5fab1f
2021-05-16 17:03:16 +02:00
LuK1337
bb16435fa4
sm8250-common: Relocate volume steps customization to vendor.prop
...
Change-Id: Ic0d0666de7899dde5afbd1cd40370ccea2837419
2021-05-04 19:45:43 +02:00
Han Wang
fad4f2f288
sm8250-common: Switch to OOS volume steps
...
* Call volume step is directly picked from OOS and it seems
that OOS hardcoded media volume step to 30, which is the
behavior that user experiences.
Change-Id: Ib306646dbde61934d8a29447cd186f54f775a407
2021-05-04 19:44:30 +02:00
LuK1337
1dc5f1546b
sm8250-common: sepolicy: Label op_charger
...
Health HAL wants to access it.
Change-Id: I07a8c11324c0a8b9bae6e7c027aa69df7ee5b7d1
2021-05-04 19:40:51 +02:00
LuK1337
86b4e9c707
sm8250-common: vibrator: Sync with upstream
...
Change-Id: Ia72f93829bbeaf9c80aafa5b7d4310948029a078
2021-04-28 18:29:10 +02:00
LuK1337
2bf9eeee2f
sm8250-common: overlay: Map out our display modes
...
Change-Id: I2755d5a938848d41382f1d3945f008d94eec1cbd
2021-04-27 18:49:50 +02:00
LuK1337
de5498efab
sm8250-common: livedisplay: Rip out IDisplayModes
...
We are now using AOSP-ish display modes implementation.
Change-Id: Iba9d570dd7cef116e18f3e327c8ab5f5e63f2697
2021-04-27 09:35:23 +02:00
LuK1337
4c76d02e85
sm8250-common: livedisplay: Don't write to DCI_P3 node on boot_completed
...
Apparently on hotdogb DCI_P3=0 looks really bad...
Change-Id: If63ee6aaa5ae09e1acc9204c3a2b8201c1950488
2021-04-26 15:41:05 +02:00
LuK1337
bb16a2e105
sm8250-common: livedisplay: Reset display mode prop on modeID == 0
...
Change-Id: I19e1e99fc1a850a18f0d76e9644f7000d087da29
2021-04-26 15:41:04 +02:00
Nolen Johnson
9a36678b92
sm8250-common: Kill deprecated/unneeded board flags
...
* TARGET_KERNEL_ARCH - no-op unless it differs from TARGET_ARCH.
Change-Id: I8d140fecdbbaac979bc8398745ffa95b911e4c89
2021-04-23 20:11:14 +02:00
Anton Hansson
0c11497347
sm8250-common: Remove obsolete dex settings
...
This block is completely redundant because..
- WITH_DEXPREOPT := true is the default
- WITH_DEXPREOPT_PIC is never read
- DEX_PREOPT_DEFAULT := nostripping has no effect when the
BOARD_USES_SYSTEM_OTHER_ODEX flag is set to true
Test: make
Change-Id: I618a1e395ca1a14555cd50eef1a4f1aa079b553d
2021-04-23 20:11:14 +02:00