-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add extras for missi_phoneext4_global-user 13 TKQ1.221114.001 V816.0.…
…2.0.TGCINXM release-keys Signed-off-by: Kajal4414 <81718060+Kajal4414@users.noreply.github.com>
- Loading branch information
0 parents
commit 89fba80
Showing
1,961 changed files
with
235,742 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
modem.img | ||
product/data-app/MicrosoftOneDrive/MicrosoftOneDrive.apk | ||
product/data-app/SmartHome/SmartHome.apk | ||
product/data-app/MIMediaEditorGlobal/MIMediaEditorGlobal.apk | ||
product/app/TrichromeLibrary64/TrichromeLibrary64.apk | ||
product/priv-app/Messages/Messages.apk | ||
product/priv-app/GmsCore/GmsCore.apk | ||
product/priv-app/Velvet/Velvet.apk | ||
product/priv-app/ExtraPhotoGlobal/ExtraPhotoGlobal.apk | ||
vendor/lib64/camera/components/com.qti.node.mialgocontrol.so | ||
system_ext/apex/com.android.vndk.v30.apex | ||
system_ext/priv-app/Settings/Settings.apk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# missi_phoneext4_global-user 13 TKQ1.221114.001 V816.0.2.0.TGCINXM release-keys | ||
- manufacturer: xiaomi | ||
- platform: bengal | ||
- codename: spes | ||
- flavor: missi_phoneext4_global-user | ||
- release: 13 | ||
- id: TKQ1.221114.001 | ||
- incremental: V816.0.2.0.TGCINXM | ||
- tags: release-keys | ||
- fingerprint: Redmi/spes/spes:13/TKQ1.221114.001/V816.0.2.0.TGCINXM:user/release-keys | ||
- is_ab: true | ||
- brand: Redmi | ||
- branch: missi_phoneext4_global-user-13-TKQ1.221114.001-V816.0.2.0.TGCINXM-release-keys | ||
- repo: redmi_spes_dump |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// | ||
// Copyright (C) 2024 The LineageOS Project | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// | ||
|
||
soong_namespace { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# | ||
# Copyright (C) 2024 The LineageOS Project | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
LOCAL_PATH := $(call my-dir) | ||
|
||
ifeq ($(TARGET_DEVICE),missi) | ||
include $(call all-subdir-makefiles,$(LOCAL_PATH)) | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# | ||
# Copyright (C) 2024 The LineageOS Project | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
PRODUCT_MAKEFILES := \ | ||
$(LOCAL_DIR)/lineage_missi.mk | ||
|
||
COMMON_LUNCH_CHOICES := \ | ||
lineage_missi-user \ | ||
lineage_missi-userdebug \ | ||
lineage_missi-eng |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
# | ||
# Copyright (C) 2024 The LineageOS Project | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
DEVICE_PATH := device/qualcomm/missi | ||
|
||
# A/B | ||
AB_OTA_UPDATER := true | ||
AB_OTA_PARTITIONS += \ | ||
system_ext \ | ||
product \ | ||
system \ | ||
vendor | ||
BOARD_USES_RECOVERY_AS_BOOT := true | ||
|
||
# Architecture | ||
TARGET_ARCH := arm64 | ||
TARGET_ARCH_VARIANT := armv8-a | ||
TARGET_CPU_ABI := arm64-v8a | ||
TARGET_CPU_ABI2 := | ||
TARGET_CPU_VARIANT := generic | ||
TARGET_CPU_VARIANT_RUNTIME := generic | ||
|
||
TARGET_2ND_ARCH := arm | ||
TARGET_2ND_ARCH_VARIANT := armv7-a-neon | ||
TARGET_2ND_CPU_ABI := armeabi-v7a | ||
TARGET_2ND_CPU_ABI2 := armeabi | ||
TARGET_2ND_CPU_VARIANT := generic | ||
TARGET_2ND_CPU_VARIANT_RUNTIME := cortex-a9 | ||
|
||
# Bootloader | ||
TARGET_BOOTLOADER_BOARD_NAME := spes | ||
TARGET_NO_BOOTLOADER := true | ||
|
||
# Display | ||
TARGET_SCREEN_DENSITY := 440 | ||
|
||
# Kernel | ||
BOARD_BOOTIMG_HEADER_VERSION := 3 | ||
BOARD_KERNEL_BASE := 0x00000000 | ||
BOARD_KERNEL_CMDLINE := console=ttyMSM0,115200n8 earlycon=msm_geni_serial,0x4a90000 androidboot.hardware=qcom androidboot.console=ttyMSM0 androidboot.memcg=1 lpm_levels.sleep_disabled=1 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 service_locator.enable=1 swiotlb=2048 loop.max_part=7 buildvariant=user | ||
BOARD_KERNEL_PAGESIZE := 4096 | ||
BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOTIMG_HEADER_VERSION) | ||
BOARD_KERNEL_IMAGE_NAME := Image | ||
BOARD_INCLUDE_DTB_IN_BOOTIMG := true | ||
BOARD_KERNEL_SEPARATED_DTBO := true | ||
TARGET_KERNEL_CONFIG := missi_defconfig | ||
TARGET_KERNEL_SOURCE := kernel/qualcomm/missi | ||
|
||
# Kernel - prebuilt | ||
TARGET_FORCE_PREBUILT_KERNEL := true | ||
ifeq ($(TARGET_FORCE_PREBUILT_KERNEL),true) | ||
TARGET_PREBUILT_KERNEL := $(DEVICE_PATH)/prebuilts/kernel | ||
TARGET_PREBUILT_DTB := $(DEVICE_PATH)/prebuilts/dtb.img | ||
BOARD_MKBOOTIMG_ARGS += --dtb $(TARGET_PREBUILT_DTB) | ||
BOARD_INCLUDE_DTB_IN_BOOTIMG := | ||
BOARD_PREBUILT_DTBOIMAGE := $(DEVICE_PATH)/prebuilts/dtbo.img | ||
BOARD_KERNEL_SEPARATED_DTBO := | ||
endif | ||
|
||
# Partitions | ||
BOARD_FLASH_BLOCK_SIZE := 262144 # (BOARD_KERNEL_PAGESIZE * 64) | ||
BOARD_BOOTIMAGE_PARTITION_SIZE := 100663296 | ||
BOARD_DTBOIMG_PARTITION_SIZE := 8388608 | ||
BOARD_VENDOR_BOOTIMAGE_PARTITION_SIZE := 100663296 | ||
BOARD_SUPER_PARTITION_SIZE := 9126805504 # TODO: Fix hardcoded value | ||
BOARD_SUPER_PARTITION_GROUPS := qualcomm_dynamic_partitions | ||
BOARD_QUALCOMM_DYNAMIC_PARTITIONS_PARTITION_LIST := \ | ||
system_ext \ | ||
product \ | ||
system \ | ||
vendor | ||
BOARD_QUALCOMM_DYNAMIC_PARTITIONS_SIZE := 9122611200 # TODO: Fix hardcoded value | ||
|
||
# Platform | ||
TARGET_BOARD_PLATFORM := bengal | ||
|
||
# Properties | ||
TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop | ||
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop | ||
TARGET_PRODUCT_PROP += $(DEVICE_PATH)/product.prop | ||
TARGET_SYSTEM_EXT_PROP += $(DEVICE_PATH)/system_ext.prop | ||
TARGET_SYSTEM_DLKM_PROP += $(DEVICE_PATH)/system_dlkm.prop | ||
TARGET_ODM_PROP += $(DEVICE_PATH)/odm.prop | ||
|
||
# Recovery | ||
TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/rootdir/etc/fstab.emmc | ||
TARGET_RECOVERY_PIXEL_FORMAT := RGBX_8888 | ||
TARGET_USERIMAGES_USE_EXT4 := true | ||
TARGET_USERIMAGES_USE_F2FS := true | ||
|
||
# Security patch level | ||
VENDOR_SECURITY_PATCH := 2024-06-01 | ||
|
||
# Verified Boot | ||
BOARD_AVB_ENABLE := true | ||
BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --flags 3 | ||
BOARD_AVB_VENDOR_BOOT_KEY_PATH := external/avb/test/data/testkey_rsa4096.pem | ||
BOARD_AVB_VENDOR_BOOT_ALGORITHM := SHA256_RSA4096 | ||
BOARD_AVB_VENDOR_BOOT_ROLLBACK_INDEX := 1 | ||
BOARD_AVB_VENDOR_BOOT_ROLLBACK_INDEX_LOCATION := 1 | ||
|
||
# VINTF | ||
DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml | ||
|
||
# Inherit the proprietary files | ||
include vendor/qualcomm/missi/BoardConfigVendor.mk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Android device tree for qti missi system image for arm64 (missi) | ||
|
||
``` | ||
# | ||
# Copyright (C) 2024 The LineageOS Project | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
# | ||
# Copyright (C) 2024 The LineageOS Project | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
# Enable updating of APEXes | ||
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk) | ||
|
||
# A/B | ||
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk) | ||
|
||
PRODUCT_PACKAGES += \ | ||
android.hardware.boot@1.2-impl \ | ||
android.hardware.boot@1.2-impl.recovery \ | ||
android.hardware.boot@1.2-service | ||
|
||
PRODUCT_PACKAGES += \ | ||
update_engine \ | ||
update_engine_sideload \ | ||
update_verifier | ||
|
||
AB_OTA_POSTINSTALL_CONFIG += \ | ||
RUN_POSTINSTALL_system=true \ | ||
POSTINSTALL_PATH_system=system/bin/otapreopt_script \ | ||
FILESYSTEM_TYPE_system=ext4 \ | ||
POSTINSTALL_OPTIONAL_system=true | ||
|
||
AB_OTA_POSTINSTALL_CONFIG += \ | ||
RUN_POSTINSTALL_vendor=true \ | ||
POSTINSTALL_PATH_vendor=bin/checkpoint_gc \ | ||
FILESYSTEM_TYPE_vendor=ext4 \ | ||
POSTINSTALL_OPTIONAL_vendor=true | ||
|
||
PRODUCT_PACKAGES += \ | ||
checkpoint_gc \ | ||
otapreopt_script | ||
|
||
# API levels | ||
BOARD_API_LEVEL := 30 | ||
PRODUCT_SHIPPING_API_LEVEL := 30 | ||
|
||
# fastbootd | ||
PRODUCT_PACKAGES += \ | ||
android.hardware.fastboot@1.1-impl-mock \ | ||
fastbootd | ||
|
||
# Health | ||
PRODUCT_PACKAGES += \ | ||
android.hardware.health@2.1-impl \ | ||
android.hardware.health@2.1-service | ||
|
||
# Overlays | ||
PRODUCT_ENFORCE_RRO_TARGETS := * | ||
|
||
# Partitions | ||
PRODUCT_USE_DYNAMIC_PARTITIONS := true | ||
|
||
# Product characteristics | ||
PRODUCT_CHARACTERISTICS := nosdcard | ||
|
||
# Rootdir | ||
PRODUCT_PACKAGES += \ | ||
bluedut.sh \ | ||
bt_close.sh \ | ||
init.class_main.sh \ | ||
init.crda.sh \ | ||
init.mdm.sh \ | ||
init.mi.usb.sh \ | ||
init.qcom.class_core.sh \ | ||
init.qcom.coex.sh \ | ||
init.qcom.early_boot.sh \ | ||
init.qcom.efs.sync.sh \ | ||
init.qcom.post_boot.sh \ | ||
init.qcom.sdio.sh \ | ||
init.qcom.sensors.sh \ | ||
init.qcom.sh \ | ||
init.qcom.usb.sh \ | ||
init.qti.chg_policy.sh \ | ||
init.qti.dcvs.sh \ | ||
init.qti.display_boot.sh \ | ||
init.qti.early_init.sh \ | ||
init.qti.media.sh \ | ||
init.qti.qcv.sh \ | ||
lct_rfs_restore.sh \ | ||
loopback.sh \ | ||
myftm.agent.sh \ | ||
playback.sh \ | ||
qca6234-service.sh \ | ||
record.sh \ | ||
record_playback.sh \ | ||
ultra_playback.sh \ | ||
ultra_record.sh \ | ||
wifitest.sh \ | ||
wifitest_close.sh \ | ||
|
||
PRODUCT_PACKAGES += \ | ||
fstab.emmc \ | ||
init.qcom.factory.rc \ | ||
init.qcom.rc \ | ||
init.qcom.usb.rc \ | ||
init.qti.ufs.rc \ | ||
init.stnfc.rc \ | ||
init.target.rc \ | ||
init.recovery.hardware.rc \ | ||
init.recovery.qcom.rc \ | ||
miui.factoryreset.rc \ | ||
|
||
PRODUCT_COPY_FILES += \ | ||
$(LOCAL_PATH)/rootdir/etc/fstab.emmc:$(TARGET_VENDOR_RAMDISK_OUT)/first_stage_ramdisk/fstab.emmc | ||
|
||
# Soong namespaces | ||
PRODUCT_SOONG_NAMESPACES += \ | ||
$(LOCAL_PATH) | ||
|
||
# Inherit the proprietary files | ||
$(call inherit-product, vendor/qualcomm/missi/missi-vendor.mk) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
#!/bin/bash | ||
# | ||
# Copyright (C) 2016 The CyanogenMod Project | ||
# Copyright (C) 2017-2020 The LineageOS Project | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
set -e | ||
|
||
DEVICE=missi | ||
VENDOR=qualcomm | ||
|
||
# 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}/../../.." | ||
|
||
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 | ||
|
||
KANG= | ||
SECTION= | ||
|
||
while [ "${#}" -gt 0 ]; do | ||
case "${1}" in | ||
-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 | ||
|
||
# Initialize the helper | ||
setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" false "${CLEAN_VENDOR}" | ||
|
||
extract "${MY_DIR}/proprietary-files.txt" "${SRC}" "${KANG}" --section "${SECTION}" | ||
|
||
"${MY_DIR}/setup-makefiles.sh" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# | ||
# Copyright (C) 2024 The LineageOS Project | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
# Inherit from those products. Most specific first. | ||
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) | ||
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) | ||
|
||
# Inherit some common Lineage stuff. | ||
$(call inherit-product, vendor/lineage/config/common_full_phone.mk) | ||
|
||
# Inherit from missi device | ||
$(call inherit-product, device/qualcomm/missi/device.mk) | ||
|
||
PRODUCT_DEVICE := missi | ||
PRODUCT_NAME := lineage_missi | ||
PRODUCT_BRAND := qti | ||
PRODUCT_MODEL := missi system image for arm64 | ||
PRODUCT_MANUFACTURER := qualcomm | ||
|
||
PRODUCT_GMS_CLIENTID_BASE := android-qualcomm | ||
|
||
PRODUCT_BUILD_PROP_OVERRIDES += \ | ||
PRIVATE_BUILD_DESC="missi-user 13 TKQ1.221114.001 V816.0.2.0.TGCINXM release-keys" | ||
|
||
BUILD_FINGERPRINT := qti/missi/missi:13/TKQ1.221114.001/V816.0.2.0.TGCINXM:user/release-keys |
Oops, something went wrong.