Commit graph

230 commits

Author SHA1 Message Date
Marc Bourgoin
02b52edf46 xpeng: Move overlay-lineage to resource-overlay
Change-Id: I785040aa17bb8471c8d4e2041e69f09e5cedb8d2
2023-04-17 22:40:24 -06:00
Marc Bourgoin
571881636e xpeng: Fix fingerprint sensor entries in ramdisk
We aren't currently using GKI so we need to drop this from our bash script
and since it also handles insmod of the kernel modules we can drop that from
the rc script

Change-Id: Ia1a0c2cc68b37c12306094ef69fdef3379225201
2023-04-17 22:40:24 -06:00
Marc Bourgoin
8bc9f71519 xpeng: Use vendor repo for copying touch firmware to recovery
Unfortunately, the method used by berlna is not compatible for VAB devices,
so let's swap to using vendor repo to copy the touchscreen firmware.

Change-Id: Idc93f41f4295511ee8b568a463881c92ca21584c
2023-04-17 22:40:24 -06:00
electimon
7a0063f49d xpeng: Postpone wlan module loading
* qcacld needs icnss subsys to be up in order to
  probe, so lets move loading to post-fs-data

Change-Id: Ic0e6fbba689324091a28fa325d8f958c6e6508eb
Signed-off-by: electimon <electimon@gmail.com>
2023-04-17 22:40:24 -06:00
Marc Bourgoin
72a7ab0b82 xpeng: Convert tree from berlna
The partition reserved sizes were taking from stock ROM

IE, blockdev --getsize64 /dev/block/mapper/system_a

Also add TARGET_IS_VAB cflag as ro.virtual_ab.enabled is true on stock
so that our commonized tree can enable VAB-specific changes.

Change-Id: I922f61e5a0380d16eba5967f6c77346437290eb6
2023-04-17 22:40:23 -06:00
Nolen Johnson
32f768abbc
berlna: Build fingerprint interface to vendor
Change-Id: I8207fb5d84867efb8e9556f2788c8ae9ee28b841
2023-02-21 11:28:46 -08:00
Nolen Johnson
b15fc6819f
berlna: Migrate to OSS fingerprint interface
Change-Id: Ib179df9f9e509834eed2031d370d18ee98feac48
2023-02-21 11:28:46 -08:00
Jiyong Park
5019dd6b89
berlna: Remove ndk_platform backend. Use the ndk backend.
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.

Bug: 161456198
Test: m
Merged-In: I14a1c57bd06f1f2aa52491f779c7030d4de03547
Change-Id: I7b9055909b901843631314b9577a9e578a739d00
2023-02-21 11:28:46 -08:00
Nolen Johnson
83dda9c067
berlna: Correct camera overrides
Change-Id: I572a67ad0ab914e3aeaac20af3a3876306f62767
2023-02-21 11:28:46 -08:00
Marc Bourgoin
c31589f82d
berlna: Commonize color modes overlay
Change-Id: I1a7bfae03ac68e2ca61b8b6889a687c392375f27
2023-02-21 11:28:46 -08:00
dianlujitao
3e92f3a671
berlna: update-sha1sums: Handle line with opts
Change-Id: Ia41000b36f3535a3cf0ef8d7650d0d540de728de
2023-02-21 11:28:46 -08:00
dianlujitao
d5cf94e956
berlna: update-sha1sums: Better handle line breaks
Change-Id: I15cfda82a5bc6f05c0d7b9db209064ba498dac11
2023-02-21 11:28:46 -08:00
dianlujitao
ebcbb8bc80
berlna: Format update-sha1sums.py with yapf
Change-Id: I396ad6d79ea6e47ba8b9a56da317123c7579aa67
2023-02-21 11:28:46 -08:00
Bruno Martins
5cb5e7ff45
berlna: Add unpinning support to update-sha1sums.py script
Change-Id: I9035b449cea6d78927a459dc247075b3d4512e46
2023-02-21 11:28:46 -08:00
LuK1337
2db5910f7d
berlna: Handle moved blobs in update-sha1sums.py script
Change-Id: Iccab8c8620c7ff680768aac2d9cbf5b5067af8d7
2023-02-21 11:28:46 -08:00
LuK1337
4310e05ca5
berlna: Add script to update sha1sums of kanged blobs
Change-Id: Id2e8cfb8d3b6f65f69c91a89bacd615fdcc45753
2023-02-21 11:28:46 -08:00
Michael Bestas
a36f4d8ee9
berlna: Remove bdroid_buildcfg.h
As of I3c7aed1bdb45db728d319f7d757400e44d232283 the Bluetooth stack
defaults to reasonable defaults that should work for all devices.

Change-Id: I056d63c4c8a2727e384172e964dc0000b6773504
2023-02-21 11:28:46 -08:00
LuK1337
4ec340e783
berlna: Set a default Settings.Global.DEVICE_NAME
Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16
2023-02-21 11:28:46 -08:00
Sal Savage
1d7427c90e
berlna: Replace BTM_DEF_LOCAL_NAME with a sysprop
Change-Id: I2c90efac01e61500eb1be23bb0ae6f96c2acdc53
2023-02-21 11:28:46 -08:00
Erfan Abdi
c19b3ae1e9
berlna: Add module aliases
Change-Id: I9f474eda4789fba3d8f0a8943c5df09f13f49b59
2023-02-16 07:38:19 -08:00
Andrew Hexen
6d68dc9b56
berlna: update modules.load
* Switch to non-GKI list.

Change-Id: I7d231decfdcb39542c5fcda695d8cc3ac58d1e3b
2023-02-16 07:38:11 -08:00
Andrew Hexen
b57b4d233d
berlna: modules: wire up recovery haptics
* Driver no longer panics kernel.

Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: I130e57ddd476ef0ee9dab58158dd66a267cc005c
2023-02-01 04:20:45 -08:00
Andrew Hexen
b985836432
berlna: recovery: add touch script to recovery
Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: I3daf399871b997f18a6d2aa25fac4926c373def3
2023-02-01 02:00:23 -08:00
Joshua Blanchard
6817881611
berlna: Add services for init.oem.fingerprint*.sh
These scripts are how we determine the fingerprint hardware and
start the proper hal service.

- Import stock services for oem fingerprint scripts

- Add needed sepolicy changes

Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: If120fc341cee015a46f38cde93b09b8ba940e933
2023-01-26 09:56:59 -08:00
Andrew Hexen
a1a654e3c4
berlna: update audio, overlays, rootdir from S1RMS32.48-18-11-2-19
Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: I7511c63493d554b21d85f2774ff9054eb2fc02f1
2023-01-26 09:39:49 -08:00
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