Commit graph

217 commits

Author SHA1 Message Date
Anand S
c84dabd4dd
fogos: rootdir: Adjust touch gesture permissions
Change-Id: Idd31868362f28525953fd3e608ed6a0d9b7ca837
2024-07-18 12:56:42 +05:30
Anand S
1f803431a4
fogos: rootdir: Adjust CapSense permissions
Change-Id: Idbde399df3a5be4cc7c2e610ce82dcdba670e1cc
2024-07-18 12:56:42 +05:30
Anand S
a1a9fac022
fogos: Import capsense_reset from stock
* From U1UG34M.23-82-2

Change-Id: I6086996c109ca4f8108fc033dcd2f23c379b6dff
2024-07-18 12:56:42 +05:30
Anand S
0a0b6548d8
fogos: sensors: Drop custom sensors hal
* Keep the sensors hal config in device tree.
* Drop the rest since sensor service is being built from common tree.

Change-Id: I7f1aef4b2c068034329211b383d22e4abe775feb
2024-07-18 12:56:42 +05:30
Anand S
2e92796079
fogos: Remove double tap support from sensors hal
* It's handled by power-libpermgr in common tree.

Change-Id: I57b0a0cfdd9981bf09e6386689b7963515432dec
2024-07-18 12:56:42 +05:30
Anand S
7e373b6a01
fogos: Remove duplicate copying commands
* These files are already being copied under fingerprint section.

Change-Id: I1f67b9d481b899baa7008d9fdf92ecbc1cd05755
2024-07-16 12:56:42 +05:30
Anand S
8f8a759a5e
fogos: Uprev Shipping API level
* fogos was launched with Android 14.

Change-Id: I63de6f364bb06ee9222f1a0eee266e4cc3bf94bd
2024-07-16 12:56:42 +05:30
Anand S
d7abca2293
fogos: Fix AAPT configs
* fogos has a display density of 280ppi.

Change-Id: I9f9926a5f8d1d19e0b8a15743c94c327f4706a91
2024-07-16 12:56:42 +05:30
Ethan Chen
24112b5dea
fogos: Use Soong namespace to avoid device build conflicts
Change-Id: Id04f464102264b6f2e8d49b39389c7e346613b39
2024-07-04 12:56:42 +05:30
Anand S
f55b8ae257
fogos: Set ro.sf.lcd_density
Change-Id: Id2fa3092dd220f452ac50679a4ba3a40e4985a20
2024-07-04 12:56:42 +05:30
Anand S
3737732902
fogos: Initial tree conversion from xpeng
* Drop light hal and recovery scripts.
* All configs updated from fogos U1UG34M.23-82-2 build.

Change-Id: Ia889f2af05ec08937a3d64954c40e7e24d9a6025
2024-07-03 12:56:42 +05:30
Michael Bestas
76b5f8b755 xpeng: Drop COMMON_LUNCH_CHOICES
As of 14 QPR2 this is broken, let's remove it instead of updating it
every 3 months. breakfast is the way to go.

Change-Id: I097bd54b894d9a49c7ce8b1ab6f343349e268fd8
2024-06-19 12:59:30 -04:00
Marc Bourgoin
911ee58749 xpeng: Drop MotCamera4
Unfortunately, QPR2 seems to cause this app to randomly crash when checking
for aux cameras and I don't currently see a fix, so let's drop it for now
until a solution can be found

Change-Id: Ife2b51aac6c1f77b59cce498e29cd105a5564658
2024-04-17 08:15:44 -06:00
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