Commit graph

254 commits

Author SHA1 Message Date
Marc Bourgoin
235dc1a95e xpeng: Update blobs from xpeng_g-user 12 S1RXS32.50-13-25 5fb68-c44485 release-keys - RETEU variant
Change-Id: Ic21dfc7596d55417c28c94d262e84fdba3888441
2024-03-06 20:05:51 -07:00
Marc Bourgoin
0db8e239c5 xpeng: Kang MotCamera4 from eqs 12
Unfortunately it seems xpeng's MotCamera4 from Android 12 is a very early version and
seems to hate Android 14, so let's switch to eqs's A12 version as it contains the proper
asset configurations for xpeng where-as eqs 13 and up does not

Change-Id: I7d134648aac68bf7bb666cd36b0796899e945cfc
2024-03-03 16:59:05 +00:00
blunden
7a7306bb4b xpeng: Declare support for Mifare tags
This device uses an NXP chip
and supports Mifare tags. This adds the xml file
to make NXP's apps work properly.

Change-Id: I9f2f04d3c5c211185bf2ab0d5a797070c49d4b98
2024-03-02 10:49:44 -07:00
Nolen Johnson
42ef4334c5 xpeng: Commonize enabling aux-camera support
Change-Id: I2d1a5eb80914e0d536ab4bd5fb2744deb37f7909
2024-01-23 21:06:30 -05:00
Nolen Johnson
035df4dd9b xpeng: Reserve space in common tree
Change-Id: I609f964927c3046a34ea149aa645726e913ebc05
2024-01-06 22:26:45 -05:00
Marc Bourgoin
863555e3d0 xpeng: Include MotCamera
Change-Id: I5b538a6803bc98bc2104c9a327f2a3841aa28570
2023-12-21 23:39:53 +00:00
Bruno Martins
cc692f4ef5 xpeng: overlay: Remove obsolete config_keyboardTapVibePattern
Change-Id: Ic89566183d2cdc4a20ea83f462c56a14184621ae
2023-12-18 23:40:37 -05:00
Marc Bourgoin
03ab00e722 xpeng: Update blobs from S1RXS32.50-13-23 37821c-6bd54
Change-Id: I4d3c1b7baec4bffbbf765c80d5fcc2cc9839c954
2023-11-29 23:38:48 -07:00
Nolen Johnson
02447776a2 xpeng: S1RXS32M.50-13-22
Change-Id: I84bea8f75767489ba6cc4d9ac85f20319cf31739
2023-10-31 22:33:29 +00:00
Marc Bourgoin
7c04f1f932 xpeng: Run sort blobs
./../../../tools/extract-utils/sort-blobs-list.py

Change-Id: I9fddaa9b899c6fa4e891fad5a292f633d2bca090
2023-10-29 20:33:11 -06:00
rogers
28f63b39e6 xpeng: Slightly modify thermals further
Users are saying the throttling is still a little on the agressive
side and the temperatures are still great, so let's increase the
thresholds slightly and also the minimum GPU frequency

Change-Id: I880132b80f38a0571d2e74f1f5656bd56dcdb98a
2023-10-12 18:28:18 -06:00
Marc Bourgoin
c1299580b7 xpeng: Swap thermal config for xpeng-game-perf
The default thermal-engine-xpeng.conf is way too agressive with throttling that the performance
is way too low for any users trying to play 3D games on a Snapdragon 888+ runs slower than
a SD 778G+, so let's swap to the xpeng-game-perf config as when we compared the configs it
allows for a better performance to thermal balance. We also checked xpeng-perf but that one
was more of a "let's get the highest scores in a benchmark and turn the device into a
handwarmer" kind of thermal config.

Change-Id: Id5c991a198ef6be61009a9785b5e8604aa1fdc91
2023-10-02 14:29:24 -06:00
Marc Bourgoin
400c4e794e xpeng: Import thermal-engine config into device tree
Change-Id: I0e1dcc5c8734f79b37e80b4a0379d4efd4068582
2023-10-02 14:26:27 -06:00
Marc Bourgoin
5595e1fc26 xpeng: Update blobs from XT2175-1_XPENG_RETEU_12_S1RXS32.50-13-20_subsidy-DEFAULT_regulatory-XT2175-1-EU_cid50_CFC
Change-Id: I3d4bed94f16ba40e5034c397971df5402080706c
2023-10-02 13:52:57 -06:00
Georg Veichtlbauer
052d78968f xpeng: Remove unneeded NFC package
* NfcNci and SecureElement are built by handheld_system.mk

Change-Id: I83f686b67778634b584a58d8bae95d237e6dbad1
2023-06-07 14:41:20 -06:00
Andrew Hexen
4228e8c265
xpeng: import hotword from common
Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: I556826710d88cca4a24738f3fbd7055efdd2977e
2023-06-01 08:01:40 -07:00
Marc Bourgoin
0b7fd0697a xpeng: Commonize sepolicy
Change-Id: Idbc4e5f655fd19cc4754aab99d8bb236a73f9a12
2023-04-30 22:25:57 -06:00
Marc Bourgoin
3990edbe31 xpeng: Remove media_profiles
No longer needed as we handle media completely from common tree now

Change-Id: I158630bbb1543bdfe10a51bf63e8419f81f04263
2023-04-28 16:13:52 +02:00
Marc Bourgoin
77966535c1 xpeng: sm7325.mk -> common.mk
Since we support both sm8350 and sm7325 it makes sense to just rename this

Change-Id: I0c6c113c3655816eb632c7e5fa41c38f982b87a0
2023-04-28 16:13:52 +02:00
Marc Bourgoin
3431a34bbf xpeng: Commonize init.oem.fingerprint2.sh
It turns out berlna still needs this to initialize FP sensor
even though in the real world only one is used, so we might
as well leave this in common for berlna and xpeng

Change-Id: I651a16102473a078c4a870a4880b251cf93d0070
2023-04-28 08:11:27 -06:00
Lukasz Patron
1d400f0e5a xpeng: resource-overlay: Configure aux camera for Aperture
Change-Id: I543f078dd4dba30e1b22737d5c22d591e3fb34e6
2023-04-18 22:58:37 -06:00
Marc Bourgoin
2018e57b2b xpeng: Update blobs from xpeng_g-user 12 S1RXS32M.50-13-15 343f9-7dba8
Change-Id: I9b3d5acdecb49ead5b7f2a50c27d30acbaf67134
2023-04-17 23:28:09 -06:00
Marc Bourgoin
ab8bfebb28 xpeng: Move fingerprint HW ident to vendor/bin
Change-Id: Iba11012cb65a28f35ccf085cb701b342d8bec636
2023-04-17 22:40:24 -06:00
Marc Bourgoin
d49a3afe90 xpeng: Use common cvp blobs
Change-Id: If8175e081069ab82683f44886126a4b7bcf877cd
2023-04-17 22:40:24 -06:00
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