Commit graph

205 commits

Author SHA1 Message Date
SGCMarkus
648bb269bd
berlna: overlays: enable 5G SA and NSA
Change-Id: Icf55910aebae8d0ae519f0a0c20708aa81ae0bfc
2023-01-26 09:39:42 -08:00
Cosmin Tanislav
e437126afc
berlna: remove old dt2w overlay
berlna is now using a custom sensors lib for it, remove the old overlay.

Change-Id: Ie3388571ef6e7ac47cf14b1159635354f7daf276
2023-01-26 09:39:39 -08:00
sb6596
90785f4c01
berlna: Drop unused TARGET_TAP_TO_WAKE_NODE flag
* We now have sensors doing it for us

Signed-off-by: sb6596 <shubhamprince111@gmail.com>
Change-Id: Ia2f164f879bd895bba51b1d7db19efd09e03951a
2023-01-26 09:39:36 -08:00
Cosmin Tanislav
bff83b0c5b
berlna: enable double tap sensor proximity check
Change-Id: I4b800d9d9b8aefbee38c287ae72828b67e8d46ca
2023-01-26 09:39:33 -08:00
Cosmin Tanislav
d39e501b80
berlna: sensors: Implement double tap sensor
Change-Id: I6c217c994d6e4d5ae062a31a44fffc9f097a7f6f
2023-01-26 09:39:26 -08:00
Cosmin Tanislav
ccaae7da9e
berlna: sensors: Create sysfs polling one shot sensor
Change-Id: Ie78d7729201836bacd65a57f76e22adb61159192
2023-01-26 04:05:19 -08:00
Cosmin Tanislav
7771e8d864
berlna: sensors: Fix locking around setOperationMode and activate
Change-Id: I9a09f45f012662c8f92fa40da3a4b9dd691a1b2c
2023-01-26 04:05:19 -08:00
Cosmin Tanislav
07729462e5
berlna: sensors: Move one shot sensor out of main class
Change-Id: Ib7ac0c55409f2dc7f8fb114167e9f4b2e8859223
2023-01-26 04:05:19 -08:00
Cosmin Tanislav
6087c8e558
berlna: sensors: Make sensor set mode operation function virtual
Change-Id: I62c94a6ad250417162cfc9eaca8cb490ce650d9c
2023-01-26 04:05:19 -08:00
Cosmin Tanislav
387ca5318d
berlna: sensors: Make sensor flush function virtual
Change-Id: I46532fc726d9e0c2073100ff1f6008fcde9e821c
2023-01-26 04:05:19 -08:00
Cosmin Tanislav
1adc6cd0c0
berlna: sensors: Make sensor run function virtual
Change-Id: Ie50900903bbf4a302baff084f229c37c5c324742
2023-01-26 04:05:19 -08:00
Cosmin Tanislav
fe4ad452f3
berlna: sensors: Make sensor batch function virtual
Change-Id: I2de1e919234c4893b0b70390c0189cae38dbbe6c
2023-01-26 04:05:18 -08:00
Cosmin Tanislav
b093d06738
berlna: Add dummy sensors sub HAL
Change-Id: Ie20ed775344990de3e16e2eefba1754d831027fb
2023-01-26 04:05:18 -08:00
Cosmin Tanislav
458871e380
berlna: Import hals.conf
Change-Id: Ifdc949ff5c8e008de4d58162fd90f9cd91d3581d
2023-01-26 04:05:18 -08:00
Lucchetto
08eb943a6d
berlna: Lights: Move to android.hardware.light-V1-ndk_platform
Signed-off-by: Lucchetto <lucchetto.tie@live.com>
Change-Id: I25b6c277feeb7c21bcf752a612d27a4f2bafead2
2023-01-26 04:05:18 -08:00
dianlujitao
4ba4469097
berlna: lights: Restore QCOM notification LED behavior
Change-Id: Idb952c8b91caa03a07f1bac75a1f5126cd87f416
2023-01-26 04:05:18 -08:00
dianlujitao
f364528ccf
berlna: Clean up lights HAL
Change-Id: Iaa5f7b62261730d12ddbbdc0c87ef3c2fbf8b395
2023-01-26 04:05:18 -08:00
electimon
f9e7851d2b
berlna: Fit in the lights aidl
Signed-off-by: electimon <electimon@gmail.com>
Change-Id: Id5a24e52ade5001136ba52e3ea90a3bb085af263
2023-01-26 04:05:18 -08:00
Erfan Abdi
217c85f5d6
berlna: Add lights hal
* Based on motorola sdm632

