Commit graph

290 commits

Author SHA1 Message Date
Alexander Koskovich
71d2b2a087
sm6225-common: Drop PRODUCT_BUILD_SUPER_PARTITION
* Super image is not generated by a default 'm' build,
   but we at least want it for dist builds.

Change-Id: Ia12a5314632509fcd309d51ddf757efdc37499c3
2023-05-30 17:50:52 +03:00
Danny Lin
7b777a590e sm6225-common: overlay: Settings: Enable Smooth Display setting
caprip, devon, rhode have peak refresh rate higher than
60 Hz, so allow users to toggle high-refresh rate like on stock.

Dhina17:
 - There is no effect on devices which don't have refresh
   rate higher than 60 Hz.

Change-Id: I7fcbb905b61575de8c5e9d9a935463932551fb6a
2023-05-30 15:56:35 +02:00
Nolen Johnson
75b00aebb2 sm6225-common: Build MotoActions
* We already track hw/moto.

Change-Id: I9e935b31cda95b70c3398f798fd37b64b1984ac1
2023-05-29 15:47:07 -04:00
Michael Bestas
5904b3f742
sm6225-common: Pin vhw.xml
S2SNS32.34-60-6 is missing the 8GB devon variant

Change-Id: I10d1cfb139211849524719b0deaeb381b2982d73
2023-05-25 22:16:53 +03:00
Michael Bestas
61b8948903
sm6225-common: Update to devon_g S2SNS32.34-60-6
Change-Id: I389a4b0319a9e0e3a50c31d8457760114eddbce9
2023-05-25 22:16:53 +03:00
Dhina17
efd11b00ab sm6225-common: Fix devon egis fp denials
Change-Id: Iad529eec329ecf37f9df34c88ff3eecb6cde08d5
2023-05-24 00:50:27 +05:30
Bruno Martins
a95b95eb99 sm6225-common: Only ship with disabled A2DP offload configuration
A2DP hardware offload is broken since A13 QPR1 merge.

Change-Id: Idca3373669e28a0afd627daa79ebb0254abb5c74
2023-05-20 03:52:02 +05:30
Dhina17
3ffdc321ba sm6225-common: sepolicy: Label rhode power supply node
Change-Id: I425af737fc49e4b33f819a9aeeb3972631d38c1e
2023-05-20 02:57:00 +05:30
Dhina17
d94b7581e5 sm6225-common: sepolicy: Use same label for all fps device
Change-Id: Ib6551e19adcb188991846bac75ad637f0225e5a7
2023-05-20 02:57:00 +05:30
Dhina17
156ea9a868 sm6225-common: sepolicy: Add rules for focaltech fp
Change-Id: I9bf360696c6362b42e532228bf3ec9c1e684f163
2023-05-20 02:55:08 +05:30
Michael Bestas
aa1c1da3c0
sm6225-common: Disable app freezer
Change-Id: I2fa2ee133008736ee233e063ec11d152c3dadb87
2023-05-19 04:20:33 +03:00
Michael Bestas
e170a64038
sm6225-common: Match stock ZRAM setup
Change-Id: I60539698fbeb6ba29f96ec6f8e68c778f999d701
2023-05-19 04:20:33 +03:00
Michael Bestas
862362c8c6
sm6225-common: Import lmkd props from stock
Change-Id: I85a9bd6d61b95b00cfabc41d9f1911514ad2b915
2023-05-19 04:20:33 +03:00
Michael Bestas
a4f78a14ef
sm6225-common: Set up dalvik according to stock configuration
Based on init.mmi.product.rc

