-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sm8550-common: Birth of xiaomi-sm8550-common
* lets just do the absolute minimum, we can decommonize more later if needed Change-Id: I30340fb04ff335c1b5a1322bfc3d4dda24d5aad3
- Loading branch information
Showing
94 changed files
with
116 additions
and
2,639 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
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
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 |
---|---|---|
@@ -1,85 +1,18 @@ | ||
Device configuration for Xiaomi 13 (Pro) | ||
========================================= | ||
# Common device configuration for Xiaomi 8550 family | ||
|
||
The Xiaomi 13 (Pro) is a flagship phone from Xiaomi. | ||
## Currently supported devices: | ||
|
||
It was released in Decenber 2022. | ||
- Xiaomi 13 (fuxi) | ||
- Xiaomi 13 Pro (nuwa) | ||
|
||
## Device specifications | ||
## Currently supported SoCs | ||
|
||
<table> | ||
<tbody> | ||
<tr> | ||
<td>Basic</td> | ||
<td colspan="2">Spec Sheet</td> | ||
</tr> | ||
<tr> | ||
<td>Model</td> | ||
<td>Xiaomi 13</td> | ||
<td>Xiaomi 13 Pro</td> | ||
</tr> | ||
<tr> | ||
<td>SoC</td> | ||
<td colspan="2">Qualcomm SM8550-AB Snapdragon 8 Gen 2 (4 nm)</td> | ||
</tr> | ||
<tr> | ||
<td>CPU</td> | ||
<td colspan="2">Octa-core (1x3.2 GHz Cortex-X3 & 2x2.8 GHz Cortex-A715 & 2x2.8 GHz Cortex-A710 & 3x2.0 GHz Cortex-A510)</td> | ||
</tr> | ||
<tr> | ||
<td>GPU</td> | ||
<td colspan="2">Adreno 740</td> | ||
</tr> | ||
<tr> | ||
<td>Memory</td> | ||
<td colspan="2">128GB 8GB RAM, 256GB 8GB RAM, 256GB 12GB RAM, 512GB 12GB RAM</td> | ||
</tr> | ||
<tr> | ||
<td>Shipped Android Version</td> | ||
<td colspan="2">Android 13</td> | ||
</tr> | ||
<tr> | ||
<td>Battery</td> | ||
<td>Li-Po 4500 mAh, non-removable</td> | ||
<td>Li-Po 4820 mAh, non-removable</td> | ||
</tr> | ||
<tr> | ||
<td>Display</td> | ||
<td>1080 x 2400 pixels, 20:9 ratio (~414 ppi density), AMOLED, 120Hz, Dolby Vision, HDR10+, 1200 nits (HBM), 1900 nits (peak)</td> | ||
<td>1440 x 3200 pixels, 20:9 ratio (~522 ppi density), LTPO AMOLED, 1B colors, 120Hz, Dolby Vision, HDR10+, 1200 nits (HBM), 1900 nits (peak)</td> | ||
</tr> | ||
<tr> | ||
<td>Camera (Wide)</td> | ||
<td>50 MP, f/1.8, 23mm (wide), 1/1.49", 1.0µm, PDAF, OIS</td> | ||
<td>50.3 MP, f/1.9, 23mm (wide), 1.0"-type, 1.6µm, Dual Pixel PDAF, Laser AF, OIS</td> | ||
</tr> | ||
<tr> | ||
<td>Camera (Ultrawide)</td> | ||
<td>12 MP, f/2.2, 15mm, 120˚ (ultrawide), 1/3.06", 1.12µm</td> | ||
<td>50 MP, f/2.2, 14mm, 115˚ (ultrawide), AF </td> | ||
</tr> | ||
<tr> | ||
<td>Camera (Tele)</td> | ||
<td>10 MP, f/2.0, 75mm (telephoto), 1/3.75", 1.0µm, PDAF, OIS, 3.2x optical zoom</td> | ||
<td>50 MP, f/2.0, 75mm (telephoto), PDAF (10cm - ∞), 3.2x optical zoom</td> | ||
</tr> | ||
<tr> | ||
<td>Camera (Front)</td> | ||
<td colspan="2">32 MP, f/2.0, 22mm (wide), 1/3.14", 0.7µm</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
## Device picture | ||
|
||
 | ||
