Compare commits
306 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9ede7084ef | |||
|
|
b89ca93892 | ||
|
|
0840f38b3c | ||
|
|
1ee7ce7c9f | ||
|
|
afb31ea783 | ||
|
|
6d9b9413e1 | ||
|
|
ed532dc651 | ||
|
|
ea4494371d | ||
|
|
20b87360c6 | ||
|
|
50e9b903e1 | ||
|
|
b75387fcbd | ||
|
|
3d1769b101 | ||
|
|
cd8e0b5dd2 | ||
|
|
ed243d765c | ||
|
|
664db8d0ce | ||
|
|
ced481ae81 | ||
|
|
11efcc3288 | ||
|
|
ec573488f5 | ||
|
|
cccef0a138 | ||
|
|
003df385a4 | ||
|
|
99d0efc690 | ||
|
|
1e8ad4e6d8 | ||
|
|
eb65f7d170 | ||
|
|
fb2a651326 | ||
|
|
637d679aab | ||
|
|
37a7d932f5 | ||
|
|
6859b02848 | ||
|
|
c9ae6a4f62 | ||
|
|
92392c7d50 | ||
|
|
0c979299eb | ||
|
|
e8e8603199 | ||
|
|
a7b681fb64 | ||
|
|
aef2ee9f61 | ||
|
|
caef3a5e87 | ||
|
|
70c0f868fe | ||
|
|
71f2fe4d8c | ||
|
|
2756ffde12 | ||
|
|
495dd5c28f | ||
|
|
1470e347ab | ||
|
|
acfb9db44d | ||
|
|
8c4325be15 | ||
|
|
cba78a1c76 | ||
|
|
c3ea1a7b9f | ||
|
|
af57310295 | ||
|
|
9b48ebb3c6 | ||
|
|
5a4730709f | ||
|
|
8e20237f66 | ||
|
|
2d49c17a8f | ||
|
|
ddef85dd32 | ||
|
|
41e91f05b3 | ||
|
|
556ae54804 | ||
|
|
2d1b17d5c8 | ||
|
|
a1e2924bdd | ||
|
|
63052aefc1 | ||
|
|
6cdfe4bc80 | ||
|
|
764fd9af40 | ||
|
|
ccdd2b1ca9 | ||
|
|
9336c34d57 | ||
|
|
8be2641966 | ||
|
|
0ec46a0030 | ||
|
|
c29b1a937a | ||
|
|
bde703cfa4 | ||
|
|
303cd4a227 | ||
|
|
a7821df508 | ||
|
|
423e55a623 | ||
|
|
cd76ac2b27 | ||
|
|
a2e2e2d6c7 | ||
|
|
8e7e9b5873 | ||
|
|
b8a31337fe | ||
|
|
4495364990 | ||
|
|
8296541d5f | ||
|
|
005e980896 | ||
|
|
5b448da5e0 | ||
|
|
9af0db17d1 | ||
|
|
431c24a467 | ||
|
|
56ac3cc81d | ||
|
|
f61177c578 | ||
|
|
d7222c21a8 | ||
|
|
2776486b97 | ||
|
|
5ddd93bfce | ||
|
|
6ebf90c2e9 | ||
|
|
29c01dcbe6 | ||
|
|
d6a44661ba | ||
|
|
13e2600c51 | ||
|
|
5ec73c6b21 | ||
|
|
7e97e2d373 | ||
|
|
e3898989b9 | ||
|
|
b1467d3787 | ||
|
|
8666082277 | ||
|
|
69d8476efe | ||
|
|
4ed8114239 | ||
|
|
72c9429d92 | ||
|
|
4588476b00 | ||
|
|
40bf37140c | ||
|
|
5a8202d114 | ||
|
|
54a0977721 | ||
|
|
01e6dbf40f | ||
|
|
6b618dc6ac | ||
|
|
9db0a6e6bf | ||
|
|
fba4314f80 | ||
|
|
a6515bc789 | ||
|
|
67d30b8d46 | ||
|
|
0888bfc529 | ||
|
|
a3fd184ee0 | ||
|
|
e3b46e2b0b | ||
|
|
0d3bf58deb | ||
|
|
76eceea3ea | ||
|
|
120b651f78 | ||
|
|
e485bd37ef | ||
|
|
20ba7eda8b | ||
|
|
be78929c7e | ||
|
|
3a7114dd2d | ||
|
|
2054f00088 | ||
| e8b6315175 | |||
|
|
a7004f62be | ||
|
|
03051c06f0 | ||
|
|
50d37e290b | ||
|
|
fde131710f | ||
|
|
c1798dfc91 | ||
|
|
81d79a2c9c | ||
|
|
5d61509dbc | ||
|
|
253f712f5c | ||
|
|
acbc725ca7 | ||
|
|
1a9a462b8b | ||
|
|
583d54a099 | ||
|
|
94708fc726 | ||
|
|
e203fbc193 | ||
|
|
76e2659d68 | ||
|
|
1e4d317c25 | ||
|
|
3cc77daa7f | ||
|
|
bba5e3ca75 | ||
|
|
e762557072 | ||
|
|
45301d811e | ||
|
|
36f5b40b0f | ||
|
|
8f9318c107 | ||
|
|
0745e3ed1f | ||
|
|
b571b3140d | ||
|
|
0b02ed4c09 | ||
|
|
a222a753f5 | ||
|
|
de35bd4204 | ||
|
|
447c0a2476 | ||
|
|
3fcf8f06ac | ||
|
|
767c6ce57d | ||
|
|
d63478683c | ||
|
|
945188b310 | ||
|
|
8e8b0e5645 | ||
|
|
9b76b67952 | ||
|
|
f43f794a33 | ||
|
|
86506a8651 | ||
|
|
f6f53cc357 | ||
|
|
e769a4da7c | ||
|
|
67dfacc392 | ||
|
|
34c23d0a17 | ||
|
|
43451fbc9c | ||
|
|
9f5e01a5d1 | ||
|
|
cb4b3f14d7 | ||
|
|
d1355eaacf | ||
|
|
8a32f7f9f3 | ||
|
|
b89292822c | ||
|
|
68378568e8 | ||
|
|
62d0fef671 | ||
|
|
a382496c0c | ||
|
|
08a421ae46 | ||
|
|
c90137f589 | ||
|
|
9ade618aae | ||
|
|
0f6713f0c8 | ||
|
|
1ed3d6664d | ||
|
|
09d2759b18 | ||
|
|
c41403e788 | ||
|
|
55083090e6 | ||
|
|
e64f1b9577 | ||
|
|
6deca73c15 | ||
|
|
e373e6c47a | ||
|
|
67fd0d32bc | ||
|
|
1bb8df5162 | ||
|
|
80765643c6 | ||
|
|
4fff7362fb | ||
|
|
d969717e71 | ||
|
|
ef450f8ac6 | ||
|
|
45c48f1a85 | ||
|
|
9a67778790 | ||
|
|
53833593b2 | ||
|
|
0ca6ac8da9 | ||
|
|
7a9f894e54 | ||
|
|
a471090d3d | ||
|
|
d24eeac9ea | ||
|
|
3e22d67e9c | ||
|
|
5eccfa2ce6 | ||
|
|
caa61631bd | ||
|
|
8b63771d6d | ||
|
|
156c9f0130 | ||
|
|
010e21ca05 | ||
|
|
297146ebc0 | ||
|
|
2d5fb19aa3 | ||
|
|
06d273d9f1 | ||
|
|
674dd90008 | ||
|
|
f614f1ec8a | ||
|
|
ba9f891931 | ||
|
|
165d204b36 | ||
|
|
0d44437484 | ||
|
|
a300d3cc69 | ||
|
|
144539d591 | ||
|
|
347450b907 | ||
|
|
9aa89940d0 | ||
|
|
7be1cae6c8 | ||
|
|
04ecc13cda | ||
|
|
bdaa2e0f40 | ||
|
|
3a555b393f | ||
|
|
f25a24249b | ||
|
|
47d4f54972 | ||
|
|
218212ae6c | ||
|
|
464115a630 | ||
|
|
b05ad785c3 | ||
|
|
071e92f83c | ||
|
|
0371676a26 | ||
|
|
c63f769a97 | ||
|
|
c4d5eb7f17 | ||
|
|
675e62775f | ||
|
|
99bbae10a1 | ||
|
|
2daaa49319 | ||
|
|
5b96b0b8e4 | ||
|
|
74d33d64a5 | ||
|
|
511c6c2d57 | ||
|
|
f2014629f9 | ||
|
|
033712b945 | ||
|
|
752b3b63ae | ||
|
|
e06b6ba7ce | ||
|
|
44ca835820 | ||
|
|
eb470aaecf | ||
|
|
8903f68f89 | ||
|
|
c647706aac | ||
|
|
a56e080159 | ||
|
|
23304cfeab | ||
|
|
f8400a2fe2 | ||
|
|
9c7aa72f41 | ||
|
|
14f601a445 | ||
|
|
8705366f83 | ||
|
|
3e21606370 | ||
|
|
911caccebb | ||
|
|
b3e8ad72bf | ||
|
|
b9a409fcd7 | ||
|
|
7b716301cd | ||
|
|
6fb748bd09 | ||
|
|
5be8cc653e | ||
|
|
b33305dbff | ||
|
|
afbf322f59 | ||
|
|
b0b181c37c | ||
|
|
8f0feb6759 | ||
|
|
c99f8a8019 | ||
|
|
093e652ea1 | ||
|
|
e5f772caf5 | ||
|
|
fa09141c1c | ||
|
|
6cba4e81c6 | ||
|
|
4633b431a0 | ||
|
|
c9bb47e487 | ||
|
|
b4fe0cfb7f | ||
|
|
5ee2c044a7 | ||
|
|
a326712c53 | ||
|
|
3c57d89c59 | ||
|
|
96c3e98e10 | ||
|
|
b93aa1297f | ||
|
|
972df2bf26 | ||
|
|
be2dc8a786 | ||
|
|
12b2e12970 | ||
|
|
9a7dd730a5 | ||
|
|
1415065497 | ||
|
|
cf1d39ec35 | ||
|
|
8796e27901 | ||
|
|
b394bc34f2 | ||
|
|
a421634d8d | ||
|
|
d1680c9618 | ||
|
|
a3ef106603 | ||
|
|
af3f8b165f | ||
|
|
9fd8873139 | ||
|
|
b89a9f6206 | ||
|
|
cd0e57cc6b | ||
|
|
63c669aff5 | ||
|
|
1f5ecbead5 | ||
|
|
b220b32c32 | ||
|
|
360c337808 | ||
|
|
ad386edec9 | ||
|
|
ec3d90cee3 | ||
|
|
272afb62ef | ||
|
|
6a5f671e1c | ||
|
|
724bd24595 | ||
|
|
eac03bf7ee | ||
|
|
55a1f53c53 | ||
|
|
018612ab31 | ||
|
|
1927c198a3 | ||
|
|
2da66b930a | ||
|
|
6aaea1dbb4 | ||
|
|
3fb25c3f5a | ||
|
|
fcc3c266e6 | ||
|
|
cb30a0486e | ||
|
|
045f994310 | ||
|
|
18e06eb562 | ||
|
|
71199d032e | ||
|
|
b70e3c6e8c | ||
|
|
45c1219c36 | ||
|
|
4914414330 | ||
|
|
bab0f98bd1 | ||
|
|
4ff33060db | ||
|
|
e155e6b2e4 | ||
|
|
6247d6dc12 | ||
|
|
7aac69af65 | ||
|
|
16e3cc0705 |
1
.gitupstream
Normal file
1
.gitupstream
Normal file
@@ -0,0 +1 @@
|
||||
https://android.googlesource.com/device/google/pantah
|
||||
@@ -24,7 +24,9 @@ PRODUCT_MAKEFILES := \
|
||||
$(LOCAL_DIR)/factory_cheetah.mk \
|
||||
$(LOCAL_DIR)/aosp_panther.mk \
|
||||
$(LOCAL_DIR)/aosp_panther_hwasan.mk \
|
||||
$(LOCAL_DIR)/factory_panther.mk
|
||||
$(LOCAL_DIR)/factory_panther.mk \
|
||||
$(LOCAL_DIR)/lineage_cheetah.mk \
|
||||
$(LOCAL_DIR)/lineage_panther.mk
|
||||
|
||||
COMMON_LUNCH_CHOICES := \
|
||||
aosp_cloudripper-trunk_staging-userdebug \
|
||||
|
||||
5
BoardConfigLineage.mk
Normal file
5
BoardConfigLineage.mk
Normal file
@@ -0,0 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2022 The LineageOS Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
@@ -31,4 +31,8 @@ PRODUCT_MANUFACTURER := Google
|
||||
DEVICE_MANIFEST_FILE := \
|
||||
device/google/pantah/manifest.xml
|
||||
|
||||
PRODUCT_PACKAGES += com.android.vndk.current.on_vendor
|
||||
# Keep the VNDK APEX in /system partition for REL branches as these branches are
|
||||
# expected to have stable API/ABI surfaces.
|
||||
ifneq (REL,$(PLATFORM_VERSION_CODENAME))
|
||||
PRODUCT_PACKAGES += com.android.vndk.current.on_vendor
|
||||
endif
|
||||
|
||||
@@ -31,4 +31,8 @@ PRODUCT_MANUFACTURER := Google
|
||||
DEVICE_MANIFEST_FILE := \
|
||||
device/google/pantah/manifest.xml
|
||||
|
||||
PRODUCT_PACKAGES += com.android.vndk.current.on_vendor
|
||||
# Keep the VNDK APEX in /system partition for REL branches as these branches are
|
||||
# expected to have stable API/ABI surfaces.
|
||||
ifneq (REL,$(PLATFORM_VERSION_CODENAME))
|
||||
PRODUCT_PACKAGES += com.android.vndk.current.on_vendor
|
||||
endif
|
||||
|
||||
@@ -65,8 +65,8 @@ PRODUCT_COPY_FILES += \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_config.ini:$(TARGET_COPY_OUT_VENDOR)/etc/waves_config.ini \
|
||||
device/google/pantah/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/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia_stereo/BLUETOOTH.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/BLUETOOTH.mods \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia_stereo/HANDSFREE.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSFREE.mods \
|
||||
|
||||
@@ -65,8 +65,8 @@ PRODUCT_COPY_FILES += \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_config.ini:$(TARGET_COPY_OUT_VENDOR)/etc/waves_config.ini \
|
||||
device/google/pantah/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/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia_stereo/BLUETOOTH.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/BLUETOOTH.mods \
|
||||
device/google/pantah/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia_stereo/HANDSFREE.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSFREE.mods \
|
||||
|
||||
@@ -39,5 +39,7 @@ BOARD_KERNEL_CMDLINE += swiotlb=noforce
|
||||
include device/google/gs201/BoardConfig-common.mk
|
||||
-include vendor/google_devices/gs201/prebuilts/BoardConfigVendor.mk
|
||||
-include vendor/google_devices/cheetah/proprietary/BoardConfigVendor.mk
|
||||
include device/google/pantah-sepolicy/cheetah-sepolicy.mk
|
||||
include device/google/pantah/sepolicy/cheetah-sepolicy.mk
|
||||
include device/google/pantah/wifi/BoardConfig-wifi.mk
|
||||
|
||||
include device/google/pantah/cheetah/BoardConfigLineage.mk
|
||||
|
||||
9
cheetah/BoardConfigLineage.mk
Normal file
9
cheetah/BoardConfigLineage.mk
Normal file
@@ -0,0 +1,9 @@
|
||||
#
|
||||
# Copyright (C) 2022 The LineageOS Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
include device/google/pantah/BoardConfigLineage.mk
|
||||
|
||||
include vendor/google/cheetah/BoardConfigVendor.mk
|
||||
9
cheetah/device-evolution.mk
Normal file
9
cheetah/device-evolution.mk
Normal file
@@ -0,0 +1,9 @@
|
||||
#
|
||||
# Copyright (C) 2024 The Evolution X Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/cheetah/overlay-evolution
|
||||
|
||||
$(call inherit-product, $(LOCAL_PATH)/device-evolution.mk)
|
||||
9
cheetah/device-lineage.mk
Normal file
9
cheetah/device-lineage.mk
Normal file
@@ -0,0 +1,9 @@
|
||||
#
|
||||
# Copyright (C) 2022 The LineageOS Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/cheetah/overlay-lineage
|
||||
|
||||
$(call inherit-product, $(LOCAL_PATH)/device-lineage.mk)
|
||||
149
cheetah/extract-files.sh
Executable file
149
cheetah/extract-files.sh
Executable file
@@ -0,0 +1,149 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2016 The CyanogenMod Project
|
||||
# SPDX-FileCopyrightText: 2017-2024 The LineageOS Project
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
set -e
|
||||
|
||||
DEVICE=cheetah
|
||||
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
|
||||
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"
|
||||
@@ -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,31 @@
|
||||
<?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.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>
|
||||
</resources>
|
||||
@@ -30,7 +30,7 @@
|
||||
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
|
||||
-->
|
||||
<dimen name="status_bar_height_default">28dp</dimen>
|
||||
<dimen name="status_bar_height_portrait">144px</dimen>
|
||||
<dimen name="status_bar_height_portrait">41.142857143dp</dimen>
|
||||
<dimen name="status_bar_height_landscape">28dp</dimen>
|
||||
|
||||
<!-- Adjustment for software rounded corners since corners aren't perfectly round. -->
|
||||
|
||||
343
cheetah/proprietary-files-carriersettings.txt
Normal file
343
cheetah/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
|
||||
1657
cheetah/proprietary-files-vendor.txt
Normal file
1657
cheetah/proprietary-files-vendor.txt
Normal file
File diff suppressed because it is too large
Load Diff
165
cheetah/proprietary-files.txt
Normal file
165
cheetah/proprietary-files.txt
Normal file
@@ -0,0 +1,165 @@
|
||||
# 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.experimental2022_system.xml
|
||||
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.experimental2022_system.jar
|
||||
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
|
||||
|
||||
# UWB
|
||||
system_ext/etc/permissions/privapp-permissions-qorvo.xml
|
||||
system_ext/priv-app/UwbVendorService/UwbVendorService.apk;PRESIGNED
|
||||
|
||||
# VZW
|
||||
system_ext/etc/permissions/vzw_mvs_permissions.xml
|
||||
system_ext/priv-app/MyVerizonServices/MyVerizonServices.apk;PRESIGNED
|
||||
11
cheetah/proprietary-firmware.txt
Normal file
11
cheetah/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
|
||||
@@ -140,12 +140,6 @@
|
||||
<!-- Indicate the driver doesn't support NL80211 Reg changed event -->
|
||||
<bool translatable="false" name="config_wifiDriverSupportedNl80211RegChangedEvent">false</bool>
|
||||
|
||||
<!-- Indicate whether the verbose logging is always on -->
|
||||
<!-- 0: verbose logging controlled by user
|
||||
1: verbose logging on by default for userdebug
|
||||
2: verbose logging on by default for all builds -->
|
||||
<integer translatable="false" name="config_wifiVerboseLoggingAlwaysOnLevel">1</integer>
|
||||
|
||||
<!-- Enable aggregation of Wifi link layer radio stats from all radios -->
|
||||
<bool translatable="false" name="config_wifiLinkLayerAllRadiosStatsAggregationEnabled">true</bool>
|
||||
|
||||
|
||||
82
cheetah/setup-makefiles.sh
Executable file
82
cheetah/setup-makefiles.sh
Executable file
@@ -0,0 +1,82 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2016 The CyanogenMod Project
|
||||
# SPDX-FileCopyrightText: 2017-2024 The LineageOS Project
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
set -e
|
||||
|
||||
DEVICE=cheetah
|
||||
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/pantah",
|
||||
"hardware/google/av",
|
||||
"hardware/google/gchips",
|
||||
"hardware/google/graphics/common",
|
||||
"hardware/google/interfaces",
|
||||
"hardware/google/pixel",
|
||||
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) ;;
|
||||
*)
|
||||
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
|
||||
1478
cheetah/skip-files-vendor.txt
Normal file
1478
cheetah/skip-files-vendor.txt
Normal file
File diff suppressed because it is too large
Load Diff
19
cheetah/vendor.prop
Normal file
19
cheetah/vendor.prop
Normal file
@@ -0,0 +1,19 @@
|
||||
# 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
|
||||
|
||||
# UWB
|
||||
ro.vendor.uwb.calibration.calibrationpaths=/vendor/etc/uwb/calib_paths
|
||||
@@ -160,8 +160,10 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
||||
persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac-opus
|
||||
|
||||
# Bluetooth hci_inject test tool
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_PACKAGES_DEBUG += \
|
||||
hci_inject
|
||||
endif
|
||||
|
||||
# Bluetooth OPUS codec
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
@@ -178,8 +180,10 @@ PRODUCT_COPY_FILES += \
|
||||
device/google/pantah/bluetooth/bluetooth_power_limits_cheetah_GP4BC_US.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_GP4BC_US.csv
|
||||
|
||||
# Bluetooth SAR test tool
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_PACKAGES_DEBUG += \
|
||||
sar_test
|
||||
endif
|
||||
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
persist.bluetooth.firmware.selection=BCM.hcd
|
||||
@@ -189,7 +193,7 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
||||
persist.bluetooth.a2dp_aac.vbr_supported=true
|
||||
|
||||
# Override BQR mask to enable LE Audio Choppy report, remove BTRT logging
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
persist.bluetooth.bqr.event_mask=262238
|
||||
else
|
||||
@@ -228,8 +232,11 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
||||
persist.bluetooth.leaudio.allow_list=SM-R510
|
||||
|
||||
# Bluetooth EWP test tool
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_PACKAGES_DEBUG += \
|
||||
ewp_tool
|
||||
endif
|
||||
|
||||
# default BDADDR for EVB only
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.vendor.bluetooth.evb_bdaddr="22:22:22:33:44:55"
|
||||
@@ -314,7 +321,7 @@ PRODUCT_SOONG_NAMESPACES += vendor/google_devices/pantah/prebuilts/trusty/trunk
|
||||
endif
|
||||
|
||||
# Location
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/pantah/location/gps.xml.c10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml \
|
||||
device/google/pantah/location/lhd.conf.c10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
|
||||
@@ -335,8 +342,15 @@ PRODUCT_VENDOR_PROPERTIES += \
|
||||
vendor.zram.size=3g
|
||||
|
||||
# Increment the SVN for any official public releases
|
||||
ifdef RELEASE_SVN_CHEETAH
|
||||
TARGET_SVN ?= $(RELEASE_SVN_CHEETAH)
|
||||
else
|
||||
# Set this for older releases that don't use build flag
|
||||
TARGET_SVN ?= 61
|
||||
endif
|
||||
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
ro.vendor.build.svn=57
|
||||
ro.vendor.build.svn=$(TARGET_SVN)
|
||||
|
||||
# DCK properties based on target
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
@@ -357,8 +371,8 @@ PRODUCT_PACKAGES += \
|
||||
SettingsOverlayGE2AE \
|
||||
SettingsOverlayGP4BC
|
||||
|
||||
# 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
|
||||
|
||||
@@ -164,7 +164,7 @@ PRODUCT_SOONG_NAMESPACES += vendor/google_devices/pantah/prebuilts/trusty/trunk
|
||||
endif
|
||||
|
||||
# Location
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/pantah/location/gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml \
|
||||
device/google/pantah/location/lhd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
|
||||
|
||||
8
device-evolution.mk
Normal file
8
device-evolution.mk
Normal file
@@ -0,0 +1,8 @@
|
||||
#
|
||||
# Copyright (C) 2024 The Evolution X Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
# Udfps
|
||||
TARGET_HAS_UDFPS += true
|
||||
54
device-lineage.mk
Normal file
54
device-lineage.mk
Normal file
@@ -0,0 +1,54 @@
|
||||
#
|
||||
# Copyright (C) 2022 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
|
||||
|
||||
# Kernel
|
||||
TARGET_PREBUILT_KERNEL := device/google/pantah-kernel/Image.lz4
|
||||
|
||||
# PowerShare
|
||||
include hardware/google/pixel/powershare/device.mk
|
||||
|
||||
# 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
|
||||
@@ -143,8 +143,10 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
||||
persist.bluetooth.a2dp_offload.cap=sbc-aac-aptx-aptxhd-ldac-opus
|
||||
|
||||
# Bluetooth hci_inject test tool
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_PACKAGES_DEBUG += \
|
||||
hci_inject
|
||||
endif
|
||||
|
||||
# Bluetooth OPUS codec
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
@@ -161,8 +163,11 @@ PRODUCT_COPY_FILES += \
|
||||
device/google/pantah/bluetooth/bluetooth_power_limits_panther_GVU6C_US.csv:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_power_limits_GVU6C_US.csv
|
||||
|
||||
# Bluetooth SAR test tool
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_PACKAGES_DEBUG += \
|
||||
sar_test
|
||||
endif
|
||||
|
||||
# default BDADDR for EVB only
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.vendor.bluetooth.evb_bdaddr="22:22:22:33:44:55"
|
||||
@@ -199,8 +204,10 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
||||
|
||||
|
||||
# Bluetooth EWP test tool
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_PACKAGES_DEBUG += \
|
||||
ewp_tool
|
||||
endif
|
||||
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
persist.bluetooth.firmware.selection=BCM.hcd
|
||||
@@ -210,7 +217,7 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
||||
persist.bluetooth.a2dp_aac.vbr_supported=true
|
||||
|
||||
# Override BQR mask to enable LE Audio Choppy report, remove BTRT logging
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
persist.bluetooth.bqr.event_mask=262238
|
||||
else
|
||||
@@ -298,7 +305,7 @@ PRODUCT_SOONG_NAMESPACES += vendor/google_devices/pantah/prebuilts/trusty/trunk
|
||||
endif
|
||||
|
||||
# Location
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/pantah/location/gps.xml.p10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml \
|
||||
device/google/pantah/location/lhd.conf.p10:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
|
||||
@@ -319,8 +326,15 @@ PRODUCT_VENDOR_PROPERTIES += \
|
||||
vendor.zram.size=3g
|
||||
|
||||
# Increment the SVN for any official public releases
|
||||
ifdef RELEASE_SVN_PANTHER
|
||||
TARGET_SVN ?= $(RELEASE_SVN_PANTHER)
|
||||
else
|
||||
# Set this for older releases that don't use build flag
|
||||
TARGET_SVN ?= 61
|
||||
endif
|
||||
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
ro.vendor.build.svn=57
|
||||
ro.vendor.build.svn=$(TARGET_SVN)
|
||||
|
||||
# DCK properties based on target
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
@@ -343,8 +357,8 @@ PRODUCT_PACKAGES += \
|
||||
SettingsOverlayGVU6C \
|
||||
SettingsOverlayGVU6C_VN
|
||||
|
||||
# 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
|
||||
@@ -406,3 +420,7 @@ PRODUCT_VENDOR_PROPERTIES += \
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
ro.quick_start.oem_id=00e0 \
|
||||
ro.quick_start.device_id=panther
|
||||
|
||||
# HBM
|
||||
PRODUCT_PACKAGES += \
|
||||
HbmSVManagerOverlayPanther
|
||||
|
||||
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/pantah-kernel",
|
||||
"target_path": "device/google/pantah-kernel",
|
||||
"remote": "aosp-pantah"
|
||||
}
|
||||
]
|
||||
34
lineage_cheetah.mk
Normal file
34
lineage_cheetah.mk
Normal file
@@ -0,0 +1,34 @@
|
||||
#
|
||||
# Copyright (C) 2022 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/pantah/aosp_cheetah.mk)
|
||||
$(call inherit-product, device/google/gs201/lineage_common.mk)
|
||||
$(call inherit-product, device/google/gs201/evolution_common.mk)
|
||||
|
||||
include device/google/pantah/cheetah/device-lineage.mk
|
||||
include device/google/pantah/cheetah/device-evolution.mk
|
||||
|
||||
# Device identifier. This must come after all inclusions
|
||||
PRODUCT_BRAND := google
|
||||
PRODUCT_MODEL := Pixel 7 Pro
|
||||
PRODUCT_NAME := lineage_cheetah
|
||||
|
||||
# Boot animation
|
||||
TARGET_SCREEN_HEIGHT := 3120
|
||||
TARGET_SCREEN_WIDTH := 1440
|
||||
|
||||
PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||
TARGET_PRODUCT=cheetah \
|
||||
PRIVATE_BUILD_DESC="cheetah-user 14 AP2A.240905.003 12231197 release-keys"
|
||||
|
||||
BUILD_FINGERPRINT := google/cheetah/cheetah:14/AP2A.240905.003/12231197:user/release-keys
|
||||
|
||||
$(call inherit-product, vendor/google/cheetah/cheetah-vendor.mk)
|
||||
34
lineage_panther.mk
Normal file
34
lineage_panther.mk
Normal file
@@ -0,0 +1,34 @@
|
||||
#
|
||||
# Copyright (C) 2022 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/pantah/aosp_panther.mk)
|
||||
$(call inherit-product, device/google/gs201/lineage_common.mk)
|
||||
$(call inherit-product, device/google/gs201/evolution_common.mk)
|
||||
|
||||
include device/google/pantah/panther/device-lineage.mk
|
||||
include device/google/pantah/panther/device-evolution.mk
|
||||
|
||||
# Device identifier. This must come after all inclusions
|
||||
PRODUCT_BRAND := google
|
||||
PRODUCT_MODEL := Pixel 7
|
||||
PRODUCT_NAME := lineage_panther
|
||||
|
||||
# Boot animation
|
||||
TARGET_SCREEN_HEIGHT := 2400
|
||||
TARGET_SCREEN_WIDTH := 1080
|
||||
|
||||
PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||
TARGET_PRODUCT=panther \
|
||||
PRIVATE_BUILD_DESC="panther-user 14 AP2A.240905.003 12231197 release-keys"
|
||||
|
||||
BUILD_FINGERPRINT := google/panther/panther:14/AP2A.240905.003/12231197:user/release-keys
|
||||
|
||||
$(call inherit-product, vendor/google/panther/panther-vendor.mk)
|
||||
@@ -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>
|
||||
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>
|
||||
@@ -44,5 +44,7 @@ BOARD_KERNEL_CMDLINE += swiotlb=noforce
|
||||
include device/google/gs201/BoardConfig-common.mk
|
||||
-include vendor/google_devices/gs201/prebuilts/BoardConfigVendor.mk
|
||||
-include vendor/google_devices/panther/proprietary/BoardConfigVendor.mk
|
||||
include device/google/pantah-sepolicy/panther-sepolicy.mk
|
||||
include device/google/pantah/sepolicy/panther-sepolicy.mk
|
||||
include device/google/pantah/wifi/BoardConfig-wifi.mk
|
||||
|
||||
include device/google/pantah/panther/BoardConfigLineage.mk
|
||||
|
||||
9
panther/BoardConfigLineage.mk
Normal file
9
panther/BoardConfigLineage.mk
Normal file
@@ -0,0 +1,9 @@
|
||||
#
|
||||
# Copyright (C) 2022 The LineageOS Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
include device/google/pantah/BoardConfigLineage.mk
|
||||
|
||||
include vendor/google/panther/BoardConfigVendor.mk
|
||||
9
panther/device-evolution.mk
Normal file
9
panther/device-evolution.mk
Normal file
@@ -0,0 +1,9 @@
|
||||
#
|
||||
# Copyright (C) 2024 The Evolution X Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/panther/overlay-evolution
|
||||
|
||||
$(call inherit-product, $(LOCAL_PATH)/device-evolution.mk)
|
||||
9
panther/device-lineage.mk
Normal file
9
panther/device-lineage.mk
Normal file
@@ -0,0 +1,9 @@
|
||||
#
|
||||
# Copyright (C) 2022 The LineageOS Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/panther/overlay-lineage
|
||||
|
||||
$(call inherit-product, $(LOCAL_PATH)/device-lineage.mk)
|
||||
149
panther/extract-files.sh
Executable file
149
panther/extract-files.sh
Executable file
@@ -0,0 +1,149 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2016 The CyanogenMod Project
|
||||
# SPDX-FileCopyrightText: 2017-2024 The LineageOS Project
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
set -e
|
||||
|
||||
DEVICE=panther
|
||||
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
|
||||
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"
|
||||
@@ -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,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.7</item> <item>0.67044306</item>
|
||||
<item>0</item> <item>2.0</item> <item>2.0</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
343
panther/proprietary-files-carriersettings.txt
Normal file
343
panther/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
|
||||
1647
panther/proprietary-files-vendor.txt
Normal file
1647
panther/proprietary-files-vendor.txt
Normal file
File diff suppressed because it is too large
Load Diff
161
panther/proprietary-files.txt
Normal file
161
panther/proprietary-files.txt
Normal file
@@ -0,0 +1,161 @@
|
||||
# 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.experimental2022_system.xml
|
||||
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.experimental2022_system.jar
|
||||
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
panther/proprietary-firmware.txt
Normal file
11
panther/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
|
||||
8
panther/rro_overlays/HbmSVManagerOverlay/Android.bp
Normal file
8
panther/rro_overlays/HbmSVManagerOverlay/Android.bp
Normal file
@@ -0,0 +1,8 @@
|
||||
package {
|
||||
default_applicable_licenses: ["Android-Apache-2.0"],
|
||||
}
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "HbmSVManagerOverlayPanther",
|
||||
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.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 6.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 6.3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 6.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 7.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 7.3 KiB |
@@ -0,0 +1,47 @@
|
||||
<?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>
|
||||
<array name="config_compensation_thresholds">
|
||||
<item>10000.0</item>
|
||||
<item>20000.0</item>
|
||||
<item>40000.0</item>
|
||||
<item>60000.0</item>
|
||||
<item>80000.0</item>
|
||||
<item>100000.0</item>
|
||||
</array>
|
||||
</resources>
|
||||
@@ -141,12 +141,6 @@
|
||||
<!-- Indicate the driver doesn't support NL80211 Reg changed event -->
|
||||
<bool translatable="false" name="config_wifiDriverSupportedNl80211RegChangedEvent">false</bool>
|
||||
|
||||
<!-- Indicate whether the verbose logging is always on -->
|
||||
<!-- 0: verbose logging controlled by user
|
||||
1: verbose logging on by default for userdebug
|
||||
2: verbose logging on by default for all builds -->
|
||||
<integer translatable="false" name="config_wifiVerboseLoggingAlwaysOnLevel">1</integer>
|
||||
|
||||
<!-- Enable aggregation of Wifi link layer radio stats from all radios -->
|
||||
<bool translatable="false" name="config_wifiLinkLayerAllRadiosStatsAggregationEnabled">true</bool>
|
||||
|
||||
|
||||
82
panther/setup-makefiles.sh
Executable file
82
panther/setup-makefiles.sh
Executable file
@@ -0,0 +1,82 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# SPDX-FileCopyrightText: 2016 The CyanogenMod Project
|
||||
# SPDX-FileCopyrightText: 2017-2024 The LineageOS Project
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
set -e
|
||||
|
||||
DEVICE=panther
|
||||
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/pantah",
|
||||
"hardware/google/av",
|
||||
"hardware/google/gchips",
|
||||
"hardware/google/graphics/common",
|
||||
"hardware/google/interfaces",
|
||||
"hardware/google/pixel",
|
||||
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) ;;
|
||||
*)
|
||||
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
|
||||
1418
panther/skip-files-vendor.txt
Normal file
1418
panther/skip-files-vendor.txt
Normal file
File diff suppressed because it is too large
Load Diff
16
panther/vendor.prop
Normal file
16
panther/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
|
||||
1
sepolicy/.gitupstream
Normal file
1
sepolicy/.gitupstream
Normal file
@@ -0,0 +1 @@
|
||||
https://android.googlesource.com/device/google/pantah-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
|
||||
|
||||
3
sepolicy/cheetah-sepolicy.mk
Normal file
3
sepolicy/cheetah-sepolicy.mk
Normal file
@@ -0,0 +1,3 @@
|
||||
# sepolicy that are shared among devices using whitechapel
|
||||
BOARD_SEPOLICY_DIRS += device/google/pantah/sepolicy/cheetah
|
||||
|
||||
2
sepolicy/cheetah/README.txt
Normal file
2
sepolicy/cheetah/README.txt
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.
|
||||
1
sepolicy/cheetah/cccdk_timesync_app.te
Normal file
1
sepolicy/cheetah/cccdk_timesync_app.te
Normal file
@@ -0,0 +1 @@
|
||||
allow vendor_cccdktimesync_app hal_bluetooth_coexistence_service:service_manager find;
|
||||
3
sepolicy/cheetah/file.te
Normal file
3
sepolicy/cheetah/file.te
Normal file
@@ -0,0 +1,3 @@
|
||||
# BT
|
||||
type vendor_bt_data_file, file_type, data_file_type;
|
||||
|
||||
6
sepolicy/cheetah/file_contexts
Normal file
6
sepolicy/cheetah/file_contexts
Normal file
@@ -0,0 +1,6 @@
|
||||
# Bluetooth
|
||||
/dev/ttySAC18 u:object_r:hci_attach_dev:s0
|
||||
/dev/logbuffer_btlpm u:object_r:logbuffer_device:s0
|
||||
/dev/logbuffer_tty18 u:object_r:logbuffer_device:s0
|
||||
|
||||
/data/vendor/bluetooth(/.*)? u:object_r:vendor_bt_data_file:s0
|
||||
1
sepolicy/cheetah/grilservice_app.te
Normal file
1
sepolicy/cheetah/grilservice_app.te
Normal file
@@ -0,0 +1 @@
|
||||
allow grilservice_app hal_bluetooth_coexistence_service:service_manager find;
|
||||
3
sepolicy/cheetah/hal_bluetooth_btlinux.te
Normal file
3
sepolicy/cheetah/hal_bluetooth_btlinux.te
Normal file
@@ -0,0 +1,3 @@
|
||||
allow hal_bluetooth_btlinux vendor_bt_data_file:dir rw_dir_perms;
|
||||
allow hal_bluetooth_btlinux vendor_bt_data_file:file create_file_perms;
|
||||
|
||||
3
sepolicy/cloudripper-sepolicy.mk
Normal file
3
sepolicy/cloudripper-sepolicy.mk
Normal file
@@ -0,0 +1,3 @@
|
||||
# sepolicy that are shared among devices using whitechapel
|
||||
BOARD_SEPOLICY_DIRS += device/google/pantah-sepolicy/cloudripper
|
||||
|
||||
2
sepolicy/cloudripper/README.txt
Normal file
2
sepolicy/cloudripper/README.txt
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.
|
||||
4
sepolicy/cloudripper/file_contexts
Normal file
4
sepolicy/cloudripper/file_contexts
Normal file
@@ -0,0 +1,4 @@
|
||||
# Bluetooth
|
||||
/dev/ttySAC18 u:object_r:hci_attach_dev:s0
|
||||
/dev/logbuffer_btlpm u:object_r:logbuffer_device:s0
|
||||
/dev/logbuffer_tty18 u:object_r:logbuffer_device:s0
|
||||
2
sepolicy/cloudripper/genfs_contexts
Normal file
2
sepolicy/cloudripper/genfs_contexts
Normal file
@@ -0,0 +1,2 @@
|
||||
# Haptics
|
||||
genfscon sysfs /devices/platform/10970000.hsi2c/i2c-8/8-0042 u:object_r:sysfs_vibrator:s0
|
||||
2
sepolicy/panther-sepolicy.mk
Normal file
2
sepolicy/panther-sepolicy.mk
Normal file
@@ -0,0 +1,2 @@
|
||||
# sepolicy that are shared among devices using whitechapel
|
||||
BOARD_SEPOLICY_DIRS += device/google/pantah/sepolicy/panther
|
||||
2
sepolicy/panther/README.txt
Normal file
2
sepolicy/panther/README.txt
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.
|
||||
3
sepolicy/panther/file.te
Normal file
3
sepolicy/panther/file.te
Normal file
@@ -0,0 +1,3 @@
|
||||
# BT
|
||||
type vendor_bt_data_file, file_type, data_file_type;
|
||||
|
||||
6
sepolicy/panther/file_contexts
Normal file
6
sepolicy/panther/file_contexts
Normal file
@@ -0,0 +1,6 @@
|
||||
# Bluetooth
|
||||
/dev/ttySAC18 u:object_r:hci_attach_dev:s0
|
||||
/dev/logbuffer_btlpm u:object_r:logbuffer_device:s0
|
||||
/dev/logbuffer_tty18 u:object_r:logbuffer_device:s0
|
||||
|
||||
/data/vendor/bluetooth(/.*)? u:object_r:vendor_bt_data_file:s0
|
||||
1
sepolicy/panther/grilservice_app.te
Normal file
1
sepolicy/panther/grilservice_app.te
Normal file
@@ -0,0 +1 @@
|
||||
allow grilservice_app hal_bluetooth_coexistence_service:service_manager find;
|
||||
3
sepolicy/panther/hal_bluetooth_btlinux.te
Normal file
3
sepolicy/panther/hal_bluetooth_btlinux.te
Normal file
@@ -0,0 +1,3 @@
|
||||
allow hal_bluetooth_btlinux vendor_bt_data_file:dir rw_dir_perms;
|
||||
allow hal_bluetooth_btlinux vendor_bt_data_file:file create_file_perms;
|
||||
|
||||
2
sepolicy/ravenclaw-sepolicy.mk
Normal file
2
sepolicy/ravenclaw-sepolicy.mk
Normal file
@@ -0,0 +1,2 @@
|
||||
# sepolicy that are shared among devices using whitechapel
|
||||
BOARD_SEPOLICY_DIRS += device/google/pantah-sepolicy/ravenclaw
|
||||
2
sepolicy/ravenclaw/README.txt
Normal file
2
sepolicy/ravenclaw/README.txt
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.
|
||||
4
sepolicy/ravenclaw/file_contexts
Normal file
4
sepolicy/ravenclaw/file_contexts
Normal file
@@ -0,0 +1,4 @@
|
||||
# Bluetooth
|
||||
/dev/ttySAC18 u:object_r:hci_attach_dev:s0
|
||||
/dev/logbuffer_btlpm u:object_r:logbuffer_device:s0
|
||||
/dev/logbuffer_tty18 u:object_r:logbuffer_device:s0
|
||||
Reference in New Issue
Block a user