Commit Graph

53 Commits

Author SHA1 Message Date
Tim Zimmermann
3d10642a74 beyondx: Switch to stock density
* Stock default density is meant for 2280p
* 420 * (3040/2280) = 560

Change-Id: I1ee4231a684625db6a8a62afa09b3b4ac82d111a
2022-10-01 21:22:41 +02:00
Tim Zimmermann
7888abbc8f beyondx: Use libutils from VNDK32 for HWC and sensors
* Abort message: 'incStrongRequireStrong() called on 0x7586a3a1c0 which isn't already owned'

Change-Id: Icd5a845ecf5226d5b2c74c5d19ba699eb74acda0
2022-09-16 15:48:11 +02:00
Tim Zimmermann
0668ac5803 beyondx: Pin Android R RIL blobs
Change-Id: Id44756390670d0ef55c92327cce5fcce90fb8533
2022-09-16 08:49:43 +02:00
Tim Zimmermann
a868c64a5c beyondx: Use libshim_sfpex instead of VNDK28 libc++
Change-Id: I5947e608ecc54f1e4e2636be8564a2ffe876d207
2022-09-15 21:06:49 +02:00
Tim Zimmermann
ffb04627b6 beyondx: Drop memtrack blobs
* Switched to OSS AIDL memtrack HAL from hardware/samsung

Change-Id: Ie3c4862303e08b97e14c7018f7e52581a7978664
2022-09-09 15:28:41 +02:00
Tim Zimmermann
781e79b2b6 beyondx: Inherit non_ab_device.mk
* This is required to build applypatch for updating recovery

Change-Id: I38053691f7724b5d6c30159c410d5d04ac136180
2022-08-24 15:41:08 +02:00
Sal Savage
2ff8a75d48 beyondx: Replace BTM_DEF_LOCAL_NAME with a sysprop
Change-Id: I2c90efac01e61500eb1be23bb0ae6f96c2acdc53
2022-08-23 07:41:25 +02:00
Tim Zimmermann
eda813f939 beyondx: Update blobs from G977BXXUCHVG4
Change-Id: I69c6c5f339953744ac9729cd92d8ba8b222bd4ce
2022-07-30 10:13:14 +02:00
Tim Zimmermann
069ed0be03 beyondx: Update blobs from G977BXXUCHVE1
Change-Id: Ib5a5a4c9be3186e4a74e6b8d4062b9ce26477d23
2022-05-21 06:44:05 +02:00
Tim Zimmermann
afe2bc7b4c beyondx: Drop SoundTrigger HAL
Change-Id: Iecac593bc2d0776c4cc113c6591925f91f950563
2022-05-07 15:20:01 +02:00
Tim Zimmermann
543f3d68c4 beyondx: Request fingerprint force calibration
Change-Id: I4f29818376e4f5c468ba01a42786ad8d5d656290
2022-05-03 20:34:00 +02:00
Georg Veichtlbauer
70712d8591 beyondx: overlay: Update deprecated screen power items
* ambient.on -> ambient.on.display0
* screen.on -> screen.on.display0
* screen.full -> screen.full.display0

AOSP frameworks/base: 8ac63071a4e6da7e0740f5eb6c6753218efcfd3a

Change-Id: Iad50e6cb63368e2d71e6fa1dbb6997c0f95d321e
2022-04-23 06:51:16 +02:00
Tim Zimmermann
2bf45356a2 beyondx: Patch audio HAL to load audioparams shim
Change-Id: I2e3647b0dee6b6899dd2d73abb511c3d45a96bdf
2022-04-17 20:48:08 +02:00
Tim Zimmermann
070855241e beyondx: Update blobs from G977BXXUBHVC6
* Pin 64bit camera blobs as stock dropped them

Change-Id: I571aa63e49baec38f17057c92bc1ffccba3a6d20
2022-03-23 21:15:26 +01:00
Tim Zimmermann
eff32086fa beyondx: Drop status bar height overlay
* This is now getting automatically set to match cutout overlay

Change-Id: If94c9300f8cdbdf13521f21f121107121e95dc35
2022-03-18 15:45:25 +01:00
Tim Zimmermann
b9c7cf6d35 beyondx: Update blobs from G977BXXSBGVA9
Change-Id: I104902e38c291591e0ac61ab69887a06b58c9af8
2022-02-19 05:55:53 +01:00
Tim Zimmermann
82b619487b beyondx: Update blobs from G977BXXUBGVA4
Change-Id: If3c9fa8a4baa6ccad1f253334faffc23f4888ed3
2022-02-13 09:14:34 +01:00
Tim Zimmermann
69cf5a9f77 beyondx: update blobs from G977BXXUBGULB
Change-Id: I1a56ab906961b49f82b57a4037900133b6afbc86
2022-02-01 10:28:20 +01:00
Tim Zimmermann
d3fa047b40 beyondx: move vndk prebuilts to vendor
* To get rid of BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES

Change-Id: Ic24ee866fca60bddda04a97ac8bbf03d8338536d
2022-02-01 10:28:20 +01:00
Tim Zimmermann
44d6456597 beyondx: make all elf prebuilts packages
* To get rid of BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES

Change-Id: I3828e94dfeccaf42b51bff2fae4a04f1f5bf759e
2022-02-01 10:28:20 +01:00
Tim Zimmermann
b508332ca1 beyondx: switch to source built secril_config_svc
Change-Id: I83ec4bdee526b575efa0d4ee447c05f1e45063d0
2022-02-01 10:28:19 +01:00
Tim Zimmermann
dc34fed9c8 beyondx: switch to UDFPS
Change-Id: I8847f5d47e1c641f3c1e70f45289861d5773b857
2022-02-01 10:28:19 +01:00
Tim Zimmermann
fd7100a31e beyondx: update blobs from G977BXXSAFUI5
Change-Id: I852f74d6f089d96debf7047251382a6a76f255e3
2021-10-19 10:14:50 +02:00
Luca Stefani
464d538e88 beyondx: Device has a notch
This removes Network Traffic and Centered Clock options from Status Bar settings. These settings do not work as expected, as the notch obscures the components.

Network Traffic: ec491e41ed/src/org/lineageos/lineageparts/statusbar/StatusBarSettings.java (L85)
Centered Clock: ec491e41ed/src/org/lineageos/lineageparts/statusbar/StatusBarSettings.java (L130)

