Compare commits
421 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0a2c9ecfd4 | |||
|
|
0fbecf1c65 | ||
|
|
ead4921467 | ||
|
|
b120e6fa90 | ||
|
|
26949e38e3 | ||
|
|
fbac536b10 | ||
|
|
7b4c750021 | ||
|
|
ef8a056e1d | ||
|
|
ebf9c121b9 | ||
|
|
a6e27eee9e | ||
|
|
1843eaddd8 | ||
|
|
de83542561 | ||
|
|
9168a37a28 | ||
|
|
78f68eadbe | ||
|
|
eebc8301c7 | ||
|
|
fe0e783a8e | ||
|
|
e775461ffb | ||
|
|
3cca8fa95e | ||
|
|
5551d8ca1e | ||
|
|
2d9b310f21 | ||
|
|
58e15e5e74 | ||
|
|
90c54722bb | ||
|
|
8a0de4ac64 | ||
|
|
38a9b3b9af | ||
|
|
322fcbc804 | ||
|
|
7c16e2bb1e | ||
|
|
a51e28b5c9 | ||
|
|
62cd62462d | ||
|
|
f1eed0ae75 | ||
|
|
d815593f5b | ||
|
|
f262d53691 | ||
|
|
d048646d8a | ||
|
|
f9168cdea3 | ||
|
|
4ded46465e | ||
|
|
47c4bc4498 | ||
|
|
90809d5f5a | ||
|
|
be81f2565c | ||
|
|
2f3eabef88 | ||
|
|
2067b56e5c | ||
|
|
bfcd05e1a6 | ||
|
|
9957aa80ab | ||
|
|
6db84dd191 | ||
|
|
0c8e874524 | ||
|
|
6f89b75df0 | ||
|
|
725d8d67f9 | ||
|
|
ef8380c7fb | ||
|
|
f9450ba767 | ||
|
|
eea3860855 | ||
|
|
ae8a8bab5f | ||
|
|
74446137fe | ||
|
|
7ecf0e9656 | ||
|
|
dfa918da90 | ||
|
|
bbb6acfe7d | ||
|
|
dd4bc2f636 | ||
|
|
eb90ad21a6 | ||
|
|
1412285d25 | ||
|
|
ea1f72b8e9 | ||
|
|
0adddcb3ee | ||
|
|
72d1fa85c4 | ||
|
|
cb1a88e6a3 | ||
|
|
bc8947b887 | ||
|
|
0608443dda | ||
|
|
3cff2a3927 | ||
|
|
4ed0deaf6c | ||
|
|
5312cdc486 | ||
|
|
893d2f5d25 | ||
|
|
0ea8e2ed5e | ||
|
|
e87d6b30b8 | ||
|
|
417fd0f759 | ||
|
|
bd887dabc0 | ||
|
|
f27ee69930 | ||
|
|
bbf90186dc | ||
|
|
d48d4dd22f | ||
|
|
0825ae92b8 | ||
|
|
1cce81f773 | ||
|
|
b4f8e73689 | ||
|
|
75d49c4e50 | ||
|
|
8d23496712 | ||
|
|
050a0df7ad | ||
|
|
cda7b221c8 | ||
|
|
21a727749e | ||
|
|
c2f997b4c5 | ||
|
|
0593107e62 | ||
|
|
0aae9b9770 | ||
|
|
00dcbfaeaf | ||
|
|
610ce9a381 | ||
|
|
4942877d1a | ||
|
|
fe3d38fe37 | ||
|
|
1685f99e0d | ||
|
|
1968aba49b | ||
|
|
21a4d77bbd | ||
|
|
fa7f5d5479 | ||
|
|
8e6298f772 | ||
|
|
bcf3309920 | ||
|
|
c28a716616 | ||
|
|
ba713e6d03 | ||
|
|
634f4df7fa | ||
|
|
cbd276575f | ||
|
|
1d13e445a9 | ||
|
|
93db997342 | ||
|
|
b092b669f5 | ||
|
|
3e26b9d36b | ||
|
|
0ef5dede39 | ||
|
|
133a8116e9 | ||
|
|
0311fd9c92 | ||
|
|
d4d5f5669a | ||
|
|
4c1c54e049 | ||
|
|
dd6a9bd407 | ||
|
|
12958a836f | ||
|
|
1c5feeb40c | ||
|
|
89a306577e | ||
|
|
e40ea3bb0c | ||
| 6f8585f548 | |||
|
|
ccdc1b5ef6 | ||
|
|
7751a95af6 | ||
|
|
fb5888b770 | ||
|
|
10635798ca | ||
|
|
29589cc930 | ||
|
|
9afeac9412 | ||
|
|
1791f1b441 | ||
|
|
01880f08e7 | ||
|
|
f4366a9819 | ||
|
|
b687697ad7 | ||
|
|
787ab9e582 | ||
|
|
2cfa970d9a | ||
|
|
9096397971 | ||
|
|
83607a8cd7 | ||
|
|
aa4989cd82 | ||
|
|
fa9f0308cc | ||
|
|
f3964ea554 | ||
|
|
c6b1b5c842 | ||
|
|
75940b7c66 | ||
|
|
4e0771b4dd | ||
|
|
cb3d91f201 | ||
|
|
b8c0e596fb | ||
|
|
d4ee330545 | ||
|
|
cadc3a71b6 | ||
|
|
f4c04d3cbb | ||
|
|
995356402b | ||
|
|
65fccda312 | ||
|
|
ee6257efa4 | ||
|
|
433d33f27a | ||
|
|
bd54c3dcbc | ||
|
|
f858023809 | ||
|
|
42b7715e0b | ||
|
|
79086f85c1 | ||
|
|
2a4c945205 | ||
|
|
2b26219f55 | ||
|
|
1f16172eca | ||
|
|
ed9b48c76f | ||
|
|
50fe440837 | ||
|
|
14438f93b9 | ||
|
|
80c0fba55f | ||
|
|
dc69662ca3 | ||
|
|
56da9f07b8 | ||
|
|
67a5f2e039 | ||
|
|
f81f1fb40c | ||
|
|
dedcc17a6c | ||
|
|
edce8f1777 | ||
|
|
7919116d70 | ||
|
|
33d5bc465b | ||
|
|
104412ea38 | ||
|
|
63ec67dffe | ||
|
|
c749c51710 | ||
|
|
741fd0dc2c | ||
|
|
b2f6e070f6 | ||
|
|
bb054d385b | ||
|
|
3fbe630535 | ||
|
|
ca65e8c52a | ||
|
|
3d4e6b21f1 | ||
|
|
5cee66b067 | ||
|
|
b9022d7374 | ||
|
|
ab68d6b8cc | ||
|
|
f18188fe03 | ||
|
|
1744a4e500 | ||
|
|
252fc1193b | ||
|
|
01c660fcae | ||
|
|
c6d9250e8d | ||
|
|
e2f4ec4c29 | ||
|
|
a674550eef | ||
|
|
53fe2dee94 | ||
|
|
18cff74a3d | ||
|
|
32929978a9 | ||
|
|
f10b2a6a41 | ||
|
|
9391249b9e | ||
|
|
6c6ca16684 | ||
|
|
fbe97741de | ||
|
|
e882ae85d4 | ||
|
|
7f648cc3f0 | ||
|
|
6151b5e349 | ||
|
|
1de5d45503 | ||
|
|
1b8b6bcc67 | ||
|
|
f5c304f97a | ||
|
|
0afc7798cf | ||
|
|
8470023a55 | ||
|
|
26ba2b8247 | ||
|
|
286a67534b | ||
|
|
0b2d5593ea | ||
|
|
fe5397ebc7 | ||
|
|
96dd78c782 | ||
|
|
3e681001ec | ||
|
|
7080669476 | ||
|
|
4a71ff26ee | ||
|
|
6cd6bcb384 | ||
|
|
7c112d3429 | ||
|
|
2c8dcf0b9f | ||
|
|
65aef3e217 | ||
|
|
7da1cf5e54 | ||
|
|
2eee63a4db | ||
|
|
1469be0c68 | ||
|
|
ff02510f63 | ||
|
|
01481beac4 | ||
|
|
f4c66c7adc | ||
|
|
d056d3bad8 | ||
|
|
6a3a1f3a31 | ||
|
|
f1cbd49b24 | ||
|
|
e1e8c42f23 | ||
|
|
4069c95fc8 | ||
|
|
c24b0268cc | ||
|
|
c286da94c3 | ||
|
|
158be3ee2a | ||
|
|
a02ee8f56e | ||
|
|
f8a366be4a | ||
|
|
475184bc4e | ||
|
|
ae26331373 | ||
|
|
6bb675b68b | ||
|
|
6dc78824ed | ||
|
|
de9ed37568 | ||
|
|
2b1dc22c33 | ||
|
|
433b6cbff0 | ||
|
|
73e47ff455 | ||
|
|
95242355d9 | ||
|
|
b623e80fcd | ||
|
|
918ef34b5a | ||
|
|
67564b940b | ||
|
|
a3f5e16590 | ||
|
|
69a5aaa440 | ||
|
|
c113fdf791 | ||
|
|
83c00e4bd8 | ||
|
|
61794b4246 | ||
|
|
244bc957ed | ||
|
|
378e0dc8e3 | ||
|
|
1ec8a5c75d | ||
|
|
a075f3d851 | ||
|
|
96a8203633 | ||
|
|
a00096a43f | ||
|
|
3e3f8080aa | ||
|
|
6598f659e6 | ||
|
|
677f144d53 | ||
|
|
2673df4758 | ||
|
|
6fb37b914c | ||
|
|
b70be65e99 | ||
|
|
776b24d44b | ||
|
|
72e0e7fa38 | ||
|
|
d66388d676 | ||
|
|
493713ddf6 | ||
|
|
8215756c51 | ||
|
|
2f42af0095 | ||
|
|
63a6a5786a | ||
|
|
6d0d4ffda8 | ||
|
|
03efa43f01 | ||
|
|
365292d73d | ||
|
|
6ce29d087a | ||
|
|
073237da5b | ||
|
|
c1c6e069f6 | ||
|
|
becb4aa22d | ||
|
|
bd16083802 | ||
|
|
e4ce2b33d4 | ||
|
|
6fefb96a12 | ||
|
|
d63e4c068b | ||
|
|
90d58d2553 | ||
|
|
024d83b6fb | ||
|
|
cb063cf6ce | ||
|
|
706a39f268 | ||
|
|
86f85bd033 | ||
|
|
bf9c406fbe | ||
|
|
cf61d5959d | ||
|
|
c03d408bb4 | ||
|
|
f446026014 | ||
|
|
f398ff843b | ||
|
|
8026d60db6 | ||
|
|
b58cf03402 | ||
|
|
2d2a78c148 | ||
|
|
5925557552 | ||
|
|
1bf6ebb51e | ||
|
|
02be088bc5 | ||
|
|
0f940e5f22 | ||
|
|
ae260626bc | ||
|
|
cc2eda58a1 | ||
|
|
53746d9546 | ||
|
|
b960d7889c | ||
|
|
fa9c88aef8 | ||
|
|
b44200d0fb | ||
|
|
942a2a63f4 | ||
|
|
966927efa3 | ||
|
|
e5a1cde5d4 | ||
|
|
ab370980e3 | ||
|
|
c70f56e2df | ||
|
|
f439d82f7a | ||
|
|
35d63da2f6 | ||
|
|
c4f1017469 | ||
|
|
5b9f54e76d | ||
|
|
10a378bd0a | ||
|
|
50b8efd9eb | ||
|
|
2c6be03c0d | ||
|
|
b5eec482fd | ||
|
|
5b4131e18f | ||
|
|
07be62d1ab | ||
|
|
679626004d | ||
|
|
cf6ebcdd6f | ||
|
|
0b48578642 | ||
|
|
63b5468da9 | ||
|
|
32cd0dbba0 | ||
|
|
b2c724f0ed | ||
|
|
a11ee7aa8b | ||
|
|
852dfa55f8 | ||
|
|
f068419777 | ||
|
|
2dae73adf1 | ||
|
|
674508eccc | ||
|
|
ea80cb5016 | ||
|
|
6122c700d7 | ||
|
|
e465f1a856 | ||
|
|
02fde4c7cd | ||
|
|
867fb0a6d8 | ||
|
|
282e204a94 | ||
|
|
3293e92123 | ||
|
|
11348d7e76 | ||
|
|
8d49cdbd42 | ||
|
|
412d4909c5 | ||
|
|
ccea61be5a | ||
|
|
9ac637312b | ||
|
|
f2a7632106 | ||
|
|
e645e0f3a4 | ||
|
|
4deea18f30 | ||
|
|
73723cd920 | ||
|
|
4e2b651fdc | ||
|
|
383ea741c6 | ||
|
|
840fdf2d5f | ||
|
|
0e5e41f7cd | ||
|
|
0c59021e58 | ||
|
|
9da24b3a7f | ||
|
|
8181c4b5a8 | ||
|
|
9d6f14ddee | ||
|
|
20deb31861 | ||
|
|
9708950030 | ||
|
|
50589bd0fb | ||
|
|
749b8b461c | ||
|
|
49a3cfae3a | ||
|
|
774a260200 | ||
|
|
02d993c00f | ||
|
|
b0cce19f45 | ||
|
|
39fce1af32 | ||
|
|
b51016a53f | ||
|
|
c8cb1782e0 | ||
|
|
0d7906333b | ||
|
|
74af0fe9e6 | ||
|
|
eed4810894 | ||
|
|
41e929eb7b | ||
|
|
7d65c8faf0 | ||
|
|
c6daa1aa2e | ||
|
|
b0b0b53f73 | ||
|
|
bdf96fa6ad | ||
|
|
4aa0579e61 | ||
|
|
683104a6a8 | ||
|
|
8cc6f5a186 | ||
|
|
01ed337d75 | ||
|
|
c048370daa | ||
|
|
d734865c1b | ||
|
|
396a745860 | ||
|
|
7ceab840ed | ||
|
|
3689b206c9 | ||
|
|
cf74d79ff1 | ||
|
|
4d3aba4ef1 | ||
|
|
d971b50566 | ||
|
|
4d4fd451a6 | ||
|
|
d99163373f | ||
|
|
b9be0516dc | ||
|
|
8a7986278e | ||
|
|
7b4068ae7f | ||
|
|
101db9756d | ||
|
|
e7fcde08f4 | ||
|
|
09693514fd | ||
|
|
08847036fe | ||
|
|
9a67905169 | ||
|
|
8a9cfd2490 | ||
|
|
5786a473ac | ||
|
|
5ab177e482 | ||
|
|
1a1922dad5 | ||
|
|
d4e9442a2e | ||
|
|
50c530ee74 | ||
|
|
05241d9245 | ||
|
|
07f8ea39a1 | ||
|
|
7f1a8feb01 | ||
|
|
8cfdd54aee | ||
|
|
15e2e79ae3 | ||
|
|
4fadc88a01 | ||
|
|
2d50edbc64 | ||
|
|
628c5f5ba1 | ||
|
|
43f242aeae | ||
|
|
7a86c2d697 | ||
|
|
7eb0b7bfc7 | ||
|
|
daa5fb35ed | ||
|
|
4adec5414b | ||
|
|
63cd5c6143 | ||
|
|
252e674c5d | ||
|
|
1d6c4e7b53 | ||
|
|
ee665ec077 | ||
|
|
ea39396cd5 | ||
|
|
374602a559 | ||
|
|
4f46e4ea27 | ||
|
|
a5c9d59c72 | ||
|
|
cb1d5fab40 | ||
|
|
edd5f25866 | ||
|
|
1663eff382 | ||
|
|
fa3bdea5d9 | ||
|
|
069de3333d | ||
|
|
a069c07972 | ||
|
|
99f01b584d | ||
|
|
45b906133f | ||
|
|
401c431fcd | ||
|
|
f60a67678a |
1
.gitupstream
Normal file
1
.gitupstream
Normal file
@@ -0,0 +1 @@
|
||||
https://android.googlesource.com/device/google/lynx
|
||||
@@ -17,7 +17,8 @@
|
||||
PRODUCT_MAKEFILES := \
|
||||
$(LOCAL_DIR)/aosp_lynx.mk \
|
||||
$(LOCAL_DIR)/aosp_lynx_hwasan.mk \
|
||||
$(LOCAL_DIR)/factory_lynx.mk
|
||||
$(LOCAL_DIR)/factory_lynx.mk \
|
||||
$(LOCAL_DIR)/lineage_lynx.mk
|
||||
|
||||
COMMON_LUNCH_CHOICES := \
|
||||
aosp_lynx-trunk_staging-userdebug
|
||||
|
||||
5
BoardConfigLineage.mk
Normal file
5
BoardConfigLineage.mk
Normal file
@@ -0,0 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2023 The LineageOS Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
@@ -63,8 +63,8 @@ PRODUCT_COPY_FILES += \
|
||||
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_config.ini:$(TARGET_COPY_OUT_VENDOR)/etc/waves_config.ini \
|
||||
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_preset.mps:$(TARGET_COPY_OUT_VENDOR)/etc/waves_preset.mps
|
||||
|
||||
# userdebug specific
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
# eng specific
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/BLUETOOTH.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/BLUETOOTH.mods \
|
||||
device/google/lynx/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSFREE.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSFREE.mods \
|
||||
|
||||
Binary file not shown.
@@ -3,7 +3,7 @@
|
||||
#EXPORT_FLAG HANDSET
|
||||
#PARAM_MODE FULL
|
||||
#SAVE_MODE 3
|
||||
#SAVE_TIME 2023-08-15 15:09:46
|
||||
#SAVE_TIME 2024-05-21 10:42:17
|
||||
|
||||
#CASE_NAME HANDSET-HANDSET-VOICE_GENERIC-NB
|
||||
#PARAM_TYPE TX+2RX
|
||||
@@ -11,7 +11,7 @@
|
||||
#TX
|
||||
0 0x0000 //TX_OPERATION_MODE_0
|
||||
1 0x0000 //TX_OPERATION_MODE_1
|
||||
2 0x0076 //TX_PATCH_REG
|
||||
2 0x0056 //TX_PATCH_REG
|
||||
3 0x6F7F //TX_SENDFUNC_MODE_0
|
||||
4 0x0000 //TX_SENDFUNC_MODE_1
|
||||
5 0x0002 //TX_NUM_MIC
|
||||
@@ -306,7 +306,7 @@
|
||||
294 0x0014 //TX_MIN_GAIN_S_5
|
||||
295 0x000C //TX_MIN_GAIN_S_6
|
||||
296 0x0014 //TX_MIN_GAIN_S_7
|
||||
297 0x5000 //TX_NMOS_SUP
|
||||
297 0x2000 //TX_NMOS_SUP
|
||||
298 0x0000 //TX_NS_MAX_PRI_SNR_TH
|
||||
299 0x0000 //TX_NMOS_SUP_MENSA
|
||||
300 0x4000 //TX_SNRI_SUP_0
|
||||
@@ -332,8 +332,8 @@
|
||||
320 0x7000 //TX_A_POST_FILT_S_6
|
||||
321 0x7000 //TX_A_POST_FILT_S_7
|
||||
322 0x4000 //TX_B_POST_FILT_0
|
||||
323 0x2000 //TX_B_POST_FILT_1
|
||||
324 0x5000 //TX_B_POST_FILT_2
|
||||
323 0x6400 //TX_B_POST_FILT_1
|
||||
324 0x2000 //TX_B_POST_FILT_2
|
||||
325 0x4000 //TX_B_POST_FILT_3
|
||||
326 0x4000 //TX_B_POST_FILT_4
|
||||
327 0x4000 //TX_B_POST_FILT_5
|
||||
@@ -380,9 +380,9 @@
|
||||
368 0x1B58 //TX_NOISE_TH_0_2
|
||||
369 0x2134 //TX_NOISE_TH_0_3
|
||||
370 0x0320 //TX_NOISE_TH_1
|
||||
371 0x022C //TX_NOISE_TH_2
|
||||
372 0x2260 //TX_NOISE_TH_3
|
||||
373 0x6B6C //TX_NOISE_TH_4
|
||||
371 0x03E8 //TX_NOISE_TH_2
|
||||
372 0x2710 //TX_NOISE_TH_3
|
||||
373 0x4E20 //TX_NOISE_TH_4
|
||||
374 0x7FFF //TX_NOISE_TH_5
|
||||
375 0x7FFF //TX_NOISE_TH_5_2
|
||||
376 0x0000 //TX_NOISE_TH_5_3
|
||||
@@ -40046,7 +40046,7 @@
|
||||
#TX
|
||||
0 0x0000 //TX_OPERATION_MODE_0
|
||||
1 0x0000 //TX_OPERATION_MODE_1
|
||||
2 0x0076 //TX_PATCH_REG
|
||||
2 0x0056 //TX_PATCH_REG
|
||||
3 0x6F7F //TX_SENDFUNC_MODE_0
|
||||
4 0x0000 //TX_SENDFUNC_MODE_1
|
||||
5 0x0002 //TX_NUM_MIC
|
||||
@@ -40341,7 +40341,7 @@
|
||||
294 0x0014 //TX_MIN_GAIN_S_5
|
||||
295 0x000C //TX_MIN_GAIN_S_6
|
||||
296 0x0014 //TX_MIN_GAIN_S_7
|
||||
297 0x5000 //TX_NMOS_SUP
|
||||
297 0x2000 //TX_NMOS_SUP
|
||||
298 0x0000 //TX_NS_MAX_PRI_SNR_TH
|
||||
299 0x0000 //TX_NMOS_SUP_MENSA
|
||||
300 0x4000 //TX_SNRI_SUP_0
|
||||
@@ -40367,8 +40367,8 @@
|
||||
320 0x7000 //TX_A_POST_FILT_S_6
|
||||
321 0x7000 //TX_A_POST_FILT_S_7
|
||||
322 0x4000 //TX_B_POST_FILT_0
|
||||
323 0x2000 //TX_B_POST_FILT_1
|
||||
324 0x5000 //TX_B_POST_FILT_2
|
||||
323 0x6400 //TX_B_POST_FILT_1
|
||||
324 0x2000 //TX_B_POST_FILT_2
|
||||
325 0x4000 //TX_B_POST_FILT_3
|
||||
326 0x4000 //TX_B_POST_FILT_4
|
||||
327 0x4000 //TX_B_POST_FILT_5
|
||||
@@ -40415,9 +40415,9 @@
|
||||
368 0x1B58 //TX_NOISE_TH_0_2
|
||||
369 0x2134 //TX_NOISE_TH_0_3
|
||||
370 0x0320 //TX_NOISE_TH_1
|
||||
371 0x022C //TX_NOISE_TH_2
|
||||
372 0x2260 //TX_NOISE_TH_3
|
||||
373 0x6B6C //TX_NOISE_TH_4
|
||||
371 0x03E8 //TX_NOISE_TH_2
|
||||
372 0x2710 //TX_NOISE_TH_3
|
||||
373 0x4E20 //TX_NOISE_TH_4
|
||||
374 0x7FFF //TX_NOISE_TH_5
|
||||
375 0x7FFF //TX_NOISE_TH_5_2
|
||||
376 0x0000 //TX_NOISE_TH_5_3
|
||||
|
||||
@@ -61,7 +61,7 @@ DEVICE_MANIFEST_FILE += \
|
||||
device/google/lynx/bluetooth/manifest_bluetooth.xml
|
||||
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/lynx/bluetooth/device_framework_matrix_product.xml
|
||||
|
||||
BOARD_SEPOLICY_DIRS += device/google/lynx-sepolicy/bluetooth
|
||||
BOARD_SEPOLICY_DIRS += device/google/lynx/sepolicy/bluetooth
|
||||
|
||||
BOARD_HAVE_BLUETOOTH_QCOM = true
|
||||
BOARD_USES_COMMON_BLUETOOTH_HAL = true
|
||||
@@ -106,9 +106,11 @@ PRODUCT_COPY_FILES += \
|
||||
device/google/lynx/bluetooth/bluetooth_power_limits_Lynx_G82U8_JP.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_G82U8_JP.csv
|
||||
|
||||
# Bluetooth SAR test tools
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
ifneq (,$(filter true, $(TARGET_USE_QTI_BT_SAR_V1_1) $(TARGET_USE_QTI_BT_SAR)))
|
||||
PRODUCT_PACKAGES_DEBUG += bluetooth_sar_test
|
||||
endif
|
||||
endif
|
||||
|
||||
# Bluetooth (Vendor) SoC, BDA in device tree, and WiPower
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
@@ -117,7 +119,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.vendor.bluetooth.emb_wp_mode=false \
|
||||
ro.vendor.bluetooth.wipower=false
|
||||
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
persist.vendor.service.bdroid.soclog=true \
|
||||
persist.vendor.service.bdroid.fwsnoop=true
|
||||
|
||||
11
device-evolution.mk
Normal file
11
device-evolution.mk
Normal file
@@ -0,0 +1,11 @@
|
||||
#
|
||||
# Copyright (C) 2024 The Evolution X Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
# Overlays
|
||||
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay-evolution
|
||||
|
||||
# Udfps
|
||||
TARGET_HAS_UDFPS += true
|
||||
62
device-lineage.mk
Normal file
62
device-lineage.mk
Normal file
@@ -0,0 +1,62 @@
|
||||
#
|
||||
# Copyright (C) 2023 The LineageOS Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
# Overlays
|
||||
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay-lineage
|
||||
|
||||
# ANGLE - Almost Native Graphics Layer Engine
|
||||
PRODUCT_PACKAGES += \
|
||||
ANGLE
|
||||
|
||||
# EUICC
|
||||
PRODUCT_COPY_FILES += \
|
||||
frameworks/native/data/etc/android.hardware.telephony.euicc.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/android.hardware.telephony.euicc.xml
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
EuiccSupportPixelOverlay
|
||||
|
||||
# HBM
|
||||
PRODUCT_PACKAGES += \
|
||||
HbmSVManagerOverlayLynx
|
||||
|
||||
# Kernel
|
||||
TARGET_PREBUILT_KERNEL := device/google/lynx-kernel/Image.lz4
|
||||
|
||||
# wireless_charger HAL service
|
||||
include device/google/gs-common/wireless_charger/wireless_charger.mk
|
||||
|
||||
# Build necessary packages for vendor
|
||||
|
||||
# Codec2
|
||||
PRODUCT_PACKAGES += \
|
||||
libacryl \
|
||||
libacryl_hdr_plugin \
|
||||
libexynosv4l2
|
||||
|
||||
# Fingerprint
|
||||
PRODUCT_COPY_FILES += \
|
||||
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
|
||||
|
||||
# Graphics
|
||||
PRODUCT_PACKAGES += \
|
||||
libEGL_angle \
|
||||
libGLESv1_CM_angle \
|
||||
libGLESv2_angle
|
||||
|
||||
# Identity credential
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.identity_credential.xml
|
||||
|
||||
# Sensors
|
||||
PRODUCT_PACKAGES += \
|
||||
sensors.dynamic_sensor_hal
|
||||
|
||||
# Wi-Fi
|
||||
PRODUCT_PACKAGES += \
|
||||
libwifi-hal-ctrl:64
|
||||
|
||||
# Properties
|
||||
TARGET_VENDOR_PROP := $(LOCAL_PATH)/vendor.prop
|
||||
@@ -194,7 +194,7 @@ PRODUCT_SOONG_NAMESPACES += vendor/google_devices/lynx/prebuilts/trusty/trunk
|
||||
endif
|
||||
|
||||
# GPS xml
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/lynx/location/gps.xml.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml \
|
||||
device/google/lynx/location/lhd.conf.l10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
|
||||
@@ -231,8 +231,15 @@ PRODUCT_VENDOR_PROPERTIES += \
|
||||
vendor.zram.size=3g
|
||||
|
||||
# Increment the SVN for any official public releases
|
||||
ifdef RELEASE_SVN_LYNX
|
||||
TARGET_SVN ?= $(RELEASE_SVN_LYNX)
|
||||
else
|
||||
# Set this for older releases that don't use build flag
|
||||
TARGET_SVN ?= 46
|
||||
endif
|
||||
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
ro.vendor.build.svn=42
|
||||
ro.vendor.build.svn=$(TARGET_SVN)
|
||||
|
||||
# Set support hide display cutout feature
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
@@ -296,8 +303,8 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
persist.vendor.audio.cca.enabled=false
|
||||
|
||||
# userdebug specific
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
# eng specific
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/gs201/init.hardware.wlc.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.wlc.rc
|
||||
endif
|
||||
|
||||
11
evolution.dependencies
Normal file
11
evolution.dependencies
Normal file
@@ -0,0 +1,11 @@
|
||||
[
|
||||
{
|
||||
"repository": "device_google_gs201",
|
||||
"target_path": "device/google/gs201"
|
||||
},
|
||||
{
|
||||
"repository": "device/google/lynx-kernel",
|
||||
"target_path": "device/google/lynx-kernel",
|
||||
"remote": "aosp-lynx"
|
||||
}
|
||||
]
|
||||
151
extract-files.sh
Executable file
151
extract-files.sh
Executable file
@@ -0,0 +1,151 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2016 The CyanogenMod Project
|
||||
# SPDX-FileCopyrightText: 2017-2024 The LineageOS Project
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
set -e
|
||||
|
||||
DEVICE=lynx
|
||||
VENDOR=google
|
||||
|
||||
# Load extract_utils and do some sanity checks
|
||||
MY_DIR="${BASH_SOURCE%/*}"
|
||||
if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi
|
||||
|
||||
ANDROID_ROOT="${MY_DIR}/../../.."
|
||||
|
||||
export TARGET_ENABLE_CHECKELF=true
|
||||
|
||||
# If XML files don't have comments before the XML header, use this flag
|
||||
# Can still be used with broken XML files by using blob_fixup
|
||||
export TARGET_DISABLE_XML_FIXING=true
|
||||
|
||||
HELPER="${ANDROID_ROOT}/tools/extract-utils/extract_utils.sh"
|
||||
if [ ! -f "${HELPER}" ]; then
|
||||
echo "Unable to find helper script at ${HELPER}"
|
||||
exit 1
|
||||
fi
|
||||
source "${HELPER}"
|
||||
|
||||
# Default to sanitizing the vendor folder before extraction
|
||||
CLEAN_VENDOR=true
|
||||
|
||||
ONLY_FIRMWARE=
|
||||
KANG=
|
||||
SECTION=
|
||||
CARRIER_SKIP_FILES=()
|
||||
VENDOR_SKIP_FILES=()
|
||||
|
||||
while [ "${#}" -gt 0 ]; do
|
||||
case "${1}" in
|
||||
--only-firmware)
|
||||
ONLY_FIRMWARE=true
|
||||
;;
|
||||
-n | --no-cleanup)
|
||||
CLEAN_VENDOR=false
|
||||
;;
|
||||
-k | --kang)
|
||||
KANG="--kang"
|
||||
;;
|
||||
-s | --section)
|
||||
SECTION="${2}"
|
||||
shift
|
||||
CLEAN_VENDOR=false
|
||||
;;
|
||||
*)
|
||||
SRC="${1}"
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
if [ -z "${SRC}" ]; then
|
||||
SRC="adb"
|
||||
fi
|
||||
|
||||
function blob_fixup() {
|
||||
case "${1}" in
|
||||
product/etc/felica/common.cfg)
|
||||
[ "$2" = "" ] && return 0
|
||||
sed -i -e '$a00000018,1' -e '/^00000014/d' -e '/^00000015/d' "${2}"
|
||||
;;
|
||||
vendor/etc/init/init.modem_logging_control.rc)
|
||||
[ "$2" = "" ] && return 0
|
||||
sed -i 's/ && property:ro.debuggable=0//' "${2}"
|
||||
;;
|
||||
*)
|
||||
return 1
|
||||
;;
|
||||
esac
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
function blob_fixup_dry() {
|
||||
blob_fixup "$1" ""
|
||||
}
|
||||
|
||||
function prepare_firmware() {
|
||||
if [ "${SRC}" != "adb" ]; then
|
||||
bash "${ANDROID_ROOT}"/lineage/scripts/pixel/prepare-firmware.sh "${DEVICE}" "${SRC}"
|
||||
fi
|
||||
}
|
||||
|
||||
# Initialize the helper
|
||||
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" false "${CLEAN_VENDOR}"
|
||||
|
||||
if [ -z "${ONLY_FIRMWARE}" ]; then
|
||||
extract "${MY_DIR}/proprietary-files.txt" "${SRC}" "${KANG}" --section "${SECTION}"
|
||||
|
||||
generate_prop_list_from_image "product.img" "${MY_DIR}/proprietary-files-carriersettings.txt" CARRIER_SKIP_FILES carriersettings
|
||||
extract "${MY_DIR}/proprietary-files-carriersettings.txt" "${SRC}" "${KANG}" --section "${SECTION}"
|
||||
|
||||
readarray -t VENDOR_SKIP_FILES < <(cat "${MY_DIR}/skip-files-vendor.txt" | sed -E "/^[[:blank:]]*(#|$)/d")
|
||||
VENDOR_TXT="${MY_DIR}/proprietary-files-vendor.txt"
|
||||
generate_prop_list_from_image "vendor.img" "${VENDOR_TXT}" VENDOR_SKIP_FILES
|
||||
|
||||
# flp.default & gps.default have incorrect SONAME
|
||||
# libExynosC2*Dec & libExynosC2*Enc depend on libacryl & libexynosv4l2, which are gnu makefile targets
|
||||
# lowi-server depends on libwpa_client, which is a gnu makefile target
|
||||
set_disable_checkelf "vendor/bin/lowi-server" "${VENDOR_TXT}"
|
||||
set_disable_checkelf "vendor/lib/libExynosC2H263Dec.so" "${VENDOR_TXT}"
|
||||
set_disable_checkelf "vendor/lib/libExynosC2H263Enc.so" "${VENDOR_TXT}"
|
||||
set_disable_checkelf "vendor/lib/libExynosC2H264Dec.so" "${VENDOR_TXT}"
|
||||
set_disable_checkelf "vendor/lib/libExynosC2H264Enc.so" "${VENDOR_TXT}"
|
||||
set_disable_checkelf "vendor/lib/libExynosC2HevcDec.so" "${VENDOR_TXT}"
|
||||
set_disable_checkelf "vendor/lib/libExynosC2HevcEnc.so" "${VENDOR_TXT}"
|
||||
set_disable_checkelf "vendor/lib/libExynosC2Mpeg4Dec.so" "${VENDOR_TXT}"
|
||||
set_disable_checkelf "vendor/lib/libExynosC2Mpeg4Enc.so" "${VENDOR_TXT}"
|
||||
set_disable_checkelf "vendor/lib/libExynosC2Vp8Dec.so" "${VENDOR_TXT}"
|
||||
set_disable_checkelf "vendor/lib/libExynosC2Vp8Enc.so" "${VENDOR_TXT}"
|
||||
set_disable_checkelf "vendor/lib/libExynosC2Vp9Dec.so" "${VENDOR_TXT}"
|
||||
set_disable_checkelf "vendor/lib/libExynosC2Vp9Enc.so" "${VENDOR_TXT}"
|
||||
set_disable_checkelf "vendor/lib64/hw/flp.default.so" "${VENDOR_TXT}"
|
||||
set_disable_checkelf "vendor/lib64/hw/gps.default.so" "${VENDOR_TXT}"
|
||||
set_disable_checkelf "vendor/lib64/libExynosC2H263Dec.so" "${VENDOR_TXT}"
|
||||
set_disable_checkelf "vendor/lib64/libExynosC2H263Enc.so" "${VENDOR_TXT}"
|
||||
set_disable_checkelf "vendor/lib64/libExynosC2H264Dec.so" "${VENDOR_TXT}"
|
||||
set_disable_checkelf "vendor/lib64/libExynosC2H264Enc.so" "${VENDOR_TXT}"
|
||||
set_disable_checkelf "vendor/lib64/libExynosC2HevcDec.so" "${VENDOR_TXT}"
|
||||
set_disable_checkelf "vendor/lib64/libExynosC2HevcEnc.so" "${VENDOR_TXT}"
|
||||
set_disable_checkelf "vendor/lib64/libExynosC2Mpeg4Dec.so" "${VENDOR_TXT}"
|
||||
set_disable_checkelf "vendor/lib64/libExynosC2Mpeg4Enc.so" "${VENDOR_TXT}"
|
||||
set_disable_checkelf "vendor/lib64/libExynosC2Vp8Dec.so" "${VENDOR_TXT}"
|
||||
set_disable_checkelf "vendor/lib64/libExynosC2Vp8Enc.so" "${VENDOR_TXT}"
|
||||
set_disable_checkelf "vendor/lib64/libExynosC2Vp9Dec.so" "${VENDOR_TXT}"
|
||||
set_disable_checkelf "vendor/lib64/libExynosC2Vp9Enc.so" "${VENDOR_TXT}"
|
||||
|
||||
set_module_suffix "vendor/lib/com.google.edgetpu_app_service-V3-ndk.so" "-vendor" "${VENDOR_TXT}"
|
||||
set_module_suffix "vendor/lib64/com.google.edgetpu_app_service-V3-ndk.so" "-vendor" "${VENDOR_TXT}"
|
||||
set_module_suffix "vendor/lib64/com.google.edgetpu_vendor_service-V2-ndk.so" "-vendor" "${VENDOR_TXT}"
|
||||
|
||||
extract "${MY_DIR}/proprietary-files-vendor.txt" "${SRC}" "${KANG}" --section "${SECTION}"
|
||||
fi
|
||||
|
||||
if [ -z "${SECTION}" ]; then
|
||||
extract_firmware "${MY_DIR}/proprietary-firmware.txt" "${SRC}"
|
||||
fi
|
||||
|
||||
"${MY_DIR}/setup-makefiles.sh"
|
||||
33
lineage_lynx.mk
Normal file
33
lineage_lynx.mk
Normal file
@@ -0,0 +1,33 @@
|
||||
#
|
||||
# Copyright (C) 2023 The LineageOS Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
# Inherit some common Evolution X stuff.
|
||||
TARGET_DISABLE_EPPE := true
|
||||
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
|
||||
|
||||
# Inherit device configuration
|
||||
$(call inherit-product, device/google/lynx/aosp_lynx.mk)
|
||||
$(call inherit-product, device/google/gs201/lineage_common.mk)
|
||||
$(call inherit-product, device/google/gs201/evolution_common.mk)
|
||||
$(call inherit-product, device/google/lynx/device-lineage.mk)
|
||||
$(call inherit-product, device/google/lynx/device-evolution.mk)
|
||||
|
||||
# Device identifier. This must come after all inclusions
|
||||
PRODUCT_BRAND := google
|
||||
PRODUCT_MODEL := Pixel 7a
|
||||
PRODUCT_NAME := lineage_lynx
|
||||
|
||||
# Boot animation
|
||||
TARGET_SCREEN_HEIGHT := 2400
|
||||
TARGET_SCREEN_WIDTH := 1080
|
||||
|
||||
PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||
TARGET_PRODUCT=lynx \
|
||||
PRIVATE_BUILD_DESC="lynx-user 14 AP2A.240905.003 12231197 release-keys"
|
||||
|
||||
BUILD_FINGERPRINT := google/lynx/lynx:14/AP2A.240905.003/12231197:user/release-keys
|
||||
|
||||
$(call inherit-product, vendor/google/lynx/lynx-vendor.mk)
|
||||
@@ -44,5 +44,7 @@ BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1
|
||||
include device/google/gs201/BoardConfig-common.mk
|
||||
-include vendor/google_devices/gs201/prebuilts/BoardConfigVendor.mk
|
||||
-include vendor/google_devices/lynx/proprietary/BoardConfigVendor.mk
|
||||
include device/google/lynx-sepolicy/lynx-sepolicy.mk
|
||||
include device/google/lynx/sepolicy/lynx-sepolicy.mk
|
||||
include device/google/gs201/wifi/qcom/BoardConfig-wifi.mk
|
||||
|
||||
include device/google/lynx/lynx/BoardConfigLineage.mk
|
||||
|
||||
9
lynx/BoardConfigLineage.mk
Normal file
9
lynx/BoardConfigLineage.mk
Normal file
@@ -0,0 +1,9 @@
|
||||
#
|
||||
# Copyright (C) 2023 The LineageOS Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
include device/google/lynx/BoardConfigLineage.mk
|
||||
|
||||
include vendor/google/lynx/BoardConfigVendor.mk
|
||||
@@ -46,6 +46,9 @@
|
||||
<dimen name="physical_volume_up_button_center_screen_location_y">1064px</dimen>
|
||||
<dimen name="physical_volume_down_button_center_screen_location_y">1232px</dimen>
|
||||
|
||||
<!-- Movement should not be more than 1mm -->
|
||||
<dimen name="udfps_burn_in_offset_y">16px</dimen>
|
||||
|
||||
<!-- Pixel pitch of the device. um/px -->
|
||||
<item name="pixel_pitch" format="float" type="dimen">59.2</item>
|
||||
</resources>
|
||||
|
||||
8
lynx/rro_overlays/HbmSVManagerOverlay/Android.bp
Normal file
8
lynx/rro_overlays/HbmSVManagerOverlay/Android.bp
Normal file
@@ -0,0 +1,8 @@
|
||||
package {
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "HbmSVManagerOverlayLynx",
|
||||
vendor: true
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.hbmsvmanager.overlay">
|
||||
|
||||
<overlay
|
||||
android:isStatic="true"
|
||||
android:priority="0"
|
||||
android:targetPackage="com.android.hbmsvmanager" />
|
||||
</manifest>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 6.5 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 6.3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 6.9 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 7.1 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 7.3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 7.4 KiB |
48
lynx/rro_overlays/HbmSVManagerOverlay/res/values/config.xml
Normal file
48
lynx/rro_overlays/HbmSVManagerOverlay/res/values/config.xml
Normal file
@@ -0,0 +1,48 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
** Copyright 2020, The Android Open Source Project
|
||||
**
|
||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||
** you may not use this file except in compliance with the License.
|
||||
** You may obtain a copy of the License at
|
||||
**
|
||||
** http://www.apache.org/licenses/LICENSE-2.0
|
||||
**
|
||||
** Unless required by applicable law or agreed to in writing, software
|
||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
** See the License for the specific language governing permissions and
|
||||
** limitations under the License.
|
||||
*/
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<string-array name="config_calibrated_compensation_images">
|
||||
<item>SCI_0_cal0.png</item>
|
||||
<item>SCI_1_cal0.png</item>
|
||||
<item>SCI_2_cal0.png</item>
|
||||
<item>SCI_3_cal0.png</item>
|
||||
<item>SCI_4_cal0.png</item>
|
||||
<item>SCI_5_cal0.png</item>
|
||||
</string-array>
|
||||
<array name="config_compensation_images">
|
||||
<item>@drawable/SCI_0_cal0</item>
|
||||
<item>@drawable/SCI_1_cal0</item>
|
||||
<item>@drawable/SCI_2_cal0</item>
|
||||
<item>@drawable/SCI_3_cal0</item>
|
||||
<item>@drawable/SCI_4_cal0</item>
|
||||
<item>@drawable/SCI_5_cal0</item>
|
||||
</array>
|
||||
<integer name="config_compensation_filter_horizon">1500</integer>
|
||||
<dimen name="config_compensation_filter_intercept">10.0</dimen>
|
||||
<dimen name="config_compensation_lux_enter_threshold">7000.0</dimen>
|
||||
<array name="config_compensation_thresholds">
|
||||
<item>7000.0</item>
|
||||
<item>10000.0</item>
|
||||
<item>35000.0</item>
|
||||
<item>50000.0</item>
|
||||
<item>80000.0</item>
|
||||
<item>100000.0</item>
|
||||
</array>
|
||||
</resources>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2019-2024 The Evolution X Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
|
||||
<!-- Android version screen, build maintainer -->
|
||||
<string name="build_maintainer_summary" translatable="false">Anierin Bliss</string>
|
||||
<string name="build_maintainer_donate_url" translatable="false">https://PayPal.me/AnierinB</string>
|
||||
</resources>
|
||||
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright 2021 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<integer name="config_fingerprintMaxTemplatesPerUser">4</integer>
|
||||
|
||||
<!-- IWLAN-->
|
||||
<string name="config_qualified_networks_service_package">com.android.qns</string>
|
||||
</resources>
|
||||
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
** Copyright 2019, The LineageOS Project
|
||||
**
|
||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||
** you may not use this file except in compliance with the License.
|
||||
** You may obtain a copy of the License at
|
||||
**
|
||||
** http://www.apache.org/licenses/LICENSE-2.0
|
||||
**
|
||||
** Unless required by applicable law or agreed to in writing, software
|
||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
** See the License for the specific language governing permissions and
|
||||
** limitations under the License.
|
||||
*/
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
|
||||
<!-- Whether device has screen with higher aspect ratio -->
|
||||
<bool name="config_haveHigherAspectRatioScreen">true</bool>
|
||||
|
||||
<!-- Whether the device supports wireless charging or not -->
|
||||
<bool name="config_deviceSupportsWirelessCharging">true</bool>
|
||||
|
||||
</resources>
|
||||
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: 2022 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources>
|
||||
<!-- An array of triplets made of (camera ID, approximate zoom ratio, exact zoom ratio).
|
||||
These values will be added to the lens selector if one or more cameras uses the
|
||||
multi-camera API to let the user select which lens to use.
|
||||
It's highly recommended to leave config_enableAuxCameras to false, since with
|
||||
multi-camera API you only use a single camera device for all sensors.
|
||||
You may enable it if you need auxiliary camera devices for a set of cameras on one
|
||||
of the device's side (e.g. logical main back camera but multiple physical camera
|
||||
devices on front), in that case if a main device side's lens is referenced here
|
||||
all the auxiliary camera devices of that side will be ignored.
|
||||
You may be able to get the exact zoom ratio needed to trigger the lens switch from
|
||||
your stock camera app and observing the zoom ratio it sets with the following command:
|
||||
adb shell dumpsys media.camera | grep 'android.control.zoomRatio' -1
|
||||
Example for Google Pixel 7 Pro's back camera configuration:
|
||||
<string-array name="config_logicalZoomRatios">
|
||||
<item>0</item> <item>0.5</item> <item>0.55632502</item>
|
||||
<item>0</item> <item>2.0</item> <item>2.0</item>
|
||||
<item>0</item> <item>5.0</item> <item>5.0</item>
|
||||
</string-array>
|
||||
-->
|
||||
<string-array name="config_logicalZoomRatios">
|
||||
<item>0</item> <item>0.5</item> <item>0.53060198</item>
|
||||
<item>0</item> <item>2.0</item> <item>2.0</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
20
overlay-lineage/packages/apps/Settings/res/values/config.xml
Normal file
20
overlay-lineage/packages/apps/Settings/res/values/config.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright 2021 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<!-- Whether to show Smooth Display feature in Settings Options -->
|
||||
<bool name="config_show_smooth_display">true</bool>
|
||||
</resources>
|
||||
343
proprietary-files-carriersettings.txt
Normal file
343
proprietary-files-carriersettings.txt
Normal file
@@ -0,0 +1,343 @@
|
||||
# All blobs below are extracted from the release mentioned in proprietary-files.txt
|
||||
product/etc/CarrierSettings/1and1_de.pb
|
||||
product/etc/CarrierSettings/2degrees_nz.pb
|
||||
product/etc/CarrierSettings/4ka_sk.pb
|
||||
product/etc/CarrierSettings/a1_at.pb
|
||||
product/etc/CarrierSettings/a1_bg.pb
|
||||
product/etc/CarrierSettings/a1_hr.pb
|
||||
product/etc/CarrierSettings/a1_mk.pb
|
||||
product/etc/CarrierSettings/a1_si.pb
|
||||
product/etc/CarrierSettings/ahamo_jp.pb
|
||||
product/etc/CarrierSettings/airtel_in.pb
|
||||
product/etc/CarrierSettings/ais_th.pb
|
||||
product/etc/CarrierSettings/altice_us.pb
|
||||
product/etc/CarrierSettings/andorratelecom_ad.pb
|
||||
product/etc/CarrierSettings/antel_uy.pb
|
||||
product/etc/CarrierSettings/appalachian_us.pb
|
||||
product/etc/CarrierSettings/apt_tw.pb
|
||||
product/etc/CarrierSettings/asda_gb.pb
|
||||
product/etc/CarrierSettings/assurance_us.pb
|
||||
product/etc/CarrierSettings/astca_as.pb
|
||||
product/etc/CarrierSettings/att5g_us.pb
|
||||
product/etc/CarrierSettings/att5gsa_us.pb
|
||||
product/etc/CarrierSettings/att_mx.pb
|
||||
product/etc/CarrierSettings/att_us.pb
|
||||
product/etc/CarrierSettings/attbootstrap_us.pb
|
||||
product/etc/CarrierSettings/attmvnos_us.pb
|
||||
product/etc/CarrierSettings/base_be.pb
|
||||
product/etc/CarrierSettings/batelco_bh.pb
|
||||
product/etc/CarrierSettings/bell_ca.pb
|
||||
product/etc/CarrierSettings/bite_lt.pb
|
||||
product/etc/CarrierSettings/bite_lv.pb
|
||||
product/etc/CarrierSettings/bluegrass_us.pb
|
||||
product/etc/CarrierSettings/bob_at.pb
|
||||
product/etc/CarrierSettings/boost_us.pb
|
||||
product/etc/CarrierSettings/boosttmo_us.pb
|
||||
product/etc/CarrierSettings/bouygues_fr.pb
|
||||
product/etc/CarrierSettings/bsnl_in.pb
|
||||
product/etc/CarrierSettings/btb_gb.pb
|
||||
product/etc/CarrierSettings/btc_gb.pb
|
||||
product/etc/CarrierSettings/cablemovil_es.pb
|
||||
product/etc/CarrierSettings/carolinawest_us.pb
|
||||
product/etc/CarrierSettings/carrier_list.pb
|
||||
product/etc/CarrierSettings/celcom_my.pb
|
||||
product/etc/CarrierSettings/cellcom_il.pb
|
||||
product/etc/CarrierSettings/cellcom_us.pb
|
||||
product/etc/CarrierSettings/cellcommno_us.pb
|
||||
product/etc/CarrierSettings/celluarone_us.pb
|
||||
product/etc/CarrierSettings/chatr_ca.pb
|
||||
product/etc/CarrierSettings/chinamobile_hk.pb
|
||||
product/etc/CarrierSettings/cht_tw.pb
|
||||
product/etc/CarrierSettings/cityfone_ca.pb
|
||||
product/etc/CarrierSettings/claro_pr.pb
|
||||
product/etc/CarrierSettings/congstar_de.pb
|
||||
product/etc/CarrierSettings/consumercellularatt_us.pb
|
||||
product/etc/CarrierSettings/consumercellulartmo_us.pb
|
||||
product/etc/CarrierSettings/coopvoce_it.pb
|
||||
product/etc/CarrierSettings/coppervalley_us.pb
|
||||
product/etc/CarrierSettings/coriolis_fr.pb
|
||||
product/etc/CarrierSettings/cox_us.pb
|
||||
product/etc/CarrierSettings/cricket5g_us.pb
|
||||
product/etc/CarrierSettings/cricket_us.pb
|
||||
product/etc/CarrierSettings/cspire_nl.pb
|
||||
product/etc/CarrierSettings/cspire_us.pb
|
||||
product/etc/CarrierSettings/default.pb
|
||||
product/etc/CarrierSettings/digi_hu.pb
|
||||
product/etc/CarrierSettings/digi_my.pb
|
||||
product/etc/CarrierSettings/digi_ro.pb
|
||||
product/etc/CarrierSettings/digimobil_es.pb
|
||||
product/etc/CarrierSettings/dish5gsa_us.pb
|
||||
product/etc/CarrierSettings/dishatt_us.pb
|
||||
product/etc/CarrierSettings/dito_ph.pb
|
||||
product/etc/CarrierSettings/dna_fi.pb
|
||||
product/etc/CarrierSettings/docomo_jp.pb
|
||||
product/etc/CarrierSettings/docomomvno_jp.pb
|
||||
product/etc/CarrierSettings/dtac_th.pb
|
||||
product/etc/CarrierSettings/du_ae.pb
|
||||
product/etc/CarrierSettings/eastlink_ca.pb
|
||||
product/etc/CarrierSettings/ee_gb.pb
|
||||
product/etc/CarrierSettings/eir_ie.pb
|
||||
product/etc/CarrierSettings/elisa1_fi.pb
|
||||
product/etc/CarrierSettings/elisa2_fi.pb
|
||||
product/etc/CarrierSettings/elisa_ee.pb
|
||||
product/etc/CarrierSettings/enreach_nl.pb
|
||||
product/etc/CarrierSettings/eplus_de.pb
|
||||
product/etc/CarrierSettings/erate_no.pb
|
||||
product/etc/CarrierSettings/esn_gb.pb
|
||||
product/etc/CarrierSettings/etisalat_ae.pb
|
||||
product/etc/CarrierSettings/euskaltel_es.pb
|
||||
product/etc/CarrierSettings/evolve_us.pb
|
||||
product/etc/CarrierSettings/fastweb_it.pb
|
||||
product/etc/CarrierSettings/fet_tw.pb
|
||||
product/etc/CarrierSettings/fi_at.pb
|
||||
product/etc/CarrierSettings/fi_us.pb
|
||||
product/etc/CarrierSettings/fido_ca.pb
|
||||
product/etc/CarrierSettings/finetwork_es.pb
|
||||
product/etc/CarrierSettings/firstnet_us.pb
|
||||
product/etc/CarrierSettings/firstnetpacific2_us.pb
|
||||
product/etc/CarrierSettings/firstnetpacific_us.pb
|
||||
product/etc/CarrierSettings/fizz_ca.pb
|
||||
product/etc/CarrierSettings/fl1_li.pb
|
||||
product/etc/CarrierSettings/free_fr.pb
|
||||
product/etc/CarrierSettings/free_re.pb
|
||||
product/etc/CarrierSettings/freedommobile_ca.pb
|
||||
product/etc/CarrierSettings/gamma_gb.pb
|
||||
product/etc/CarrierSettings/gci_us.pb
|
||||
product/etc/CarrierSettings/gibtel_gi.pb
|
||||
product/etc/CarrierSettings/giffgaff_gb.pb
|
||||
product/etc/CarrierSettings/giga_sg.pb
|
||||
product/etc/CarrierSettings/globe_ph.pb
|
||||
product/etc/CarrierSettings/guuk_es.pb
|
||||
product/etc/CarrierSettings/h3_at.pb
|
||||
product/etc/CarrierSettings/h3_gb.pb
|
||||
product/etc/CarrierSettings/h3_ie.pb
|
||||
product/etc/CarrierSettings/h3_se.pb
|
||||
product/etc/CarrierSettings/h3g27202_ie.pb
|
||||
product/etc/CarrierSettings/halebop_se.pb
|
||||
product/etc/CarrierSettings/help_at.pb
|
||||
product/etc/CarrierSettings/homobile_it.pb
|
||||
product/etc/CarrierSettings/hotmobile_il.pb
|
||||
product/etc/CarrierSettings/ice_no.pb
|
||||
product/etc/CarrierSettings/idea_in.pb
|
||||
product/etc/CarrierSettings/idmobile_gb.pb
|
||||
product/etc/CarrierSettings/iliad_it.pb
|
||||
product/etc/CarrierSettings/inland_us.pb
|
||||
product/etc/CarrierSettings/jazztel_es.pb
|
||||
product/etc/CarrierSettings/kddi_jp.pb
|
||||
product/etc/CarrierSettings/kddimvno_jp.pb
|
||||
product/etc/CarrierSettings/kena_it.pb
|
||||
product/etc/CarrierSettings/koodo_ca.pb
|
||||
product/etc/CarrierSettings/kpn_nl.pb
|
||||
product/etc/CarrierSettings/lebara_es.pb
|
||||
product/etc/CarrierSettings/lebara_fr.pb
|
||||
product/etc/CarrierSettings/lebara_gb.pb
|
||||
product/etc/CarrierSettings/liberty_pr.pb
|
||||
product/etc/CarrierSettings/lifecell_ua.pb
|
||||
product/etc/CarrierSettings/linemo_jp.pb
|
||||
product/etc/CarrierSettings/llamaya_es.pb
|
||||
product/etc/CarrierSettings/lmt_lv.pb
|
||||
product/etc/CarrierSettings/lowi_es.pb
|
||||
product/etc/CarrierSettings/luckymobile_ca.pb
|
||||
product/etc/CarrierSettings/lum_ca.pb
|
||||
product/etc/CarrierSettings/lyca_es.pb
|
||||
product/etc/CarrierSettings/m1_sg.pb
|
||||
product/etc/CarrierSettings/manxcontract_im.pb
|
||||
product/etc/CarrierSettings/manxprepaid_im.pb
|
||||
product/etc/CarrierSettings/masmovil_es.pb
|
||||
product/etc/CarrierSettings/maxis_my.pb
|
||||
product/etc/CarrierSettings/meo_pt.pb
|
||||
product/etc/CarrierSettings/metropcs_us.pb
|
||||
product/etc/CarrierSettings/mobily_sa.pb
|
||||
product/etc/CarrierSettings/monacotelecom_mc.pb
|
||||
product/etc/CarrierSettings/movistar_es.pb
|
||||
product/etc/CarrierSettings/movistar_mx.pb
|
||||
product/etc/CarrierSettings/nextech_us.pb
|
||||
product/etc/CarrierSettings/nos_pt.pb
|
||||
product/etc/CarrierSettings/nova_gr.pb
|
||||
product/etc/CarrierSettings/nova_is.pb
|
||||
product/etc/CarrierSettings/o2_cz.pb
|
||||
product/etc/CarrierSettings/o2_de.pb
|
||||
product/etc/CarrierSettings/o2_sk.pb
|
||||
product/etc/CarrierSettings/o2postpaid_gb.pb
|
||||
product/etc/CarrierSettings/o2prepaid_de.pb
|
||||
product/etc/CarrierSettings/o2prepaid_gb.pb
|
||||
product/etc/CarrierSettings/omantel_om.pb
|
||||
product/etc/CarrierSettings/onecall_no.pb
|
||||
product/etc/CarrierSettings/ooredoo_kw.pb
|
||||
product/etc/CarrierSettings/ooredoo_qa.pb
|
||||
product/etc/CarrierSettings/optus_au.pb
|
||||
product/etc/CarrierSettings/orange_be.pb
|
||||
product/etc/CarrierSettings/orange_es.pb
|
||||
product/etc/CarrierSettings/orange_fr.pb
|
||||
product/etc/CarrierSettings/orange_gp.pb
|
||||
product/etc/CarrierSettings/orange_lu.pb
|
||||
product/etc/CarrierSettings/orange_pl.pb
|
||||
product/etc/CarrierSettings/orange_re.pb
|
||||
product/etc/CarrierSettings/orange_ro.pb
|
||||
product/etc/CarrierSettings/orange_sk.pb
|
||||
product/etc/CarrierSettings/others.pb
|
||||
product/etc/CarrierSettings/paradisemobile_bm.pb
|
||||
product/etc/CarrierSettings/partner_il.pb
|
||||
product/etc/CarrierSettings/pcmobilebell_ca.pb
|
||||
product/etc/CarrierSettings/pelephone_il.pb
|
||||
product/etc/CarrierSettings/pepephone_es.pb
|
||||
product/etc/CarrierSettings/play_pl.pb
|
||||
product/etc/CarrierSettings/plus_pl.pb
|
||||
product/etc/CarrierSettings/post_lu.pb
|
||||
product/etc/CarrierSettings/povo_jp.pb
|
||||
product/etc/CarrierSettings/proximus_be.pb
|
||||
product/etc/CarrierSettings/publicmobile_ca.pb
|
||||
product/etc/CarrierSettings/r_es.pb
|
||||
product/etc/CarrierSettings/racc_es.pb
|
||||
product/etc/CarrierSettings/rakuten_jp.pb
|
||||
product/etc/CarrierSettings/reachmobileatt_us.pb
|
||||
product/etc/CarrierSettings/redpocketatt_us.pb
|
||||
product/etc/CarrierSettings/redpockettmo_us.pb
|
||||
product/etc/CarrierSettings/rjio_in.pb
|
||||
product/etc/CarrierSettings/rogers5g_ca.pb
|
||||
product/etc/CarrierSettings/rogers_ca.pb
|
||||
product/etc/CarrierSettings/rogerswpn_ca.pb
|
||||
product/etc/CarrierSettings/salt_ch.pb
|
||||
product/etc/CarrierSettings/salt_li.pb
|
||||
product/etc/CarrierSettings/sasktel_ca.pb
|
||||
product/etc/CarrierSettings/sfr_fr.pb
|
||||
product/etc/CarrierSettings/shaw_ca.pb
|
||||
product/etc/CarrierSettings/simba_sg.pb
|
||||
product/etc/CarrierSettings/siminn_is.pb
|
||||
product/etc/CarrierSettings/simple_us.pb
|
||||
product/etc/CarrierSettings/simyo_es.pb
|
||||
product/etc/CarrierSettings/singtel_sg.pb
|
||||
product/etc/CarrierSettings/skinny_nz.pb
|
||||
product/etc/CarrierSettings/skt_kr.pb
|
||||
product/etc/CarrierSettings/sky_gb.pb
|
||||
product/etc/CarrierSettings/skylo_zz.pb
|
||||
product/etc/CarrierSettings/smart_ph.pb
|
||||
product/etc/CarrierSettings/smartone_hk.pb
|
||||
product/etc/CarrierSettings/smarty_gb.pb
|
||||
product/etc/CarrierSettings/softbank_jp.pb
|
||||
product/etc/CarrierSettings/solomobile_ca.pb
|
||||
product/etc/CarrierSettings/spark_nz.pb
|
||||
product/etc/CarrierSettings/spectrum_us.pb
|
||||
product/etc/CarrierSettings/spmtelecom_pm.pb
|
||||
product/etc/CarrierSettings/sprint_us.pb
|
||||
product/etc/CarrierSettings/sprintprepaid_us.pb
|
||||
product/etc/CarrierSettings/sprintwholesale_us.pb
|
||||
product/etc/CarrierSettings/spusu_at.pb
|
||||
product/etc/CarrierSettings/starhub_sg.pb
|
||||
product/etc/CarrierSettings/stc_bh.pb
|
||||
product/etc/CarrierSettings/stc_kw.pb
|
||||
product/etc/CarrierSettings/stc_sa.pb
|
||||
product/etc/CarrierSettings/strata_us.pb
|
||||
product/etc/CarrierSettings/sunrise_ch.pb
|
||||
product/etc/CarrierSettings/sweno_es.pb
|
||||
product/etc/CarrierSettings/swisscom_ch.pb
|
||||
product/etc/CarrierSettings/swisscom_li.pb
|
||||
product/etc/CarrierSettings/talkmobile_gb.pb
|
||||
product/etc/CarrierSettings/tango_lu.pb
|
||||
product/etc/CarrierSettings/tango_us.pb
|
||||
product/etc/CarrierSettings/tbaytel_ca.pb
|
||||
product/etc/CarrierSettings/tchibo_de.pb
|
||||
product/etc/CarrierSettings/tdc_dk.pb
|
||||
product/etc/CarrierSettings/telcel_mx.pb
|
||||
product/etc/CarrierSettings/telco_re.pb
|
||||
product/etc/CarrierSettings/tele2_ee.pb
|
||||
product/etc/CarrierSettings/tele2_lt.pb
|
||||
product/etc/CarrierSettings/tele2_lv.pb
|
||||
product/etc/CarrierSettings/tele2_se.pb
|
||||
product/etc/CarrierSettings/telecable2_es.pb
|
||||
product/etc/CarrierSettings/telekom_de.pb
|
||||
product/etc/CarrierSettings/telekom_gr.pb
|
||||
product/etc/CarrierSettings/telekom_hr.pb
|
||||
product/etc/CarrierSettings/telekom_hu.pb
|
||||
product/etc/CarrierSettings/telekom_mk.pb
|
||||
product/etc/CarrierSettings/telekom_pl.pb
|
||||
product/etc/CarrierSettings/telekom_ro.pb
|
||||
product/etc/CarrierSettings/telekom_si.pb
|
||||
product/etc/CarrierSettings/telekom_sk.pb
|
||||
product/etc/CarrierSettings/telemach_si.pb
|
||||
product/etc/CarrierSettings/telenet_be.pb
|
||||
product/etc/CarrierSettings/telenor_dk.pb
|
||||
product/etc/CarrierSettings/telenor_no.pb
|
||||
product/etc/CarrierSettings/telenor_se.pb
|
||||
product/etc/CarrierSettings/telia_dk.pb
|
||||
product/etc/CarrierSettings/telia_ee.pb
|
||||
product/etc/CarrierSettings/telia_fi.pb
|
||||
product/etc/CarrierSettings/telia_lt.pb
|
||||
product/etc/CarrierSettings/telia_no.pb
|
||||
product/etc/CarrierSettings/telia_se.pb
|
||||
product/etc/CarrierSettings/telstra_au.pb
|
||||
product/etc/CarrierSettings/telus_ca.pb
|
||||
product/etc/CarrierSettings/tesco_gb.pb
|
||||
product/etc/CarrierSettings/three_dk.pb
|
||||
product/etc/CarrierSettings/tim_it.pb
|
||||
product/etc/CarrierSettings/tmobile_at.pb
|
||||
product/etc/CarrierSettings/tmobile_cz.pb
|
||||
product/etc/CarrierSettings/tmobile_nl.pb
|
||||
product/etc/CarrierSettings/tmobile_us.pb
|
||||
product/etc/CarrierSettings/tmomvno_nl.pb
|
||||
product/etc/CarrierSettings/tmomvno_us.pb
|
||||
product/etc/CarrierSettings/tracfoneatt_us.pb
|
||||
product/etc/CarrierSettings/tracfonetmo_us.pb
|
||||
product/etc/CarrierSettings/tracfoneverizon_us.pb
|
||||
product/etc/CarrierSettings/truemove_th.pb
|
||||
product/etc/CarrierSettings/truphone_us.pb
|
||||
product/etc/CarrierSettings/truphone_zz.pb
|
||||
product/etc/CarrierSettings/tstar_tw.pb
|
||||
product/etc/CarrierSettings/turkcell_tr.pb
|
||||
product/etc/CarrierSettings/turktelekom_tr.pb
|
||||
product/etc/CarrierSettings/twm_tw.pb
|
||||
product/etc/CarrierSettings/u264a_ca.pb
|
||||
product/etc/CarrierSettings/u264a_us.pb
|
||||
product/etc/CarrierSettings/u264ab_ca.pb
|
||||
product/etc/CarrierSettings/u264ao_at.pb
|
||||
product/etc/CarrierSettings/u264ap_at.pb
|
||||
product/etc/CarrierSettings/ultra_us.pb
|
||||
product/etc/CarrierSettings/umobile_my.pb
|
||||
product/etc/CarrierSettings/unifi_my.pb
|
||||
product/etc/CarrierSettings/unionwireless_us.pb
|
||||
product/etc/CarrierSettings/uqmobile5gsa_jp.pb
|
||||
product/etc/CarrierSettings/uqmobile_jp.pb
|
||||
product/etc/CarrierSettings/uscc_us.pb
|
||||
product/etc/CarrierSettings/verizon_us.pb
|
||||
product/etc/CarrierSettings/verymobile_it.pb
|
||||
product/etc/CarrierSettings/viaero_us.pb
|
||||
product/etc/CarrierSettings/videotron_ca.pb
|
||||
product/etc/CarrierSettings/vimla_se.pb
|
||||
product/etc/CarrierSettings/vinaphone_vn.pb
|
||||
product/etc/CarrierSettings/virgin_ca.pb
|
||||
product/etc/CarrierSettings/virgin_gb.pb
|
||||
product/etc/CarrierSettings/virgin_us.pb
|
||||
product/etc/CarrierSettings/virgintelco_es.pb
|
||||
product/etc/CarrierSettings/visible_us.pb
|
||||
product/etc/CarrierSettings/visiblev_us.pb
|
||||
product/etc/CarrierSettings/viti_pf.pb
|
||||
product/etc/CarrierSettings/vodafone_au.pb
|
||||
product/etc/CarrierSettings/vodafone_cz.pb
|
||||
product/etc/CarrierSettings/vodafone_de.pb
|
||||
product/etc/CarrierSettings/vodafone_es.pb
|
||||
product/etc/CarrierSettings/vodafone_gb.pb
|
||||
product/etc/CarrierSettings/vodafone_gr.pb
|
||||
product/etc/CarrierSettings/vodafone_hu.pb
|
||||
product/etc/CarrierSettings/vodafone_ie.pb
|
||||
product/etc/CarrierSettings/vodafone_in.pb
|
||||
product/etc/CarrierSettings/vodafone_it.pb
|
||||
product/etc/CarrierSettings/vodafone_nl.pb
|
||||
product/etc/CarrierSettings/vodafone_nz.pb
|
||||
product/etc/CarrierSettings/vodafone_om.pb
|
||||
product/etc/CarrierSettings/vodafone_pt.pb
|
||||
product/etc/CarrierSettings/vodafone_qa.pb
|
||||
product/etc/CarrierSettings/vodafone_ro.pb
|
||||
product/etc/CarrierSettings/vodafone_tr.pb
|
||||
product/etc/CarrierSettings/webbing_hk.pb
|
||||
product/etc/CarrierSettings/windtre_it.pb
|
||||
product/etc/CarrierSettings/xfinity2_us.pb
|
||||
product/etc/CarrierSettings/xfinity_us.pb
|
||||
product/etc/CarrierSettings/yes_my.pb
|
||||
product/etc/CarrierSettings/yesss_at.pb
|
||||
product/etc/CarrierSettings/yettel_bg.pb
|
||||
product/etc/CarrierSettings/yettel_hu.pb
|
||||
product/etc/CarrierSettings/yoigo_es.pb
|
||||
product/etc/CarrierSettings/zain_bh.pb
|
||||
product/etc/CarrierSettings/zain_kw.pb
|
||||
product/etc/CarrierSettings/zain_sa.pb
|
||||
product/etc/CarrierSettings/zeop_re.pb
|
||||
1663
proprietary-files-vendor.txt
Normal file
1663
proprietary-files-vendor.txt
Normal file
File diff suppressed because it is too large
Load Diff
159
proprietary-files.txt
Normal file
159
proprietary-files.txt
Normal file
@@ -0,0 +1,159 @@
|
||||
# All blobs are extracted from Google factory images for each new ASB
|
||||
|
||||
# product partition
|
||||
|
||||
# AiAi
|
||||
product/priv-app/DeviceIntelligenceNetworkPrebuilt-v.U.14.playstore/DeviceIntelligenceNetworkPrebuilt-v.U.14.playstore.apk;PRESIGNED
|
||||
product/priv-app/DevicePersonalizationPrebuiltPixel2022-v.U.14.playstore/DevicePersonalizationPrebuiltPixel2022-v.U.14.playstore.apk;PRESIGNED
|
||||
|
||||
# Audio
|
||||
product/etc/ambient/matcher_tah.leveldb
|
||||
product/etc/firmware/music_detector.descriptor
|
||||
product/etc/firmware/music_detector.sound_model
|
||||
product/etc/firmware/music_detector.sound_model_2
|
||||
product/etc/firmware/music_detector.sound_model_tflite
|
||||
|
||||
# Camera
|
||||
product/priv-app/GoogleCamera/GoogleCamera.apk;OVERRIDES=Aperture,Camera2;PRESIGNED
|
||||
|
||||
# Camera extensions
|
||||
product/etc/permissions/androidx.camera.extensions.impl.xml
|
||||
product/priv-app/PixelCameraServices/PixelCameraServices.apk;PRESIGNED
|
||||
|
||||
# Felica
|
||||
product/etc/felica/common.cfg
|
||||
product/etc/felica/mfm.cfg
|
||||
product/etc/felica/mfs.cfg
|
||||
|
||||
# Hardware info
|
||||
product/etc/permissions/com.google.android.hardwareinfo.xml
|
||||
product/framework/libhwinfo.jar
|
||||
product/priv-app/HardwareInfo/HardwareInfo.apk;PRESIGNED
|
||||
|
||||
# Hotword
|
||||
product/priv-app/HotwordEnrollmentOKGoogleFUSIONPro/HotwordEnrollmentOKGoogleFUSIONPro.apk;PRESIGNED
|
||||
product/priv-app/HotwordEnrollmentXGoogleFUSIONPro/HotwordEnrollmentXGoogleFUSIONPro.apk;PRESIGNED
|
||||
|
||||
# IMS
|
||||
product/etc/sysconfig/allowlist_com.shannon.imsservice.xml
|
||||
|
||||
# Permissions
|
||||
product/etc/permissions/privapp-permissions-google-p.xml:product/etc/permissions/privapp-permissions-google-p-evolution.xml
|
||||
product/etc/sysconfig/GoogleCamera_6gb_or_more_ram.xml
|
||||
product/etc/sysconfig/google-hiddenapi-package-whitelist.xml
|
||||
product/etc/sysconfig/nexus.xml
|
||||
product/etc/sysconfig/pixel_experience_2017.xml
|
||||
product/etc/sysconfig/pixel_experience_2018.xml
|
||||
product/etc/sysconfig/pixel_experience_2019.xml
|
||||
product/etc/sysconfig/pixel_experience_2019_midyear.xml
|
||||
product/etc/sysconfig/pixel_experience_2020.xml
|
||||
product/etc/sysconfig/pixel_experience_2020_midyear.xml
|
||||
product/etc/sysconfig/pixel_experience_2021.xml
|
||||
product/etc/sysconfig/pixel_experience_2021_midyear.xml
|
||||
product/etc/sysconfig/pixel_experience_2022.xml
|
||||
product/etc/sysconfig/pixel_experience_2022_midyear.xml
|
||||
|
||||
# Radio
|
||||
product/etc/permissions/com.android.sdm.plugins.connmo.xml
|
||||
product/etc/permissions/com.android.sdm.plugins.dcmo.xml
|
||||
product/etc/permissions/com.android.sdm.plugins.diagmon.xml
|
||||
product/lib/libdmengine.so;SYMLINK=product/priv-app/DMService/lib/arm/libdmengine.so
|
||||
product/lib/libdmjavaplugin.so;SYMLINK=product/priv-app/DMService/lib/arm/libdmjavaplugin.so
|
||||
product/lib64/libdmengine.so;SYMLINK=product/priv-app/DMService/lib/arm64/libdmengine.so
|
||||
product/lib64/libdmjavaplugin.so;SYMLINK=product/priv-app/DMService/lib/arm64/libdmjavaplugin.so
|
||||
product/priv-app/CarrierSettings_signed_45.0.591154042/CarrierSettings_signed_45.0.591154042.apk;PRESIGNED
|
||||
product/priv-app/CarrierWifi/CarrierWifi.apk;PRESIGNED
|
||||
product/priv-app/ConnMO/ConnMO.apk
|
||||
product/priv-app/DCMO/DCMO.apk
|
||||
product/priv-app/DMService/DMService.apk
|
||||
product/priv-app/DiagMon/DiagMon.apk
|
||||
product/priv-app/EuiccGoogle/EuiccGoogle.apk;PRESIGNED
|
||||
product/priv-app/TetheringEntitlement/TetheringEntitlement.apk
|
||||
|
||||
# VZW
|
||||
product/app/VZWAPNLib/VZWAPNLib.apk;PRESIGNED
|
||||
product/etc/permissions/com.android.omadm.service.xml
|
||||
product/etc/permissions/com.google.omadm.trigger.xml
|
||||
product/etc/permissions/com.verizon.apn.xml
|
||||
product/etc/permissions/com.verizon.services.xml
|
||||
product/etc/permissions/features-verizon.xml
|
||||
product/etc/sysconfig/allowlist_com.android.omadm.service.xml
|
||||
product/priv-app/AppDirectedSMSService/AppDirectedSMSService.apk;PRESIGNED
|
||||
product/priv-app/OemDmTrigger/OemDmTrigger.apk
|
||||
product/priv-app/WfcActivation/WfcActivation.apk;PRESIGNED
|
||||
|
||||
# system_ext partition
|
||||
|
||||
# Camera extensions
|
||||
system_ext/etc/permissions/com.google.android.camera.extensions.xml
|
||||
system_ext/etc/permissions/com.google.android.camerax.extensions.xml
|
||||
system_ext/framework/com.google.android.camera.extensions.jar
|
||||
system_ext/framework/com.google.android.camerax.extensions.jar
|
||||
|
||||
# Edge TPU
|
||||
system_ext/bin/hw/vendor.google.edgetpu_app_service@1.0-service
|
||||
system_ext/etc/init/vendor.google.edgetpu_app_service@1.0-service.rc
|
||||
system_ext/etc/public.libraries-google.txt
|
||||
system_ext/etc/vintf/manifest/vendor.google.edgetpu_app_service@1.0-service.xml
|
||||
system_ext/lib/libedgetpu_dba.google.so
|
||||
system_ext/lib64/com.google.edgetpu_app_service-V3-ndk.so
|
||||
system_ext/lib64/com.google.edgetpu_vendor_service-V2-ndk.so
|
||||
system_ext/lib64/libedgetpu_dba.google.so
|
||||
|
||||
# HBM
|
||||
system_ext/lib64/libhbmsvmanager_jni.so;SYMLINK=system_ext/priv-app/HbmSVManager/lib/arm64/libhbmsvmanager_jni.so
|
||||
system_ext/priv-app/HbmSVManager/HbmSVManager.apk
|
||||
|
||||
# Hotword
|
||||
system_ext/etc/permissions/com.android.hotwordenrollment.common.util.xml
|
||||
system_ext/framework/com.android.hotwordenrollment.common.util.jar
|
||||
|
||||
# IMS
|
||||
system_ext/etc/permissions/com.android.qns.xml
|
||||
system_ext/etc/permissions/com.shannon.imsservice.xml
|
||||
system_ext/etc/permissions/com.shannon.rcsservice.xml
|
||||
system_ext/lib/libmediaadaptor.so
|
||||
system_ext/lib64/libmediaadaptor.so
|
||||
system_ext/priv-app/PixelQualifiedNetworksService/PixelQualifiedNetworksService.apk
|
||||
system_ext/priv-app/ShannonIms/ShannonIms.apk;PRESIGNED
|
||||
system_ext/priv-app/ShannonRcs/ShannonRcs.apk;PRESIGNED
|
||||
|
||||
# Permissions
|
||||
system_ext/etc/permissions/privapp-permissions-google-se.xml:system_ext/etc/permissions/privapp-permissions-google-se-evolution.xml
|
||||
|
||||
# Radio
|
||||
system_ext/etc/default-permissions/default-permissions-euiccpixel.xml
|
||||
system_ext/etc/permissions/com.android.omadm.radioconfig.xml
|
||||
system_ext/etc/permissions/com.google.euiccpixel.permissions.xml
|
||||
system_ext/etc/permissions/com.google.euiccpixel.xml
|
||||
system_ext/etc/permissions/google-ril.xml
|
||||
system_ext/framework/RadioConfigLib.jar
|
||||
system_ext/framework/google-ril.jar
|
||||
system_ext/priv-app/CarrierSetup/CarrierSetup.apk;PRESIGNED
|
||||
system_ext/priv-app/ConnectivityThermalPowerManager/ConnectivityThermalPowerManager.apk
|
||||
system_ext/priv-app/EuiccGoogleOverlay/EuiccGoogleOverlay.apk
|
||||
system_ext/priv-app/EuiccSupportPixel/DKA_RC7_DVT.in
|
||||
system_ext/priv-app/EuiccSupportPixel/DKA_RC7_DVT.up
|
||||
system_ext/priv-app/EuiccSupportPixel/DKA_RC7_EVT.up
|
||||
system_ext/priv-app/EuiccSupportPixel/DKA_RC7_P22_DVT.in
|
||||
system_ext/priv-app/EuiccSupportPixel/DKA_RC7_P22_DVT.up
|
||||
system_ext/priv-app/EuiccSupportPixel/DKA_RC7_P22_EVT.in
|
||||
system_ext/priv-app/EuiccSupportPixel/DKA_RC7_P22_EVT.up
|
||||
system_ext/priv-app/EuiccSupportPixel/EuiccSupportPixel.apk;PRESIGNED
|
||||
system_ext/priv-app/EuiccSupportPixel/esim-full-ofl-v1.img
|
||||
system_ext/priv-app/EuiccSupportPixel/esim-full-v0.img
|
||||
system_ext/priv-app/EuiccSupportPixel/esim-full-v1.img
|
||||
system_ext/priv-app/EuiccSupportPixelPermissions/EuiccSupportPixelPermissions.apk;PRESIGNED
|
||||
system_ext/priv-app/RilConfigService/RilConfigService.apk
|
||||
system_ext/priv-app/grilservice/grilservice.apk;PRESIGNED
|
||||
|
||||
# RIL
|
||||
system_ext/app/OemRilHookService/OemRilHookService.apk
|
||||
system_ext/etc/permissions/com.samsung.slsi.telephony.oemril.xml
|
||||
system_ext/etc/permissions/oemrilhook.xml
|
||||
system_ext/framework/oemrilhook.jar
|
||||
system_ext/priv-app/OemRilService/OemRilService.apk;PRESIGNED
|
||||
|
||||
# VZW
|
||||
system_ext/etc/permissions/vzw_mvs_permissions.xml
|
||||
system_ext/priv-app/MyVerizonServices/MyVerizonServices.apk;PRESIGNED
|
||||
11
proprietary-firmware.txt
Normal file
11
proprietary-firmware.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
# All firmware images are extracted from Google factory images for each new ASB
|
||||
|
||||
abl.img;AB
|
||||
bl1.img;AB
|
||||
bl2.img;AB
|
||||
bl31.img;AB
|
||||
gsa.img;AB
|
||||
ldfw.img;AB
|
||||
modem.img;AB
|
||||
pbl.img;AB
|
||||
tzsw.img;AB
|
||||
1
sepolicy/.gitupstream
Normal file
1
sepolicy/.gitupstream
Normal file
@@ -0,0 +1 @@
|
||||
https://android.googlesource.com/device/google/lynx-sepolicy
|
||||
4
sepolicy/OWNERS
Normal file
4
sepolicy/OWNERS
Normal file
@@ -0,0 +1,4 @@
|
||||
include device/google/gs-common:/sepolicy/OWNERS
|
||||
|
||||
adamshih@google.com
|
||||
|
||||
10
sepolicy/bluetooth/file_contexts
Normal file
10
sepolicy/bluetooth/file_contexts
Normal file
@@ -0,0 +1,10 @@
|
||||
# Bluetooth HAL service
|
||||
/vendor/bin/hw/android\.hardware\.bluetooth@1\.0-service-qti u:object_r:hal_bluetooth_default_exec:s0
|
||||
|
||||
# Bluetooth Vendor nodes
|
||||
/dev/btpower u:object_r:bt_device:s0
|
||||
/dev/ttySAC18 u:object_r:hci_attach_dev:s0
|
||||
|
||||
# Bluetooth Debuggable HAL nodes
|
||||
/dev/logbuffer_btpower u:object_r:logbuffer_device:s0
|
||||
/dev/logbuffer_tty18 u:object_r:logbuffer_device:s0
|
||||
1
sepolicy/bluetooth/genfs_contexts
Normal file
1
sepolicy/bluetooth/genfs_contexts
Normal file
@@ -0,0 +1 @@
|
||||
genfscon sysfs /devices/platform/odm/odm:btqcom/rfkill/rfkill0/state u:object_r:sysfs_bluetooth_writable:s0
|
||||
1
sepolicy/bluetooth/grilservice_app.te
Normal file
1
sepolicy/bluetooth/grilservice_app.te
Normal file
@@ -0,0 +1 @@
|
||||
binder_call(grilservice_app, hal_bluetooth_default)
|
||||
12
sepolicy/bluetooth/hal_bluetooth_default.te
Normal file
12
sepolicy/bluetooth/hal_bluetooth_default.te
Normal file
@@ -0,0 +1,12 @@
|
||||
allow hal_bluetooth_default bt_device:chr_file rw_file_perms;
|
||||
|
||||
add_hwservice(hal_bluetooth_default, hal_bluetooth_coexistence_hwservice)
|
||||
|
||||
userdebug_or_eng(`
|
||||
allow hal_bluetooth_default logbuffer_device:chr_file r_file_perms;
|
||||
allow hal_bluetooth_default sscoredump_vendor_data_crashinfo_file:dir create_dir_perms;
|
||||
allow hal_bluetooth_default sscoredump_vendor_data_crashinfo_file:file create_file_perms;
|
||||
allow hal_bluetooth_default sscoredump_vendor_data_coredump_file:dir create_dir_perms;
|
||||
allow hal_bluetooth_default sscoredump_vendor_data_coredump_file:file create_file_perms;
|
||||
set_prop(hal_bluetooth_default, vendor_ssrdump_prop)
|
||||
')
|
||||
2
sepolicy/bluetooth/hwservice.te
Normal file
2
sepolicy/bluetooth/hwservice.te
Normal file
@@ -0,0 +1,2 @@
|
||||
# Bluetooth HAL extension
|
||||
type hal_bluetooth_coexistence_hwservice, hwservice_manager_type, vendor_hwservice_type;
|
||||
3
sepolicy/bluetooth/hwservice_contexts
Normal file
3
sepolicy/bluetooth/hwservice_contexts
Normal file
@@ -0,0 +1,3 @@
|
||||
# Bluetooth HAL extension
|
||||
hardware.google.bluetooth.bt_channel_avoidance::IBTChannelAvoidance u:object_r:hal_bluetooth_coexistence_hwservice:s0
|
||||
hardware.google.bluetooth.sar::IBluetoothSar u:object_r:hal_bluetooth_coexistence_hwservice:s0
|
||||
3
sepolicy/lynx-sepolicy.mk
Normal file
3
sepolicy/lynx-sepolicy.mk
Normal file
@@ -0,0 +1,3 @@
|
||||
# sepolicy that are shared among devices using whitechapel
|
||||
BOARD_SEPOLICY_DIRS += device/google/lynx/sepolicy/vendor
|
||||
BOARD_SEPOLICY_DIRS += device/google/lynx/sepolicy/tracking_denials
|
||||
2
sepolicy/tracking_denials/bug_map
Normal file
2
sepolicy/tracking_denials/bug_map
Normal file
@@ -0,0 +1,2 @@
|
||||
kernel vendor_charger_debugfs dir b/305600791
|
||||
hal_bluetooth_default vendor_data_file dir b/318453067
|
||||
2
sepolicy/vendor/README.txt
vendored
Normal file
2
sepolicy/vendor/README.txt
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
This folder holds sepolicy exclusively for one device. For example, genfs_contexts
|
||||
paths that are affected by device tree.
|
||||
20
sepolicy/vendor/cnss-daemon.te
vendored
Normal file
20
sepolicy/vendor/cnss-daemon.te
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
# cnss-daemon service
|
||||
type cnss-daemon, domain;
|
||||
type cnss-daemon_exec, exec_type, vendor_file_type, file_type;
|
||||
init_daemon_domain(cnss-daemon)
|
||||
|
||||
net_domain(cnss-daemon)
|
||||
|
||||
allow cnss-daemon self:netlink_generic_socket create_socket_perms_no_ioctl;
|
||||
allow cnss-daemon self:qipcrtr_socket create_socket_perms_no_ioctl;
|
||||
|
||||
# /data/vendor/wifi/
|
||||
allow cnss-daemon vendor_wifi_vendor_data_file:dir create_dir_perms;
|
||||
allow cnss-daemon vendor_wifi_vendor_data_file:file create_file_perms;
|
||||
|
||||
# /proc/sys/net/ipv4/tcp_adv_win_scal
|
||||
allow cnss-daemon proc_net:file rw_file_perms;
|
||||
|
||||
# /sys/class/remoteproc
|
||||
allow cnss-daemon sysfs_cnss_daemon:dir r_dir_perms;
|
||||
allow cnss-daemon sysfs_cnss_daemon:file r_file_perms;
|
||||
2
sepolicy/vendor/device.te
vendored
Normal file
2
sepolicy/vendor/device.te
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
# Wifi
|
||||
type vendor_wlan_device, dev_type;
|
||||
7
sepolicy/vendor/file.te
vendored
Normal file
7
sepolicy/vendor/file.te
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
type vendor_location_data_file, file_type, data_file_type;
|
||||
type vendor_location_socket, file_type;
|
||||
type vendor_wifi_vendor_data_file, file_type, data_file_type;
|
||||
type vendor_wifihal_socket, file_type;
|
||||
type vendor_location_sysfs, fs_type, sysfs_type;
|
||||
type vendor_proc_wifi_dbg, fs_type, proc_type;
|
||||
type sysfs_cnss_daemon, fs_type, sysfs_type;
|
||||
18
sepolicy/vendor/file_contexts
vendored
Normal file
18
sepolicy/vendor/file_contexts
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
# Devices
|
||||
/dev/lwis-act-lc898129 u:object_r:lwis_device:s0
|
||||
/dev/lwis-eeprom-lc898129 u:object_r:lwis_device:s0
|
||||
/dev/lwis-eeprom-m24c64x-imx712 u:object_r:lwis_device:s0
|
||||
/dev/lwis-eeprom-m24c64x-imx712-uw u:object_r:lwis_device:s0
|
||||
/dev/lwis-ois-lc898129 u:object_r:lwis_device:s0
|
||||
/dev/lwis-sensor-imx712 u:object_r:lwis_device:s0
|
||||
/dev/lwis-sensor-imx712-uw u:object_r:lwis_device:s0
|
||||
/dev/lwis-sensor-imx787 u:object_r:lwis_device:s0
|
||||
|
||||
# Wifi
|
||||
/data/vendor/wifi(/.*)? u:object_r:vendor_wifi_vendor_data_file:s0
|
||||
/dev/wlan u:object_r:vendor_wlan_device:s0
|
||||
/dev/socket/location(/.*)? u:object_r:vendor_location_socket:s0
|
||||
/dev/socket/wifihal(/.*)? u:object_r:vendor_wifihal_socket:s0
|
||||
/vendor/bin/loc_launcher u:object_r:vendor_location_exec:s0
|
||||
/vendor/bin/lowi-server u:object_r:lowi_server_exec:s0
|
||||
/vendor/bin/cnss-daemon u:object_r:cnss-daemon_exec:s0
|
||||
20
sepolicy/vendor/genfs_contexts
vendored
Normal file
20
sepolicy/vendor/genfs_contexts
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
# Wifi
|
||||
genfscon sysfs /devices/soc0/soc_id u:object_r:vendor_location_sysfs:s0
|
||||
genfscon proc /debugdriver/driverdump u:object_r:vendor_proc_wifi_dbg:s0
|
||||
genfscon sysfs /devices/platform/14520000.pcie/pci0001:00/0001:00:00.0/0001:01:00.0/net u:object_r:sysfs_net:s0
|
||||
genfscon sysfs /devices/platform/14520000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/net u:object_r:sysfs_net:s0
|
||||
genfscon sysfs /class/remoteproc u:object_r:sysfs_cnss_daemon:s0
|
||||
|
||||
# BMS
|
||||
genfscon sysfs /devices/platform/10da0000.hsi2c/i2c-15/15-0061 u:object_r:sysfs_wlc:s0
|
||||
genfscon sysfs /devices/platform/10da0000.hsi2c/i2c-15/15-0061/power_supply u:object_r:sysfs_batteryinfo:s0
|
||||
|
||||
# System Suspend
|
||||
genfscon sysfs /devices/platform/10da0000.hsi2c/i2c-15/15-0061/power_supply/wireless/wakeup u:object_r:sysfs_wakeup:s0
|
||||
genfscon sysfs /devices/platform/10da0000.hsi2c/i2c-15/15-0061/wakeup u:object_r:sysfs_wakeup:s0
|
||||
genfscon sysfs /devices/platform/14520000.pcie/pci0001:00/0001:00:00.0/0001:01:00.0/mhi0/wakeup u:object_r:sysfs_wakeup:s0
|
||||
genfscon sysfs /devices/platform/14520000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/mhi0/wakeup u:object_r:sysfs_wakeup:s0
|
||||
genfscon sysfs /devices/platform/qcom,cnss-qca6490/wakeup u:object_r:sysfs_wakeup:s0
|
||||
|
||||
# PowerStats
|
||||
genfscon sysfs /kernel/wifi/power_stats u:object_r:sysfs_power_stats:s0
|
||||
2
sepolicy/vendor/hal_dumpstate_default.te
vendored
Normal file
2
sepolicy/vendor/hal_dumpstate_default.te
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
# b/267839070
|
||||
dontaudit hal_dumpstate_default sysfs:dir { read };
|
||||
2
sepolicy/vendor/hal_power_stats_default.te
vendored
Normal file
2
sepolicy/vendor/hal_power_stats_default.te
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
# Needed to detect wifi on/off
|
||||
get_prop(hal_power_stats_default, wifi_hal_prop)
|
||||
1
sepolicy/vendor/hal_radioext_default.te
vendored
Normal file
1
sepolicy/vendor/hal_radioext_default.te
vendored
Normal file
@@ -0,0 +1 @@
|
||||
binder_call(hal_radioext_default, hal_bluetooth_default)
|
||||
19
sepolicy/vendor/hal_wifi_default.te
vendored
Normal file
19
sepolicy/vendor/hal_wifi_default.te
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
allow hal_wifi_default vendor_wlan_device:chr_file w_file_perms;
|
||||
allow hal_wifi_default vendor_wifi_vendor_data_file:dir rw_dir_perms;
|
||||
|
||||
# write to files owned by location daemon
|
||||
allow hal_wifi_default vendor_location_socket:dir rw_dir_perms;
|
||||
allow hal_wifi_default vendor_location_socket:{sock_file lnk_file} create_file_perms;
|
||||
allow hal_wifi_default vendor_location:unix_dgram_socket sendto;
|
||||
allow hal_wifi_default lowi_server:unix_dgram_socket sendto;
|
||||
|
||||
# Connect to vendor_location via vendor_location socket.
|
||||
unix_socket_connect(hal_wifi, vendor_location, vendor_location)
|
||||
allow hal_wifi_default vendor_wifihal_socket:dir rw_dir_perms;
|
||||
allow hal_wifi_default vendor_wifihal_socket:sock_file create_file_perms;
|
||||
|
||||
# allow hal_wifi to write into /proc/debugdriver/driverdump
|
||||
r_dir_file(hal_wifi_default, vendor_proc_wifi_dbg);
|
||||
|
||||
# Write wlan driver/fw version into property
|
||||
set_prop(hal_wifi_default, vendor_wifi_version)
|
||||
16
sepolicy/vendor/hal_wifi_ext.te
vendored
Normal file
16
sepolicy/vendor/hal_wifi_ext.te
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
allow hal_wifi_ext vendor_wlan_device:chr_file w_file_perms;
|
||||
allow hal_wifi_ext vendor_wifi_vendor_data_file:dir rw_dir_perms;
|
||||
|
||||
# write to files owned by location daemon
|
||||
allow hal_wifi_ext vendor_location_socket:dir rw_dir_perms;
|
||||
allow hal_wifi_ext vendor_location_socket:{sock_file lnk_file} create_file_perms;
|
||||
allow hal_wifi_ext vendor_location:unix_dgram_socket sendto;
|
||||
allow hal_wifi_ext lowi_server:unix_dgram_socket sendto;
|
||||
|
||||
# Connect to vendor_location via vendor_location socket.
|
||||
unix_socket_connect(hal_wifi, vendor_location, vendor_location)
|
||||
allow hal_wifi_ext vendor_wifihal_socket:dir rw_dir_perms;
|
||||
allow hal_wifi_ext vendor_wifihal_socket:sock_file create_file_perms;
|
||||
|
||||
# allow hal_wifi to write into /proc/debugdriver/driverdump
|
||||
r_dir_file(hal_wifi_ext, vendor_proc_wifi_dbg);
|
||||
1
sepolicy/vendor/hal_wifi_hostapd.te
vendored
Normal file
1
sepolicy/vendor/hal_wifi_hostapd.te
vendored
Normal file
@@ -0,0 +1 @@
|
||||
allow hal_wifi_hostapd_default vendor_wifi_vendor_data_file:dir rw_dir_perms;
|
||||
1
sepolicy/vendor/hal_wifi_supplicant.te
vendored
Normal file
1
sepolicy/vendor/hal_wifi_supplicant.te
vendored
Normal file
@@ -0,0 +1 @@
|
||||
allow hal_wifi_supplicant_default vendor_wifi_vendor_data_file:dir rw_dir_perms;
|
||||
9
sepolicy/vendor/ioctl_macros
vendored
Normal file
9
sepolicy/vendor/ioctl_macros
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
define(`lowi_server_ioctls', `{
|
||||
SIOCGIFINDEX
|
||||
SIOCGIFHWADDR
|
||||
SIOCGIFFLAGS
|
||||
SIOCIWFIRSTPRIV_05
|
||||
SIOCIWFIRSTPRIV_11
|
||||
SIOCIWFIRSTPRIV_13
|
||||
SIOCDEVPRIVATE_1
|
||||
}')
|
||||
1
sepolicy/vendor/kernel.te
vendored
Normal file
1
sepolicy/vendor/kernel.te
vendored
Normal file
@@ -0,0 +1 @@
|
||||
dontaudit kernel vendor_battery_debugfs:dir search;
|
||||
3
sepolicy/vendor/logger_app.te
vendored
Normal file
3
sepolicy/vendor/logger_app.te
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
userdebug_or_eng(`
|
||||
allow logger_app vendor_wifi_vendor_data_file:dir rw_dir_perms;
|
||||
')
|
||||
36
sepolicy/vendor/lowi_server.te
vendored
Normal file
36
sepolicy/vendor/lowi_server.te
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
# lowi_server service
|
||||
# which launches various other services supporting Wifi-RTT (LOWI) vendor_location
|
||||
type lowi_server, domain;
|
||||
type lowi_server_exec, exec_type, vendor_file_type, file_type;
|
||||
|
||||
hwbinder_use(lowi_server)
|
||||
allow lowi_server self:udp_socket create_socket_perms;
|
||||
allow lowi_server self:netlink_route_socket create_socket_perms_no_ioctl;
|
||||
|
||||
## lowi-server
|
||||
##############
|
||||
allow lowi_server vendor_location:fd use;
|
||||
allow lowi_server vendor_location:unix_dgram_socket {sendto read write};
|
||||
|
||||
# some additional network access
|
||||
allow lowi_server self:netlink_generic_socket create_socket_perms_no_ioctl;
|
||||
allowxperm lowi_server self:udp_socket ioctl lowi_server_ioctls;
|
||||
|
||||
# /data/vendor/wifi
|
||||
allow lowi_server vendor_wifi_vendor_data_file:dir rw_dir_perms;
|
||||
|
||||
# /data/vendor/wifi/wpa
|
||||
allow lowi_server wpa_data_file:dir rw_dir_perms;
|
||||
allow lowi_server wpa_data_file:sock_file create_file_perms;
|
||||
allow lowi_server hal_wifi_supplicant_default:unix_dgram_socket sendto;
|
||||
|
||||
# /dev/socket/wifihal
|
||||
allow lowi_server vendor_wifihal_socket:dir rw_dir_perms;
|
||||
allow lowi_server vendor_wifihal_socket:sock_file create_file_perms;
|
||||
allow lowi_server vendor_wifihal_socket:unix_dgram_socket sendto;
|
||||
unix_socket_send(lowi_server, vendor_wifihal, hal_wifi_default);
|
||||
unix_socket_send(lowi_server, vendor_wifihal, hal_wifi_ext);
|
||||
|
||||
# /dev/socket/vendor_location
|
||||
allow lowi_server vendor_location_socket:{sock_file lnk_file} create_file_perms;
|
||||
allow lowi_server vendor_location_socket:dir rw_dir_perms;
|
||||
3
sepolicy/vendor/tcpdump_logger.te
vendored
Normal file
3
sepolicy/vendor/tcpdump_logger.te
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
userdebug_or_eng(`
|
||||
allow tcpdump_logger vendor_wifi_vendor_data_file:dir rw_dir_perms;
|
||||
')
|
||||
2
sepolicy/vendor/vendor_init.te
vendored
Normal file
2
sepolicy/vendor/vendor_init.te
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
# Camera
|
||||
set_prop(vendor_init, vendor_camera_prop)
|
||||
20
sepolicy/vendor/vendor_location.te
vendored
Normal file
20
sepolicy/vendor/vendor_location.te
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
# loc_launcher service
|
||||
# which launches various other services supporting Wifi-RTT (LOWI) vendor_location
|
||||
type vendor_location, domain;
|
||||
type vendor_location_exec, exec_type, vendor_file_type, file_type;
|
||||
init_daemon_domain(vendor_location)
|
||||
|
||||
# execute permission for vendor_location daemons in /vendor/bin/
|
||||
domain_auto_trans(vendor_location, lowi_server_exec, lowi_server)
|
||||
|
||||
# /dev/socket/vendor_location
|
||||
allow vendor_location vendor_location_socket:{sock_file lnk_file} create_file_perms;
|
||||
allow vendor_location vendor_location_socket:dir rw_dir_perms;
|
||||
|
||||
# /sys/devices/soc0/soc_id
|
||||
allow vendor_location vendor_location_sysfs:file create_file_perms;
|
||||
|
||||
# /dev/socket/location/mq/*
|
||||
allow vendor_location lowi_server:unix_dgram_socket {sendto read write};
|
||||
allow vendor_location hal_wifi_default:unix_dgram_socket {sendto read write};
|
||||
allow vendor_location hal_wifi_ext:unix_dgram_socket {sendto read write};
|
||||
3
sepolicy/vendor/wifi_perf_diag.te
vendored
Normal file
3
sepolicy/vendor/wifi_perf_diag.te
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
userdebug_or_eng(`
|
||||
allow wifi_perf_diag vendor_wifi_vendor_data_file:dir rw_dir_perms;
|
||||
')
|
||||
4
sepolicy/vendor/wifi_sniffer.te
vendored
Normal file
4
sepolicy/vendor/wifi_sniffer.te
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
userdebug_or_eng(`
|
||||
allow wifi_sniffer self:capability { setuid setgid };
|
||||
allow wifi_sniffer vendor_wifi_vendor_data_file:dir rw_dir_perms;
|
||||
')
|
||||
84
setup-makefiles.sh
Executable file
84
setup-makefiles.sh
Executable file
@@ -0,0 +1,84 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2016 The CyanogenMod Project
|
||||
# SPDX-FileCopyrightText: 2017-2024 The LineageOS Project
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
set -e
|
||||
|
||||
DEVICE=lynx
|
||||
VENDOR=google
|
||||
|
||||
# Load extract_utils and do some sanity checks
|
||||
MY_DIR="${BASH_SOURCE%/*}"
|
||||
if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi
|
||||
|
||||
ANDROID_ROOT="${MY_DIR}/../../.."
|
||||
|
||||
export TARGET_ENABLE_CHECKELF=true
|
||||
|
||||
HELPER="${ANDROID_ROOT}/tools/extract-utils/extract_utils.sh"
|
||||
if [ ! -f "${HELPER}" ]; then
|
||||
echo "Unable to find helper script at ${HELPER}"
|
||||
exit 1
|
||||
fi
|
||||
source "${HELPER}"
|
||||
|
||||
function vendor_imports() {
|
||||
cat <<EOF >>"$1"
|
||||
"device/google/lynx",
|
||||
"hardware/google/av",
|
||||
"hardware/google/gchips",
|
||||
"hardware/google/graphics/common",
|
||||
"hardware/google/interfaces",
|
||||
"hardware/google/pixel",
|
||||
"hardware/qcom/wlan/wcn6740",
|
||||
EOF
|
||||
}
|
||||
|
||||
function lib_to_package_fixup_vendor_variants() {
|
||||
if [ "$2" != "vendor" ]; then
|
||||
return 1
|
||||
fi
|
||||
|
||||
case "$1" in
|
||||
com.google.edgetpu_app_service-V3-ndk | \
|
||||
com.google.edgetpu_vendor_service-V2-ndk)
|
||||
echo "$1-vendor"
|
||||
;;
|
||||
libprotobuf-cpp-full-21.12)
|
||||
echo "libprotobuf-cpp-full"
|
||||
;;
|
||||
libprotobuf-cpp-lite-21.12)
|
||||
echo "libprotobuf-cpp-lite"
|
||||
;;
|
||||
libacryl | \
|
||||
libexynosv4l2 | \
|
||||
libwpa_client) ;;
|
||||
*)
|
||||
return 1
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
function lib_to_package_fixup() {
|
||||
lib_to_package_fixup_clang_rt_ubsan_standalone "$1" ||
|
||||
lib_to_package_fixup_proto_3_9_1 "$1" ||
|
||||
lib_to_package_fixup_vendor_variants "$@"
|
||||
}
|
||||
|
||||
# Initialize the helper
|
||||
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}"
|
||||
|
||||
# Warning headers and guards
|
||||
write_headers
|
||||
|
||||
write_makefiles "${MY_DIR}/proprietary-files.txt"
|
||||
write_makefiles "${MY_DIR}/proprietary-files-carriersettings.txt"
|
||||
write_makefiles "${MY_DIR}/proprietary-files-vendor.txt"
|
||||
|
||||
append_firmware_calls_to_makefiles "${MY_DIR}/proprietary-firmware.txt"
|
||||
|
||||
# Finish
|
||||
write_footers
|
||||
1431
skip-files-vendor.txt
Normal file
1431
skip-files-vendor.txt
Normal file
File diff suppressed because it is too large
Load Diff
16
vendor.prop
Normal file
16
vendor.prop
Normal file
@@ -0,0 +1,16 @@
|
||||
# DRM
|
||||
drm.service.enabled=true
|
||||
media.mediadrmservice.enable=true
|
||||
|
||||
# Fingerprint
|
||||
ro.vendor.fingerprint.ta.name=g7.app
|
||||
|
||||
# Radio
|
||||
persist.vendor.ril.ecc.use.xml=1
|
||||
persist.vendor.ril.support_nr_ds=1
|
||||
persist.vendor.ril.use_radio_hal=2.0
|
||||
ro.vendor.config.build_carrier=europen
|
||||
vendor.rild.libpath=libsitril.so
|
||||
|
||||
# SSR
|
||||
vendor.debug.ssrdump.type=sscoredump
|
||||
Reference in New Issue
Block a user