Change-Id: I5bd4a19a2a880189b9c28780ff343d1b9e508a80
2023-05-19 04:20:33 +03:00
Michael Bestas
8e1d912a3b
sm6225-common: Add FM blobs & build FM
Change-Id: I471a00dff44e8fb90e65b3f506a899e65c94d62f
2023-05-19 04:20:33 +03:00
Michael Bestas
36f182db00
sm6225-common: Remove atfwd.apk
Change-Id: Ic6c272a2bf61962c3f6915e28e35c28f0eddafba
2023-05-19 02:54:50 +03:00
Michael Bestas
8011dca137
sm6225-common: Pin patched ims.apk
Change-Id: Ie308c91b98db85268e98c456ef14af4fe0f4dd06
2023-05-19 02:54:50 +03:00
Michael Bestas
3055820c9c
sm6225-common: ueventd: Remove all permissions from /sys/devices/soc0/serial_number
Change-Id: I688347cfe59f56e4de2e4bf3c3324ca465f7a897
2023-05-17 20:48:49 +03:00
Michael Bestas
ff4965a0af
sm6225-common: Lower gps debug level
* Kill logcat spam

Change-Id: I20d1f698d3c2d1b56e79f6eb6c5c17069e43c60f
2023-05-17 20:48:48 +03:00
Ethan Chen
0f6b8dcc64
sm6225-common: gps: Increase batch size to max
* Hardware supports 40

Change-Id: I075fff615814fa105ec1493c5bdde60b8abccf0e
2023-05-17 20:48:48 +03:00
Michael Bestas
a8f5ba0aa0
sm6225-common: gps: Disable unused location services
Disable xtwifi, slim_daemon & tloc_daemon, matching Pixel setup.

Change-Id: I27156e772ef138c9b2e112469c264236ea5c398c
2023-05-17 20:48:48 +03:00
Michael Bestas
4e4403b259
sm6225-common: Move izat config to device tree
Remove unused apdr.conf while we are at it

Change-Id: I49e6a7be7b29a79739c8f66966e26213c71b6160
2023-05-17 20:48:48 +03:00
Michael Bestas
2074a80158
sm6225-common: Remove unused gps certificates
* They are used by xtwifi-inet-agent which is disabled.

Change-Id: I4fbf6e02276b508a27f320e630ddad3c9aada5a8
2023-05-17 20:48:48 +03:00
Michael Bestas
f64e3835ce
sm6225-common: Build GPS HAL from source
Change-Id: I9bd42ab788a72ac80810d37b77591ebf0312a708
2023-05-17 20:48:48 +03:00
Michael Bestas
65e60909dc
sm6225-common: location: Remove unused components
loc_api_v02 and synergy_loc_api don't compile without proprietary
headers. The rest are unused so remove all of them.

Change-Id: I385c0bf79b550423464d0f09968f6b7bf7e04ac9
2023-05-17 20:48:48 +03:00
Arian
10f4d72f92
sm6225-common: gps: Fix usage of or operator on booleans
Change-Id: I1e3f9caef674d8a2cfc99092033d96bc4cdd8963
2023-05-17 20:48:47 +03:00
Michael Bestas
d5ecca2f41
sm6225-common: Import GPS HAL from LA.UM.9.15.r1-05900-KAMORTA.QSSI12.0
Change-Id: Id9a462cf8bf1140854659dcff958f9979905e3dc
2023-05-17 20:48:47 +03:00
Michael Bestas
a9eecf6a3e
sm6225-common: Decommonize thermal-engine
caprip at least requires its own libthermalclient for camera to work