Change-Id: If4fe7a661e532de13b86b80a6dd18c0281172e7d
2023-01-26 04:05:17 -08:00
Andrew Hexen
bf14f6c729
berlna: Copy touch firmware to recovery
* Using previous logic of kmods add the touch firmware to recovery.

Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: If1c1e9a8e461cbf5a053a386914fa91e63608e63
2023-01-26 04:04:43 -08:00
Andrew Hexen
095791b2c4
berlna: proprietary-files.txt: Initial blob conversion
Change-Id: Iee9bcb47e21f29c0773b2f83a19cc8447a5b2e16
2023-01-26 04:04:35 -08:00
Andrew Hexen
54620640ab
berlna: add README.md
Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: If1a4bd116e336813fa33a4cfae043a7fa3ea39b1
2023-01-26 04:04:28 -08:00
Andrew Hexen
0140955551
berlin --> berlna
Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: I45420899d75fa8a29642cd8eec1d9ec8b34b8f8b
2023-01-26 04:04:19 -08:00
SGCMarkus
c862e79605 berlin: update security patch and blobs from S1RGS32.53-18-22-11
Change-Id: I18997b425f1c2fdd975483480d9a2e3fbe969e6f
2022-12-12 13:13:03 +01:00
SGCMarkus
af1ac57af8 berlin: overlay: reduce rounded corner radius
Even though stock also uses 90px, this does not match
our panel. In light mode one can see bright areas in
the corner of the screen due to the missmatched rounded
corner radius.

Change-Id: I22e3f78273c08297ef9a2ce8595ac3eb74bbe724
2022-12-12 12:48:47 +01:00
AdarshGrewal
3d213e6fe5 berlin: Patch MotCamera3 to remove dependencies for motosignature and moto-settings
Change-Id: I1eee8f503aabd7a80194f89e196a2931404bffdc
2022-10-09 16:43:28 +02:00
SGCMarkus
d0f07cb75d berlin: override Camera2 with MotCamera3
Change-Id: Ia54776e7a92462548dfef9d053f840417a99b7e0
2022-10-09 12:02:04 +02:00
Marc Bourgoin
88076f54f3 berlin: Include MotCamera3
from S1RGS32.53-18-22-4

MotCamera3 has its libaries removed from the apk, and
pinned to product/lib64 to reduce apk size

Co-authored-by: sb6596 <shubhamprince111@gmail.com>
Signed-off-by: sb6596 <shubhamprince111@gmail.com>
Change-Id: If208939c3dde176f61e84c6b67ac35b85f2ca07b
2022-10-09 12:02:04 +02:00
SGCMarkus
d4ceb57d4d berlin: camera: add missing files
Change-Id: Ibba9ccbcc31f7f2a2e1fd6ea49d9a18da0f2af9c
2022-10-09 12:02:04 +02:00
SGCMarkus
7c33c697f1 berlin: Update to S1RGS32.53-18-22-4
Change-Id: I6cf20a662962a01bdd3f33b7ee03f05a84332a1c
2022-10-09 12:02:03 +02:00
Marc Bourgoin
330d51170f berlin: Reorganize proprietary-files.txt
Change-Id: I2b2b1de42eb925e2adea912ba6b7650d8a3224f2
2022-10-09 12:02:03 +02:00
Cosmin Tanislav
4154bd7374 berlin: do not build secure element service
Change-Id: Icc0561967ec64ff96e4c3d2322b23cc4918e720b
2022-10-09 12:00:59 +02:00
Cosmin Tanislav
42dce75b72 berlin: audio: remove usage of libspeakerbundle
Change-Id: I2885709240df8a132a27db0efae774bcee4e489c
2022-10-09 12:00:58 +02:00
Cosmin Tanislav
e9b85d34a5 berlin: remove the swipe fingerprint for notifications setting
Change-Id: Id1b96e30f8a571acc602487a4385e851250d5ad2
2022-10-09 12:00:58 +02:00
Jarl-Penguin
44d9a18236 berlin: Decommize hardware keys config
Signed-off-by: sb6596 <shubhamprince111@gmail.com>
Change-Id: Ie3516b09356d05c2f5bcfbc12c7e2f1ed9b13977
2022-09-29 19:27:33 -06:00
AdarshGrewal
a6f9c23d2e berlin: decommonize sensor's hals.conf
dubai needs a customized one in order to implement DT2W