- SM8550 (kalama) | ||
|
||
## Copyright | ||
|
||
``` | ||
# | ||
# Copyright (C) 2023 Paranoid Android | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
``` | ||
Copyright (C) 2024 Paranoid Android | ||
SPDX-License-Identifier: Apache-2.0 | ||
``` |
This file was deleted.
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 |
---|---|---|
|
@@ -14,7 +14,7 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk) | |
$(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk) | ||
|
||
# Get non-open-source specific aspects | ||
$(call inherit-product, vendor/xiaomi/xiaomi13/xiaomi13-vendor.mk) | ||
$(call inherit-product, vendor/xiaomi/sm8550-common/sm8550-common-vendor.mk) | ||
|
||
# Soong namespaces | ||
PRODUCT_SOONG_NAMESPACES += \ | ||
|
@@ -101,10 +101,6 @@ PRODUCT_COPY_FILES += \ | |
PRODUCT_PACKAGES += \ | ||
[email protected] | ||
|
||
# Boot Animation | ||
PRODUCT_COPY_FILES += \ | ||
vendor/aospa/bootanimation/1440/bootanimation.zip:$(TARGET_COPY_OUT_ODM)/overlayfs/nuwa/product/media/bootanimation.zip | ||
|
||
# Boot Control | ||
PRODUCT_PACKAGES += \ | ||
[email protected] \ | ||
|
@@ -194,7 +190,6 @@ PRODUCT_PACKAGES += \ | |
PRODUCT_PACKAGES += \ | ||
fstab.qcom \ | ||
init.target.rc \ | ||
init.mi_overlay.rc \ | ||
init.mi_perf.rc \ | ||
init.mi_service.rc \ | ||
init.mi_udfps.rc \ | ||
|
@@ -203,9 +198,6 @@ PRODUCT_PACKAGES += \ | |
PRODUCT_COPY_FILES += \ | ||
$(LOCAL_PATH)/init/fstab.qcom:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.qcom | ||
|
||
# Kernel Binary | ||
KERNEL_PREBUILT_DIR := device/xiaomi/xiaomi13-kernel | ||
|
||
# Keymaster | ||
PRODUCT_PACKAGES += \ | ||
[email protected] \ | ||
|
@@ -293,32 +285,17 @@ PRODUCT_COPY_FILES += \ | |
|
||
# Overlays | ||
PRODUCT_PACKAGES += \ | ||
Xiaomi13CarrierConfigRes \ | ||
Xiaomi13CarrierConfigResMiui \ | ||
Xiaomi13DolbyFuxi \ | ||
Xiaomi13Frameworks \ | ||
Xiaomi13FrameworksAOSPA \ | ||
Xiaomi13FrameworksFuxi \ | ||
Xiaomi13FrameworksNuwa \ | ||
Xiaomi13Nfc \ | ||
Xiaomi13SecureElement \ | ||
Xiaomi13Settings \ | ||
Xiaomi13Settings2210132C \ | ||
Xiaomi13Settings2210132G \ | ||
Xiaomi13Settings2211133C \ | ||
Xiaomi13Settings2211133G \ | ||
Xiaomi13SettingsProviderFuxi \ | ||
Xiaomi13SettingsProviderNuwa \ | ||
Xiaomi13SystemUI \ | ||
Xiaomi13SystemUIAOSPA \ | ||
Xiaomi13SystemUIFuxi \ | ||
Xiaomi13SystemUINuwa \ | ||
Xiaomi13WifiRes \ | ||
Xiaomi13WifiResMainline \ | ||
Xiaomi13WifiResFuxi \ | ||
Xiaomi13WifiResFuxiMainline \ | ||
Xiaomi13WifiResNuwa \ | ||
Xiaomi13WifiResNuwaMainline | ||
Xiaomi8550CarrierConfigRes \ | ||
Xiaomi8550CarrierConfigResMiui \ | ||
Xiaomi8550Frameworks \ | ||
Xiaomi8550FrameworksAOSPA \ | ||
Xiaomi8550Nfc \ | ||
Xiaomi8550SecureElement \ | ||
Xiaomi8550Settings \ | ||
Xiaomi8550SystemUI \ | ||
Xiaomi8550SystemUIAOSPA \ | ||
Xiaomi8550WifiRes \ | ||
Xiaomi8550WifiResMainline \ | ||
|
||
# Parts | ||
PRODUCT_PACKAGES += \ | ||
|
@@ -332,11 +309,6 @@ PRODUCT_PACKAGES += \ | |
PRODUCT_PACKAGES += \ | ||
vendor.aospa.powershare-service | ||
|
||
# Properties | ||
PRODUCT_COPY_FILES += \ | ||
$(LOCAL_PATH)/configs/properties/odm_fuxi.prop:$(TARGET_COPY_OUT_ODM)/etc/build_fuxi.prop \ | ||
$(LOCAL_PATH)/configs/properties/odm_nuwa.prop:$(TARGET_COPY_OUT_ODM)/etc/build_nuwa.prop | ||
|
||
# QMI | ||
PRODUCT_PACKAGES += \ | ||
libjson | ||
|
@@ -353,7 +325,6 @@ PRODUCT_COPY_FILES += \ | |
PRODUCT_COPY_FILES += \ | ||
frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \ | ||
frameworks/native/data/etc/android.hardware.sensor.ambient_temperature.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.ambient_temperature.xml \ | ||
frameworks/native/data/etc/android.hardware.sensor.barometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_nuwa/android.hardware.sensor.barometer.xml \ | ||
frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \ | ||
frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \ | ||
frameworks/native/data/etc/android.hardware.sensor.hifi_sensors.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.hifi_sensors.xml \ | ||
|
@@ -412,4 +383,4 @@ PRODUCT_COPY_FILES += \ | |
# WiFi Display | ||
PRODUCT_PACKAGES += \ | ||
libnl \ | ||
libwfdaac_vendor | ||
libwfdaac_vendor |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.