Change-Id: Id421cecc6a61f24b4fe0e0a1a49d9d60bb3315bd
2023-05-17 00:18:53 +03:00
Michael Bestas
7cd1a04f46
sm6225-common: overlay: Decommonize config_screenBrightnessDark
Change-Id: I42b87d2978b9c874693f68d16cc798fe7b006ed7
2023-05-13 17:29:22 +03:00
Michael Bestas
2ddb9afcae
sm6225-common: Decommonize AVB setup
Change-Id: Ifee2dac0dba86f5e0777dbe3c676a39c24bf113e
2023-05-10 23:49:35 +03:00
Michael Bestas
8ed68258b6
sm6225-common: Decommonize fstab
Change-Id: Ibe837811e364cb3b8fe189bf91474ae3dbf2989a
2023-05-10 23:36:33 +03:00
Michael Bestas
22c8cb21f6
sm6225-common: Decommonize all API levels
Change-Id: I305d1f3e0682d996689913a8893b2f0c3e2a7004
2023-05-10 23:14:06 +03:00
Michael Bestas
c0b985cab2
sm6225-common: Decommonize audio_policy_volumes.xml
Change-Id: Icaf4501ea49cb3e60a6ceb0e209bdaa5e13e83e9
2023-05-10 23:03:37 +03:00
Michael Bestas
f336ad2c94
sm6225-common: Decommonize NFC permissions
Change-Id: I7534163b89779c8c0a7c6641d94170f652fc286b
2023-05-10 22:44:51 +03:00
Michael Bestas
a8150a8bf6
sm6225-common: Remove unused moto HIDL HALs
Change-Id: Ic8c2ba18a1f14376f1ea7b21bf9e1e26a4e508cf
2023-05-10 22:34:22 +03:00
Michael Bestas
9811dc2d82
sm6225-common: Add borneo HALs to compatibility matrix
Change-Id: I8b9da216a7684d03e4bab3b1934c07ad02f64814
2023-05-10 22:30:51 +03:00
Dhina17
a544c2b81f sm6225-common: Correct the fstab.qcom_ufs src file
Change-Id: Ieed55ca0e5c91d5d98daad4de20d95daa63cef56
2023-05-10 03:07:39 +05:30
Michael Bestas
3dec39a833
sm6225-common: Add borneo to build guards
Change-Id: I5b4b628a5c7ad697637526831b8474fe6e4edf70
2023-05-08 21:26:01 +03:00
Dhina17
03b114addb sm6225-common: sepolicy: Label rhode wakeup nodes
Change-Id: Ie0b86a720b462fda4f6e6dc875a233f9733dbe5c
2023-05-08 22:35:59 +05:30
LuK1337
32a0c6e420
sm6225-common: Include vendor/debugfs.config
This disables the following kernel configs:
* CONFIG_DEBUG_FS
* CONFIG_PAGE_OWNER

Change-Id: Idbf74e3dee4dccff4708462271e79374e28449ae
2023-05-08 03:58:15 +03:00
Michael Bestas
3e95eabf06
sm6225-common: Correct dynamic partition size
Change-Id: Ia2b7a318091ec3f0da411df12b24266b826241a3
2023-05-07 01:33:38 +03:00
pjgowtham
b826a21127
sm6225-common: Allow overrides for super partition size and group size
Change-Id: Icefef95b6172f243a7c003b51944658cb66cb431
2023-05-07 01:29:31 +03:00
Michael Bestas
f8ba4072cf
sm6225-common: sepolicy: Label init.oem.fingerprint.sh
Change-Id: Ib7de1e98e440dfc9f0048e7299e379767c86bf3d
2023-05-07 01:03:33 +03:00
Michael Bestas
5c1d33f485
sm6225-common: sepolicy: Label caprip wakeup nodes
Change-Id: Iaa05e661740033323475f07f79337b5b7f3d0661
2023-05-07 01:03:33 +03:00
Michael Bestas
7574807fb4
sm6225-common: sepolicy: Label emmc partitions
Change-Id: I06cfb37e1ccd65b0d2da778c94330f1507fa1c67
2023-05-07 01:03:33 +03:00
Michael Bestas
bf5d46d117
sm6225-common: Move virtual A/B config to devices
Change-Id: I7b8eab6471a98bdb1babbc503d2ede28c9fbf715
2023-05-07 01:03:33 +03:00
Michael Bestas
ee27a6e2cb
sm6225-common: Add vendor.nxp.nxpnfc to compatibility matrix
Change-Id: I84d747c29ed1d39231ae6231ffdf333f586d7684
2023-05-07 01:03:33 +03:00
Michael Bestas
771370b2c1
sm6225-common: Decommonize some overlays again
Change-Id: Ia5feace132269d2727ff54b1802249cce5253f2d
2023-05-07 01:03:33 +03:00
Michael Bestas
8603e61195
sm6225-common: Cleanup overlays
Change-Id: I87ca78b9b40d0e74b8ba530c53d6107fe6d8a426
2023-05-07 01:03:33 +03:00
Michael Bestas
df61000153
sm6225-common: Add fstab support for emmc devices
Change-Id: Id8d2838dd747f02107116cda761cb364b3a626d3
2023-05-07 01:03:32 +03:00