Change-Id: Ia7c6ef9d2f8c65fbff2fb7c4c6144969d11f81fc
2022-09-23 20:18:36 -06:00
Marc Bourgoin
9afdc4825e Revert "berlin: Import stock charge_only_mode"
This reverts commit abbb1c9a0a.

It turns out berlin and dubai have the same sha1sum for this blob, so might
aswell commonize this.

Change-Id: I604e02a345b1ece1facdc6a68fe5c243015defb4
2022-09-20 17:09:03 -06:00
Marc Bourgoin
abbb1c9a0a berlin: Import stock charge_only_mode
Change-Id: Ibd6c4a9a343b1420d12c6145011fd1af2479e94e
2022-09-19 09:18:51 -06:00
Nolen Johnson
b79c2429b0 berlin: Update to S1RGS32.53-18-22-2
Change-Id: I49567bea26fd5240daca6d3b3b7868e95f44ae40
2022-09-01 17:44:35 -04:00
Marc Bourgoin
d5be5ea85f berlin: Decommonize some some audio and blobs
These audio and blobs differ between what berlin and dubai each have

Change-Id: I87f8037a5e41f017a36e246f3f3f5dc29379602d
2022-08-26 04:00:05 -06:00
Marc Bourgoin
fb5cedd9f7 berlin: remove duplicate hals.conf
This is declared in the sm7325-common tree and it is the same on both berlin and dubai

Change-Id: I11551a87e5f6340887a0d293c8c50cab800e207c
2022-08-23 02:42:47 -06:00
Nolen Johnson
75571258aa berlin: Import lineage.dependencies 2022-08-08 11:41:39 -04:00
Nolen Johnson
a35cea1754 berlin: We don't support AOSP fingerprint gestures 2022-08-07 20:29:23 -04:00
Nolen Johnson
4eb12d4c46 berlin: Force inclusion of vendor board configuration 2022-08-07 19:14:21 -04:00
Nolen Johnson
79835ac7ab berlin: Forcibly include common tree
* No hopes of booting without this.
2022-08-07 19:13:58 -04:00
Nolen Johnson
2752bfd244 berlin: rro: Fix formatting 2022-08-07 19:00:15 -04:00
SGCMarkus
a199b7a0b6 berli: update blobs/sec patch to S1RG32.53-18-11-7
Change-Id: I68f2217ce0f3d602be2ddae26093a6947265f161
2022-08-07 22:49:47 +02:00
SGCMarkus
578c2a597b berlin: build more blobs from source
includes:
*) libcamera2ndk_vendor
*) vendor.qti.hardware.camera.postproc@1.0
*) liboffloadhal

Change-Id: Ieeca3dbddcd2de611dd9313f8bda639325ce0f5b
2022-08-07 15:36:30 +02:00
dianlujitao
49a98f304d berlin: Fix status bar height for certain apps on 12L
* 12L introduced new API to fetch status bar height based on cutout, to
  handle multi-display devices. However, some apps directly read the
  height from overlay so the layout is broken for them.
* Since our device is not a multi-display one, set the expected height
  in overlay directly as the old way to make these apps look good.
* Reduce status bar height to exactly match the cutout height.

Change-Id: I38fae2cdd20b947998766b35920d28bebcf547cf
2022-08-06 22:04:21 +02:00
SGCMarkus
02bea4f8a3 berlin: rootdir: set permissions for dt2w and single tap gesture
Change-Id: I4ec57e95c68a8673a5246bebbbde25f32287f9ba
2022-08-06 21:54:10 +02:00