[Linux4: This device's cutout is too big, the statusbar icons on the right move beyond the center of statusbar]

Change-Id: I15dc40135ba913d51c9a3d8cacdc0ac172f4ce4a
2021-10-19 09:00:33 +02:00
Leonardo Estacio
9441675fca beyondx: enable RAW on all cameras
* Remove condition (someVar >> 4 & 1) != 0
  in createScalerAvailableStreamConfigurationsOutput
  (pretty much at the end of the method)
  to unconditionally enable RAW on all cameras

Co-Authored-By: Tim Zimmermann <tim@linux4.de>
Change-Id: I756fa386e8bccba33d890cdc0535d160d823d71a
2021-09-19 08:58:26 +02:00
Tim Zimmermann
046f13f231 beyondx: update blobs from G977BXXS9FUH5
Change-Id: I72bb0f5b9fdb7c1e233ceec8a4eee6d0dfe71513
2021-09-15 17:58:10 +02:00
Tim Zimmermann
7acc901072 beyondx: update blobs from G977BXXU9FUH3
Change-Id: I1e3f5bc675f1edca327305edfa11a4ff80274793
2021-09-01 18:21:17 +02:00
Tim Zimmermann
29c5e2cc9e beyondx: add dolby audio effect
Change-Id: Ic8089884a7347db549bd54931feb429513ca0c29
2021-08-14 07:27:55 +02:00
Tim Zimmermann
483c323766 beyondx: initial lineage.dependencies
Change-Id: I57522d1ceac0be3a9979d518abe7315621438013
2021-07-23 18:03:33 +02:00
Tim Zimmermann
5c355eb1c6 beyondx: rename stock libril to libril-samsung
* To prevent conflicts with AOSP libril

Change-Id: Ic6e052c88c44f23b2f2d6a5c7d8c6e6e156e316f
2021-07-11 19:17:46 +02:00
Tim Zimmermann
5c97f9925d beyondx: update blobs from G977BFXXS8FUF3
Change-Id: Ibfc0b60061ac092ae8b5fb38f7108ae9b597f29b
2021-07-07 08:03:27 +02:00
Peter Cai
e86b03ce8f beyondx: Make camera blob load with v28 libc++
* It requires __sfp_handle_exceptions

Change-Id: I504c847c8fd9a28fbad519cac781196369e7a3be
2021-07-05 14:01:53 +02:00
Tim Zimmermann
8861878b52 beyondx: add required blobs for ToF camera
Change-Id: I1566feeebc354ed9d53ab58daf4d976107e74a19
2021-07-04 14:44:08 +02:00
Tim Zimmermann
dc203190ec beyondx: decommonize hardware keys overlays
Change-Id: I4d478a8401567c535e9cc1bbd7e0f696d405e270
2021-07-04 07:19:52 +02:00
Tim Zimmermann
3a45ae7eeb beyondx: decommonize some blobs needed for note 10 bringup
Change-Id: I34e6c985a7a264c3b035aeb52cfaee0b6ef142d6
2021-06-23 18:15:18 +02:00
Kevin F. Haggerty
d486ae2877 beyondx: Set TARGET_BOOTANIMATION_HALF_RES to true
* No apparent resolution difference
* Much smoother animation
* Much faster boot
* What's not to like?

Change-Id: I2119fe826146a3103da50b4862ad88f5950a97ec
2021-06-15 13:58:28 +02:00
Tim Zimmermann
73d3b12f81 beyondx: remove PDA prop
* Only used by libexynoscamera3 for setting
  software version in Exif

Change-Id: I2efbcf728c2f36811cbc5b99993e418c85e46761
2021-06-15 13:58:17 +02:00
Tim Zimmermann
432f7a3868 beyondx: clean up this mess
Change-Id: Id47eedfaeed354b48c519156b83ca78a0708d9be
2021-06-15 13:56:12 +02:00
Tim Zimmermann
bd47742f52 beyondx: update blobs from G977BXXS8FUE5
* Also unpin camera blobs now that we disable
  the broken 3rd virtual front camera in our
  camera provider

This reverts commit 3235484f7b.

Change-Id: I3f49df0bc614146db9cb998e9778cfd8c4a93da6
2021-06-07 14:41:09 +02:00
Tim Zimmermann
b95d480812 beyondx: overlay: increase keyguard container margin for FOD
HEIGHT - FOD_SENSOR_Y + 20

Change-Id: I89a4ae8ea0ed2511e736823301cfd7187ee8fbdf
2021-05-16 13:03:56 +02:00
Tim Zimmermann
f5ca8adaf1 beyondx: update blobs from G977BXXU7FUE3
* Move vendor securitypatch to common repo while
  we are already at it
* Also drop stock build fingerprint, we can't
  pass safetynet with this anyways
* Also update camera blobs from G975FXXUAFUE3

Change-Id: Ia41190f93e311e6794435021ad15648dc62d7ca5
2021-05-16 11:22:05 +02:00
Tim Zimmermann
3235484f7b beyondx: pin camera blobs from beyond2lte
* Stock beyondx ones give us some "virtual"
  3rd front cam which is breaking snap,
  the only difference between beyondx's camera
  and beyond2lte's camera is back ToF sensor which
  does not properly work on AOSP based ROMs anyways

Change-Id: I6a9bd1d9d8ff495c1849dec9464361c3ec325417
2021-05-08 21:19:37 +02:00
Tim Zimmermann
79323edcdf beyondx: this is a single-SIM device
* This prevents ril-daemon1 from crashing ril-daemon and cbd

Change-Id: Ib4ce9c10f490766808888aaaecd1c81aac152f4c
2021-05-06 17:52:03 +02:00
Tim Zimmermann
1577de2ebf beyondx: correct FOD Y coordinate
Change-Id: I09888104c4fbad28e159274988e9a7e5f37aa00b
2021-05-05 20:58:53 +02:00
Jesse Chan
4c73e91e5f beyondx: use correct default network mode (5G+4G)
Change-Id: I2b6d81ccd4d9cb9fdd28ca9f0fe9b8ae3dd9b25d
2021-04-18 21:22:12 +02:00
Tim Zimmermann
49048a124e beyondx: commonize brightness overlays
* We'll also properly import them from current stock

Change-Id: Ib798aaf8e2efc9b6bbc41be12fbacb3d55e630d6
2021-04-16 20:57:06 +02:00
Tim Zimmermann
e30ba54964 beyondx: update blobs from G977BXXU9FUCD
Change-Id: I6cdc3ac5285f9c529991648743941e9f9450febe
2021-04-13 17:43:41 +02:00
Tim Zimmermann
ed9c1d2e61 beyondx: convert cutout overlay to px
* dp should only be used for emulated display cutouts
* px = dp * (dpi / 160) (using 560 as dpi)

Change-Id: I0eedfd46efc4c1451fbfe97568e4e7eb6430d7fc
2021-04-13 17:43:40 +02:00
Tim Zimmermann
4555cf2069 beyondx: build inscreen fingerprint HAL
Change-Id: I74a980e7028f7f5127a9b70b8d2a33c0c375de29
2021-03-28 15:19:24 +02:00
Tim Zimmermann
6861a03833 beyondx: initial proprietary-files list
Change-Id: I2a13160a2d991594d74b1066f7adeff6e407751b
2021-03-28 15:19:23 +02:00